From a5a2d959eda71feb07121d509fa09897db9018da Mon Sep 17 00:00:00 2001 From: Andrew Rynhard Date: Wed, 1 Jul 2020 20:10:33 -0700 Subject: [PATCH] feat: upgrade runc to v1.0.0-rc90 This updates runc to the same version vendored by containerd. Signed-off-by: Andrew Rynhard --- Dockerfile | 52 +- Makefile | 2 +- api/common/common.pb.go | 766 ++- api/health/health.pb.go | 708 +- api/machine/machine.pb.go | 5852 ++++++++++------- api/network/network.pb.go | 1124 ++-- api/os/os.pb.go | 2669 +++++--- api/security/security.pb.go | 691 +- api/time/time.pb.go | 452 +- cmd/talosctl/cmd/talos/list.go | 2 +- go.mod | 15 +- go.sum | 49 +- internal/app/apid/pkg/backend/apid.go | 20 +- internal/app/apid/pkg/backend/apid_test.go | 2 +- internal/app/machined/pkg/runtime/events.go | 2 +- .../pkg/runtime/v1alpha1/v1alpha1_events.go | 6 +- internal/app/networkd/pkg/nic/nic.go | 2 +- pkg/client/client.go | 10 +- 18 files changed, 7770 insertions(+), 4654 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8561fe9e5..6e67c59b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -286,36 +286,36 @@ COPY --from=talosctl-darwin-build /talosctl-darwin-amd64 /talosctl-darwin-amd64 # The kernel target is the linux kernel. FROM scratch AS kernel -COPY --from=docker.io/autonomy/kernel:v0.2.0-16-g343384f /boot/vmlinuz /vmlinuz -COPY --from=docker.io/autonomy/kernel:v0.2.0-16-g343384f /boot/vmlinux /vmlinux +COPY --from=docker.io/autonomy/kernel:v0.2.0-18-gd6048b1 /boot/vmlinuz /vmlinuz +COPY --from=docker.io/autonomy/kernel:v0.2.0-18-gd6048b1 /boot/vmlinux /vmlinux # The rootfs target provides the Talos rootfs. FROM build AS rootfs-base -COPY --from=docker.io/autonomy/fhs:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/ca-certificates:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/containerd:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/dosfstools:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/eudev:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/iptables:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/libressl:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/libseccomp:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/linux-firmware:v0.2.0-16-g343384f /lib/firmware/bnx2 /rootfs/lib/firmware/bnx2 -COPY --from=docker.io/autonomy/linux-firmware:v0.2.0-16-g343384f /lib/firmware/bnx2x /rootfs/lib/firmware/bnx2x -COPY --from=docker.io/autonomy/lvm2:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/libaio:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/musl:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/open-iscsi:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/open-isns:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/runc:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/socat:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/syslinux:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/xfsprogs:v0.2.0-16-g343384f / /rootfs -COPY --from=docker.io/autonomy/util-linux:v0.2.0-16-g343384f /lib/libblkid.* /rootfs/lib/ -COPY --from=docker.io/autonomy/util-linux:v0.2.0-16-g343384f /lib/libuuid.* /rootfs/lib/ -COPY --from=docker.io/autonomy/util-linux:v0.2.0-16-g343384f /lib/libmount.* /rootfs/lib/ -COPY --from=docker.io/autonomy/kmod:v0.2.0-16-g343384f /usr/lib/libkmod.* /rootfs/lib/ -COPY --from=docker.io/autonomy/kernel:v0.2.0-16-g343384f /lib/modules /rootfs/lib/modules +COPY --from=docker.io/autonomy/fhs:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/ca-certificates:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/containerd:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/dosfstools:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/eudev:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/iptables:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/libressl:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/libseccomp:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/linux-firmware:v0.2.0-18-gd6048b1 /lib/firmware/bnx2 /rootfs/lib/firmware/bnx2 +COPY --from=docker.io/autonomy/linux-firmware:v0.2.0-18-gd6048b1 /lib/firmware/bnx2x /rootfs/lib/firmware/bnx2x +COPY --from=docker.io/autonomy/lvm2:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/libaio:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/musl:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/open-iscsi:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/open-isns:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/runc:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/socat:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/syslinux:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/xfsprogs:v0.2.0-18-gd6048b1 / /rootfs +COPY --from=docker.io/autonomy/util-linux:v0.2.0-18-gd6048b1 /lib/libblkid.* /rootfs/lib/ +COPY --from=docker.io/autonomy/util-linux:v0.2.0-18-gd6048b1 /lib/libuuid.* /rootfs/lib/ +COPY --from=docker.io/autonomy/util-linux:v0.2.0-18-gd6048b1 /lib/libmount.* /rootfs/lib/ +COPY --from=docker.io/autonomy/kmod:v0.2.0-18-gd6048b1 /usr/lib/libkmod.* /rootfs/lib/ +COPY --from=docker.io/autonomy/kernel:v0.2.0-18-gd6048b1 /lib/modules /rootfs/lib/modules COPY --from=machined /machined /rootfs/sbin/init COPY --from=apid-image /apid.tar /rootfs/usr/images/ COPY --from=bootkube-image /bootkube.tar /rootfs/usr/images/ diff --git a/Makefile b/Makefile index d9ccdd174..df58ecf43 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ REGISTRY_AND_USERNAME := $(REGISTRY)/$(USERNAME) DOCKER_LOGIN_ENABLED ?= true ARTIFACTS := _out -TOOLS ?= autonomy/tools:v0.2.0-1-g418e800 +TOOLS ?= autonomy/tools:v0.2.0-3-g9a08c57 GO_VERSION ?= 1.14 OPERATING_SYSTEM := $(shell uname -s | tr "[:upper:]" "[:lower:]") TALOSCTL_DEFAULT_TARGET := talosctl-$(OPERATING_SYSTEM) diff --git a/api/common/common.pb.go b/api/common/common.pb.go index 7d54367e5..59b0388c6 100644 --- a/api/common/common.pb.go +++ b/api/common/common.pb.go @@ -1,28 +1,31 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: common/common.proto package common import ( - fmt "fmt" - math "math" + reflect "reflect" + sync "sync" proto "github.com/golang/protobuf/proto" any "github.com/golang/protobuf/ptypes/any" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) -// Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = 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 Code int32 @@ -30,20 +33,41 @@ const ( Code_FATAL Code = 0 ) -var Code_name = map[int32]string{ - 0: "FATAL", -} +// Enum value maps for Code. +var ( + Code_name = map[int32]string{ + 0: "FATAL", + } + Code_value = map[string]int32{ + "FATAL": 0, + } +) -var Code_value = map[string]int32{ - "FATAL": 0, +func (x Code) Enum() *Code { + p := new(Code) + *p = x + return p } func (x Code) String() string { - return proto.EnumName(Code_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Code) Descriptor() protoreflect.EnumDescriptor { + return file_common_common_proto_enumTypes[0].Descriptor() +} + +func (Code) Type() protoreflect.EnumType { + return &file_common_common_proto_enumTypes[0] +} + +func (x Code) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Code.Descriptor instead. func (Code) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f954d82c0b891f6, []int{0} + return file_common_common_proto_rawDescGZIP(), []int{0} } type ContainerDriver int32 @@ -53,354 +77,544 @@ const ( ContainerDriver_CRI ContainerDriver = 1 ) -var ContainerDriver_name = map[int32]string{ - 0: "CONTAINERD", - 1: "CRI", -} +// Enum value maps for ContainerDriver. +var ( + ContainerDriver_name = map[int32]string{ + 0: "CONTAINERD", + 1: "CRI", + } + ContainerDriver_value = map[string]int32{ + "CONTAINERD": 0, + "CRI": 1, + } +) -var ContainerDriver_value = map[string]int32{ - "CONTAINERD": 0, - "CRI": 1, +func (x ContainerDriver) Enum() *ContainerDriver { + p := new(ContainerDriver) + *p = x + return p } func (x ContainerDriver) String() string { - return proto.EnumName(ContainerDriver_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ContainerDriver) Descriptor() protoreflect.EnumDescriptor { + return file_common_common_proto_enumTypes[1].Descriptor() +} + +func (ContainerDriver) Type() protoreflect.EnumType { + return &file_common_common_proto_enumTypes[1] +} + +func (x ContainerDriver) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContainerDriver.Descriptor instead. func (ContainerDriver) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_8f954d82c0b891f6, []int{1} + return file_common_common_proto_rawDescGZIP(), []int{1} } type Error struct { - Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=common.Code" json:"code,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - Details []*any.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=common.Code" json:"code,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + Details []*any.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"` } -func (m *Error) Reset() { *m = Error{} } -func (m *Error) String() string { return proto.CompactTextString(m) } -func (*Error) ProtoMessage() {} +func (x *Error) Reset() { + *x = Error{} + if protoimpl.UnsafeEnabled { + mi := &file_common_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Error) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Error) ProtoMessage() {} + +func (x *Error) ProtoReflect() protoreflect.Message { + mi := &file_common_common_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Error.ProtoReflect.Descriptor instead. func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_8f954d82c0b891f6, []int{0} + return file_common_common_proto_rawDescGZIP(), []int{0} } -func (m *Error) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Error.Unmarshal(m, b) -} - -func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Error.Marshal(b, m, deterministic) -} - -func (m *Error) XXX_Merge(src proto.Message) { - xxx_messageInfo_Error.Merge(m, src) -} - -func (m *Error) XXX_Size() int { - return xxx_messageInfo_Error.Size(m) -} - -func (m *Error) XXX_DiscardUnknown() { - xxx_messageInfo_Error.DiscardUnknown(m) -} - -var xxx_messageInfo_Error proto.InternalMessageInfo - -func (m *Error) GetCode() Code { - if m != nil { - return m.Code +func (x *Error) GetCode() Code { + if x != nil { + return x.Code } return Code_FATAL } -func (m *Error) GetMessage() string { - if m != nil { - return m.Message +func (x *Error) GetMessage() string { + if x != nil { + return x.Message } return "" } -func (m *Error) GetDetails() []*any.Any { - if m != nil { - return m.Details +func (x *Error) GetDetails() []*any.Any { + if x != nil { + return x.Details } return nil } // Common metadata message nested in all reply message types type Metadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // hostname of the server response comes from (injected by proxy) Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // error is set if request failed to the upstream (rest of response is // undefined) - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` } -func (m *Metadata) Reset() { *m = Metadata{} } -func (m *Metadata) String() string { return proto.CompactTextString(m) } -func (*Metadata) ProtoMessage() {} +func (x *Metadata) Reset() { + *x = Metadata{} + if protoimpl.UnsafeEnabled { + mi := &file_common_common_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Metadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Metadata) ProtoMessage() {} + +func (x *Metadata) ProtoReflect() protoreflect.Message { + mi := &file_common_common_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Metadata.ProtoReflect.Descriptor instead. func (*Metadata) Descriptor() ([]byte, []int) { - return fileDescriptor_8f954d82c0b891f6, []int{1} + return file_common_common_proto_rawDescGZIP(), []int{1} } -func (m *Metadata) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Metadata.Unmarshal(m, b) -} - -func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Metadata.Marshal(b, m, deterministic) -} - -func (m *Metadata) XXX_Merge(src proto.Message) { - xxx_messageInfo_Metadata.Merge(m, src) -} - -func (m *Metadata) XXX_Size() int { - return xxx_messageInfo_Metadata.Size(m) -} - -func (m *Metadata) XXX_DiscardUnknown() { - xxx_messageInfo_Metadata.DiscardUnknown(m) -} - -var xxx_messageInfo_Metadata proto.InternalMessageInfo - -func (m *Metadata) GetHostname() string { - if m != nil { - return m.Hostname +func (x *Metadata) GetHostname() string { + if x != nil { + return x.Hostname } return "" } -func (m *Metadata) GetError() string { - if m != nil { - return m.Error +func (x *Metadata) GetError() string { + if x != nil { + return x.Error } return "" } type Data struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"` } -func (m *Data) Reset() { *m = Data{} } -func (m *Data) String() string { return proto.CompactTextString(m) } -func (*Data) ProtoMessage() {} +func (x *Data) Reset() { + *x = Data{} + if protoimpl.UnsafeEnabled { + mi := &file_common_common_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Data) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Data) ProtoMessage() {} + +func (x *Data) ProtoReflect() protoreflect.Message { + mi := &file_common_common_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Data.ProtoReflect.Descriptor instead. func (*Data) Descriptor() ([]byte, []int) { - return fileDescriptor_8f954d82c0b891f6, []int{2} + return file_common_common_proto_rawDescGZIP(), []int{2} } -func (m *Data) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Data.Unmarshal(m, b) -} - -func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Data.Marshal(b, m, deterministic) -} - -func (m *Data) XXX_Merge(src proto.Message) { - xxx_messageInfo_Data.Merge(m, src) -} - -func (m *Data) XXX_Size() int { - return xxx_messageInfo_Data.Size(m) -} - -func (m *Data) XXX_DiscardUnknown() { - xxx_messageInfo_Data.DiscardUnknown(m) -} - -var xxx_messageInfo_Data proto.InternalMessageInfo - -func (m *Data) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Data) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Data) GetBytes() []byte { - if m != nil { - return m.Bytes +func (x *Data) GetBytes() []byte { + if x != nil { + return x.Bytes } return nil } type DataResponse struct { - Messages []*Data `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Data `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *DataResponse) Reset() { *m = DataResponse{} } -func (m *DataResponse) String() string { return proto.CompactTextString(m) } -func (*DataResponse) ProtoMessage() {} +func (x *DataResponse) Reset() { + *x = DataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_common_common_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DataResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DataResponse) ProtoMessage() {} + +func (x *DataResponse) ProtoReflect() protoreflect.Message { + mi := &file_common_common_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DataResponse.ProtoReflect.Descriptor instead. func (*DataResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8f954d82c0b891f6, []int{3} + return file_common_common_proto_rawDescGZIP(), []int{3} } -func (m *DataResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DataResponse.Unmarshal(m, b) -} - -func (m *DataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DataResponse.Marshal(b, m, deterministic) -} - -func (m *DataResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DataResponse.Merge(m, src) -} - -func (m *DataResponse) XXX_Size() int { - return xxx_messageInfo_DataResponse.Size(m) -} - -func (m *DataResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DataResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DataResponse proto.InternalMessageInfo - -func (m *DataResponse) GetMessages() []*Data { - if m != nil { - return m.Messages +func (x *DataResponse) GetMessages() []*Data { + if x != nil { + return x.Messages } return nil } type Empty struct { - Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Empty) Reset() { *m = Empty{} } -func (m *Empty) String() string { return proto.CompactTextString(m) } -func (*Empty) ProtoMessage() {} +func (x *Empty) Reset() { + *x = Empty{} + if protoimpl.UnsafeEnabled { + mi := &file_common_common_proto_msgTypes[4] + 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_common_common_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Empty.ProtoReflect.Descriptor instead. func (*Empty) Descriptor() ([]byte, []int) { - return fileDescriptor_8f954d82c0b891f6, []int{4} + return file_common_common_proto_rawDescGZIP(), []int{4} } -func (m *Empty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Empty.Unmarshal(m, b) -} - -func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Empty.Marshal(b, m, deterministic) -} - -func (m *Empty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Empty.Merge(m, src) -} - -func (m *Empty) XXX_Size() int { - return xxx_messageInfo_Empty.Size(m) -} - -func (m *Empty) XXX_DiscardUnknown() { - xxx_messageInfo_Empty.DiscardUnknown(m) -} - -var xxx_messageInfo_Empty proto.InternalMessageInfo - -func (m *Empty) GetMetadata() *Metadata { - if m != nil { - return m.Metadata +func (x *Empty) GetMetadata() *Metadata { + if x != nil { + return x.Metadata } return nil } type EmptyResponse struct { - Messages []*Empty `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Empty `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *EmptyResponse) Reset() { *m = EmptyResponse{} } -func (m *EmptyResponse) String() string { return proto.CompactTextString(m) } -func (*EmptyResponse) ProtoMessage() {} +func (x *EmptyResponse) Reset() { + *x = EmptyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_common_common_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EmptyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EmptyResponse) ProtoMessage() {} + +func (x *EmptyResponse) ProtoReflect() protoreflect.Message { + mi := &file_common_common_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead. func (*EmptyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8f954d82c0b891f6, []int{5} + return file_common_common_proto_rawDescGZIP(), []int{5} } -func (m *EmptyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EmptyResponse.Unmarshal(m, b) -} - -func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EmptyResponse.Marshal(b, m, deterministic) -} - -func (m *EmptyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_EmptyResponse.Merge(m, src) -} - -func (m *EmptyResponse) XXX_Size() int { - return xxx_messageInfo_EmptyResponse.Size(m) -} - -func (m *EmptyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_EmptyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_EmptyResponse proto.InternalMessageInfo - -func (m *EmptyResponse) GetMessages() []*Empty { - if m != nil { - return m.Messages +func (x *EmptyResponse) GetMessages() []*Empty { + if x != nil { + return x.Messages } return nil } -func init() { - proto.RegisterEnum("common.Code", Code_name, Code_value) - proto.RegisterEnum("common.ContainerDriver", ContainerDriver_name, ContainerDriver_value) - proto.RegisterType((*Error)(nil), "common.Error") - proto.RegisterType((*Metadata)(nil), "common.Metadata") - proto.RegisterType((*Data)(nil), "common.Data") - proto.RegisterType((*DataResponse)(nil), "common.DataResponse") - proto.RegisterType((*Empty)(nil), "common.Empty") - proto.RegisterType((*EmptyResponse)(nil), "common.EmptyResponse") +var File_common_common_proto protoreflect.FileDescriptor + +var file_common_common_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x19, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x20, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x0c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, + 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x3c, 0x0a, + 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x4a, 0x0a, 0x04, 0x44, + 0x61, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0x38, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x22, 0x35, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3a, 0x0a, 0x0d, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x08, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x2a, 0x11, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x09, 0x0a, 0x05, + 0x46, 0x41, 0x54, 0x41, 0x4c, 0x10, 0x00, 0x2a, 0x2a, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x4f, + 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, 0x52, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x52, + 0x49, 0x10, 0x01, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, + 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("common/common.proto", fileDescriptor_8f954d82c0b891f6) } +var ( + file_common_common_proto_rawDescOnce sync.Once + file_common_common_proto_rawDescData = file_common_common_proto_rawDesc +) -var fileDescriptor_8f954d82c0b891f6 = []byte{ - // 368 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xcd, 0x6f, 0xa3, 0x30, - 0x14, 0xc4, 0xc3, 0x26, 0xe4, 0xe3, 0xe5, 0x63, 0x59, 0x6f, 0x0e, 0x6c, 0x4e, 0x88, 0x13, 0xc9, - 0xee, 0x82, 0x94, 0xd5, 0x4a, 0x55, 0xd5, 0x0b, 0x85, 0x54, 0x4a, 0xd5, 0xa6, 0x92, 0x95, 0x53, - 0x6f, 0x26, 0xb8, 0x04, 0x29, 0x60, 0x84, 0x9d, 0x4a, 0xfc, 0xf7, 0x15, 0x36, 0x70, 0xe9, 0xa9, - 0x27, 0x34, 0xbc, 0x99, 0xdf, 0x3c, 0x63, 0xe0, 0xe7, 0x89, 0x65, 0x19, 0xcb, 0x3d, 0xf5, 0x70, - 0x8b, 0x92, 0x09, 0x86, 0x86, 0x4a, 0xad, 0x7e, 0x25, 0x8c, 0x25, 0x17, 0xea, 0xc9, 0xb7, 0xd1, - 0xf5, 0xcd, 0x23, 0x79, 0xa5, 0x2c, 0x36, 0x07, 0x7d, 0x57, 0x96, 0xac, 0x44, 0x16, 0x0c, 0x4e, - 0x2c, 0xa6, 0xa6, 0x66, 0x69, 0xce, 0x62, 0x3b, 0x73, 0x1b, 0x50, 0xc0, 0x62, 0x8a, 0xe5, 0x04, - 0x99, 0x30, 0xca, 0x28, 0xe7, 0x24, 0xa1, 0xe6, 0x37, 0x4b, 0x73, 0x26, 0xb8, 0x95, 0xc8, 0x85, - 0x51, 0x4c, 0x05, 0x49, 0x2f, 0xdc, 0xec, 0x5b, 0x7d, 0x67, 0xba, 0x5d, 0xba, 0xaa, 0xd1, 0x6d, - 0x1b, 0x5d, 0x3f, 0xaf, 0x70, 0x6b, 0xb2, 0xef, 0x60, 0xfc, 0x4c, 0x05, 0x89, 0x89, 0x20, 0x68, - 0x05, 0xe3, 0x33, 0xe3, 0x22, 0x27, 0x99, 0xea, 0x9e, 0xe0, 0x4e, 0xa3, 0x25, 0xe8, 0xb4, 0x5e, - 0xae, 0xe9, 0x53, 0xc2, 0x7e, 0x84, 0x41, 0x58, 0x27, 0xff, 0xc0, 0x38, 0x6b, 0x28, 0x32, 0x39, - 0xdd, 0x1a, 0xed, 0xd6, 0x2d, 0x1d, 0x77, 0x8e, 0x9a, 0x15, 0x55, 0x82, 0x72, 0xc9, 0x9a, 0x61, - 0x25, 0xec, 0x1b, 0x98, 0xd5, 0x2c, 0x4c, 0x79, 0xc1, 0x72, 0x4e, 0x91, 0x53, 0x33, 0xe5, 0xa1, - 0xb8, 0xa9, 0xc9, 0xa3, 0x74, 0x5f, 0x22, 0x6c, 0x78, 0x6a, 0x6a, 0xff, 0x07, 0x7d, 0x97, 0x15, - 0xa2, 0xfa, 0xda, 0x1a, 0xf6, 0x2d, 0xcc, 0x65, 0xac, 0x6b, 0x5c, 0x7f, 0x6a, 0x9c, 0xb7, 0x71, - 0x65, 0xec, 0xc6, 0x9b, 0x1f, 0x30, 0xa8, 0xaf, 0x03, 0x4d, 0x40, 0x7f, 0xf0, 0x8f, 0xfe, 0x93, - 0xd1, 0xdb, 0x6c, 0xe0, 0x7b, 0xc0, 0x72, 0x41, 0xd2, 0x9c, 0x96, 0x61, 0x99, 0xbe, 0xd3, 0x12, - 0x2d, 0x00, 0x82, 0x97, 0xc3, 0xd1, 0xdf, 0x1f, 0x76, 0x38, 0x34, 0x7a, 0x68, 0x04, 0xfd, 0x00, - 0xef, 0x0d, 0xed, 0xfe, 0xf7, 0xeb, 0x3a, 0x49, 0xc5, 0xf9, 0x1a, 0xd5, 0x7c, 0x4f, 0x90, 0x0b, - 0xe3, 0x7f, 0x79, 0xc5, 0x05, 0xcd, 0xb8, 0x52, 0x1e, 0x29, 0xd2, 0xe6, 0x07, 0x8a, 0x86, 0xf2, - 0xe6, 0xfe, 0x7d, 0x04, 0x00, 0x00, 0xff, 0xff, 0x02, 0x4d, 0xd1, 0x68, 0x58, 0x02, 0x00, 0x00, +func file_common_common_proto_rawDescGZIP() []byte { + file_common_common_proto_rawDescOnce.Do(func() { + file_common_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_common_proto_rawDescData) + }) + return file_common_common_proto_rawDescData +} + +var ( + file_common_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2) + file_common_common_proto_msgTypes = make([]protoimpl.MessageInfo, 6) + file_common_common_proto_goTypes = []interface{}{ + (Code)(0), // 0: common.Code + (ContainerDriver)(0), // 1: common.ContainerDriver + (*Error)(nil), // 2: common.Error + (*Metadata)(nil), // 3: common.Metadata + (*Data)(nil), // 4: common.Data + (*DataResponse)(nil), // 5: common.DataResponse + (*Empty)(nil), // 6: common.Empty + (*EmptyResponse)(nil), // 7: common.EmptyResponse + (*any.Any)(nil), // 8: google.protobuf.Any + } +) + +var file_common_common_proto_depIdxs = []int32{ + 0, // 0: common.Error.code:type_name -> common.Code + 8, // 1: common.Error.details:type_name -> google.protobuf.Any + 3, // 2: common.Data.metadata:type_name -> common.Metadata + 4, // 3: common.DataResponse.messages:type_name -> common.Data + 3, // 4: common.Empty.metadata:type_name -> common.Metadata + 6, // 5: common.EmptyResponse.messages:type_name -> common.Empty + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_common_common_proto_init() } +func file_common_common_proto_init() { + if File_common_common_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_common_common_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_common_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Metadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Data); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_common_common_proto_msgTypes[4].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_common_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EmptyResponse); 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_common_common_proto_rawDesc, + NumEnums: 2, + NumMessages: 6, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_common_common_proto_goTypes, + DependencyIndexes: file_common_common_proto_depIdxs, + EnumInfos: file_common_common_proto_enumTypes, + MessageInfos: file_common_common_proto_msgTypes, + }.Build() + File_common_common_proto = out.File + file_common_common_proto_rawDesc = nil + file_common_common_proto_goTypes = nil + file_common_common_proto_depIdxs = nil } diff --git a/api/health/health.pb.go b/api/health/health.pb.go index e94eb7aea..ddbfe27a9 100644 --- a/api/health/health.pb.go +++ b/api/health/health.pb.go @@ -1,30 +1,35 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: health/health.proto package health import ( context "context" - fmt "fmt" - math "math" + reflect "reflect" + sync "sync" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) -// Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = 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 HealthCheck_ServingStatus int32 @@ -34,24 +39,45 @@ const ( HealthCheck_NOT_SERVING HealthCheck_ServingStatus = 2 ) -var HealthCheck_ServingStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SERVING", - 2: "NOT_SERVING", -} +// Enum value maps for HealthCheck_ServingStatus. +var ( + HealthCheck_ServingStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SERVING", + 2: "NOT_SERVING", + } + HealthCheck_ServingStatus_value = map[string]int32{ + "UNKNOWN": 0, + "SERVING": 1, + "NOT_SERVING": 2, + } +) -var HealthCheck_ServingStatus_value = map[string]int32{ - "UNKNOWN": 0, - "SERVING": 1, - "NOT_SERVING": 2, +func (x HealthCheck_ServingStatus) Enum() *HealthCheck_ServingStatus { + p := new(HealthCheck_ServingStatus) + *p = x + return p } func (x HealthCheck_ServingStatus) String() string { - return proto.EnumName(HealthCheck_ServingStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (HealthCheck_ServingStatus) Descriptor() protoreflect.EnumDescriptor { + return file_health_health_proto_enumTypes[0].Descriptor() +} + +func (HealthCheck_ServingStatus) Type() protoreflect.EnumType { + return &file_health_health_proto_enumTypes[0] +} + +func (x HealthCheck_ServingStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use HealthCheck_ServingStatus.Descriptor instead. func (HealthCheck_ServingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e55f18a46a9fb2dc, []int{1, 0} + return file_health_health_proto_rawDescGZIP(), []int{1, 0} } type ReadyCheck_ReadyStatus int32 @@ -62,292 +88,478 @@ const ( ReadyCheck_NOT_READY ReadyCheck_ReadyStatus = 2 ) -var ReadyCheck_ReadyStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "READY", - 2: "NOT_READY", -} +// Enum value maps for ReadyCheck_ReadyStatus. +var ( + ReadyCheck_ReadyStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "READY", + 2: "NOT_READY", + } + ReadyCheck_ReadyStatus_value = map[string]int32{ + "UNKNOWN": 0, + "READY": 1, + "NOT_READY": 2, + } +) -var ReadyCheck_ReadyStatus_value = map[string]int32{ - "UNKNOWN": 0, - "READY": 1, - "NOT_READY": 2, +func (x ReadyCheck_ReadyStatus) Enum() *ReadyCheck_ReadyStatus { + p := new(ReadyCheck_ReadyStatus) + *p = x + return p } func (x ReadyCheck_ReadyStatus) String() string { - return proto.EnumName(ReadyCheck_ReadyStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ReadyCheck_ReadyStatus) Descriptor() protoreflect.EnumDescriptor { + return file_health_health_proto_enumTypes[1].Descriptor() +} + +func (ReadyCheck_ReadyStatus) Type() protoreflect.EnumType { + return &file_health_health_proto_enumTypes[1] +} + +func (x ReadyCheck_ReadyStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ReadyCheck_ReadyStatus.Descriptor instead. func (ReadyCheck_ReadyStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e55f18a46a9fb2dc, []int{3, 0} + return file_health_health_proto_rawDescGZIP(), []int{3, 0} } type HealthWatchRequest struct { - IntervalSeconds int64 `protobuf:"varint,1,opt,name=interval_seconds,json=intervalSeconds,proto3" json:"interval_seconds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IntervalSeconds int64 `protobuf:"varint,1,opt,name=interval_seconds,json=intervalSeconds,proto3" json:"interval_seconds,omitempty"` } -func (m *HealthWatchRequest) Reset() { *m = HealthWatchRequest{} } -func (m *HealthWatchRequest) String() string { return proto.CompactTextString(m) } -func (*HealthWatchRequest) ProtoMessage() {} +func (x *HealthWatchRequest) Reset() { + *x = HealthWatchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_health_health_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HealthWatchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HealthWatchRequest) ProtoMessage() {} + +func (x *HealthWatchRequest) ProtoReflect() protoreflect.Message { + mi := &file_health_health_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HealthWatchRequest.ProtoReflect.Descriptor instead. func (*HealthWatchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e55f18a46a9fb2dc, []int{0} + return file_health_health_proto_rawDescGZIP(), []int{0} } -func (m *HealthWatchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthWatchRequest.Unmarshal(m, b) -} - -func (m *HealthWatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthWatchRequest.Marshal(b, m, deterministic) -} - -func (m *HealthWatchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthWatchRequest.Merge(m, src) -} - -func (m *HealthWatchRequest) XXX_Size() int { - return xxx_messageInfo_HealthWatchRequest.Size(m) -} - -func (m *HealthWatchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HealthWatchRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthWatchRequest proto.InternalMessageInfo - -func (m *HealthWatchRequest) GetIntervalSeconds() int64 { - if m != nil { - return m.IntervalSeconds +func (x *HealthWatchRequest) GetIntervalSeconds() int64 { + if x != nil { + return x.IntervalSeconds } return 0 } type HealthCheck struct { - Status HealthCheck_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=health.HealthCheck_ServingStatus" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status HealthCheck_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=health.HealthCheck_ServingStatus" json:"status,omitempty"` } -func (m *HealthCheck) Reset() { *m = HealthCheck{} } -func (m *HealthCheck) String() string { return proto.CompactTextString(m) } -func (*HealthCheck) ProtoMessage() {} +func (x *HealthCheck) Reset() { + *x = HealthCheck{} + if protoimpl.UnsafeEnabled { + mi := &file_health_health_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HealthCheck) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HealthCheck) ProtoMessage() {} + +func (x *HealthCheck) ProtoReflect() protoreflect.Message { + mi := &file_health_health_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead. func (*HealthCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_e55f18a46a9fb2dc, []int{1} + return file_health_health_proto_rawDescGZIP(), []int{1} } -func (m *HealthCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheck.Unmarshal(m, b) -} - -func (m *HealthCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheck.Marshal(b, m, deterministic) -} - -func (m *HealthCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheck.Merge(m, src) -} - -func (m *HealthCheck) XXX_Size() int { - return xxx_messageInfo_HealthCheck.Size(m) -} - -func (m *HealthCheck) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheck proto.InternalMessageInfo - -func (m *HealthCheck) GetStatus() HealthCheck_ServingStatus { - if m != nil { - return m.Status +func (x *HealthCheck) GetStatus() HealthCheck_ServingStatus { + if x != nil { + return x.Status } return HealthCheck_UNKNOWN } type HealthCheckResponse struct { - Messages []*HealthCheck `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*HealthCheck `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *HealthCheckResponse) Reset() { *m = HealthCheckResponse{} } -func (m *HealthCheckResponse) String() string { return proto.CompactTextString(m) } -func (*HealthCheckResponse) ProtoMessage() {} +func (x *HealthCheckResponse) Reset() { + *x = HealthCheckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_health_health_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HealthCheckResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HealthCheckResponse) ProtoMessage() {} + +func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_health_health_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead. func (*HealthCheckResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e55f18a46a9fb2dc, []int{2} + return file_health_health_proto_rawDescGZIP(), []int{2} } -func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HealthCheckResponse.Unmarshal(m, b) -} - -func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HealthCheckResponse.Marshal(b, m, deterministic) -} - -func (m *HealthCheckResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_HealthCheckResponse.Merge(m, src) -} - -func (m *HealthCheckResponse) XXX_Size() int { - return xxx_messageInfo_HealthCheckResponse.Size(m) -} - -func (m *HealthCheckResponse) XXX_DiscardUnknown() { - xxx_messageInfo_HealthCheckResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_HealthCheckResponse proto.InternalMessageInfo - -func (m *HealthCheckResponse) GetMessages() []*HealthCheck { - if m != nil { - return m.Messages +func (x *HealthCheckResponse) GetMessages() []*HealthCheck { + if x != nil { + return x.Messages } return nil } type ReadyCheck struct { - Status ReadyCheck_ReadyStatus `protobuf:"varint,1,opt,name=status,proto3,enum=health.ReadyCheck_ReadyStatus" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Status ReadyCheck_ReadyStatus `protobuf:"varint,1,opt,name=status,proto3,enum=health.ReadyCheck_ReadyStatus" json:"status,omitempty"` } -func (m *ReadyCheck) Reset() { *m = ReadyCheck{} } -func (m *ReadyCheck) String() string { return proto.CompactTextString(m) } -func (*ReadyCheck) ProtoMessage() {} +func (x *ReadyCheck) Reset() { + *x = ReadyCheck{} + if protoimpl.UnsafeEnabled { + mi := &file_health_health_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadyCheck) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadyCheck) ProtoMessage() {} + +func (x *ReadyCheck) ProtoReflect() protoreflect.Message { + mi := &file_health_health_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadyCheck.ProtoReflect.Descriptor instead. func (*ReadyCheck) Descriptor() ([]byte, []int) { - return fileDescriptor_e55f18a46a9fb2dc, []int{3} + return file_health_health_proto_rawDescGZIP(), []int{3} } -func (m *ReadyCheck) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadyCheck.Unmarshal(m, b) -} - -func (m *ReadyCheck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadyCheck.Marshal(b, m, deterministic) -} - -func (m *ReadyCheck) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadyCheck.Merge(m, src) -} - -func (m *ReadyCheck) XXX_Size() int { - return xxx_messageInfo_ReadyCheck.Size(m) -} - -func (m *ReadyCheck) XXX_DiscardUnknown() { - xxx_messageInfo_ReadyCheck.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadyCheck proto.InternalMessageInfo - -func (m *ReadyCheck) GetStatus() ReadyCheck_ReadyStatus { - if m != nil { - return m.Status +func (x *ReadyCheck) GetStatus() ReadyCheck_ReadyStatus { + if x != nil { + return x.Status } return ReadyCheck_UNKNOWN } type ReadyCheckResponse struct { - Messages []*ReadyCheck `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*ReadyCheck `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *ReadyCheckResponse) Reset() { *m = ReadyCheckResponse{} } -func (m *ReadyCheckResponse) String() string { return proto.CompactTextString(m) } -func (*ReadyCheckResponse) ProtoMessage() {} +func (x *ReadyCheckResponse) Reset() { + *x = ReadyCheckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_health_health_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadyCheckResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadyCheckResponse) ProtoMessage() {} + +func (x *ReadyCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_health_health_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadyCheckResponse.ProtoReflect.Descriptor instead. func (*ReadyCheckResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e55f18a46a9fb2dc, []int{4} + return file_health_health_proto_rawDescGZIP(), []int{4} } -func (m *ReadyCheckResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadyCheckResponse.Unmarshal(m, b) -} - -func (m *ReadyCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadyCheckResponse.Marshal(b, m, deterministic) -} - -func (m *ReadyCheckResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadyCheckResponse.Merge(m, src) -} - -func (m *ReadyCheckResponse) XXX_Size() int { - return xxx_messageInfo_ReadyCheckResponse.Size(m) -} - -func (m *ReadyCheckResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReadyCheckResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadyCheckResponse proto.InternalMessageInfo - -func (m *ReadyCheckResponse) GetMessages() []*ReadyCheck { - if m != nil { - return m.Messages +func (x *ReadyCheckResponse) GetMessages() []*ReadyCheck { + if x != nil { + return x.Messages } return nil } -func init() { - proto.RegisterEnum("health.HealthCheck_ServingStatus", HealthCheck_ServingStatus_name, HealthCheck_ServingStatus_value) - proto.RegisterEnum("health.ReadyCheck_ReadyStatus", ReadyCheck_ReadyStatus_name, ReadyCheck_ReadyStatus_value) - proto.RegisterType((*HealthWatchRequest)(nil), "health.HealthWatchRequest") - proto.RegisterType((*HealthCheck)(nil), "health.HealthCheck") - proto.RegisterType((*HealthCheckResponse)(nil), "health.HealthCheckResponse") - proto.RegisterType((*ReadyCheck)(nil), "health.ReadyCheck") - proto.RegisterType((*ReadyCheckResponse)(nil), "health.ReadyCheckResponse") +var File_health_health_proto protoreflect.FileDescriptor + +var file_health_health_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x1a, 0x1b, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, + 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x12, 0x48, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x57, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, + 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x0b, + 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x39, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x68, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3a, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, + 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, + 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, 0x47, 0x10, + 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x4e, 0x47, + 0x10, 0x02, 0x22, 0x46, 0x0a, 0x13, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x68, 0x65, + 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x7a, 0x0a, 0x0a, 0x52, 0x65, + 0x61, 0x64, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x36, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x52, 0x65, 0x61, + 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0x34, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, + 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x54, 0x5f, 0x52, + 0x45, 0x41, 0x44, 0x59, 0x10, 0x02, 0x22, 0x44, 0x0a, 0x12, 0x52, 0x65, 0x61, 0x64, 0x79, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x08, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x79, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x32, 0xc7, 0x01, 0x0a, + 0x06, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x3c, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x05, 0x57, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1a, + 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x68, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x3b, 0x0a, 0x05, 0x52, 0x65, 0x61, + 0x64, 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1a, 0x2e, 0x68, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2d, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x73, 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x68, 0x65, 0x61, + 0x6c, 0x74, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("health/health.proto", fileDescriptor_e55f18a46a9fb2dc) } +var ( + file_health_health_proto_rawDescOnce sync.Once + file_health_health_proto_rawDescData = file_health_health_proto_rawDesc +) -var fileDescriptor_e55f18a46a9fb2dc = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xdb, 0xab, 0xd3, 0x40, - 0x10, 0xc6, 0xcd, 0x39, 0x24, 0x7a, 0x26, 0xd4, 0x86, 0x2d, 0x88, 0xa4, 0x20, 0x9a, 0xa7, 0x16, - 0x71, 0x23, 0x55, 0x04, 0x2f, 0x20, 0xd6, 0xd6, 0x0b, 0x42, 0x0a, 0x1b, 0xb5, 0xe8, 0x4b, 0xd9, - 0xa6, 0x6b, 0x12, 0x4c, 0xb2, 0xb1, 0xbb, 0x29, 0xd4, 0x67, 0xff, 0x37, 0xff, 0x2d, 0x49, 0x36, - 0x69, 0xd3, 0x8b, 0xe7, 0x29, 0x99, 0xc9, 0x37, 0x33, 0xdf, 0x2f, 0x7c, 0xd0, 0x8b, 0x18, 0x4d, - 0x64, 0xe4, 0xaa, 0x07, 0xce, 0xd7, 0x5c, 0x72, 0x64, 0xa8, 0xca, 0xee, 0x87, 0x9c, 0x87, 0x09, - 0x73, 0xab, 0xee, 0xb2, 0xf8, 0xe1, 0xb2, 0x34, 0x97, 0x5b, 0x25, 0x72, 0x5e, 0x03, 0xfa, 0x50, - 0xc9, 0xe6, 0x54, 0x06, 0x11, 0x61, 0xbf, 0x0a, 0x26, 0x24, 0x1a, 0x82, 0x15, 0x67, 0x92, 0xad, - 0x37, 0x34, 0x59, 0x08, 0x16, 0xf0, 0x6c, 0x25, 0xee, 0x6a, 0xf7, 0xb5, 0xc1, 0x25, 0xe9, 0x36, - 0x7d, 0x5f, 0xb5, 0x9d, 0x3f, 0x1a, 0x98, 0x6a, 0xc3, 0xdb, 0x88, 0x05, 0x3f, 0xd1, 0x73, 0x30, - 0x84, 0xa4, 0xb2, 0x50, 0x03, 0xb7, 0x47, 0x0f, 0x70, 0x6d, 0xaa, 0x25, 0xc2, 0x3e, 0x5b, 0x6f, - 0xe2, 0x2c, 0xf4, 0x2b, 0x21, 0xa9, 0x07, 0x9c, 0x17, 0xd0, 0x39, 0xf8, 0x80, 0x4c, 0xb8, 0xf9, - 0xc5, 0xfb, 0xe4, 0xcd, 0xe6, 0x9e, 0x75, 0xa3, 0x2c, 0xfc, 0x29, 0xf9, 0xfa, 0xd1, 0x7b, 0x6f, - 0x69, 0xa8, 0x0b, 0xa6, 0x37, 0xfb, 0xbc, 0x68, 0x1a, 0x17, 0xce, 0x3b, 0xe8, 0xb5, 0x0e, 0x10, - 0x26, 0x72, 0x9e, 0x09, 0x86, 0x5c, 0xb8, 0x95, 0x32, 0x21, 0x68, 0xc8, 0x4a, 0x3f, 0x97, 0x03, - 0x73, 0xd4, 0x3b, 0xe3, 0x87, 0xec, 0x44, 0xce, 0x6f, 0x00, 0xc2, 0xe8, 0x6a, 0xab, 0x60, 0x9e, - 0x1d, 0xc1, 0xdc, 0x6b, 0x86, 0xf7, 0x1a, 0xf5, 0x7a, 0x44, 0xf2, 0x14, 0xcc, 0x56, 0xfb, 0x90, - 0xe3, 0x0a, 0x74, 0x32, 0x7d, 0x33, 0xf9, 0x66, 0x69, 0xa8, 0x03, 0x57, 0x25, 0x85, 0x2a, 0x2f, - 0x9c, 0x09, 0xa0, 0xfd, 0xde, 0x1d, 0x02, 0x3e, 0x41, 0x40, 0xa7, 0x2e, 0xf6, 0x04, 0xa3, 0xbf, - 0x1a, 0x18, 0x8a, 0x0d, 0xbd, 0x02, 0x5d, 0x71, 0xdc, 0xc1, 0x2a, 0x03, 0xb8, 0xc9, 0x00, 0x9e, - 0x96, 0x19, 0xb0, 0xfb, 0xe7, 0x7e, 0x46, 0x73, 0x78, 0x0c, 0x7a, 0x15, 0x0a, 0x64, 0x1f, 0xaa, - 0xda, 0x49, 0xb9, 0x76, 0xc3, 0x63, 0x0d, 0xbd, 0x04, 0xbd, 0x32, 0xf9, 0x5f, 0x07, 0xf6, 0x19, - 0x96, 0x7a, 0x7c, 0xfc, 0xf0, 0xfb, 0x30, 0x8c, 0x65, 0x54, 0x2c, 0x71, 0xc0, 0x53, 0x57, 0xd2, - 0x84, 0x8b, 0x47, 0x62, 0x2b, 0x24, 0x4b, 0x85, 0xaa, 0x5c, 0x9a, 0xc7, 0x75, 0xe6, 0x97, 0x46, - 0xb5, 0xf8, 0xc9, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xad, 0xa0, 0x2a, 0x23, 0x0b, 0x03, 0x00, - 0x00, +func file_health_health_proto_rawDescGZIP() []byte { + file_health_health_proto_rawDescOnce.Do(func() { + file_health_health_proto_rawDescData = protoimpl.X.CompressGZIP(file_health_health_proto_rawDescData) + }) + return file_health_health_proto_rawDescData +} + +var ( + file_health_health_proto_enumTypes = make([]protoimpl.EnumInfo, 2) + file_health_health_proto_msgTypes = make([]protoimpl.MessageInfo, 5) + file_health_health_proto_goTypes = []interface{}{ + (HealthCheck_ServingStatus)(0), // 0: health.HealthCheck.ServingStatus + (ReadyCheck_ReadyStatus)(0), // 1: health.ReadyCheck.ReadyStatus + (*HealthWatchRequest)(nil), // 2: health.HealthWatchRequest + (*HealthCheck)(nil), // 3: health.HealthCheck + (*HealthCheckResponse)(nil), // 4: health.HealthCheckResponse + (*ReadyCheck)(nil), // 5: health.ReadyCheck + (*ReadyCheckResponse)(nil), // 6: health.ReadyCheckResponse + (*empty.Empty)(nil), // 7: google.protobuf.Empty + } +) + +var file_health_health_proto_depIdxs = []int32{ + 0, // 0: health.HealthCheck.status:type_name -> health.HealthCheck.ServingStatus + 3, // 1: health.HealthCheckResponse.messages:type_name -> health.HealthCheck + 1, // 2: health.ReadyCheck.status:type_name -> health.ReadyCheck.ReadyStatus + 5, // 3: health.ReadyCheckResponse.messages:type_name -> health.ReadyCheck + 7, // 4: health.Health.Check:input_type -> google.protobuf.Empty + 2, // 5: health.Health.Watch:input_type -> health.HealthWatchRequest + 7, // 6: health.Health.Ready:input_type -> google.protobuf.Empty + 4, // 7: health.Health.Check:output_type -> health.HealthCheckResponse + 4, // 8: health.Health.Watch:output_type -> health.HealthCheckResponse + 6, // 9: health.Health.Ready:output_type -> health.ReadyCheckResponse + 7, // [7:10] is the sub-list for method output_type + 4, // [4:7] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_health_health_proto_init() } +func file_health_health_proto_init() { + if File_health_health_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_health_health_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HealthWatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_health_health_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HealthCheck); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_health_health_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HealthCheckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_health_health_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadyCheck); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_health_health_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadyCheckResponse); 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_health_health_proto_rawDesc, + NumEnums: 2, + NumMessages: 5, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_health_health_proto_goTypes, + DependencyIndexes: file_health_health_proto_depIdxs, + EnumInfos: file_health_health_proto_enumTypes, + MessageInfos: file_health_health_proto_msgTypes, + }.Build() + File_health_health_proto = out.File + file_health_health_proto_rawDesc = nil + file_health_health_proto_goTypes = nil + file_health_health_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var ( _ context.Context - _ grpc.ClientConn + _ 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 // HealthClient is the client API for Health service. // @@ -359,10 +571,10 @@ type HealthClient interface { } type healthClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewHealthClient(cc *grpc.ClientConn) HealthClient { +func NewHealthClient(cc grpc.ClientConnInterface) HealthClient { return &healthClient{cc} } @@ -423,6 +635,22 @@ type HealthServer interface { Ready(context.Context, *empty.Empty) (*ReadyCheckResponse, error) } +// UnimplementedHealthServer can be embedded to have forward compatible implementations. +type UnimplementedHealthServer struct { +} + +func (*UnimplementedHealthServer) Check(context.Context, *empty.Empty) (*HealthCheckResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Check not implemented") +} + +func (*UnimplementedHealthServer) Watch(*HealthWatchRequest, Health_WatchServer) error { + return status.Errorf(codes.Unimplemented, "method Watch not implemented") +} + +func (*UnimplementedHealthServer) Ready(context.Context, *empty.Empty) (*ReadyCheckResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Ready not implemented") +} + func RegisterHealthServer(s *grpc.Server, srv HealthServer) { s.RegisterService(&_Health_serviceDesc, srv) } diff --git a/api/machine/machine.pb.go b/api/machine/machine.pb.go index a75e358a3..bf0d89a9b 100644 --- a/api/machine/machine.pb.go +++ b/api/machine/machine.pb.go @@ -1,34 +1,39 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: machine/machine.proto package machine import ( context "context" - fmt "fmt" - math "math" + reflect "reflect" + sync "sync" proto "github.com/golang/protobuf/proto" any "github.com/golang/protobuf/ptypes/any" empty "github.com/golang/protobuf/ptypes/empty" timestamp "github.com/golang/protobuf/ptypes/timestamp" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" common "github.com/talos-systems/talos/api/common" ) -// Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = 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 SequenceEvent_Action int32 @@ -38,24 +43,45 @@ const ( SequenceEvent_STOP SequenceEvent_Action = 2 ) -var SequenceEvent_Action_name = map[int32]string{ - 0: "NOOP", - 1: "START", - 2: "STOP", -} +// Enum value maps for SequenceEvent_Action. +var ( + SequenceEvent_Action_name = map[int32]string{ + 0: "NOOP", + 1: "START", + 2: "STOP", + } + SequenceEvent_Action_value = map[string]int32{ + "NOOP": 0, + "START": 1, + "STOP": 2, + } +) -var SequenceEvent_Action_value = map[string]int32{ - "NOOP": 0, - "START": 1, - "STOP": 2, +func (x SequenceEvent_Action) Enum() *SequenceEvent_Action { + p := new(SequenceEvent_Action) + *p = x + return p } func (x SequenceEvent_Action) String() string { - return proto.EnumName(SequenceEvent_Action_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (SequenceEvent_Action) Descriptor() protoreflect.EnumDescriptor { + return file_machine_machine_proto_enumTypes[0].Descriptor() +} + +func (SequenceEvent_Action) Type() protoreflect.EnumType { + return &file_machine_machine_proto_enumTypes[0] +} + +func (x SequenceEvent_Action) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SequenceEvent_Action.Descriptor instead. func (SequenceEvent_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{5, 0} + return file_machine_machine_proto_rawDescGZIP(), []int{5, 0} } type PhaseEvent_Action int32 @@ -65,22 +91,43 @@ const ( PhaseEvent_STOP PhaseEvent_Action = 1 ) -var PhaseEvent_Action_name = map[int32]string{ - 0: "START", - 1: "STOP", -} +// Enum value maps for PhaseEvent_Action. +var ( + PhaseEvent_Action_name = map[int32]string{ + 0: "START", + 1: "STOP", + } + PhaseEvent_Action_value = map[string]int32{ + "START": 0, + "STOP": 1, + } +) -var PhaseEvent_Action_value = map[string]int32{ - "START": 0, - "STOP": 1, +func (x PhaseEvent_Action) Enum() *PhaseEvent_Action { + p := new(PhaseEvent_Action) + *p = x + return p } func (x PhaseEvent_Action) String() string { - return proto.EnumName(PhaseEvent_Action_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PhaseEvent_Action) Descriptor() protoreflect.EnumDescriptor { + return file_machine_machine_proto_enumTypes[1].Descriptor() +} + +func (PhaseEvent_Action) Type() protoreflect.EnumType { + return &file_machine_machine_proto_enumTypes[1] +} + +func (x PhaseEvent_Action) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PhaseEvent_Action.Descriptor instead. func (PhaseEvent_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{6, 0} + return file_machine_machine_proto_rawDescGZIP(), []int{6, 0} } type TaskEvent_Action int32 @@ -90,22 +137,43 @@ const ( TaskEvent_STOP TaskEvent_Action = 1 ) -var TaskEvent_Action_name = map[int32]string{ - 0: "START", - 1: "STOP", -} +// Enum value maps for TaskEvent_Action. +var ( + TaskEvent_Action_name = map[int32]string{ + 0: "START", + 1: "STOP", + } + TaskEvent_Action_value = map[string]int32{ + "START": 0, + "STOP": 1, + } +) -var TaskEvent_Action_value = map[string]int32{ - "START": 0, - "STOP": 1, +func (x TaskEvent_Action) Enum() *TaskEvent_Action { + p := new(TaskEvent_Action) + *p = x + return p } func (x TaskEvent_Action) String() string { - return proto.EnumName(TaskEvent_Action_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (TaskEvent_Action) Descriptor() protoreflect.EnumDescriptor { + return file_machine_machine_proto_enumTypes[2].Descriptor() +} + +func (TaskEvent_Action) Type() protoreflect.EnumType { + return &file_machine_machine_proto_enumTypes[2] +} + +func (x TaskEvent_Action) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TaskEvent_Action.Descriptor instead. func (TaskEvent_Action) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{7, 0} + return file_machine_machine_proto_rawDescGZIP(), []int{7, 0} } type RecoverRequest_Source int32 @@ -115,748 +183,831 @@ const ( RecoverRequest_APISERVER RecoverRequest_Source = 1 ) -var RecoverRequest_Source_name = map[int32]string{ - 0: "ETCD", - 1: "APISERVER", -} +// Enum value maps for RecoverRequest_Source. +var ( + RecoverRequest_Source_name = map[int32]string{ + 0: "ETCD", + 1: "APISERVER", + } + RecoverRequest_Source_value = map[string]int32{ + "ETCD": 0, + "APISERVER": 1, + } +) -var RecoverRequest_Source_value = map[string]int32{ - "ETCD": 0, - "APISERVER": 1, +func (x RecoverRequest_Source) Enum() *RecoverRequest_Source { + p := new(RecoverRequest_Source) + *p = x + return p } func (x RecoverRequest_Source) String() string { - return proto.EnumName(RecoverRequest_Source_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (RecoverRequest_Source) Descriptor() protoreflect.EnumDescriptor { + return file_machine_machine_proto_enumTypes[3].Descriptor() +} + +func (RecoverRequest_Source) Type() protoreflect.EnumType { + return &file_machine_machine_proto_enumTypes[3] +} + +func (x RecoverRequest_Source) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RecoverRequest_Source.Descriptor instead. func (RecoverRequest_Source) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{13, 0} + return file_machine_machine_proto_rawDescGZIP(), []int{13, 0} } // rpc reboot // The reboot message containing the reboot status. type Reboot struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Reboot) Reset() { *m = Reboot{} } -func (m *Reboot) String() string { return proto.CompactTextString(m) } -func (*Reboot) ProtoMessage() {} +func (x *Reboot) Reset() { + *x = Reboot{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Reboot) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Reboot) ProtoMessage() {} + +func (x *Reboot) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Reboot.ProtoReflect.Descriptor instead. func (*Reboot) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{0} + return file_machine_machine_proto_rawDescGZIP(), []int{0} } -func (m *Reboot) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Reboot.Unmarshal(m, b) -} - -func (m *Reboot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Reboot.Marshal(b, m, deterministic) -} - -func (m *Reboot) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reboot.Merge(m, src) -} - -func (m *Reboot) XXX_Size() int { - return xxx_messageInfo_Reboot.Size(m) -} - -func (m *Reboot) XXX_DiscardUnknown() { - xxx_messageInfo_Reboot.DiscardUnknown(m) -} - -var xxx_messageInfo_Reboot proto.InternalMessageInfo - -func (m *Reboot) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Reboot) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } type RebootResponse struct { - Messages []*Reboot `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Reboot `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *RebootResponse) Reset() { *m = RebootResponse{} } -func (m *RebootResponse) String() string { return proto.CompactTextString(m) } -func (*RebootResponse) ProtoMessage() {} +func (x *RebootResponse) Reset() { + *x = RebootResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RebootResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RebootResponse) ProtoMessage() {} + +func (x *RebootResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RebootResponse.ProtoReflect.Descriptor instead. func (*RebootResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{1} + return file_machine_machine_proto_rawDescGZIP(), []int{1} } -func (m *RebootResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RebootResponse.Unmarshal(m, b) -} - -func (m *RebootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RebootResponse.Marshal(b, m, deterministic) -} - -func (m *RebootResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RebootResponse.Merge(m, src) -} - -func (m *RebootResponse) XXX_Size() int { - return xxx_messageInfo_RebootResponse.Size(m) -} - -func (m *RebootResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RebootResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RebootResponse proto.InternalMessageInfo - -func (m *RebootResponse) GetMessages() []*Reboot { - if m != nil { - return m.Messages +func (x *RebootResponse) GetMessages() []*Reboot { + if x != nil { + return x.Messages } return nil } // rpc bootstrap type BootstrapRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *BootstrapRequest) Reset() { *m = BootstrapRequest{} } -func (m *BootstrapRequest) String() string { return proto.CompactTextString(m) } -func (*BootstrapRequest) ProtoMessage() {} +func (x *BootstrapRequest) Reset() { + *x = BootstrapRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BootstrapRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BootstrapRequest) ProtoMessage() {} + +func (x *BootstrapRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BootstrapRequest.ProtoReflect.Descriptor instead. func (*BootstrapRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{2} + return file_machine_machine_proto_rawDescGZIP(), []int{2} } -func (m *BootstrapRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BootstrapRequest.Unmarshal(m, b) -} - -func (m *BootstrapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BootstrapRequest.Marshal(b, m, deterministic) -} - -func (m *BootstrapRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BootstrapRequest.Merge(m, src) -} - -func (m *BootstrapRequest) XXX_Size() int { - return xxx_messageInfo_BootstrapRequest.Size(m) -} - -func (m *BootstrapRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BootstrapRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BootstrapRequest proto.InternalMessageInfo - // The bootstrap message containing the bootstrap status. type Bootstrap struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Bootstrap) Reset() { *m = Bootstrap{} } -func (m *Bootstrap) String() string { return proto.CompactTextString(m) } -func (*Bootstrap) ProtoMessage() {} +func (x *Bootstrap) Reset() { + *x = Bootstrap{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Bootstrap) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Bootstrap) ProtoMessage() {} + +func (x *Bootstrap) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead. func (*Bootstrap) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{3} + return file_machine_machine_proto_rawDescGZIP(), []int{3} } -func (m *Bootstrap) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Bootstrap.Unmarshal(m, b) -} - -func (m *Bootstrap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Bootstrap.Marshal(b, m, deterministic) -} - -func (m *Bootstrap) XXX_Merge(src proto.Message) { - xxx_messageInfo_Bootstrap.Merge(m, src) -} - -func (m *Bootstrap) XXX_Size() int { - return xxx_messageInfo_Bootstrap.Size(m) -} - -func (m *Bootstrap) XXX_DiscardUnknown() { - xxx_messageInfo_Bootstrap.DiscardUnknown(m) -} - -var xxx_messageInfo_Bootstrap proto.InternalMessageInfo - -func (m *Bootstrap) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Bootstrap) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } type BootstrapResponse struct { - Messages []*Bootstrap `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Bootstrap `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *BootstrapResponse) Reset() { *m = BootstrapResponse{} } -func (m *BootstrapResponse) String() string { return proto.CompactTextString(m) } -func (*BootstrapResponse) ProtoMessage() {} +func (x *BootstrapResponse) Reset() { + *x = BootstrapResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BootstrapResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BootstrapResponse) ProtoMessage() {} + +func (x *BootstrapResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BootstrapResponse.ProtoReflect.Descriptor instead. func (*BootstrapResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{4} + return file_machine_machine_proto_rawDescGZIP(), []int{4} } -func (m *BootstrapResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BootstrapResponse.Unmarshal(m, b) -} - -func (m *BootstrapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BootstrapResponse.Marshal(b, m, deterministic) -} - -func (m *BootstrapResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BootstrapResponse.Merge(m, src) -} - -func (m *BootstrapResponse) XXX_Size() int { - return xxx_messageInfo_BootstrapResponse.Size(m) -} - -func (m *BootstrapResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BootstrapResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BootstrapResponse proto.InternalMessageInfo - -func (m *BootstrapResponse) GetMessages() []*Bootstrap { - if m != nil { - return m.Messages +func (x *BootstrapResponse) GetMessages() []*Bootstrap { + if x != nil { + return x.Messages } return nil } // rpc events type SequenceEvent struct { - Sequence string `protobuf:"bytes,1,opt,name=sequence,proto3" json:"sequence,omitempty"` - Action SequenceEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.SequenceEvent_Action" json:"action,omitempty"` - Error *common.Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Sequence string `protobuf:"bytes,1,opt,name=sequence,proto3" json:"sequence,omitempty"` + Action SequenceEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.SequenceEvent_Action" json:"action,omitempty"` + Error *common.Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` } -func (m *SequenceEvent) Reset() { *m = SequenceEvent{} } -func (m *SequenceEvent) String() string { return proto.CompactTextString(m) } -func (*SequenceEvent) ProtoMessage() {} +func (x *SequenceEvent) Reset() { + *x = SequenceEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SequenceEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SequenceEvent) ProtoMessage() {} + +func (x *SequenceEvent) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SequenceEvent.ProtoReflect.Descriptor instead. func (*SequenceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{5} + return file_machine_machine_proto_rawDescGZIP(), []int{5} } -func (m *SequenceEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SequenceEvent.Unmarshal(m, b) -} - -func (m *SequenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SequenceEvent.Marshal(b, m, deterministic) -} - -func (m *SequenceEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_SequenceEvent.Merge(m, src) -} - -func (m *SequenceEvent) XXX_Size() int { - return xxx_messageInfo_SequenceEvent.Size(m) -} - -func (m *SequenceEvent) XXX_DiscardUnknown() { - xxx_messageInfo_SequenceEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_SequenceEvent proto.InternalMessageInfo - -func (m *SequenceEvent) GetSequence() string { - if m != nil { - return m.Sequence +func (x *SequenceEvent) GetSequence() string { + if x != nil { + return x.Sequence } return "" } -func (m *SequenceEvent) GetAction() SequenceEvent_Action { - if m != nil { - return m.Action +func (x *SequenceEvent) GetAction() SequenceEvent_Action { + if x != nil { + return x.Action } return SequenceEvent_NOOP } -func (m *SequenceEvent) GetError() *common.Error { - if m != nil { - return m.Error +func (x *SequenceEvent) GetError() *common.Error { + if x != nil { + return x.Error } return nil } type PhaseEvent struct { - Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` - Action PhaseEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.PhaseEvent_Action" json:"action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"` + Action PhaseEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.PhaseEvent_Action" json:"action,omitempty"` } -func (m *PhaseEvent) Reset() { *m = PhaseEvent{} } -func (m *PhaseEvent) String() string { return proto.CompactTextString(m) } -func (*PhaseEvent) ProtoMessage() {} +func (x *PhaseEvent) Reset() { + *x = PhaseEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PhaseEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PhaseEvent) ProtoMessage() {} + +func (x *PhaseEvent) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PhaseEvent.ProtoReflect.Descriptor instead. func (*PhaseEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{6} + return file_machine_machine_proto_rawDescGZIP(), []int{6} } -func (m *PhaseEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PhaseEvent.Unmarshal(m, b) -} - -func (m *PhaseEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PhaseEvent.Marshal(b, m, deterministic) -} - -func (m *PhaseEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_PhaseEvent.Merge(m, src) -} - -func (m *PhaseEvent) XXX_Size() int { - return xxx_messageInfo_PhaseEvent.Size(m) -} - -func (m *PhaseEvent) XXX_DiscardUnknown() { - xxx_messageInfo_PhaseEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_PhaseEvent proto.InternalMessageInfo - -func (m *PhaseEvent) GetPhase() string { - if m != nil { - return m.Phase +func (x *PhaseEvent) GetPhase() string { + if x != nil { + return x.Phase } return "" } -func (m *PhaseEvent) GetAction() PhaseEvent_Action { - if m != nil { - return m.Action +func (x *PhaseEvent) GetAction() PhaseEvent_Action { + if x != nil { + return x.Action } return PhaseEvent_START } type TaskEvent struct { - Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` - Action TaskEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.TaskEvent_Action" json:"action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` + Action TaskEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.TaskEvent_Action" json:"action,omitempty"` } -func (m *TaskEvent) Reset() { *m = TaskEvent{} } -func (m *TaskEvent) String() string { return proto.CompactTextString(m) } -func (*TaskEvent) ProtoMessage() {} +func (x *TaskEvent) Reset() { + *x = TaskEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TaskEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TaskEvent) ProtoMessage() {} + +func (x *TaskEvent) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TaskEvent.ProtoReflect.Descriptor instead. func (*TaskEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{7} + return file_machine_machine_proto_rawDescGZIP(), []int{7} } -func (m *TaskEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskEvent.Unmarshal(m, b) -} - -func (m *TaskEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskEvent.Marshal(b, m, deterministic) -} - -func (m *TaskEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskEvent.Merge(m, src) -} - -func (m *TaskEvent) XXX_Size() int { - return xxx_messageInfo_TaskEvent.Size(m) -} - -func (m *TaskEvent) XXX_DiscardUnknown() { - xxx_messageInfo_TaskEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_TaskEvent proto.InternalMessageInfo - -func (m *TaskEvent) GetTask() string { - if m != nil { - return m.Task +func (x *TaskEvent) GetTask() string { + if x != nil { + return x.Task } return "" } -func (m *TaskEvent) GetAction() TaskEvent_Action { - if m != nil { - return m.Action +func (x *TaskEvent) GetAction() TaskEvent_Action { + if x != nil { + return x.Action } return TaskEvent_START } type EventsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *EventsRequest) Reset() { *m = EventsRequest{} } -func (m *EventsRequest) String() string { return proto.CompactTextString(m) } -func (*EventsRequest) ProtoMessage() {} +func (x *EventsRequest) Reset() { + *x = EventsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventsRequest) ProtoMessage() {} + +func (x *EventsRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EventsRequest.ProtoReflect.Descriptor instead. func (*EventsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{8} + return file_machine_machine_proto_rawDescGZIP(), []int{8} } -func (m *EventsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EventsRequest.Unmarshal(m, b) -} - -func (m *EventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EventsRequest.Marshal(b, m, deterministic) -} - -func (m *EventsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventsRequest.Merge(m, src) -} - -func (m *EventsRequest) XXX_Size() int { - return xxx_messageInfo_EventsRequest.Size(m) -} - -func (m *EventsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EventsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_EventsRequest proto.InternalMessageInfo - type Event struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Data *any.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Data *any.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` } -func (m *Event) Reset() { *m = Event{} } -func (m *Event) String() string { return proto.CompactTextString(m) } -func (*Event) ProtoMessage() {} +func (x *Event) Reset() { + *x = Event{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Event) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Event) ProtoMessage() {} + +func (x *Event) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Event.ProtoReflect.Descriptor instead. func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{9} + return file_machine_machine_proto_rawDescGZIP(), []int{9} } -func (m *Event) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Event.Unmarshal(m, b) -} - -func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Event.Marshal(b, m, deterministic) -} - -func (m *Event) XXX_Merge(src proto.Message) { - xxx_messageInfo_Event.Merge(m, src) -} - -func (m *Event) XXX_Size() int { - return xxx_messageInfo_Event.Size(m) -} - -func (m *Event) XXX_DiscardUnknown() { - xxx_messageInfo_Event.DiscardUnknown(m) -} - -var xxx_messageInfo_Event proto.InternalMessageInfo - -func (m *Event) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Event) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Event) GetData() *any.Any { - if m != nil { - return m.Data +func (x *Event) GetData() *any.Any { + if x != nil { + return x.Data } return nil } // rpc reset type ResetRequest struct { - Graceful bool `protobuf:"varint,1,opt,name=graceful,proto3" json:"graceful,omitempty"` - Reboot bool `protobuf:"varint,2,opt,name=reboot,proto3" json:"reboot,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Graceful bool `protobuf:"varint,1,opt,name=graceful,proto3" json:"graceful,omitempty"` + Reboot bool `protobuf:"varint,2,opt,name=reboot,proto3" json:"reboot,omitempty"` } -func (m *ResetRequest) Reset() { *m = ResetRequest{} } -func (m *ResetRequest) String() string { return proto.CompactTextString(m) } -func (*ResetRequest) ProtoMessage() {} +func (x *ResetRequest) Reset() { + *x = ResetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetRequest) ProtoMessage() {} + +func (x *ResetRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetRequest.ProtoReflect.Descriptor instead. func (*ResetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{10} + return file_machine_machine_proto_rawDescGZIP(), []int{10} } -func (m *ResetRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResetRequest.Unmarshal(m, b) -} - -func (m *ResetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResetRequest.Marshal(b, m, deterministic) -} - -func (m *ResetRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResetRequest.Merge(m, src) -} - -func (m *ResetRequest) XXX_Size() int { - return xxx_messageInfo_ResetRequest.Size(m) -} - -func (m *ResetRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResetRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ResetRequest proto.InternalMessageInfo - -func (m *ResetRequest) GetGraceful() bool { - if m != nil { - return m.Graceful +func (x *ResetRequest) GetGraceful() bool { + if x != nil { + return x.Graceful } return false } -func (m *ResetRequest) GetReboot() bool { - if m != nil { - return m.Reboot +func (x *ResetRequest) GetReboot() bool { + if x != nil { + return x.Reboot } return false } // The reset message containing the restart status. type Reset struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Reset) Reset() { *m = Reset{} } -func (m *Reset) String() string { return proto.CompactTextString(m) } -func (*Reset) ProtoMessage() {} +func (x *Reset) Reset() { + *x = Reset{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Reset) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Reset) ProtoMessage() {} + +func (x *Reset) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Reset.ProtoReflect.Descriptor instead. func (*Reset) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{11} + return file_machine_machine_proto_rawDescGZIP(), []int{11} } -func (m *Reset) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Reset.Unmarshal(m, b) -} - -func (m *Reset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Reset.Marshal(b, m, deterministic) -} - -func (m *Reset) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reset.Merge(m, src) -} - -func (m *Reset) XXX_Size() int { - return xxx_messageInfo_Reset.Size(m) -} - -func (m *Reset) XXX_DiscardUnknown() { - xxx_messageInfo_Reset.DiscardUnknown(m) -} - -var xxx_messageInfo_Reset proto.InternalMessageInfo - -func (m *Reset) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Reset) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } type ResetResponse struct { - Messages []*Reset `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Reset `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *ResetResponse) Reset() { *m = ResetResponse{} } -func (m *ResetResponse) String() string { return proto.CompactTextString(m) } -func (*ResetResponse) ProtoMessage() {} +func (x *ResetResponse) Reset() { + *x = ResetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetResponse) ProtoMessage() {} + +func (x *ResetResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResetResponse.ProtoReflect.Descriptor instead. func (*ResetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{12} + return file_machine_machine_proto_rawDescGZIP(), []int{12} } -func (m *ResetResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResetResponse.Unmarshal(m, b) -} - -func (m *ResetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResetResponse.Marshal(b, m, deterministic) -} - -func (m *ResetResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResetResponse.Merge(m, src) -} - -func (m *ResetResponse) XXX_Size() int { - return xxx_messageInfo_ResetResponse.Size(m) -} - -func (m *ResetResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResetResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ResetResponse proto.InternalMessageInfo - -func (m *ResetResponse) GetMessages() []*Reset { - if m != nil { - return m.Messages +func (x *ResetResponse) GetMessages() []*Reset { + if x != nil { + return x.Messages } return nil } type RecoverRequest struct { - Source RecoverRequest_Source `protobuf:"varint,1,opt,name=source,proto3,enum=machine.RecoverRequest_Source" json:"source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Source RecoverRequest_Source `protobuf:"varint,1,opt,name=source,proto3,enum=machine.RecoverRequest_Source" json:"source,omitempty"` } -func (m *RecoverRequest) Reset() { *m = RecoverRequest{} } -func (m *RecoverRequest) String() string { return proto.CompactTextString(m) } -func (*RecoverRequest) ProtoMessage() {} +func (x *RecoverRequest) Reset() { + *x = RecoverRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RecoverRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RecoverRequest) ProtoMessage() {} + +func (x *RecoverRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RecoverRequest.ProtoReflect.Descriptor instead. func (*RecoverRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{13} + return file_machine_machine_proto_rawDescGZIP(), []int{13} } -func (m *RecoverRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecoverRequest.Unmarshal(m, b) -} - -func (m *RecoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecoverRequest.Marshal(b, m, deterministic) -} - -func (m *RecoverRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecoverRequest.Merge(m, src) -} - -func (m *RecoverRequest) XXX_Size() int { - return xxx_messageInfo_RecoverRequest.Size(m) -} - -func (m *RecoverRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RecoverRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RecoverRequest proto.InternalMessageInfo - -func (m *RecoverRequest) GetSource() RecoverRequest_Source { - if m != nil { - return m.Source +func (x *RecoverRequest) GetSource() RecoverRequest_Source { + if x != nil { + return x.Source } return RecoverRequest_ETCD } // The recover message containing the recover status. type Recover struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Recover) Reset() { *m = Recover{} } -func (m *Recover) String() string { return proto.CompactTextString(m) } -func (*Recover) ProtoMessage() {} +func (x *Recover) Reset() { + *x = Recover{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Recover) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Recover) ProtoMessage() {} + +func (x *Recover) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Recover.ProtoReflect.Descriptor instead. func (*Recover) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{14} + return file_machine_machine_proto_rawDescGZIP(), []int{14} } -func (m *Recover) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Recover.Unmarshal(m, b) -} - -func (m *Recover) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Recover.Marshal(b, m, deterministic) -} - -func (m *Recover) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recover.Merge(m, src) -} - -func (m *Recover) XXX_Size() int { - return xxx_messageInfo_Recover.Size(m) -} - -func (m *Recover) XXX_DiscardUnknown() { - xxx_messageInfo_Recover.DiscardUnknown(m) -} - -var xxx_messageInfo_Recover proto.InternalMessageInfo - -func (m *Recover) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Recover) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } type RecoverResponse struct { - Messages []*Recover `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Recover `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *RecoverResponse) Reset() { *m = RecoverResponse{} } -func (m *RecoverResponse) String() string { return proto.CompactTextString(m) } -func (*RecoverResponse) ProtoMessage() {} +func (x *RecoverResponse) Reset() { + *x = RecoverResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RecoverResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RecoverResponse) ProtoMessage() {} + +func (x *RecoverResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RecoverResponse.ProtoReflect.Descriptor instead. func (*RecoverResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{15} + return file_machine_machine_proto_rawDescGZIP(), []int{15} } -func (m *RecoverResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RecoverResponse.Unmarshal(m, b) -} - -func (m *RecoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RecoverResponse.Marshal(b, m, deterministic) -} - -func (m *RecoverResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RecoverResponse.Merge(m, src) -} - -func (m *RecoverResponse) XXX_Size() int { - return xxx_messageInfo_RecoverResponse.Size(m) -} - -func (m *RecoverResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RecoverResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RecoverResponse proto.InternalMessageInfo - -func (m *RecoverResponse) GetMessages() []*Recover { - if m != nil { - return m.Messages +func (x *RecoverResponse) GetMessages() []*Recover { + if x != nil { + return x.Messages } return nil } @@ -864,1152 +1015,1248 @@ func (m *RecoverResponse) GetMessages() []*Recover { // rpc shutdown // The messages message containing the shutdown status. type Shutdown struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Shutdown) Reset() { *m = Shutdown{} } -func (m *Shutdown) String() string { return proto.CompactTextString(m) } -func (*Shutdown) ProtoMessage() {} +func (x *Shutdown) Reset() { + *x = Shutdown{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Shutdown) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Shutdown) ProtoMessage() {} + +func (x *Shutdown) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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 Shutdown.ProtoReflect.Descriptor instead. func (*Shutdown) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{16} + return file_machine_machine_proto_rawDescGZIP(), []int{16} } -func (m *Shutdown) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Shutdown.Unmarshal(m, b) -} - -func (m *Shutdown) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Shutdown.Marshal(b, m, deterministic) -} - -func (m *Shutdown) XXX_Merge(src proto.Message) { - xxx_messageInfo_Shutdown.Merge(m, src) -} - -func (m *Shutdown) XXX_Size() int { - return xxx_messageInfo_Shutdown.Size(m) -} - -func (m *Shutdown) XXX_DiscardUnknown() { - xxx_messageInfo_Shutdown.DiscardUnknown(m) -} - -var xxx_messageInfo_Shutdown proto.InternalMessageInfo - -func (m *Shutdown) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Shutdown) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } type ShutdownResponse struct { - Messages []*Shutdown `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Shutdown `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *ShutdownResponse) Reset() { *m = ShutdownResponse{} } -func (m *ShutdownResponse) String() string { return proto.CompactTextString(m) } -func (*ShutdownResponse) ProtoMessage() {} +func (x *ShutdownResponse) Reset() { + *x = ShutdownResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ShutdownResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ShutdownResponse) ProtoMessage() {} + +func (x *ShutdownResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead. func (*ShutdownResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{17} + return file_machine_machine_proto_rawDescGZIP(), []int{17} } -func (m *ShutdownResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ShutdownResponse.Unmarshal(m, b) -} - -func (m *ShutdownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ShutdownResponse.Marshal(b, m, deterministic) -} - -func (m *ShutdownResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShutdownResponse.Merge(m, src) -} - -func (m *ShutdownResponse) XXX_Size() int { - return xxx_messageInfo_ShutdownResponse.Size(m) -} - -func (m *ShutdownResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ShutdownResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ShutdownResponse proto.InternalMessageInfo - -func (m *ShutdownResponse) GetMessages() []*Shutdown { - if m != nil { - return m.Messages +func (x *ShutdownResponse) GetMessages() []*Shutdown { + if x != nil { + return x.Messages } return nil } // rpc upgrade type UpgradeRequest struct { - Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` - Preserve bool `protobuf:"varint,2,opt,name=preserve,proto3" json:"preserve,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` + Preserve bool `protobuf:"varint,2,opt,name=preserve,proto3" json:"preserve,omitempty"` } -func (m *UpgradeRequest) Reset() { *m = UpgradeRequest{} } -func (m *UpgradeRequest) String() string { return proto.CompactTextString(m) } -func (*UpgradeRequest) ProtoMessage() {} +func (x *UpgradeRequest) Reset() { + *x = UpgradeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpgradeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpgradeRequest) ProtoMessage() {} + +func (x *UpgradeRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use UpgradeRequest.ProtoReflect.Descriptor instead. func (*UpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{18} + return file_machine_machine_proto_rawDescGZIP(), []int{18} } -func (m *UpgradeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpgradeRequest.Unmarshal(m, b) -} - -func (m *UpgradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpgradeRequest.Marshal(b, m, deterministic) -} - -func (m *UpgradeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpgradeRequest.Merge(m, src) -} - -func (m *UpgradeRequest) XXX_Size() int { - return xxx_messageInfo_UpgradeRequest.Size(m) -} - -func (m *UpgradeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpgradeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpgradeRequest proto.InternalMessageInfo - -func (m *UpgradeRequest) GetImage() string { - if m != nil { - return m.Image +func (x *UpgradeRequest) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *UpgradeRequest) GetPreserve() bool { - if m != nil { - return m.Preserve +func (x *UpgradeRequest) GetPreserve() bool { + if x != nil { + return x.Preserve } return false } type Upgrade struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Ack string `protobuf:"bytes,2,opt,name=ack,proto3" json:"ack,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Ack string `protobuf:"bytes,2,opt,name=ack,proto3" json:"ack,omitempty"` } -func (m *Upgrade) Reset() { *m = Upgrade{} } -func (m *Upgrade) String() string { return proto.CompactTextString(m) } -func (*Upgrade) ProtoMessage() {} +func (x *Upgrade) Reset() { + *x = Upgrade{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Upgrade) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Upgrade) ProtoMessage() {} + +func (x *Upgrade) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use Upgrade.ProtoReflect.Descriptor instead. func (*Upgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{19} + return file_machine_machine_proto_rawDescGZIP(), []int{19} } -func (m *Upgrade) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Upgrade.Unmarshal(m, b) -} - -func (m *Upgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Upgrade.Marshal(b, m, deterministic) -} - -func (m *Upgrade) XXX_Merge(src proto.Message) { - xxx_messageInfo_Upgrade.Merge(m, src) -} - -func (m *Upgrade) XXX_Size() int { - return xxx_messageInfo_Upgrade.Size(m) -} - -func (m *Upgrade) XXX_DiscardUnknown() { - xxx_messageInfo_Upgrade.DiscardUnknown(m) -} - -var xxx_messageInfo_Upgrade proto.InternalMessageInfo - -func (m *Upgrade) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Upgrade) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Upgrade) GetAck() string { - if m != nil { - return m.Ack +func (x *Upgrade) GetAck() string { + if x != nil { + return x.Ack } return "" } type UpgradeResponse struct { - Messages []*Upgrade `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Upgrade `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *UpgradeResponse) Reset() { *m = UpgradeResponse{} } -func (m *UpgradeResponse) String() string { return proto.CompactTextString(m) } -func (*UpgradeResponse) ProtoMessage() {} +func (x *UpgradeResponse) Reset() { + *x = UpgradeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpgradeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpgradeResponse) ProtoMessage() {} + +func (x *UpgradeResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use UpgradeResponse.ProtoReflect.Descriptor instead. func (*UpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{20} + return file_machine_machine_proto_rawDescGZIP(), []int{20} } -func (m *UpgradeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpgradeResponse.Unmarshal(m, b) -} - -func (m *UpgradeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpgradeResponse.Marshal(b, m, deterministic) -} - -func (m *UpgradeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpgradeResponse.Merge(m, src) -} - -func (m *UpgradeResponse) XXX_Size() int { - return xxx_messageInfo_UpgradeResponse.Size(m) -} - -func (m *UpgradeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpgradeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UpgradeResponse proto.InternalMessageInfo - -func (m *UpgradeResponse) GetMessages() []*Upgrade { - if m != nil { - return m.Messages +func (x *UpgradeResponse) GetMessages() []*Upgrade { + if x != nil { + return x.Messages } return nil } // rpc servicelist type ServiceList struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Services []*ServiceInfo `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Services []*ServiceInfo `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` } -func (m *ServiceList) Reset() { *m = ServiceList{} } -func (m *ServiceList) String() string { return proto.CompactTextString(m) } -func (*ServiceList) ProtoMessage() {} +func (x *ServiceList) Reset() { + *x = ServiceList{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceList) ProtoMessage() {} + +func (x *ServiceList) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceList.ProtoReflect.Descriptor instead. func (*ServiceList) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{21} + return file_machine_machine_proto_rawDescGZIP(), []int{21} } -func (m *ServiceList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceList.Unmarshal(m, b) -} - -func (m *ServiceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceList.Marshal(b, m, deterministic) -} - -func (m *ServiceList) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceList.Merge(m, src) -} - -func (m *ServiceList) XXX_Size() int { - return xxx_messageInfo_ServiceList.Size(m) -} - -func (m *ServiceList) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceList.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceList proto.InternalMessageInfo - -func (m *ServiceList) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *ServiceList) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *ServiceList) GetServices() []*ServiceInfo { - if m != nil { - return m.Services +func (x *ServiceList) GetServices() []*ServiceInfo { + if x != nil { + return x.Services } return nil } type ServiceListResponse struct { - Messages []*ServiceList `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*ServiceList `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *ServiceListResponse) Reset() { *m = ServiceListResponse{} } -func (m *ServiceListResponse) String() string { return proto.CompactTextString(m) } -func (*ServiceListResponse) ProtoMessage() {} +func (x *ServiceListResponse) Reset() { + *x = ServiceListResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceListResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceListResponse) ProtoMessage() {} + +func (x *ServiceListResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceListResponse.ProtoReflect.Descriptor instead. func (*ServiceListResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{22} + return file_machine_machine_proto_rawDescGZIP(), []int{22} } -func (m *ServiceListResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceListResponse.Unmarshal(m, b) -} - -func (m *ServiceListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceListResponse.Marshal(b, m, deterministic) -} - -func (m *ServiceListResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceListResponse.Merge(m, src) -} - -func (m *ServiceListResponse) XXX_Size() int { - return xxx_messageInfo_ServiceListResponse.Size(m) -} - -func (m *ServiceListResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceListResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceListResponse proto.InternalMessageInfo - -func (m *ServiceListResponse) GetMessages() []*ServiceList { - if m != nil { - return m.Messages +func (x *ServiceListResponse) GetMessages() []*ServiceList { + if x != nil { + return x.Messages } return nil } type ServiceInfo 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"` - Events *ServiceEvents `protobuf:"bytes,3,opt,name=events,proto3" json:"events,omitempty"` - Health *ServiceHealth `protobuf:"bytes,4,opt,name=health,proto3" json:"health,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"` + Events *ServiceEvents `protobuf:"bytes,3,opt,name=events,proto3" json:"events,omitempty"` + Health *ServiceHealth `protobuf:"bytes,4,opt,name=health,proto3" json:"health,omitempty"` } -func (m *ServiceInfo) Reset() { *m = ServiceInfo{} } -func (m *ServiceInfo) String() string { return proto.CompactTextString(m) } -func (*ServiceInfo) ProtoMessage() {} +func (x *ServiceInfo) Reset() { + *x = ServiceInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceInfo) ProtoMessage() {} + +func (x *ServiceInfo) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead. func (*ServiceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{23} + return file_machine_machine_proto_rawDescGZIP(), []int{23} } -func (m *ServiceInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceInfo.Unmarshal(m, b) -} - -func (m *ServiceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceInfo.Marshal(b, m, deterministic) -} - -func (m *ServiceInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceInfo.Merge(m, src) -} - -func (m *ServiceInfo) XXX_Size() int { - return xxx_messageInfo_ServiceInfo.Size(m) -} - -func (m *ServiceInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceInfo proto.InternalMessageInfo - -func (m *ServiceInfo) GetId() string { - if m != nil { - return m.Id +func (x *ServiceInfo) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ServiceInfo) GetState() string { - if m != nil { - return m.State +func (x *ServiceInfo) GetState() string { + if x != nil { + return x.State } return "" } -func (m *ServiceInfo) GetEvents() *ServiceEvents { - if m != nil { - return m.Events +func (x *ServiceInfo) GetEvents() *ServiceEvents { + if x != nil { + return x.Events } return nil } -func (m *ServiceInfo) GetHealth() *ServiceHealth { - if m != nil { - return m.Health +func (x *ServiceInfo) GetHealth() *ServiceHealth { + if x != nil { + return x.Health } return nil } type ServiceEvents struct { - Events []*ServiceEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Events []*ServiceEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` } -func (m *ServiceEvents) Reset() { *m = ServiceEvents{} } -func (m *ServiceEvents) String() string { return proto.CompactTextString(m) } -func (*ServiceEvents) ProtoMessage() {} +func (x *ServiceEvents) Reset() { + *x = ServiceEvents{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceEvents) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceEvents) ProtoMessage() {} + +func (x *ServiceEvents) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceEvents.ProtoReflect.Descriptor instead. func (*ServiceEvents) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{24} + return file_machine_machine_proto_rawDescGZIP(), []int{24} } -func (m *ServiceEvents) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceEvents.Unmarshal(m, b) -} - -func (m *ServiceEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceEvents.Marshal(b, m, deterministic) -} - -func (m *ServiceEvents) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceEvents.Merge(m, src) -} - -func (m *ServiceEvents) XXX_Size() int { - return xxx_messageInfo_ServiceEvents.Size(m) -} - -func (m *ServiceEvents) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceEvents.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceEvents proto.InternalMessageInfo - -func (m *ServiceEvents) GetEvents() []*ServiceEvent { - if m != nil { - return m.Events +func (x *ServiceEvents) GetEvents() []*ServiceEvent { + if x != nil { + return x.Events } return nil } type ServiceEvent struct { - Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` - State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` - Ts *timestamp.Timestamp `protobuf:"bytes,3,opt,name=ts,proto3" json:"ts,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"` + State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + Ts *timestamp.Timestamp `protobuf:"bytes,3,opt,name=ts,proto3" json:"ts,omitempty"` } -func (m *ServiceEvent) Reset() { *m = ServiceEvent{} } -func (m *ServiceEvent) String() string { return proto.CompactTextString(m) } -func (*ServiceEvent) ProtoMessage() {} +func (x *ServiceEvent) Reset() { + *x = ServiceEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceEvent) ProtoMessage() {} + +func (x *ServiceEvent) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceEvent.ProtoReflect.Descriptor instead. func (*ServiceEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{25} + return file_machine_machine_proto_rawDescGZIP(), []int{25} } -func (m *ServiceEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceEvent.Unmarshal(m, b) -} - -func (m *ServiceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceEvent.Marshal(b, m, deterministic) -} - -func (m *ServiceEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceEvent.Merge(m, src) -} - -func (m *ServiceEvent) XXX_Size() int { - return xxx_messageInfo_ServiceEvent.Size(m) -} - -func (m *ServiceEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceEvent proto.InternalMessageInfo - -func (m *ServiceEvent) GetMsg() string { - if m != nil { - return m.Msg +func (x *ServiceEvent) GetMsg() string { + if x != nil { + return x.Msg } return "" } -func (m *ServiceEvent) GetState() string { - if m != nil { - return m.State +func (x *ServiceEvent) GetState() string { + if x != nil { + return x.State } return "" } -func (m *ServiceEvent) GetTs() *timestamp.Timestamp { - if m != nil { - return m.Ts +func (x *ServiceEvent) GetTs() *timestamp.Timestamp { + if x != nil { + return x.Ts } return nil } type ServiceHealth struct { - Unknown bool `protobuf:"varint,1,opt,name=unknown,proto3" json:"unknown,omitempty"` - Healthy bool `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy,omitempty"` - LastMessage string `protobuf:"bytes,3,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"` - LastChange *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Unknown bool `protobuf:"varint,1,opt,name=unknown,proto3" json:"unknown,omitempty"` + Healthy bool `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy,omitempty"` + LastMessage string `protobuf:"bytes,3,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"` + LastChange *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"` } -func (m *ServiceHealth) Reset() { *m = ServiceHealth{} } -func (m *ServiceHealth) String() string { return proto.CompactTextString(m) } -func (*ServiceHealth) ProtoMessage() {} +func (x *ServiceHealth) Reset() { + *x = ServiceHealth{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceHealth) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceHealth) ProtoMessage() {} + +func (x *ServiceHealth) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceHealth.ProtoReflect.Descriptor instead. func (*ServiceHealth) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{26} + return file_machine_machine_proto_rawDescGZIP(), []int{26} } -func (m *ServiceHealth) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceHealth.Unmarshal(m, b) -} - -func (m *ServiceHealth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceHealth.Marshal(b, m, deterministic) -} - -func (m *ServiceHealth) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceHealth.Merge(m, src) -} - -func (m *ServiceHealth) XXX_Size() int { - return xxx_messageInfo_ServiceHealth.Size(m) -} - -func (m *ServiceHealth) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceHealth.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceHealth proto.InternalMessageInfo - -func (m *ServiceHealth) GetUnknown() bool { - if m != nil { - return m.Unknown +func (x *ServiceHealth) GetUnknown() bool { + if x != nil { + return x.Unknown } return false } -func (m *ServiceHealth) GetHealthy() bool { - if m != nil { - return m.Healthy +func (x *ServiceHealth) GetHealthy() bool { + if x != nil { + return x.Healthy } return false } -func (m *ServiceHealth) GetLastMessage() string { - if m != nil { - return m.LastMessage +func (x *ServiceHealth) GetLastMessage() string { + if x != nil { + return x.LastMessage } return "" } -func (m *ServiceHealth) GetLastChange() *timestamp.Timestamp { - if m != nil { - return m.LastChange +func (x *ServiceHealth) GetLastChange() *timestamp.Timestamp { + if x != nil { + return x.LastChange } return nil } // rpc servicestart type ServiceStartRequest 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 *ServiceStartRequest) Reset() { *m = ServiceStartRequest{} } -func (m *ServiceStartRequest) String() string { return proto.CompactTextString(m) } -func (*ServiceStartRequest) ProtoMessage() {} +func (x *ServiceStartRequest) Reset() { + *x = ServiceStartRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceStartRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceStartRequest) ProtoMessage() {} + +func (x *ServiceStartRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceStartRequest.ProtoReflect.Descriptor instead. func (*ServiceStartRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{27} + return file_machine_machine_proto_rawDescGZIP(), []int{27} } -func (m *ServiceStartRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceStartRequest.Unmarshal(m, b) -} - -func (m *ServiceStartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceStartRequest.Marshal(b, m, deterministic) -} - -func (m *ServiceStartRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceStartRequest.Merge(m, src) -} - -func (m *ServiceStartRequest) XXX_Size() int { - return xxx_messageInfo_ServiceStartRequest.Size(m) -} - -func (m *ServiceStartRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceStartRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceStartRequest proto.InternalMessageInfo - -func (m *ServiceStartRequest) GetId() string { - if m != nil { - return m.Id +func (x *ServiceStartRequest) GetId() string { + if x != nil { + return x.Id } return "" } type ServiceStart struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Resp string `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Resp string `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"` } -func (m *ServiceStart) Reset() { *m = ServiceStart{} } -func (m *ServiceStart) String() string { return proto.CompactTextString(m) } -func (*ServiceStart) ProtoMessage() {} +func (x *ServiceStart) Reset() { + *x = ServiceStart{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceStart) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceStart) ProtoMessage() {} + +func (x *ServiceStart) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceStart.ProtoReflect.Descriptor instead. func (*ServiceStart) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{28} + return file_machine_machine_proto_rawDescGZIP(), []int{28} } -func (m *ServiceStart) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceStart.Unmarshal(m, b) -} - -func (m *ServiceStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceStart.Marshal(b, m, deterministic) -} - -func (m *ServiceStart) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceStart.Merge(m, src) -} - -func (m *ServiceStart) XXX_Size() int { - return xxx_messageInfo_ServiceStart.Size(m) -} - -func (m *ServiceStart) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceStart.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceStart proto.InternalMessageInfo - -func (m *ServiceStart) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *ServiceStart) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *ServiceStart) GetResp() string { - if m != nil { - return m.Resp +func (x *ServiceStart) GetResp() string { + if x != nil { + return x.Resp } return "" } type ServiceStartResponse struct { - Messages []*ServiceStart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*ServiceStart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *ServiceStartResponse) Reset() { *m = ServiceStartResponse{} } -func (m *ServiceStartResponse) String() string { return proto.CompactTextString(m) } -func (*ServiceStartResponse) ProtoMessage() {} +func (x *ServiceStartResponse) Reset() { + *x = ServiceStartResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceStartResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceStartResponse) ProtoMessage() {} + +func (x *ServiceStartResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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 ServiceStartResponse.ProtoReflect.Descriptor instead. func (*ServiceStartResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{29} + return file_machine_machine_proto_rawDescGZIP(), []int{29} } -func (m *ServiceStartResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceStartResponse.Unmarshal(m, b) -} - -func (m *ServiceStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceStartResponse.Marshal(b, m, deterministic) -} - -func (m *ServiceStartResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceStartResponse.Merge(m, src) -} - -func (m *ServiceStartResponse) XXX_Size() int { - return xxx_messageInfo_ServiceStartResponse.Size(m) -} - -func (m *ServiceStartResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceStartResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceStartResponse proto.InternalMessageInfo - -func (m *ServiceStartResponse) GetMessages() []*ServiceStart { - if m != nil { - return m.Messages +func (x *ServiceStartResponse) GetMessages() []*ServiceStart { + if x != nil { + return x.Messages } return nil } type ServiceStopRequest 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 *ServiceStopRequest) Reset() { *m = ServiceStopRequest{} } -func (m *ServiceStopRequest) String() string { return proto.CompactTextString(m) } -func (*ServiceStopRequest) ProtoMessage() {} +func (x *ServiceStopRequest) Reset() { + *x = ServiceStopRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceStopRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceStopRequest) ProtoMessage() {} + +func (x *ServiceStopRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceStopRequest.ProtoReflect.Descriptor instead. func (*ServiceStopRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{30} + return file_machine_machine_proto_rawDescGZIP(), []int{30} } -func (m *ServiceStopRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceStopRequest.Unmarshal(m, b) -} - -func (m *ServiceStopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceStopRequest.Marshal(b, m, deterministic) -} - -func (m *ServiceStopRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceStopRequest.Merge(m, src) -} - -func (m *ServiceStopRequest) XXX_Size() int { - return xxx_messageInfo_ServiceStopRequest.Size(m) -} - -func (m *ServiceStopRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceStopRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceStopRequest proto.InternalMessageInfo - -func (m *ServiceStopRequest) GetId() string { - if m != nil { - return m.Id +func (x *ServiceStopRequest) GetId() string { + if x != nil { + return x.Id } return "" } type ServiceStop struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Resp string `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Resp string `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"` } -func (m *ServiceStop) Reset() { *m = ServiceStop{} } -func (m *ServiceStop) String() string { return proto.CompactTextString(m) } -func (*ServiceStop) ProtoMessage() {} +func (x *ServiceStop) Reset() { + *x = ServiceStop{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceStop) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceStop) ProtoMessage() {} + +func (x *ServiceStop) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceStop.ProtoReflect.Descriptor instead. func (*ServiceStop) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{31} + return file_machine_machine_proto_rawDescGZIP(), []int{31} } -func (m *ServiceStop) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceStop.Unmarshal(m, b) -} - -func (m *ServiceStop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceStop.Marshal(b, m, deterministic) -} - -func (m *ServiceStop) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceStop.Merge(m, src) -} - -func (m *ServiceStop) XXX_Size() int { - return xxx_messageInfo_ServiceStop.Size(m) -} - -func (m *ServiceStop) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceStop.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceStop proto.InternalMessageInfo - -func (m *ServiceStop) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *ServiceStop) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *ServiceStop) GetResp() string { - if m != nil { - return m.Resp +func (x *ServiceStop) GetResp() string { + if x != nil { + return x.Resp } return "" } type ServiceStopResponse struct { - Messages []*ServiceStop `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*ServiceStop `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *ServiceStopResponse) Reset() { *m = ServiceStopResponse{} } -func (m *ServiceStopResponse) String() string { return proto.CompactTextString(m) } -func (*ServiceStopResponse) ProtoMessage() {} +func (x *ServiceStopResponse) Reset() { + *x = ServiceStopResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceStopResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceStopResponse) ProtoMessage() {} + +func (x *ServiceStopResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceStopResponse.ProtoReflect.Descriptor instead. func (*ServiceStopResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{32} + return file_machine_machine_proto_rawDescGZIP(), []int{32} } -func (m *ServiceStopResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceStopResponse.Unmarshal(m, b) -} - -func (m *ServiceStopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceStopResponse.Marshal(b, m, deterministic) -} - -func (m *ServiceStopResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceStopResponse.Merge(m, src) -} - -func (m *ServiceStopResponse) XXX_Size() int { - return xxx_messageInfo_ServiceStopResponse.Size(m) -} - -func (m *ServiceStopResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceStopResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceStopResponse proto.InternalMessageInfo - -func (m *ServiceStopResponse) GetMessages() []*ServiceStop { - if m != nil { - return m.Messages +func (x *ServiceStopResponse) GetMessages() []*ServiceStop { + if x != nil { + return x.Messages } return nil } type ServiceRestartRequest 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 *ServiceRestartRequest) Reset() { *m = ServiceRestartRequest{} } -func (m *ServiceRestartRequest) String() string { return proto.CompactTextString(m) } -func (*ServiceRestartRequest) ProtoMessage() {} +func (x *ServiceRestartRequest) Reset() { + *x = ServiceRestartRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceRestartRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceRestartRequest) ProtoMessage() {} + +func (x *ServiceRestartRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceRestartRequest.ProtoReflect.Descriptor instead. func (*ServiceRestartRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{33} + return file_machine_machine_proto_rawDescGZIP(), []int{33} } -func (m *ServiceRestartRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceRestartRequest.Unmarshal(m, b) -} - -func (m *ServiceRestartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceRestartRequest.Marshal(b, m, deterministic) -} - -func (m *ServiceRestartRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceRestartRequest.Merge(m, src) -} - -func (m *ServiceRestartRequest) XXX_Size() int { - return xxx_messageInfo_ServiceRestartRequest.Size(m) -} - -func (m *ServiceRestartRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceRestartRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceRestartRequest proto.InternalMessageInfo - -func (m *ServiceRestartRequest) GetId() string { - if m != nil { - return m.Id +func (x *ServiceRestartRequest) GetId() string { + if x != nil { + return x.Id } return "" } type ServiceRestart struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Resp string `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Resp string `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"` } -func (m *ServiceRestart) Reset() { *m = ServiceRestart{} } -func (m *ServiceRestart) String() string { return proto.CompactTextString(m) } -func (*ServiceRestart) ProtoMessage() {} +func (x *ServiceRestart) Reset() { + *x = ServiceRestart{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceRestart) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceRestart) ProtoMessage() {} + +func (x *ServiceRestart) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceRestart.ProtoReflect.Descriptor instead. func (*ServiceRestart) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{34} + return file_machine_machine_proto_rawDescGZIP(), []int{34} } -func (m *ServiceRestart) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceRestart.Unmarshal(m, b) -} - -func (m *ServiceRestart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceRestart.Marshal(b, m, deterministic) -} - -func (m *ServiceRestart) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceRestart.Merge(m, src) -} - -func (m *ServiceRestart) XXX_Size() int { - return xxx_messageInfo_ServiceRestart.Size(m) -} - -func (m *ServiceRestart) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceRestart.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceRestart proto.InternalMessageInfo - -func (m *ServiceRestart) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *ServiceRestart) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *ServiceRestart) GetResp() string { - if m != nil { - return m.Resp +func (x *ServiceRestart) GetResp() string { + if x != nil { + return x.Resp } return "" } type ServiceRestartResponse struct { - Messages []*ServiceRestart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*ServiceRestart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *ServiceRestartResponse) Reset() { *m = ServiceRestartResponse{} } -func (m *ServiceRestartResponse) String() string { return proto.CompactTextString(m) } -func (*ServiceRestartResponse) ProtoMessage() {} +func (x *ServiceRestartResponse) Reset() { + *x = ServiceRestartResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServiceRestartResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceRestartResponse) ProtoMessage() {} + +func (x *ServiceRestartResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ServiceRestartResponse.ProtoReflect.Descriptor instead. func (*ServiceRestartResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{35} + return file_machine_machine_proto_rawDescGZIP(), []int{35} } -func (m *ServiceRestartResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServiceRestartResponse.Unmarshal(m, b) -} - -func (m *ServiceRestartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServiceRestartResponse.Marshal(b, m, deterministic) -} - -func (m *ServiceRestartResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServiceRestartResponse.Merge(m, src) -} - -func (m *ServiceRestartResponse) XXX_Size() int { - return xxx_messageInfo_ServiceRestartResponse.Size(m) -} - -func (m *ServiceRestartResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ServiceRestartResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ServiceRestartResponse proto.InternalMessageInfo - -func (m *ServiceRestartResponse) GetMessages() []*ServiceRestart { - if m != nil { - return m.Messages +func (x *ServiceRestartResponse) GetMessages() []*ServiceRestart { + if x != nil { + return x.Messages } return nil } // Deprecated: Do not use. type StartRequest 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 *StartRequest) Reset() { *m = StartRequest{} } -func (m *StartRequest) String() string { return proto.CompactTextString(m) } -func (*StartRequest) ProtoMessage() {} +func (x *StartRequest) Reset() { + *x = StartRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartRequest) ProtoMessage() {} + +func (x *StartRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use StartRequest.ProtoReflect.Descriptor instead. func (*StartRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{36} + return file_machine_machine_proto_rawDescGZIP(), []int{36} } -func (m *StartRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartRequest.Unmarshal(m, b) -} - -func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartRequest.Marshal(b, m, deterministic) -} - -func (m *StartRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartRequest.Merge(m, src) -} - -func (m *StartRequest) XXX_Size() int { - return xxx_messageInfo_StartRequest.Size(m) -} - -func (m *StartRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StartRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StartRequest proto.InternalMessageInfo - -func (m *StartRequest) GetId() string { - if m != nil { - return m.Id +func (x *StartRequest) GetId() string { + if x != nil { + return x.Id } return "" } // Deprecated: Do not use. type StartResponse struct { - Resp string `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Resp string `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"` } -func (m *StartResponse) Reset() { *m = StartResponse{} } -func (m *StartResponse) String() string { return proto.CompactTextString(m) } -func (*StartResponse) ProtoMessage() {} +func (x *StartResponse) Reset() { + *x = StartResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartResponse) ProtoMessage() {} + +func (x *StartResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use StartResponse.ProtoReflect.Descriptor instead. func (*StartResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{37} + return file_machine_machine_proto_rawDescGZIP(), []int{37} } -func (m *StartResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StartResponse.Unmarshal(m, b) -} - -func (m *StartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StartResponse.Marshal(b, m, deterministic) -} - -func (m *StartResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartResponse.Merge(m, src) -} - -func (m *StartResponse) XXX_Size() int { - return xxx_messageInfo_StartResponse.Size(m) -} - -func (m *StartResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StartResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StartResponse proto.InternalMessageInfo - -func (m *StartResponse) GetResp() string { - if m != nil { - return m.Resp +func (x *StartResponse) GetResp() string { + if x != nil { + return x.Resp } return "" } // Deprecated: Do not use. type StopRequest 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 *StopRequest) Reset() { *m = StopRequest{} } -func (m *StopRequest) String() string { return proto.CompactTextString(m) } -func (*StopRequest) ProtoMessage() {} +func (x *StopRequest) Reset() { + *x = StopRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopRequest) ProtoMessage() {} + +func (x *StopRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use StopRequest.ProtoReflect.Descriptor instead. func (*StopRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{38} + return file_machine_machine_proto_rawDescGZIP(), []int{38} } -func (m *StopRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopRequest.Unmarshal(m, b) -} - -func (m *StopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopRequest.Marshal(b, m, deterministic) -} - -func (m *StopRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopRequest.Merge(m, src) -} - -func (m *StopRequest) XXX_Size() int { - return xxx_messageInfo_StopRequest.Size(m) -} - -func (m *StopRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StopRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StopRequest proto.InternalMessageInfo - -func (m *StopRequest) GetId() string { - if m != nil { - return m.Id +func (x *StopRequest) GetId() string { + if x != nil { + return x.Id } return "" } // Deprecated: Do not use. type StopResponse struct { - Resp string `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Resp string `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"` } -func (m *StopResponse) Reset() { *m = StopResponse{} } -func (m *StopResponse) String() string { return proto.CompactTextString(m) } -func (*StopResponse) ProtoMessage() {} +func (x *StopResponse) Reset() { + *x = StopResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopResponse) ProtoMessage() {} + +func (x *StopResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use StopResponse.ProtoReflect.Descriptor instead. func (*StopResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{39} + return file_machine_machine_proto_rawDescGZIP(), []int{39} } -func (m *StopResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopResponse.Unmarshal(m, b) -} - -func (m *StopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopResponse.Marshal(b, m, deterministic) -} - -func (m *StopResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopResponse.Merge(m, src) -} - -func (m *StopResponse) XXX_Size() int { - return xxx_messageInfo_StopResponse.Size(m) -} - -func (m *StopResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StopResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StopResponse proto.InternalMessageInfo - -func (m *StopResponse) GetResp() string { - if m != nil { - return m.Resp +func (x *StopResponse) GetResp() string { + if x != nil { + return x.Resp } return "" } @@ -2018,51 +2265,59 @@ func (m *StopResponse) GetResp() string { // // Copy produces .tar.gz archive which is streamed back to the caller type CopyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Root path to start copying data out, it might be either a file or directory - RootPath string `protobuf:"bytes,1,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RootPath string `protobuf:"bytes,1,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"` } -func (m *CopyRequest) Reset() { *m = CopyRequest{} } -func (m *CopyRequest) String() string { return proto.CompactTextString(m) } -func (*CopyRequest) ProtoMessage() {} +func (x *CopyRequest) Reset() { + *x = CopyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CopyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CopyRequest) ProtoMessage() {} + +func (x *CopyRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use CopyRequest.ProtoReflect.Descriptor instead. func (*CopyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{40} + return file_machine_machine_proto_rawDescGZIP(), []int{40} } -func (m *CopyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CopyRequest.Unmarshal(m, b) -} - -func (m *CopyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CopyRequest.Marshal(b, m, deterministic) -} - -func (m *CopyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CopyRequest.Merge(m, src) -} - -func (m *CopyRequest) XXX_Size() int { - return xxx_messageInfo_CopyRequest.Size(m) -} - -func (m *CopyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CopyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CopyRequest proto.InternalMessageInfo - -func (m *CopyRequest) GetRootPath() string { - if m != nil { - return m.RootPath +func (x *CopyRequest) GetRootPath() string { + if x != nil { + return x.RootPath } return "" } // ListRequest describes a request to list the contents of a directory type ListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Root indicates the root directory for the list. If not indicated, '/' is // presumed. Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` @@ -2070,64 +2325,68 @@ type ListRequest struct { Recurse bool `protobuf:"varint,2,opt,name=recurse,proto3" json:"recurse,omitempty"` // RecursionDepth indicates how many levels of subdirectories should be // recursed. The default (0) indicates that no limit should be enforced. - RecursionDepth int32 `protobuf:"varint,3,opt,name=recursion_depth,json=recursionDepth,proto3" json:"recursion_depth,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RecursionDepth int32 `protobuf:"varint,3,opt,name=recursion_depth,json=recursionDepth,proto3" json:"recursion_depth,omitempty"` } -func (m *ListRequest) Reset() { *m = ListRequest{} } -func (m *ListRequest) String() string { return proto.CompactTextString(m) } -func (*ListRequest) ProtoMessage() {} +func (x *ListRequest) Reset() { + *x = ListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListRequest) ProtoMessage() {} + +func (x *ListRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ListRequest.ProtoReflect.Descriptor instead. func (*ListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{41} + return file_machine_machine_proto_rawDescGZIP(), []int{41} } -func (m *ListRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListRequest.Unmarshal(m, b) -} - -func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic) -} - -func (m *ListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListRequest.Merge(m, src) -} - -func (m *ListRequest) XXX_Size() int { - return xxx_messageInfo_ListRequest.Size(m) -} - -func (m *ListRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListRequest proto.InternalMessageInfo - -func (m *ListRequest) GetRoot() string { - if m != nil { - return m.Root +func (x *ListRequest) GetRoot() string { + if x != nil { + return x.Root } return "" } -func (m *ListRequest) GetRecurse() bool { - if m != nil { - return m.Recurse +func (x *ListRequest) GetRecurse() bool { + if x != nil { + return x.Recurse } return false } -func (m *ListRequest) GetRecursionDepth() int32 { - if m != nil { - return m.RecursionDepth +func (x *ListRequest) GetRecursionDepth() int32 { + if x != nil { + return x.RecursionDepth } return 0 } // FileInfo describes a file or directory's information type FileInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Name is the name (including prefixed path) of the file or directory Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -2136,7 +2395,7 @@ type FileInfo struct { // Mode is the bitmap of UNIX mode/permission flags of the file Mode uint32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"` // Modified indicates the UNIX timestamp at which the file was last modified - Modified int64 `protobuf:"varint,5,opt,name=modified,proto3" json:"modified,omitempty"` + Modified int64 `protobuf:"varint,5,opt,name=modified,proto3" json:"modified,omitempty"` // TODO: unix timestamp or include proto's Date type // IsDir indicates that the file is a directory IsDir bool `protobuf:"varint,6,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"` // Error describes any error encountered while trying to read the file @@ -2145,499 +2404,527 @@ type FileInfo struct { // Link is filled with symlink target Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"` // RelativeName is the name of the file or directory relative to the RootPath - RelativeName string `protobuf:"bytes,9,opt,name=relative_name,json=relativeName,proto3" json:"relative_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RelativeName string `protobuf:"bytes,9,opt,name=relative_name,json=relativeName,proto3" json:"relative_name,omitempty"` } -func (m *FileInfo) Reset() { *m = FileInfo{} } -func (m *FileInfo) String() string { return proto.CompactTextString(m) } -func (*FileInfo) ProtoMessage() {} +func (x *FileInfo) Reset() { + *x = FileInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FileInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FileInfo) ProtoMessage() {} + +func (x *FileInfo) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use FileInfo.ProtoReflect.Descriptor instead. func (*FileInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{42} + return file_machine_machine_proto_rawDescGZIP(), []int{42} } -func (m *FileInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FileInfo.Unmarshal(m, b) -} - -func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FileInfo.Marshal(b, m, deterministic) -} - -func (m *FileInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_FileInfo.Merge(m, src) -} - -func (m *FileInfo) XXX_Size() int { - return xxx_messageInfo_FileInfo.Size(m) -} - -func (m *FileInfo) XXX_DiscardUnknown() { - xxx_messageInfo_FileInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_FileInfo proto.InternalMessageInfo - -func (m *FileInfo) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *FileInfo) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *FileInfo) GetName() string { - if m != nil { - return m.Name +func (x *FileInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *FileInfo) GetSize() int64 { - if m != nil { - return m.Size +func (x *FileInfo) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *FileInfo) GetMode() uint32 { - if m != nil { - return m.Mode +func (x *FileInfo) GetMode() uint32 { + if x != nil { + return x.Mode } return 0 } -func (m *FileInfo) GetModified() int64 { - if m != nil { - return m.Modified +func (x *FileInfo) GetModified() int64 { + if x != nil { + return x.Modified } return 0 } -func (m *FileInfo) GetIsDir() bool { - if m != nil { - return m.IsDir +func (x *FileInfo) GetIsDir() bool { + if x != nil { + return x.IsDir } return false } -func (m *FileInfo) GetError() string { - if m != nil { - return m.Error +func (x *FileInfo) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *FileInfo) GetLink() string { - if m != nil { - return m.Link +func (x *FileInfo) GetLink() string { + if x != nil { + return x.Link } return "" } -func (m *FileInfo) GetRelativeName() string { - if m != nil { - return m.RelativeName +func (x *FileInfo) GetRelativeName() string { + if x != nil { + return x.RelativeName } return "" } // The messages message containing the requested df stats. type Mounts struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Stats []*MountStat `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Stats []*MountStat `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"` } -func (m *Mounts) Reset() { *m = Mounts{} } -func (m *Mounts) String() string { return proto.CompactTextString(m) } -func (*Mounts) ProtoMessage() {} +func (x *Mounts) Reset() { + *x = Mounts{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Mounts) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Mounts) ProtoMessage() {} + +func (x *Mounts) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use Mounts.ProtoReflect.Descriptor instead. func (*Mounts) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{43} + return file_machine_machine_proto_rawDescGZIP(), []int{43} } -func (m *Mounts) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Mounts.Unmarshal(m, b) -} - -func (m *Mounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Mounts.Marshal(b, m, deterministic) -} - -func (m *Mounts) XXX_Merge(src proto.Message) { - xxx_messageInfo_Mounts.Merge(m, src) -} - -func (m *Mounts) XXX_Size() int { - return xxx_messageInfo_Mounts.Size(m) -} - -func (m *Mounts) XXX_DiscardUnknown() { - xxx_messageInfo_Mounts.DiscardUnknown(m) -} - -var xxx_messageInfo_Mounts proto.InternalMessageInfo - -func (m *Mounts) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Mounts) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Mounts) GetStats() []*MountStat { - if m != nil { - return m.Stats +func (x *Mounts) GetStats() []*MountStat { + if x != nil { + return x.Stats } return nil } type MountsResponse struct { - Messages []*Mounts `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Mounts `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *MountsResponse) Reset() { *m = MountsResponse{} } -func (m *MountsResponse) String() string { return proto.CompactTextString(m) } -func (*MountsResponse) ProtoMessage() {} +func (x *MountsResponse) Reset() { + *x = MountsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountsResponse) ProtoMessage() {} + +func (x *MountsResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use MountsResponse.ProtoReflect.Descriptor instead. func (*MountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{44} + return file_machine_machine_proto_rawDescGZIP(), []int{44} } -func (m *MountsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountsResponse.Unmarshal(m, b) -} - -func (m *MountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountsResponse.Marshal(b, m, deterministic) -} - -func (m *MountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountsResponse.Merge(m, src) -} - -func (m *MountsResponse) XXX_Size() int { - return xxx_messageInfo_MountsResponse.Size(m) -} - -func (m *MountsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MountsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MountsResponse proto.InternalMessageInfo - -func (m *MountsResponse) GetMessages() []*Mounts { - if m != nil { - return m.Messages +func (x *MountsResponse) GetMessages() []*Mounts { + if x != nil { + return x.Messages } return nil } // The messages message containing the requested processes. type MountStat struct { - Filesystem string `protobuf:"bytes,1,opt,name=filesystem,proto3" json:"filesystem,omitempty"` - Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - Available uint64 `protobuf:"varint,3,opt,name=available,proto3" json:"available,omitempty"` - MountedOn string `protobuf:"bytes,4,opt,name=mounted_on,json=mountedOn,proto3" json:"mounted_on,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Filesystem string `protobuf:"bytes,1,opt,name=filesystem,proto3" json:"filesystem,omitempty"` + Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + Available uint64 `protobuf:"varint,3,opt,name=available,proto3" json:"available,omitempty"` + MountedOn string `protobuf:"bytes,4,opt,name=mounted_on,json=mountedOn,proto3" json:"mounted_on,omitempty"` } -func (m *MountStat) Reset() { *m = MountStat{} } -func (m *MountStat) String() string { return proto.CompactTextString(m) } -func (*MountStat) ProtoMessage() {} +func (x *MountStat) Reset() { + *x = MountStat{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MountStat) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MountStat) ProtoMessage() {} + +func (x *MountStat) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use MountStat.ProtoReflect.Descriptor instead. func (*MountStat) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{45} + return file_machine_machine_proto_rawDescGZIP(), []int{45} } -func (m *MountStat) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MountStat.Unmarshal(m, b) -} - -func (m *MountStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MountStat.Marshal(b, m, deterministic) -} - -func (m *MountStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_MountStat.Merge(m, src) -} - -func (m *MountStat) XXX_Size() int { - return xxx_messageInfo_MountStat.Size(m) -} - -func (m *MountStat) XXX_DiscardUnknown() { - xxx_messageInfo_MountStat.DiscardUnknown(m) -} - -var xxx_messageInfo_MountStat proto.InternalMessageInfo - -func (m *MountStat) GetFilesystem() string { - if m != nil { - return m.Filesystem +func (x *MountStat) GetFilesystem() string { + if x != nil { + return x.Filesystem } return "" } -func (m *MountStat) GetSize() uint64 { - if m != nil { - return m.Size +func (x *MountStat) GetSize() uint64 { + if x != nil { + return x.Size } return 0 } -func (m *MountStat) GetAvailable() uint64 { - if m != nil { - return m.Available +func (x *MountStat) GetAvailable() uint64 { + if x != nil { + return x.Available } return 0 } -func (m *MountStat) GetMountedOn() string { - if m != nil { - return m.MountedOn +func (x *MountStat) GetMountedOn() string { + if x != nil { + return x.MountedOn } return "" } type Version struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Version *VersionInfo `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - Platform *PlatformInfo `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Version *VersionInfo `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + Platform *PlatformInfo `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"` } -func (m *Version) Reset() { *m = Version{} } -func (m *Version) String() string { return proto.CompactTextString(m) } -func (*Version) ProtoMessage() {} +func (x *Version) Reset() { + *x = Version{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Version) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Version) ProtoMessage() {} + +func (x *Version) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use Version.ProtoReflect.Descriptor instead. func (*Version) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{46} + return file_machine_machine_proto_rawDescGZIP(), []int{46} } -func (m *Version) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Version.Unmarshal(m, b) -} - -func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Version.Marshal(b, m, deterministic) -} - -func (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, src) -} - -func (m *Version) XXX_Size() int { - return xxx_messageInfo_Version.Size(m) -} - -func (m *Version) XXX_DiscardUnknown() { - xxx_messageInfo_Version.DiscardUnknown(m) -} - -var xxx_messageInfo_Version proto.InternalMessageInfo - -func (m *Version) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Version) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Version) GetVersion() *VersionInfo { - if m != nil { - return m.Version +func (x *Version) GetVersion() *VersionInfo { + if x != nil { + return x.Version } return nil } -func (m *Version) GetPlatform() *PlatformInfo { - if m != nil { - return m.Platform +func (x *Version) GetPlatform() *PlatformInfo { + if x != nil { + return x.Platform } return nil } type VersionResponse struct { - Messages []*Version `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Version `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *VersionResponse) Reset() { *m = VersionResponse{} } -func (m *VersionResponse) String() string { return proto.CompactTextString(m) } -func (*VersionResponse) ProtoMessage() {} +func (x *VersionResponse) Reset() { + *x = VersionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VersionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VersionResponse) ProtoMessage() {} + +func (x *VersionResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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 mi.MessageOf(x) +} + +// Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead. func (*VersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{47} + return file_machine_machine_proto_rawDescGZIP(), []int{47} } -func (m *VersionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VersionResponse.Unmarshal(m, b) -} - -func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic) -} - -func (m *VersionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VersionResponse.Merge(m, src) -} - -func (m *VersionResponse) XXX_Size() int { - return xxx_messageInfo_VersionResponse.Size(m) -} - -func (m *VersionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VersionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_VersionResponse proto.InternalMessageInfo - -func (m *VersionResponse) GetMessages() []*Version { - if m != nil { - return m.Messages +func (x *VersionResponse) GetMessages() []*Version { + if x != nil { + return x.Messages } return nil } type VersionInfo struct { - Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` - Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"` - Built string `protobuf:"bytes,3,opt,name=built,proto3" json:"built,omitempty"` - GoVersion string `protobuf:"bytes,4,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` - Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"` - Arch string `protobuf:"bytes,6,opt,name=arch,proto3" json:"arch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` + Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"` + Built string `protobuf:"bytes,3,opt,name=built,proto3" json:"built,omitempty"` + GoVersion string `protobuf:"bytes,4,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` + Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"` + Arch string `protobuf:"bytes,6,opt,name=arch,proto3" json:"arch,omitempty"` } -func (m *VersionInfo) Reset() { *m = VersionInfo{} } -func (m *VersionInfo) String() string { return proto.CompactTextString(m) } -func (*VersionInfo) ProtoMessage() {} +func (x *VersionInfo) Reset() { + *x = VersionInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VersionInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VersionInfo) ProtoMessage() {} + +func (x *VersionInfo) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use VersionInfo.ProtoReflect.Descriptor instead. func (*VersionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{48} + return file_machine_machine_proto_rawDescGZIP(), []int{48} } -func (m *VersionInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VersionInfo.Unmarshal(m, b) -} - -func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VersionInfo.Marshal(b, m, deterministic) -} - -func (m *VersionInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_VersionInfo.Merge(m, src) -} - -func (m *VersionInfo) XXX_Size() int { - return xxx_messageInfo_VersionInfo.Size(m) -} - -func (m *VersionInfo) XXX_DiscardUnknown() { - xxx_messageInfo_VersionInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_VersionInfo proto.InternalMessageInfo - -func (m *VersionInfo) GetTag() string { - if m != nil { - return m.Tag +func (x *VersionInfo) GetTag() string { + if x != nil { + return x.Tag } return "" } -func (m *VersionInfo) GetSha() string { - if m != nil { - return m.Sha +func (x *VersionInfo) GetSha() string { + if x != nil { + return x.Sha } return "" } -func (m *VersionInfo) GetBuilt() string { - if m != nil { - return m.Built +func (x *VersionInfo) GetBuilt() string { + if x != nil { + return x.Built } return "" } -func (m *VersionInfo) GetGoVersion() string { - if m != nil { - return m.GoVersion +func (x *VersionInfo) GetGoVersion() string { + if x != nil { + return x.GoVersion } return "" } -func (m *VersionInfo) GetOs() string { - if m != nil { - return m.Os +func (x *VersionInfo) GetOs() string { + if x != nil { + return x.Os } return "" } -func (m *VersionInfo) GetArch() string { - if m != nil { - return m.Arch +func (x *VersionInfo) GetArch() string { + if x != nil { + return x.Arch } return "" } type PlatformInfo struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,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"` + Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` } -func (m *PlatformInfo) Reset() { *m = PlatformInfo{} } -func (m *PlatformInfo) String() string { return proto.CompactTextString(m) } -func (*PlatformInfo) ProtoMessage() {} +func (x *PlatformInfo) Reset() { + *x = PlatformInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PlatformInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PlatformInfo) ProtoMessage() {} + +func (x *PlatformInfo) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use PlatformInfo.ProtoReflect.Descriptor instead. func (*PlatformInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{49} + return file_machine_machine_proto_rawDescGZIP(), []int{49} } -func (m *PlatformInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformInfo.Unmarshal(m, b) -} - -func (m *PlatformInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformInfo.Marshal(b, m, deterministic) -} - -func (m *PlatformInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformInfo.Merge(m, src) -} - -func (m *PlatformInfo) XXX_Size() int { - return xxx_messageInfo_PlatformInfo.Size(m) -} - -func (m *PlatformInfo) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_PlatformInfo proto.InternalMessageInfo - -func (m *PlatformInfo) GetName() string { - if m != nil { - return m.Name +func (x *PlatformInfo) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *PlatformInfo) GetMode() string { - if m != nil { - return m.Mode +func (x *PlatformInfo) GetMode() string { + if x != nil { + return x.Mode } return "" } @@ -2645,440 +2932,1505 @@ func (m *PlatformInfo) GetMode() string { // rpc logs // The request message containing the process name. type LogsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // driver might be default "containerd" or "cri" - Driver common.ContainerDriver `protobuf:"varint,3,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` - Follow bool `protobuf:"varint,4,opt,name=follow,proto3" json:"follow,omitempty"` - TailLines int32 `protobuf:"varint,5,opt,name=tail_lines,json=tailLines,proto3" json:"tail_lines,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Driver common.ContainerDriver `protobuf:"varint,3,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` + Follow bool `protobuf:"varint,4,opt,name=follow,proto3" json:"follow,omitempty"` + TailLines int32 `protobuf:"varint,5,opt,name=tail_lines,json=tailLines,proto3" json:"tail_lines,omitempty"` } -func (m *LogsRequest) Reset() { *m = LogsRequest{} } -func (m *LogsRequest) String() string { return proto.CompactTextString(m) } -func (*LogsRequest) ProtoMessage() {} +func (x *LogsRequest) Reset() { + *x = LogsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LogsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LogsRequest) ProtoMessage() {} + +func (x *LogsRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use LogsRequest.ProtoReflect.Descriptor instead. func (*LogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{50} + return file_machine_machine_proto_rawDescGZIP(), []int{50} } -func (m *LogsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LogsRequest.Unmarshal(m, b) -} - -func (m *LogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LogsRequest.Marshal(b, m, deterministic) -} - -func (m *LogsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LogsRequest.Merge(m, src) -} - -func (m *LogsRequest) XXX_Size() int { - return xxx_messageInfo_LogsRequest.Size(m) -} - -func (m *LogsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LogsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LogsRequest proto.InternalMessageInfo - -func (m *LogsRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *LogsRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *LogsRequest) GetId() string { - if m != nil { - return m.Id +func (x *LogsRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *LogsRequest) GetDriver() common.ContainerDriver { - if m != nil { - return m.Driver +func (x *LogsRequest) GetDriver() common.ContainerDriver { + if x != nil { + return x.Driver } return common.ContainerDriver_CONTAINERD } -func (m *LogsRequest) GetFollow() bool { - if m != nil { - return m.Follow +func (x *LogsRequest) GetFollow() bool { + if x != nil { + return x.Follow } return false } -func (m *LogsRequest) GetTailLines() int32 { - if m != nil { - return m.TailLines +func (x *LogsRequest) GetTailLines() int32 { + if x != nil { + return x.TailLines } return 0 } type ReadRequest struct { - Path string `protobuf:"bytes,1,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 + + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` } -func (m *ReadRequest) Reset() { *m = ReadRequest{} } -func (m *ReadRequest) String() string { return proto.CompactTextString(m) } -func (*ReadRequest) ProtoMessage() {} +func (x *ReadRequest) Reset() { + *x = ReadRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadRequest) ProtoMessage() {} + +func (x *ReadRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead. func (*ReadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{51} + return file_machine_machine_proto_rawDescGZIP(), []int{51} } -func (m *ReadRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadRequest.Unmarshal(m, b) -} - -func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic) -} - -func (m *ReadRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadRequest.Merge(m, src) -} - -func (m *ReadRequest) XXX_Size() int { - return xxx_messageInfo_ReadRequest.Size(m) -} - -func (m *ReadRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReadRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadRequest proto.InternalMessageInfo - -func (m *ReadRequest) GetPath() string { - if m != nil { - return m.Path +func (x *ReadRequest) GetPath() string { + if x != nil { + return x.Path } return "" } // rpc rollback type RollbackRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RollbackRequest) Reset() { *m = RollbackRequest{} } -func (m *RollbackRequest) String() string { return proto.CompactTextString(m) } -func (*RollbackRequest) ProtoMessage() {} +func (x *RollbackRequest) Reset() { + *x = RollbackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RollbackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RollbackRequest) ProtoMessage() {} + +func (x *RollbackRequest) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead. func (*RollbackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{52} + return file_machine_machine_proto_rawDescGZIP(), []int{52} } -func (m *RollbackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackRequest.Unmarshal(m, b) -} - -func (m *RollbackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackRequest.Marshal(b, m, deterministic) -} - -func (m *RollbackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackRequest.Merge(m, src) -} - -func (m *RollbackRequest) XXX_Size() int { - return xxx_messageInfo_RollbackRequest.Size(m) -} - -func (m *RollbackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RollbackRequest proto.InternalMessageInfo - type Rollback struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Rollback) Reset() { *m = Rollback{} } -func (m *Rollback) String() string { return proto.CompactTextString(m) } -func (*Rollback) ProtoMessage() {} +func (x *Rollback) Reset() { + *x = Rollback{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Rollback) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Rollback) ProtoMessage() {} + +func (x *Rollback) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use Rollback.ProtoReflect.Descriptor instead. func (*Rollback) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{53} + return file_machine_machine_proto_rawDescGZIP(), []int{53} } -func (m *Rollback) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Rollback.Unmarshal(m, b) -} - -func (m *Rollback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Rollback.Marshal(b, m, deterministic) -} - -func (m *Rollback) XXX_Merge(src proto.Message) { - xxx_messageInfo_Rollback.Merge(m, src) -} - -func (m *Rollback) XXX_Size() int { - return xxx_messageInfo_Rollback.Size(m) -} - -func (m *Rollback) XXX_DiscardUnknown() { - xxx_messageInfo_Rollback.DiscardUnknown(m) -} - -var xxx_messageInfo_Rollback proto.InternalMessageInfo - -func (m *Rollback) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Rollback) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } type RollbackResponse struct { - Messages []*Rollback `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Rollback `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *RollbackResponse) Reset() { *m = RollbackResponse{} } -func (m *RollbackResponse) String() string { return proto.CompactTextString(m) } -func (*RollbackResponse) ProtoMessage() {} +func (x *RollbackResponse) Reset() { + *x = RollbackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_machine_machine_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RollbackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RollbackResponse) ProtoMessage() {} + +func (x *RollbackResponse) ProtoReflect() protoreflect.Message { + mi := &file_machine_machine_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) +} + +// Deprecated: Use RollbackResponse.ProtoReflect.Descriptor instead. func (*RollbackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_84b4f59d98cc997c, []int{54} + return file_machine_machine_proto_rawDescGZIP(), []int{54} } -func (m *RollbackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RollbackResponse.Unmarshal(m, b) -} - -func (m *RollbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RollbackResponse.Marshal(b, m, deterministic) -} - -func (m *RollbackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RollbackResponse.Merge(m, src) -} - -func (m *RollbackResponse) XXX_Size() int { - return xxx_messageInfo_RollbackResponse.Size(m) -} - -func (m *RollbackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RollbackResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RollbackResponse proto.InternalMessageInfo - -func (m *RollbackResponse) GetMessages() []*Rollback { - if m != nil { - return m.Messages +func (x *RollbackResponse) GetMessages() []*Rollback { + if x != nil { + return x.Messages } return nil } -func init() { - proto.RegisterEnum("machine.SequenceEvent_Action", SequenceEvent_Action_name, SequenceEvent_Action_value) - proto.RegisterEnum("machine.PhaseEvent_Action", PhaseEvent_Action_name, PhaseEvent_Action_value) - proto.RegisterEnum("machine.TaskEvent_Action", TaskEvent_Action_name, TaskEvent_Action_value) - proto.RegisterEnum("machine.RecoverRequest_Source", RecoverRequest_Source_name, RecoverRequest_Source_value) - proto.RegisterType((*Reboot)(nil), "machine.Reboot") - proto.RegisterType((*RebootResponse)(nil), "machine.RebootResponse") - proto.RegisterType((*BootstrapRequest)(nil), "machine.BootstrapRequest") - proto.RegisterType((*Bootstrap)(nil), "machine.Bootstrap") - proto.RegisterType((*BootstrapResponse)(nil), "machine.BootstrapResponse") - proto.RegisterType((*SequenceEvent)(nil), "machine.SequenceEvent") - proto.RegisterType((*PhaseEvent)(nil), "machine.PhaseEvent") - proto.RegisterType((*TaskEvent)(nil), "machine.TaskEvent") - proto.RegisterType((*EventsRequest)(nil), "machine.EventsRequest") - proto.RegisterType((*Event)(nil), "machine.Event") - proto.RegisterType((*ResetRequest)(nil), "machine.ResetRequest") - proto.RegisterType((*Reset)(nil), "machine.Reset") - proto.RegisterType((*ResetResponse)(nil), "machine.ResetResponse") - proto.RegisterType((*RecoverRequest)(nil), "machine.RecoverRequest") - proto.RegisterType((*Recover)(nil), "machine.Recover") - proto.RegisterType((*RecoverResponse)(nil), "machine.RecoverResponse") - proto.RegisterType((*Shutdown)(nil), "machine.Shutdown") - proto.RegisterType((*ShutdownResponse)(nil), "machine.ShutdownResponse") - proto.RegisterType((*UpgradeRequest)(nil), "machine.UpgradeRequest") - proto.RegisterType((*Upgrade)(nil), "machine.Upgrade") - proto.RegisterType((*UpgradeResponse)(nil), "machine.UpgradeResponse") - proto.RegisterType((*ServiceList)(nil), "machine.ServiceList") - proto.RegisterType((*ServiceListResponse)(nil), "machine.ServiceListResponse") - proto.RegisterType((*ServiceInfo)(nil), "machine.ServiceInfo") - proto.RegisterType((*ServiceEvents)(nil), "machine.ServiceEvents") - proto.RegisterType((*ServiceEvent)(nil), "machine.ServiceEvent") - proto.RegisterType((*ServiceHealth)(nil), "machine.ServiceHealth") - proto.RegisterType((*ServiceStartRequest)(nil), "machine.ServiceStartRequest") - proto.RegisterType((*ServiceStart)(nil), "machine.ServiceStart") - proto.RegisterType((*ServiceStartResponse)(nil), "machine.ServiceStartResponse") - proto.RegisterType((*ServiceStopRequest)(nil), "machine.ServiceStopRequest") - proto.RegisterType((*ServiceStop)(nil), "machine.ServiceStop") - proto.RegisterType((*ServiceStopResponse)(nil), "machine.ServiceStopResponse") - proto.RegisterType((*ServiceRestartRequest)(nil), "machine.ServiceRestartRequest") - proto.RegisterType((*ServiceRestart)(nil), "machine.ServiceRestart") - proto.RegisterType((*ServiceRestartResponse)(nil), "machine.ServiceRestartResponse") - proto.RegisterType((*StartRequest)(nil), "machine.StartRequest") - proto.RegisterType((*StartResponse)(nil), "machine.StartResponse") - proto.RegisterType((*StopRequest)(nil), "machine.StopRequest") - proto.RegisterType((*StopResponse)(nil), "machine.StopResponse") - proto.RegisterType((*CopyRequest)(nil), "machine.CopyRequest") - proto.RegisterType((*ListRequest)(nil), "machine.ListRequest") - proto.RegisterType((*FileInfo)(nil), "machine.FileInfo") - proto.RegisterType((*Mounts)(nil), "machine.Mounts") - proto.RegisterType((*MountsResponse)(nil), "machine.MountsResponse") - proto.RegisterType((*MountStat)(nil), "machine.MountStat") - proto.RegisterType((*Version)(nil), "machine.Version") - proto.RegisterType((*VersionResponse)(nil), "machine.VersionResponse") - proto.RegisterType((*VersionInfo)(nil), "machine.VersionInfo") - proto.RegisterType((*PlatformInfo)(nil), "machine.PlatformInfo") - proto.RegisterType((*LogsRequest)(nil), "machine.LogsRequest") - proto.RegisterType((*ReadRequest)(nil), "machine.ReadRequest") - proto.RegisterType((*RollbackRequest)(nil), "machine.RollbackRequest") - proto.RegisterType((*Rollback)(nil), "machine.Rollback") - proto.RegisterType((*RollbackResponse)(nil), "machine.RollbackResponse") +var File_machine_machine_proto protoreflect.FileDescriptor + +var file_machine_machine_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, + 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x36, + 0x0a, 0x06, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3d, 0x0a, 0x0e, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, + 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x39, 0x0a, 0x09, 0x42, 0x6f, 0x6f, + 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x22, 0x43, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, + 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x08, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x52, + 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x0d, 0x53, 0x65, + 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, + 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x2e, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x22, 0x27, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x08, 0x0a, + 0x04, 0x4e, 0x4f, 0x4f, 0x50, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x52, 0x54, + 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x02, 0x22, 0x75, 0x0a, 0x0a, + 0x50, 0x68, 0x61, 0x73, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, + 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, + 0x12, 0x32, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1d, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x09, + 0x0a, 0x05, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, + 0x50, 0x10, 0x01, 0x22, 0x71, 0x0a, 0x09, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x61, 0x73, 0x6b, 0x12, 0x31, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x54, + 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1d, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, + 0x53, 0x54, 0x4f, 0x50, 0x10, 0x01, 0x22, 0x0f, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5f, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, + 0x6e, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x42, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x65, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x67, 0x72, 0x61, 0x63, + 0x65, 0x66, 0x75, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x67, 0x72, 0x61, 0x63, + 0x65, 0x66, 0x75, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x22, 0x35, 0x0a, 0x05, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x22, 0x3b, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x22, 0x6b, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x36, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x21, 0x0a, 0x06, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x45, 0x54, 0x43, 0x44, 0x10, 0x00, 0x12, 0x0d, + 0x0a, 0x09, 0x41, 0x50, 0x49, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x01, 0x22, 0x37, 0x0a, + 0x07, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3f, 0x0a, 0x0f, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x08, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x38, 0x0a, 0x08, 0x53, 0x68, 0x75, 0x74, 0x64, + 0x6f, 0x77, 0x6e, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x22, 0x41, 0x0a, 0x10, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x22, 0x42, 0x0a, 0x0e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x70, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x49, 0x0a, 0x07, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x61, 0x63, 0x6b, 0x22, 0x3f, 0x0a, 0x0f, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x22, 0x6d, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x30, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x22, 0x47, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x93, 0x01, 0x0a, + 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 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, 0x2e, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x06, 0x68, 0x65, 0x61, 0x6c, + 0x74, 0x68, 0x22, 0x3e, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x2d, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x73, 0x22, 0x62, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6d, 0x73, 0x67, 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, 0x02, 0x74, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x02, 0x74, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, + 0x6f, 0x77, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, + 0x77, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x12, 0x21, 0x0a, 0x0c, + 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x3b, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x25, 0x0a, 0x13, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x72, 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, 0x50, 0x0a, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x73, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x72, 0x65, 0x73, 0x70, 0x22, 0x49, 0x0a, 0x14, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, + 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x15, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x22, 0x24, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4f, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x73, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x72, 0x65, 0x73, 0x70, 0x22, 0x47, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, + 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x22, 0x27, 0x0a, 0x15, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x61, + 0x72, 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, 0x52, 0x0a, 0x0e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x73, + 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x65, 0x73, 0x70, 0x22, 0x4d, 0x0a, + 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x22, 0x0a, 0x0c, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x3a, 0x02, 0x18, 0x01, + 0x22, 0x27, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x72, 0x65, 0x73, 0x70, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x21, 0x0a, 0x0b, 0x53, 0x74, 0x6f, + 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x3a, 0x02, 0x18, 0x01, 0x22, 0x26, 0x0a, 0x0c, + 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x72, 0x65, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x65, 0x73, 0x70, + 0x3a, 0x02, 0x18, 0x01, 0x22, 0x2a, 0x0a, 0x0b, 0x43, 0x6f, 0x70, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x50, 0x61, 0x74, 0x68, + 0x22, 0x64, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, + 0x6f, 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x65, 0x12, 0x27, 0x0a, + 0x0f, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x44, 0x65, 0x70, 0x74, 0x68, 0x22, 0xf6, 0x01, 0x0a, 0x08, 0x46, 0x69, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x73, 0x5f, + 0x64, 0x69, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x44, 0x69, 0x72, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0x60, 0x0a, 0x06, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x73, 0x22, 0x3d, 0x0a, 0x0e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, + 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x22, 0x7c, 0x0a, 0x09, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x12, 0x1e, 0x0a, + 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, + 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x64, 0x4f, 0x6e, 0x22, 0x9a, + 0x01, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x3f, 0x0a, 0x0f, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, + 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x10, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x8a, 0x01, 0x0a, + 0x0b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, + 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x10, + 0x0a, 0x03, 0x73, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x68, 0x61, + 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x6f, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x63, 0x68, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x63, 0x68, 0x22, 0x36, 0x0a, 0x0c, 0x50, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 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, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x6f, 0x64, + 0x65, 0x22, 0xa3, 0x01, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x2f, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, + 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x69, 0x6c, + 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x61, + 0x69, 0x6c, 0x4c, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x21, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x6f, + 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x38, 0x0a, + 0x08, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x41, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x6c, 0x62, + 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, + 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x32, 0x91, 0x09, 0x0a, 0x0e, 0x4d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x42, 0x0a, + 0x09, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x12, 0x19, 0x2e, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, + 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x43, 0x6f, 0x70, 0x79, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x2e, 0x43, 0x6f, 0x70, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x0c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x30, 0x01, 0x12, + 0x32, 0x0a, 0x06, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x16, 0x2e, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x0e, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x30, 0x01, 0x12, 0x34, 0x0a, 0x0a, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x30, 0x01, 0x12, 0x31, 0x0a, 0x04, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x30, 0x01, 0x12, 0x2c, 0x0a, 0x04, + 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x4c, + 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x30, 0x01, 0x12, 0x39, 0x0a, 0x06, 0x4d, 0x6f, + 0x75, 0x6e, 0x74, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x17, 0x2e, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x04, 0x52, 0x65, 0x61, 0x64, 0x12, 0x14, 0x2e, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, + 0x61, 0x30, 0x01, 0x12, 0x39, 0x0a, 0x06, 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x12, 0x16, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x17, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, + 0x52, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, + 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x18, 0x2e, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, + 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x36, 0x0a, 0x05, 0x52, 0x65, 0x73, 0x65, 0x74, 0x12, 0x15, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x16, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x6f, 0x76, + 0x65, 0x72, 0x12, 0x17, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1c, 0x2e, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1e, 0x2e, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, + 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x1c, 0x2e, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, + 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x1b, 0x2e, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, + 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, + 0x6e, 0x65, 0x2e, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x17, + 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x18, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x4b, + 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x61, 0x70, + 0x69, 0x42, 0x0a, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x41, 0x70, 0x69, 0x50, 0x01, 0x5a, + 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x61, 0x6c, 0x6f, + 0x73, 0x2d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("machine/machine.proto", fileDescriptor_84b4f59d98cc997c) } +var ( + file_machine_machine_proto_rawDescOnce sync.Once + file_machine_machine_proto_rawDescData = file_machine_machine_proto_rawDesc +) -var fileDescriptor_84b4f59d98cc997c = []byte{ - // 1872 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x5b, 0x73, 0xdb, 0xc6, - 0x15, 0x36, 0x68, 0x92, 0x22, 0x0e, 0x25, 0x8a, 0x46, 0x74, 0xa1, 0xe8, 0x4b, 0x6c, 0xa4, 0xad, - 0x3d, 0x6e, 0x4c, 0xc9, 0x4a, 0xe3, 0x26, 0x75, 0xd3, 0x8c, 0x6e, 0x4d, 0x3c, 0xb6, 0x22, 0x75, - 0xa9, 0xe6, 0xa1, 0x2f, 0xec, 0x92, 0x5c, 0x91, 0x18, 0x01, 0x58, 0x04, 0xbb, 0x94, 0x47, 0x9d, - 0xfe, 0x82, 0xbe, 0x75, 0xfa, 0xd6, 0xd7, 0xfe, 0x81, 0xfe, 0xba, 0x3e, 0x77, 0xf6, 0x0a, 0x90, - 0x20, 0x1d, 0x71, 0xc6, 0x4f, 0xd8, 0x3d, 0xfb, 0xed, 0xb9, 0xef, 0xd9, 0xb3, 0x80, 0xcd, 0x08, - 0x0f, 0xc6, 0x41, 0x4c, 0x76, 0xf5, 0xb7, 0x93, 0xa4, 0x94, 0x53, 0x6f, 0x45, 0x4f, 0xdb, 0x3b, - 0x23, 0x4a, 0x47, 0x21, 0xd9, 0x95, 0xe4, 0xfe, 0xe4, 0x72, 0x17, 0xc7, 0x37, 0x0a, 0xd3, 0xbe, - 0x3f, 0xbb, 0x44, 0xa2, 0x84, 0x9b, 0xc5, 0x4f, 0x67, 0x17, 0x79, 0x10, 0x11, 0xc6, 0x71, 0x94, - 0x68, 0xc0, 0x27, 0x03, 0x1a, 0x45, 0x34, 0xde, 0x55, 0x1f, 0x45, 0xf4, 0x5f, 0x41, 0x15, 0x91, - 0x3e, 0xa5, 0xdc, 0xfb, 0x1c, 0x6a, 0x11, 0xe1, 0x78, 0x88, 0x39, 0x6e, 0x39, 0x8f, 0x9d, 0x67, - 0xf5, 0xfd, 0x66, 0x47, 0x43, 0x4f, 0x35, 0x1d, 0x59, 0x84, 0xff, 0x0d, 0x34, 0xd4, 0x3e, 0x44, - 0x58, 0x42, 0x63, 0x46, 0xbc, 0x5f, 0x8b, 0xfd, 0x8c, 0xe1, 0x11, 0x61, 0x2d, 0xe7, 0xf1, 0xdd, - 0x67, 0xf5, 0xfd, 0xf5, 0x8e, 0x31, 0x51, 0x43, 0x2d, 0xc0, 0xf7, 0xa0, 0x79, 0x48, 0x29, 0x67, - 0x3c, 0xc5, 0x09, 0x22, 0x3f, 0x4d, 0x08, 0xe3, 0xfe, 0xd7, 0xe0, 0x5a, 0xda, 0x92, 0xda, 0x1c, - 0xc1, 0xbd, 0x1c, 0x3b, 0xad, 0x50, 0xa7, 0xa0, 0x90, 0x67, 0x15, 0xca, 0xd0, 0x99, 0x4e, 0xff, - 0x75, 0x60, 0xad, 0x2b, 0x74, 0x89, 0x07, 0xe4, 0xe4, 0x9a, 0xc4, 0xdc, 0x6b, 0x43, 0x8d, 0x69, - 0x82, 0x54, 0xc2, 0x45, 0x76, 0xee, 0x7d, 0x09, 0x55, 0x3c, 0xe0, 0x01, 0x8d, 0x5b, 0xa5, 0xc7, - 0xce, 0xb3, 0xc6, 0xfe, 0x43, 0xcb, 0x7b, 0x8a, 0x47, 0xe7, 0x40, 0x82, 0x90, 0x06, 0x7b, 0x9f, - 0x41, 0x85, 0xa4, 0x29, 0x4d, 0x5b, 0x77, 0xa5, 0x51, 0x6b, 0xc6, 0xa8, 0x13, 0x41, 0x44, 0x6a, - 0xcd, 0x7f, 0x0a, 0x55, 0xb5, 0xcd, 0xab, 0x41, 0xf9, 0x87, 0xb3, 0xb3, 0xf3, 0xe6, 0x1d, 0xcf, - 0x85, 0x4a, 0xf7, 0xe2, 0x00, 0x5d, 0x34, 0x1d, 0x41, 0xec, 0x5e, 0x9c, 0x9d, 0x37, 0x4b, 0xfe, - 0x04, 0xe0, 0x7c, 0x8c, 0x99, 0x56, 0x77, 0x03, 0x2a, 0x89, 0x98, 0x69, 0x5d, 0xd5, 0xc4, 0xdb, - 0x9f, 0x51, 0xb4, 0x6d, 0x15, 0xcd, 0xb6, 0xce, 0x68, 0xe9, 0x3f, 0xb4, 0x0a, 0x58, 0xb1, 0x77, - 0xac, 0x58, 0xc7, 0xff, 0x09, 0xdc, 0x0b, 0xcc, 0xae, 0x94, 0x54, 0x0f, 0xca, 0x1c, 0xb3, 0x2b, - 0x2d, 0x54, 0x8e, 0xbd, 0x97, 0x33, 0x32, 0x77, 0xac, 0x4c, 0xbb, 0x6f, 0x49, 0x91, 0xeb, 0xb0, - 0x26, 0xb7, 0x31, 0x93, 0x2d, 0x3d, 0xa8, 0x28, 0xf9, 0x4b, 0x65, 0x8a, 0xf7, 0x0c, 0xca, 0x12, - 0x59, 0x92, 0xc8, 0x8d, 0x8e, 0x3a, 0x34, 0x1d, 0x73, 0x68, 0x3a, 0x07, 0xf1, 0x0d, 0x92, 0x08, - 0xff, 0x10, 0x56, 0x11, 0x61, 0x84, 0x6b, 0x81, 0x22, 0x19, 0x46, 0x29, 0x1e, 0x90, 0xcb, 0x49, - 0x28, 0xe5, 0xd4, 0x90, 0x9d, 0x7b, 0x5b, 0x50, 0x4d, 0x65, 0x8a, 0x4b, 0xbe, 0x35, 0xa4, 0x67, - 0xfe, 0x97, 0x50, 0x91, 0x3c, 0x96, 0x4c, 0xe7, 0xd7, 0xb0, 0xa6, 0x45, 0xeb, 0x54, 0x7e, 0x5e, - 0x48, 0xe5, 0x46, 0xee, 0x6c, 0x09, 0x64, 0x96, 0xc6, 0x57, 0xe2, 0x64, 0x0e, 0xe8, 0x35, 0x49, - 0x8d, 0xe6, 0xaf, 0xa0, 0xca, 0xe8, 0x24, 0xd5, 0x49, 0xdc, 0xd8, 0x7f, 0x94, 0xdb, 0x9b, 0x07, - 0x76, 0xba, 0x12, 0x85, 0x34, 0xda, 0x7f, 0x02, 0x55, 0x45, 0x11, 0x71, 0x38, 0xb9, 0x38, 0x3a, - 0x6e, 0xde, 0xf1, 0xd6, 0xc0, 0x3d, 0x38, 0x7f, 0xd3, 0x3d, 0x41, 0x3f, 0x9e, 0xa0, 0xa6, 0xe3, - 0xff, 0x16, 0x56, 0x34, 0x8f, 0x25, 0x4d, 0xfc, 0x16, 0xd6, 0xad, 0x70, 0x6d, 0xe4, 0xe7, 0x05, - 0x23, 0x9b, 0x05, 0x45, 0x33, 0x33, 0xbf, 0x82, 0x5a, 0x77, 0x3c, 0xe1, 0x43, 0xfa, 0x3e, 0x5e, - 0x52, 0xf4, 0x01, 0x34, 0xcd, 0x4e, 0x2b, 0xfb, 0x45, 0x41, 0xf6, 0xbd, 0xec, 0x3c, 0x1b, 0x70, - 0x26, 0xfc, 0x10, 0x1a, 0x7f, 0x4e, 0x46, 0x29, 0x1e, 0x12, 0xe3, 0xe3, 0x0d, 0xa8, 0x04, 0x11, - 0x1e, 0xd9, 0xb3, 0x27, 0x27, 0x22, 0x67, 0x92, 0x94, 0x30, 0x92, 0x5e, 0x13, 0x9d, 0x19, 0x76, - 0xee, 0xbf, 0x81, 0x15, 0xcd, 0x63, 0xc9, 0x14, 0x6e, 0xc2, 0x5d, 0x3c, 0xb8, 0x92, 0xfc, 0x5c, - 0x24, 0x86, 0xc2, 0x99, 0x56, 0x9d, 0x5b, 0x38, 0xd3, 0x60, 0x33, 0x7b, 0x22, 0xa8, 0x77, 0x49, - 0x7a, 0x1d, 0x0c, 0xc8, 0xbb, 0x80, 0x2d, 0x7b, 0xa4, 0xf6, 0x44, 0x95, 0x94, 0x9b, 0x59, 0xab, - 0x24, 0x45, 0x6d, 0xe4, 0x6a, 0xa1, 0x5c, 0x78, 0x13, 0x5f, 0x52, 0x64, 0x51, 0xfe, 0x77, 0xf0, - 0x49, 0x4e, 0x9c, 0xd5, 0x79, 0xaf, 0xa0, 0x73, 0x81, 0x91, 0xc4, 0x67, 0x7a, 0xff, 0xcb, 0xb1, - 0x8a, 0x0b, 0x11, 0x5e, 0x03, 0x4a, 0xc1, 0x50, 0x87, 0xa0, 0x14, 0x0c, 0x45, 0x54, 0x18, 0xc7, - 0x9c, 0x68, 0x67, 0xa9, 0x89, 0xd7, 0x81, 0x2a, 0x91, 0xb5, 0x44, 0x17, 0xe1, 0xad, 0x59, 0x29, - 0xba, 0xd2, 0x68, 0x94, 0xc0, 0x8f, 0x09, 0x0e, 0xf9, 0xb8, 0x55, 0x9e, 0x8f, 0xff, 0x5e, 0xae, - 0x22, 0x8d, 0xf2, 0xff, 0x20, 0xee, 0x91, 0x1c, 0x23, 0xef, 0x85, 0x15, 0xa8, 0xcc, 0xda, 0x9c, - 0x2b, 0xd0, 0xc8, 0xf3, 0xfb, 0xb0, 0x9a, 0xa7, 0x8b, 0x80, 0x47, 0x6c, 0xa4, 0xcd, 0x12, 0xc3, - 0x05, 0x76, 0x3d, 0x87, 0x92, 0xb5, 0xa9, 0x5d, 0xa8, 0x6c, 0x17, 0xa6, 0x1d, 0x40, 0x25, 0xce, - 0xfc, 0xff, 0x38, 0x56, 0x49, 0xa5, 0xbd, 0xd7, 0x82, 0x95, 0x49, 0x7c, 0x15, 0xd3, 0xf7, 0xb1, - 0x2e, 0x6f, 0x66, 0x2a, 0x56, 0x94, 0x65, 0x37, 0x3a, 0x89, 0xcd, 0xd4, 0x7b, 0x02, 0xab, 0x21, - 0x66, 0xbc, 0xa7, 0x03, 0x22, 0x65, 0xbb, 0xa8, 0x2e, 0x68, 0xa7, 0x8a, 0xe4, 0xbd, 0x06, 0x39, - 0xed, 0x0d, 0xc6, 0x38, 0x1e, 0x11, 0xed, 0xc1, 0x0f, 0x69, 0x07, 0x02, 0x7e, 0x24, 0xd1, 0xfe, - 0x2f, 0x6d, 0xa2, 0x74, 0x39, 0x4e, 0x6d, 0x29, 0x9e, 0x09, 0xb3, 0x7f, 0x6e, 0x1d, 0x26, 0x61, - 0x4b, 0xe6, 0xaf, 0x07, 0xe5, 0x94, 0xb0, 0x44, 0xfb, 0x52, 0x8e, 0xfd, 0x37, 0xb0, 0x31, 0x2d, - 0x58, 0xa7, 0xe8, 0xcb, 0x42, 0x8a, 0x16, 0x62, 0xa9, 0x36, 0x64, 0x39, 0xfa, 0x0b, 0xf0, 0xec, - 0x0a, 0x4d, 0x16, 0x99, 0x70, 0x66, 0x13, 0x59, 0xa0, 0x3e, 0x82, 0x05, 0xdf, 0xe5, 0x5c, 0x47, - 0x93, 0x65, 0xce, 0x98, 0xc4, 0x67, 0xfa, 0x3f, 0x85, 0x4d, 0xbd, 0x80, 0x44, 0x84, 0x16, 0x47, - 0x01, 0x41, 0x63, 0x1a, 0xf8, 0x11, 0xac, 0x38, 0x85, 0xad, 0x59, 0xe1, 0xda, 0x90, 0x2f, 0x0a, - 0x86, 0x6c, 0xcf, 0x1a, 0x62, 0xb6, 0x64, 0xb6, 0xf8, 0xb0, 0xfa, 0xa1, 0x44, 0xfa, 0x5d, 0xa9, - 0xe5, 0xf8, 0x4f, 0x61, 0x6d, 0x3a, 0xe6, 0x46, 0x2f, 0x27, 0xd3, 0x4b, 0x02, 0x9f, 0x40, 0xfd, - 0x03, 0x11, 0x95, 0x90, 0x5f, 0x09, 0x79, 0x39, 0xef, 0x2f, 0x62, 0xf5, 0x1c, 0xea, 0x47, 0x34, - 0xb9, 0x31, 0xac, 0xee, 0x83, 0x9b, 0x52, 0xca, 0x7b, 0x09, 0xe6, 0x63, 0xd3, 0x78, 0x0a, 0xc2, - 0x39, 0xe6, 0x63, 0x7f, 0x08, 0x75, 0x55, 0x35, 0x15, 0x56, 0xb0, 0x14, 0x8d, 0x87, 0x61, 0x29, - 0x5a, 0xf9, 0x16, 0xac, 0xa4, 0x64, 0x30, 0x49, 0x99, 0xb9, 0x75, 0xcc, 0xd4, 0x7b, 0x0a, 0xeb, - 0x6a, 0x18, 0xd0, 0xb8, 0x37, 0x24, 0x09, 0x1f, 0xcb, 0x33, 0x5b, 0x41, 0x0d, 0x4b, 0x3e, 0x16, - 0x54, 0xff, 0x7f, 0x0e, 0xd4, 0xfe, 0x18, 0x84, 0xaa, 0xac, 0x2e, 0x1d, 0xc7, 0x18, 0x47, 0xa6, - 0x36, 0xc9, 0xb1, 0xa0, 0xb1, 0xe0, 0x6f, 0xaa, 0x40, 0xdc, 0x45, 0x72, 0x2c, 0x68, 0x11, 0x1d, - 0xaa, 0x92, 0xb0, 0x86, 0xe4, 0x58, 0x5c, 0x98, 0x11, 0x1d, 0x06, 0x97, 0x01, 0x19, 0xb6, 0x2a, - 0x12, 0x6b, 0xe7, 0xde, 0x26, 0x54, 0x03, 0xd6, 0x1b, 0x06, 0x69, 0xab, 0x2a, 0x8d, 0xaa, 0x04, - 0xec, 0x38, 0x48, 0x45, 0x2d, 0x54, 0x1d, 0xf5, 0x8a, 0xaa, 0x85, 0x72, 0x22, 0x98, 0x87, 0x41, - 0x7c, 0xd5, 0xaa, 0x29, 0x25, 0xc4, 0xd8, 0xfb, 0x0c, 0xd6, 0x52, 0x12, 0x62, 0x1e, 0x5c, 0x93, - 0x9e, 0xd4, 0xd0, 0x95, 0x8b, 0xab, 0x86, 0xf8, 0x03, 0x8e, 0x88, 0xff, 0x57, 0xa8, 0x9e, 0xd2, - 0x89, 0xa8, 0xda, 0xcb, 0x36, 0x96, 0xb2, 0x0a, 0x9b, 0x2b, 0x30, 0x7b, 0x6a, 0x48, 0x6e, 0x5d, - 0x8e, 0xb9, 0x2a, 0xd3, 0x4c, 0x3c, 0x9d, 0x94, 0x84, 0x5b, 0x3d, 0x9d, 0x34, 0x34, 0xcb, 0xe1, - 0xbf, 0x83, 0x6b, 0x59, 0x7a, 0x8f, 0x00, 0x2e, 0x83, 0x90, 0xb0, 0x1b, 0xc6, 0x49, 0xa4, 0x73, - 0x20, 0x47, 0xb1, 0x7e, 0x17, 0xb1, 0x28, 0x6b, 0xbf, 0x3f, 0x00, 0x17, 0x5f, 0xe3, 0x20, 0xc4, - 0xfd, 0x50, 0x05, 0xa4, 0x8c, 0x32, 0x82, 0xf7, 0x10, 0x20, 0x12, 0xec, 0xc9, 0xb0, 0x47, 0x63, - 0x19, 0x1b, 0x17, 0xb9, 0x9a, 0x72, 0x16, 0xfb, 0xff, 0x76, 0x60, 0xe5, 0x47, 0x22, 0x13, 0x65, - 0x49, 0x07, 0x75, 0x60, 0xe5, 0x5a, 0x6d, 0xb4, 0xcd, 0xb7, 0xb1, 0x51, 0x33, 0x94, 0x5d, 0x82, - 0x01, 0x89, 0x52, 0x9b, 0x84, 0x98, 0x5f, 0xd2, 0x34, 0xd2, 0x77, 0x5a, 0x56, 0x6a, 0xcf, 0xf5, - 0x82, 0xea, 0x2b, 0x0c, 0x4c, 0xf4, 0x41, 0x9a, 0xd5, 0xad, 0xfa, 0x20, 0x83, 0xcd, 0x7c, 0xfb, - 0x0f, 0x07, 0xea, 0x39, 0x65, 0xc4, 0xcd, 0xcb, 0xb1, 0xbd, 0x79, 0x39, 0x1e, 0x09, 0x0a, 0x1b, - 0x63, 0xd3, 0x7c, 0xb1, 0x31, 0x16, 0xf9, 0xd7, 0x9f, 0x04, 0x21, 0xd7, 0x97, 0x9f, 0x9a, 0x08, - 0x37, 0x8e, 0x68, 0xcf, 0x18, 0xac, 0xdd, 0x38, 0xa2, 0xc6, 0x75, 0x0d, 0x28, 0x51, 0x26, 0x33, - 0xdc, 0x45, 0x25, 0xca, 0x44, 0x9c, 0x70, 0x3a, 0x18, 0xcb, 0xcc, 0x76, 0x91, 0x1c, 0xfb, 0xaf, - 0x60, 0x35, 0x6f, 0xa7, 0x3d, 0x57, 0xce, 0xf4, 0xb9, 0x92, 0x67, 0x48, 0x9f, 0x35, 0x31, 0x16, - 0x57, 0x7b, 0xfd, 0x1d, 0x1d, 0x99, 0x97, 0x92, 0x88, 0xb7, 0xc0, 0xb2, 0x04, 0xdb, 0x67, 0x6c, - 0x46, 0xd0, 0x65, 0xab, 0x64, 0x5b, 0xa6, 0x5d, 0xa8, 0x0e, 0xd3, 0xe0, 0x9a, 0xa8, 0x17, 0x6a, - 0x63, 0x7f, 0xdb, 0x84, 0xf4, 0x88, 0xc6, 0x1c, 0x07, 0x31, 0x49, 0x8f, 0xe5, 0x32, 0xd2, 0x30, - 0xf1, 0xf6, 0xb9, 0xa4, 0x61, 0x48, 0xdf, 0x4b, 0x2b, 0x6b, 0x48, 0xcf, 0x84, 0x07, 0x38, 0x0e, - 0xc2, 0x5e, 0x18, 0xc4, 0x44, 0x99, 0x5a, 0x41, 0xae, 0xa0, 0xbc, 0x13, 0x04, 0x51, 0x3d, 0x11, - 0xc1, 0xc3, 0x5c, 0x19, 0xcb, 0x55, 0x3b, 0x39, 0xf6, 0xef, 0xc1, 0x3a, 0xa2, 0x61, 0xd8, 0xc7, - 0x83, 0x2b, 0xf3, 0xea, 0xfb, 0x0a, 0x6a, 0x86, 0xb4, 0x7c, 0xd7, 0x9f, 0x31, 0xbb, 0x45, 0xd7, - 0x6f, 0xc1, 0x16, 0xb2, 0xff, 0x4f, 0x17, 0x1a, 0xa7, 0x6a, 0x59, 0xdf, 0x30, 0xde, 0x61, 0xfe, - 0x9f, 0xc5, 0xce, 0x9c, 0xdf, 0x0b, 0x4a, 0xef, 0x76, 0x7b, 0xde, 0x92, 0x4d, 0xd1, 0xb2, 0x28, - 0xfe, 0x5e, 0x76, 0x1e, 0x72, 0x77, 0x41, 0x7b, 0xd5, 0xd8, 0x74, 0x8c, 0x39, 0xde, 0x73, 0xc4, - 0x73, 0x5e, 0x77, 0x95, 0x59, 0x1b, 0x3a, 0xf5, 0x32, 0x6e, 0x37, 0xa6, 0xe9, 0x7b, 0x8e, 0xf7, - 0x1b, 0x80, 0xb7, 0x93, 0x3e, 0x19, 0xd0, 0xf8, 0x32, 0x18, 0x79, 0x5b, 0x85, 0xe6, 0xeb, 0x24, - 0x4a, 0xf8, 0x4d, 0x41, 0xd2, 0x4b, 0x28, 0xcb, 0xd7, 0x40, 0xa6, 0x57, 0xee, 0xde, 0x69, 0x67, - 0x9e, 0x32, 0xd7, 0xc4, 0x9e, 0x23, 0x4c, 0x11, 0x99, 0x97, 0xdf, 0x92, 0x25, 0x62, 0x41, 0xc0, - 0xd7, 0xb6, 0xd4, 0x2e, 0x52, 0x69, 0x7b, 0xb6, 0x0c, 0xe6, 0x7c, 0x26, 0xb2, 0x27, 0x27, 0x28, - 0x97, 0x4c, 0xf3, 0x04, 0xe9, 0x9f, 0x5c, 0x3f, 0x2f, 0x68, 0xe6, 0xaf, 0xd6, 0xb7, 0xb9, 0x84, - 0x6b, 0x15, 0x93, 0x43, 0x0b, 0xdc, 0x99, 0xb3, 0xa2, 0x19, 0xbc, 0x32, 0xbf, 0x00, 0x36, 0x67, - 0x5e, 0xec, 0x7a, 0xeb, 0xd6, 0x2c, 0x59, 0xef, 0xfb, 0x7d, 0xf6, 0xb2, 0xde, 0x5e, 0xf0, 0x5e, - 0x6f, 0xb7, 0x8a, 0x0b, 0x7a, 0xf7, 0xd1, 0xf4, 0x83, 0x6e, 0x91, 0xd9, 0x0f, 0xe6, 0xbe, 0xaf, - 0x0c, 0x93, 0x3f, 0x15, 0x1a, 0xba, 0x47, 0x8b, 0x5a, 0x2c, 0xad, 0xd0, 0xa7, 0x0b, 0xd7, 0x35, - 0xcb, 0xb7, 0x33, 0x9d, 0xfa, 0x83, 0xf9, 0xdd, 0xb3, 0x66, 0xf7, 0x70, 0xc1, 0xaa, 0x66, 0xf6, - 0xfd, 0x74, 0xcf, 0x7c, 0x7f, 0x6e, 0x23, 0xab, 0x59, 0x3d, 0x98, 0xbf, 0xa8, 0x39, 0x7d, 0x93, - 0xfb, 0x99, 0xb0, 0xc8, 0x57, 0x3b, 0xc5, 0x1f, 0x02, 0xb9, 0x58, 0x99, 0xa7, 0xfc, 0x76, 0xe1, - 0x95, 0x5d, 0x88, 0xd5, 0xec, 0x53, 0xfd, 0x75, 0x76, 0xa3, 0x2e, 0x92, 0xdd, 0x2a, 0xdc, 0x59, - 0x7a, 0xf3, 0xe1, 0x5b, 0x58, 0x1f, 0xd0, 0xc8, 0x2e, 0xe3, 0x24, 0x38, 0x04, 0x5d, 0xa3, 0x0e, - 0x92, 0xe0, 0xdc, 0xf9, 0xcb, 0xf3, 0x51, 0xc0, 0xc7, 0x93, 0xbe, 0x38, 0x11, 0xbb, 0x1c, 0x87, - 0x94, 0xbd, 0x50, 0xad, 0x01, 0x53, 0xb3, 0x5d, 0x9c, 0x04, 0xe6, 0x4f, 0x74, 0xbf, 0x2a, 0xc5, - 0x7e, 0xf1, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x80, 0xe4, 0xe4, 0x4f, 0xa3, 0x16, 0x00, 0x00, +func file_machine_machine_proto_rawDescGZIP() []byte { + file_machine_machine_proto_rawDescOnce.Do(func() { + file_machine_machine_proto_rawDescData = protoimpl.X.CompressGZIP(file_machine_machine_proto_rawDescData) + }) + return file_machine_machine_proto_rawDescData +} + +var ( + file_machine_machine_proto_enumTypes = make([]protoimpl.EnumInfo, 4) + file_machine_machine_proto_msgTypes = make([]protoimpl.MessageInfo, 55) + file_machine_machine_proto_goTypes = []interface{}{ + (SequenceEvent_Action)(0), // 0: machine.SequenceEvent.Action + (PhaseEvent_Action)(0), // 1: machine.PhaseEvent.Action + (TaskEvent_Action)(0), // 2: machine.TaskEvent.Action + (RecoverRequest_Source)(0), // 3: machine.RecoverRequest.Source + (*Reboot)(nil), // 4: machine.Reboot + (*RebootResponse)(nil), // 5: machine.RebootResponse + (*BootstrapRequest)(nil), // 6: machine.BootstrapRequest + (*Bootstrap)(nil), // 7: machine.Bootstrap + (*BootstrapResponse)(nil), // 8: machine.BootstrapResponse + (*SequenceEvent)(nil), // 9: machine.SequenceEvent + (*PhaseEvent)(nil), // 10: machine.PhaseEvent + (*TaskEvent)(nil), // 11: machine.TaskEvent + (*EventsRequest)(nil), // 12: machine.EventsRequest + (*Event)(nil), // 13: machine.Event + (*ResetRequest)(nil), // 14: machine.ResetRequest + (*Reset)(nil), // 15: machine.Reset + (*ResetResponse)(nil), // 16: machine.ResetResponse + (*RecoverRequest)(nil), // 17: machine.RecoverRequest + (*Recover)(nil), // 18: machine.Recover + (*RecoverResponse)(nil), // 19: machine.RecoverResponse + (*Shutdown)(nil), // 20: machine.Shutdown + (*ShutdownResponse)(nil), // 21: machine.ShutdownResponse + (*UpgradeRequest)(nil), // 22: machine.UpgradeRequest + (*Upgrade)(nil), // 23: machine.Upgrade + (*UpgradeResponse)(nil), // 24: machine.UpgradeResponse + (*ServiceList)(nil), // 25: machine.ServiceList + (*ServiceListResponse)(nil), // 26: machine.ServiceListResponse + (*ServiceInfo)(nil), // 27: machine.ServiceInfo + (*ServiceEvents)(nil), // 28: machine.ServiceEvents + (*ServiceEvent)(nil), // 29: machine.ServiceEvent + (*ServiceHealth)(nil), // 30: machine.ServiceHealth + (*ServiceStartRequest)(nil), // 31: machine.ServiceStartRequest + (*ServiceStart)(nil), // 32: machine.ServiceStart + (*ServiceStartResponse)(nil), // 33: machine.ServiceStartResponse + (*ServiceStopRequest)(nil), // 34: machine.ServiceStopRequest + (*ServiceStop)(nil), // 35: machine.ServiceStop + (*ServiceStopResponse)(nil), // 36: machine.ServiceStopResponse + (*ServiceRestartRequest)(nil), // 37: machine.ServiceRestartRequest + (*ServiceRestart)(nil), // 38: machine.ServiceRestart + (*ServiceRestartResponse)(nil), // 39: machine.ServiceRestartResponse + (*StartRequest)(nil), // 40: machine.StartRequest + (*StartResponse)(nil), // 41: machine.StartResponse + (*StopRequest)(nil), // 42: machine.StopRequest + (*StopResponse)(nil), // 43: machine.StopResponse + (*CopyRequest)(nil), // 44: machine.CopyRequest + (*ListRequest)(nil), // 45: machine.ListRequest + (*FileInfo)(nil), // 46: machine.FileInfo + (*Mounts)(nil), // 47: machine.Mounts + (*MountsResponse)(nil), // 48: machine.MountsResponse + (*MountStat)(nil), // 49: machine.MountStat + (*Version)(nil), // 50: machine.Version + (*VersionResponse)(nil), // 51: machine.VersionResponse + (*VersionInfo)(nil), // 52: machine.VersionInfo + (*PlatformInfo)(nil), // 53: machine.PlatformInfo + (*LogsRequest)(nil), // 54: machine.LogsRequest + (*ReadRequest)(nil), // 55: machine.ReadRequest + (*RollbackRequest)(nil), // 56: machine.RollbackRequest + (*Rollback)(nil), // 57: machine.Rollback + (*RollbackResponse)(nil), // 58: machine.RollbackResponse + (*common.Metadata)(nil), // 59: common.Metadata + (*common.Error)(nil), // 60: common.Error + (*any.Any)(nil), // 61: google.protobuf.Any + (*timestamp.Timestamp)(nil), // 62: google.protobuf.Timestamp + (common.ContainerDriver)(0), // 63: common.ContainerDriver + (*empty.Empty)(nil), // 64: google.protobuf.Empty + (*common.Data)(nil), // 65: common.Data + } +) + +var file_machine_machine_proto_depIdxs = []int32{ + 59, // 0: machine.Reboot.metadata:type_name -> common.Metadata + 4, // 1: machine.RebootResponse.messages:type_name -> machine.Reboot + 59, // 2: machine.Bootstrap.metadata:type_name -> common.Metadata + 7, // 3: machine.BootstrapResponse.messages:type_name -> machine.Bootstrap + 0, // 4: machine.SequenceEvent.action:type_name -> machine.SequenceEvent.Action + 60, // 5: machine.SequenceEvent.error:type_name -> common.Error + 1, // 6: machine.PhaseEvent.action:type_name -> machine.PhaseEvent.Action + 2, // 7: machine.TaskEvent.action:type_name -> machine.TaskEvent.Action + 59, // 8: machine.Event.metadata:type_name -> common.Metadata + 61, // 9: machine.Event.data:type_name -> google.protobuf.Any + 59, // 10: machine.Reset.metadata:type_name -> common.Metadata + 15, // 11: machine.ResetResponse.messages:type_name -> machine.Reset + 3, // 12: machine.RecoverRequest.source:type_name -> machine.RecoverRequest.Source + 59, // 13: machine.Recover.metadata:type_name -> common.Metadata + 18, // 14: machine.RecoverResponse.messages:type_name -> machine.Recover + 59, // 15: machine.Shutdown.metadata:type_name -> common.Metadata + 20, // 16: machine.ShutdownResponse.messages:type_name -> machine.Shutdown + 59, // 17: machine.Upgrade.metadata:type_name -> common.Metadata + 23, // 18: machine.UpgradeResponse.messages:type_name -> machine.Upgrade + 59, // 19: machine.ServiceList.metadata:type_name -> common.Metadata + 27, // 20: machine.ServiceList.services:type_name -> machine.ServiceInfo + 25, // 21: machine.ServiceListResponse.messages:type_name -> machine.ServiceList + 28, // 22: machine.ServiceInfo.events:type_name -> machine.ServiceEvents + 30, // 23: machine.ServiceInfo.health:type_name -> machine.ServiceHealth + 29, // 24: machine.ServiceEvents.events:type_name -> machine.ServiceEvent + 62, // 25: machine.ServiceEvent.ts:type_name -> google.protobuf.Timestamp + 62, // 26: machine.ServiceHealth.last_change:type_name -> google.protobuf.Timestamp + 59, // 27: machine.ServiceStart.metadata:type_name -> common.Metadata + 32, // 28: machine.ServiceStartResponse.messages:type_name -> machine.ServiceStart + 59, // 29: machine.ServiceStop.metadata:type_name -> common.Metadata + 35, // 30: machine.ServiceStopResponse.messages:type_name -> machine.ServiceStop + 59, // 31: machine.ServiceRestart.metadata:type_name -> common.Metadata + 38, // 32: machine.ServiceRestartResponse.messages:type_name -> machine.ServiceRestart + 59, // 33: machine.FileInfo.metadata:type_name -> common.Metadata + 59, // 34: machine.Mounts.metadata:type_name -> common.Metadata + 49, // 35: machine.Mounts.stats:type_name -> machine.MountStat + 47, // 36: machine.MountsResponse.messages:type_name -> machine.Mounts + 59, // 37: machine.Version.metadata:type_name -> common.Metadata + 52, // 38: machine.Version.version:type_name -> machine.VersionInfo + 53, // 39: machine.Version.platform:type_name -> machine.PlatformInfo + 50, // 40: machine.VersionResponse.messages:type_name -> machine.Version + 63, // 41: machine.LogsRequest.driver:type_name -> common.ContainerDriver + 59, // 42: machine.Rollback.metadata:type_name -> common.Metadata + 57, // 43: machine.RollbackResponse.messages:type_name -> machine.Rollback + 6, // 44: machine.MachineService.Bootstrap:input_type -> machine.BootstrapRequest + 44, // 45: machine.MachineService.Copy:input_type -> machine.CopyRequest + 12, // 46: machine.MachineService.Events:input_type -> machine.EventsRequest + 64, // 47: machine.MachineService.Kubeconfig:input_type -> google.protobuf.Empty + 45, // 48: machine.MachineService.List:input_type -> machine.ListRequest + 54, // 49: machine.MachineService.Logs:input_type -> machine.LogsRequest + 64, // 50: machine.MachineService.Mounts:input_type -> google.protobuf.Empty + 55, // 51: machine.MachineService.Read:input_type -> machine.ReadRequest + 64, // 52: machine.MachineService.Reboot:input_type -> google.protobuf.Empty + 56, // 53: machine.MachineService.Rollback:input_type -> machine.RollbackRequest + 14, // 54: machine.MachineService.Reset:input_type -> machine.ResetRequest + 17, // 55: machine.MachineService.Recover:input_type -> machine.RecoverRequest + 64, // 56: machine.MachineService.ServiceList:input_type -> google.protobuf.Empty + 37, // 57: machine.MachineService.ServiceRestart:input_type -> machine.ServiceRestartRequest + 31, // 58: machine.MachineService.ServiceStart:input_type -> machine.ServiceStartRequest + 34, // 59: machine.MachineService.ServiceStop:input_type -> machine.ServiceStopRequest + 64, // 60: machine.MachineService.Shutdown:input_type -> google.protobuf.Empty + 22, // 61: machine.MachineService.Upgrade:input_type -> machine.UpgradeRequest + 64, // 62: machine.MachineService.Version:input_type -> google.protobuf.Empty + 8, // 63: machine.MachineService.Bootstrap:output_type -> machine.BootstrapResponse + 65, // 64: machine.MachineService.Copy:output_type -> common.Data + 13, // 65: machine.MachineService.Events:output_type -> machine.Event + 65, // 66: machine.MachineService.Kubeconfig:output_type -> common.Data + 46, // 67: machine.MachineService.List:output_type -> machine.FileInfo + 65, // 68: machine.MachineService.Logs:output_type -> common.Data + 48, // 69: machine.MachineService.Mounts:output_type -> machine.MountsResponse + 65, // 70: machine.MachineService.Read:output_type -> common.Data + 5, // 71: machine.MachineService.Reboot:output_type -> machine.RebootResponse + 58, // 72: machine.MachineService.Rollback:output_type -> machine.RollbackResponse + 16, // 73: machine.MachineService.Reset:output_type -> machine.ResetResponse + 19, // 74: machine.MachineService.Recover:output_type -> machine.RecoverResponse + 26, // 75: machine.MachineService.ServiceList:output_type -> machine.ServiceListResponse + 39, // 76: machine.MachineService.ServiceRestart:output_type -> machine.ServiceRestartResponse + 33, // 77: machine.MachineService.ServiceStart:output_type -> machine.ServiceStartResponse + 36, // 78: machine.MachineService.ServiceStop:output_type -> machine.ServiceStopResponse + 21, // 79: machine.MachineService.Shutdown:output_type -> machine.ShutdownResponse + 24, // 80: machine.MachineService.Upgrade:output_type -> machine.UpgradeResponse + 51, // 81: machine.MachineService.Version:output_type -> machine.VersionResponse + 63, // [63:82] is the sub-list for method output_type + 44, // [44:63] is the sub-list for method input_type + 44, // [44:44] is the sub-list for extension type_name + 44, // [44:44] is the sub-list for extension extendee + 0, // [0:44] is the sub-list for field type_name +} + +func init() { file_machine_machine_proto_init() } +func file_machine_machine_proto_init() { + if File_machine_machine_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_machine_machine_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Reboot); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RebootResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BootstrapRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Bootstrap); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BootstrapResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SequenceEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PhaseEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[9].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_machine_machine_proto_msgTypes[10].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_machine_machine_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Reset); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RecoverRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Recover); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RecoverResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Shutdown); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ShutdownResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpgradeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Upgrade); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpgradeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceListResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceEvents); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceHealth); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceStartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceStart); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceStartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceStopRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceStop); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceStopResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceRestartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceRestart); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceRestartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[36].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_machine_machine_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[38].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_machine_machine_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CopyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FileInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Mounts); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MountStat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[46].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_machine_machine_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VersionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VersionInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LogsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RollbackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Rollback); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_machine_machine_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RollbackResponse); 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_machine_machine_proto_rawDesc, + NumEnums: 4, + NumMessages: 55, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_machine_machine_proto_goTypes, + DependencyIndexes: file_machine_machine_proto_depIdxs, + EnumInfos: file_machine_machine_proto_enumTypes, + MessageInfos: file_machine_machine_proto_msgTypes, + }.Build() + File_machine_machine_proto = out.File + file_machine_machine_proto_rawDesc = nil + file_machine_machine_proto_goTypes = nil + file_machine_machine_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var ( _ context.Context - _ grpc.ClientConn + _ 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 // MachineServiceClient is the client API for MachineService service. // @@ -3106,10 +4458,10 @@ type MachineServiceClient interface { } type machineServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewMachineServiceClient(cc *grpc.ClientConn) MachineServiceClient { +func NewMachineServiceClient(cc grpc.ClientConnInterface) MachineServiceClient { return &machineServiceClient{cc} } @@ -3445,6 +4797,86 @@ type MachineServiceServer interface { Version(context.Context, *empty.Empty) (*VersionResponse, error) } +// UnimplementedMachineServiceServer can be embedded to have forward compatible implementations. +type UnimplementedMachineServiceServer struct { +} + +func (*UnimplementedMachineServiceServer) Bootstrap(context.Context, *BootstrapRequest) (*BootstrapResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Bootstrap not implemented") +} + +func (*UnimplementedMachineServiceServer) Copy(*CopyRequest, MachineService_CopyServer) error { + return status.Errorf(codes.Unimplemented, "method Copy not implemented") +} + +func (*UnimplementedMachineServiceServer) Events(*EventsRequest, MachineService_EventsServer) error { + return status.Errorf(codes.Unimplemented, "method Events not implemented") +} + +func (*UnimplementedMachineServiceServer) Kubeconfig(*empty.Empty, MachineService_KubeconfigServer) error { + return status.Errorf(codes.Unimplemented, "method Kubeconfig not implemented") +} + +func (*UnimplementedMachineServiceServer) List(*ListRequest, MachineService_ListServer) error { + return status.Errorf(codes.Unimplemented, "method List not implemented") +} + +func (*UnimplementedMachineServiceServer) Logs(*LogsRequest, MachineService_LogsServer) error { + return status.Errorf(codes.Unimplemented, "method Logs not implemented") +} + +func (*UnimplementedMachineServiceServer) Mounts(context.Context, *empty.Empty) (*MountsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Mounts not implemented") +} + +func (*UnimplementedMachineServiceServer) Read(*ReadRequest, MachineService_ReadServer) error { + return status.Errorf(codes.Unimplemented, "method Read not implemented") +} + +func (*UnimplementedMachineServiceServer) Reboot(context.Context, *empty.Empty) (*RebootResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Reboot not implemented") +} + +func (*UnimplementedMachineServiceServer) Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Rollback not implemented") +} + +func (*UnimplementedMachineServiceServer) Reset(context.Context, *ResetRequest) (*ResetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Reset not implemented") +} + +func (*UnimplementedMachineServiceServer) Recover(context.Context, *RecoverRequest) (*RecoverResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Recover not implemented") +} + +func (*UnimplementedMachineServiceServer) ServiceList(context.Context, *empty.Empty) (*ServiceListResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ServiceList not implemented") +} + +func (*UnimplementedMachineServiceServer) ServiceRestart(context.Context, *ServiceRestartRequest) (*ServiceRestartResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ServiceRestart not implemented") +} + +func (*UnimplementedMachineServiceServer) ServiceStart(context.Context, *ServiceStartRequest) (*ServiceStartResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ServiceStart not implemented") +} + +func (*UnimplementedMachineServiceServer) ServiceStop(context.Context, *ServiceStopRequest) (*ServiceStopResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ServiceStop not implemented") +} + +func (*UnimplementedMachineServiceServer) Shutdown(context.Context, *empty.Empty) (*ShutdownResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Shutdown not implemented") +} + +func (*UnimplementedMachineServiceServer) Upgrade(context.Context, *UpgradeRequest) (*UpgradeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Upgrade not implemented") +} + +func (*UnimplementedMachineServiceServer) Version(context.Context, *empty.Empty) (*VersionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Version not implemented") +} + func RegisterMachineServiceServer(s *grpc.Server, srv MachineServiceServer) { s.RegisterService(&_MachineService_serviceDesc, srv) } diff --git a/api/network/network.pb.go b/api/network/network.pb.go index 814b7606c..794ac4307 100644 --- a/api/network/network.pb.go +++ b/api/network/network.pb.go @@ -1,32 +1,37 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: network/network.proto package network import ( context "context" - fmt "fmt" - math "math" + reflect "reflect" + sync "sync" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" common "github.com/talos-systems/talos/api/common" ) -// Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = 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 AddressFamily int32 @@ -38,95 +43,137 @@ const ( AddressFamily_IPV6 AddressFamily = 10 ) -var AddressFamily_name = map[int32]string{ - 0: "AF_UNSPEC", - 2: "AF_INET", - // Duplicate value: 2: "IPV4", - 10: "AF_INET6", - // Duplicate value: 10: "IPV6", -} +// Enum value maps for AddressFamily. +var ( + AddressFamily_name = map[int32]string{ + 0: "AF_UNSPEC", + 2: "AF_INET", + // Duplicate value: 2: "IPV4", + 10: "AF_INET6", + // Duplicate value: 10: "IPV6", + } + AddressFamily_value = map[string]int32{ + "AF_UNSPEC": 0, + "AF_INET": 2, + "IPV4": 2, + "AF_INET6": 10, + "IPV6": 10, + } +) -var AddressFamily_value = map[string]int32{ - "AF_UNSPEC": 0, - "AF_INET": 2, - "IPV4": 2, - "AF_INET6": 10, - "IPV6": 10, +func (x AddressFamily) Enum() *AddressFamily { + p := new(AddressFamily) + *p = x + return p } func (x AddressFamily) String() string { - return proto.EnumName(AddressFamily_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (AddressFamily) Descriptor() protoreflect.EnumDescriptor { + return file_network_network_proto_enumTypes[0].Descriptor() +} + +func (AddressFamily) Type() protoreflect.EnumType { + return &file_network_network_proto_enumTypes[0] +} + +func (x AddressFamily) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AddressFamily.Descriptor instead. func (AddressFamily) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_96ad937ae012c472, []int{0} + return file_network_network_proto_rawDescGZIP(), []int{0} } type RouteProtocol int32 const ( RouteProtocol_RTPROT_UNSPEC RouteProtocol = 0 - RouteProtocol_RTPROT_REDIRECT RouteProtocol = 1 - RouteProtocol_RTPROT_KERNEL RouteProtocol = 2 - RouteProtocol_RTPROT_BOOT RouteProtocol = 3 - RouteProtocol_RTPROT_STATIC RouteProtocol = 4 - RouteProtocol_RTPROT_GATED RouteProtocol = 8 - RouteProtocol_RTPROT_RA RouteProtocol = 9 - RouteProtocol_RTPROT_MRT RouteProtocol = 10 - RouteProtocol_RTPROT_ZEBRA RouteProtocol = 11 - RouteProtocol_RTPROT_BIRD RouteProtocol = 12 - RouteProtocol_RTPROT_DNROUTED RouteProtocol = 13 - RouteProtocol_RTPROT_XORP RouteProtocol = 14 - RouteProtocol_RTPROT_NTK RouteProtocol = 15 - RouteProtocol_RTPROT_DHCP RouteProtocol = 16 - RouteProtocol_RTPROT_MROUTED RouteProtocol = 17 - RouteProtocol_RTPROT_BABEL RouteProtocol = 42 + RouteProtocol_RTPROT_REDIRECT RouteProtocol = 1 // Route installed by ICMP redirects + RouteProtocol_RTPROT_KERNEL RouteProtocol = 2 // Route installed by kernel + RouteProtocol_RTPROT_BOOT RouteProtocol = 3 // Route installed during boot + RouteProtocol_RTPROT_STATIC RouteProtocol = 4 // Route installed by administrator + RouteProtocol_RTPROT_GATED RouteProtocol = 8 // Route installed by gated + RouteProtocol_RTPROT_RA RouteProtocol = 9 // Route installed by router advertisement + RouteProtocol_RTPROT_MRT RouteProtocol = 10 // Route installed by Merit MRT + RouteProtocol_RTPROT_ZEBRA RouteProtocol = 11 // Route installed by Zebra/Quagga + RouteProtocol_RTPROT_BIRD RouteProtocol = 12 // Route installed by Bird + RouteProtocol_RTPROT_DNROUTED RouteProtocol = 13 // Route installed by DECnet routing daemon + RouteProtocol_RTPROT_XORP RouteProtocol = 14 // Route installed by XORP + RouteProtocol_RTPROT_NTK RouteProtocol = 15 // Route installed by Netsukuku + RouteProtocol_RTPROT_DHCP RouteProtocol = 16 // Route installed by DHCP + RouteProtocol_RTPROT_MROUTED RouteProtocol = 17 // Route installed by Multicast daemon + RouteProtocol_RTPROT_BABEL RouteProtocol = 42 // Route installed by Babel daemon ) -var RouteProtocol_name = map[int32]string{ - 0: "RTPROT_UNSPEC", - 1: "RTPROT_REDIRECT", - 2: "RTPROT_KERNEL", - 3: "RTPROT_BOOT", - 4: "RTPROT_STATIC", - 8: "RTPROT_GATED", - 9: "RTPROT_RA", - 10: "RTPROT_MRT", - 11: "RTPROT_ZEBRA", - 12: "RTPROT_BIRD", - 13: "RTPROT_DNROUTED", - 14: "RTPROT_XORP", - 15: "RTPROT_NTK", - 16: "RTPROT_DHCP", - 17: "RTPROT_MROUTED", - 42: "RTPROT_BABEL", -} +// Enum value maps for RouteProtocol. +var ( + RouteProtocol_name = map[int32]string{ + 0: "RTPROT_UNSPEC", + 1: "RTPROT_REDIRECT", + 2: "RTPROT_KERNEL", + 3: "RTPROT_BOOT", + 4: "RTPROT_STATIC", + 8: "RTPROT_GATED", + 9: "RTPROT_RA", + 10: "RTPROT_MRT", + 11: "RTPROT_ZEBRA", + 12: "RTPROT_BIRD", + 13: "RTPROT_DNROUTED", + 14: "RTPROT_XORP", + 15: "RTPROT_NTK", + 16: "RTPROT_DHCP", + 17: "RTPROT_MROUTED", + 42: "RTPROT_BABEL", + } + RouteProtocol_value = map[string]int32{ + "RTPROT_UNSPEC": 0, + "RTPROT_REDIRECT": 1, + "RTPROT_KERNEL": 2, + "RTPROT_BOOT": 3, + "RTPROT_STATIC": 4, + "RTPROT_GATED": 8, + "RTPROT_RA": 9, + "RTPROT_MRT": 10, + "RTPROT_ZEBRA": 11, + "RTPROT_BIRD": 12, + "RTPROT_DNROUTED": 13, + "RTPROT_XORP": 14, + "RTPROT_NTK": 15, + "RTPROT_DHCP": 16, + "RTPROT_MROUTED": 17, + "RTPROT_BABEL": 42, + } +) -var RouteProtocol_value = map[string]int32{ - "RTPROT_UNSPEC": 0, - "RTPROT_REDIRECT": 1, - "RTPROT_KERNEL": 2, - "RTPROT_BOOT": 3, - "RTPROT_STATIC": 4, - "RTPROT_GATED": 8, - "RTPROT_RA": 9, - "RTPROT_MRT": 10, - "RTPROT_ZEBRA": 11, - "RTPROT_BIRD": 12, - "RTPROT_DNROUTED": 13, - "RTPROT_XORP": 14, - "RTPROT_NTK": 15, - "RTPROT_DHCP": 16, - "RTPROT_MROUTED": 17, - "RTPROT_BABEL": 42, +func (x RouteProtocol) Enum() *RouteProtocol { + p := new(RouteProtocol) + *p = x + return p } func (x RouteProtocol) String() string { - return proto.EnumName(RouteProtocol_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (RouteProtocol) Descriptor() protoreflect.EnumDescriptor { + return file_network_network_proto_enumTypes[1].Descriptor() +} + +func (RouteProtocol) Type() protoreflect.EnumType { + return &file_network_network_proto_enumTypes[1] +} + +func (x RouteProtocol) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RouteProtocol.Descriptor instead. func (RouteProtocol) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_96ad937ae012c472, []int{1} + return file_network_network_proto_rawDescGZIP(), []int{1} } type InterfaceFlags int32 @@ -140,129 +187,162 @@ const ( InterfaceFlags_FLAG_MULTICAST InterfaceFlags = 5 ) -var InterfaceFlags_name = map[int32]string{ - 0: "FLAG_UNKNOWN", - 1: "FLAG_UP", - 2: "FLAG_BROADCAST", - 3: "FLAG_LOOPBACK", - 4: "FLAG_POINT_TO_POINT", - 5: "FLAG_MULTICAST", -} +// Enum value maps for InterfaceFlags. +var ( + InterfaceFlags_name = map[int32]string{ + 0: "FLAG_UNKNOWN", + 1: "FLAG_UP", + 2: "FLAG_BROADCAST", + 3: "FLAG_LOOPBACK", + 4: "FLAG_POINT_TO_POINT", + 5: "FLAG_MULTICAST", + } + InterfaceFlags_value = map[string]int32{ + "FLAG_UNKNOWN": 0, + "FLAG_UP": 1, + "FLAG_BROADCAST": 2, + "FLAG_LOOPBACK": 3, + "FLAG_POINT_TO_POINT": 4, + "FLAG_MULTICAST": 5, + } +) -var InterfaceFlags_value = map[string]int32{ - "FLAG_UNKNOWN": 0, - "FLAG_UP": 1, - "FLAG_BROADCAST": 2, - "FLAG_LOOPBACK": 3, - "FLAG_POINT_TO_POINT": 4, - "FLAG_MULTICAST": 5, +func (x InterfaceFlags) Enum() *InterfaceFlags { + p := new(InterfaceFlags) + *p = x + return p } func (x InterfaceFlags) String() string { - return proto.EnumName(InterfaceFlags_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (InterfaceFlags) Descriptor() protoreflect.EnumDescriptor { + return file_network_network_proto_enumTypes[2].Descriptor() +} + +func (InterfaceFlags) Type() protoreflect.EnumType { + return &file_network_network_proto_enumTypes[2] +} + +func (x InterfaceFlags) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use InterfaceFlags.Descriptor instead. func (InterfaceFlags) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_96ad937ae012c472, []int{2} + return file_network_network_proto_rawDescGZIP(), []int{2} } // The messages message containing the routes. type RoutesResponse struct { - Messages []*Routes `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Routes `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *RoutesResponse) Reset() { *m = RoutesResponse{} } -func (m *RoutesResponse) String() string { return proto.CompactTextString(m) } -func (*RoutesResponse) ProtoMessage() {} +func (x *RoutesResponse) Reset() { + *x = RoutesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_network_network_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RoutesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RoutesResponse) ProtoMessage() {} + +func (x *RoutesResponse) ProtoReflect() protoreflect.Message { + mi := &file_network_network_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RoutesResponse.ProtoReflect.Descriptor instead. func (*RoutesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_96ad937ae012c472, []int{0} + return file_network_network_proto_rawDescGZIP(), []int{0} } -func (m *RoutesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RoutesResponse.Unmarshal(m, b) -} - -func (m *RoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RoutesResponse.Marshal(b, m, deterministic) -} - -func (m *RoutesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RoutesResponse.Merge(m, src) -} - -func (m *RoutesResponse) XXX_Size() int { - return xxx_messageInfo_RoutesResponse.Size(m) -} - -func (m *RoutesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RoutesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RoutesResponse proto.InternalMessageInfo - -func (m *RoutesResponse) GetMessages() []*Routes { - if m != nil { - return m.Messages +func (x *RoutesResponse) GetMessages() []*Routes { + if x != nil { + return x.Messages } return nil } type Routes struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Routes []*Route `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Routes []*Route `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` } -func (m *Routes) Reset() { *m = Routes{} } -func (m *Routes) String() string { return proto.CompactTextString(m) } -func (*Routes) ProtoMessage() {} +func (x *Routes) Reset() { + *x = Routes{} + if protoimpl.UnsafeEnabled { + mi := &file_network_network_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Routes) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Routes) ProtoMessage() {} + +func (x *Routes) ProtoReflect() protoreflect.Message { + mi := &file_network_network_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Routes.ProtoReflect.Descriptor instead. func (*Routes) Descriptor() ([]byte, []int) { - return fileDescriptor_96ad937ae012c472, []int{1} + return file_network_network_proto_rawDescGZIP(), []int{1} } -func (m *Routes) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Routes.Unmarshal(m, b) -} - -func (m *Routes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Routes.Marshal(b, m, deterministic) -} - -func (m *Routes) XXX_Merge(src proto.Message) { - xxx_messageInfo_Routes.Merge(m, src) -} - -func (m *Routes) XXX_Size() int { - return xxx_messageInfo_Routes.Size(m) -} - -func (m *Routes) XXX_DiscardUnknown() { - xxx_messageInfo_Routes.DiscardUnknown(m) -} - -var xxx_messageInfo_Routes proto.InternalMessageInfo - -func (m *Routes) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Routes) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Routes) GetRoutes() []*Route { - if m != nil { - return m.Routes +func (x *Routes) GetRoutes() []*Route { + if x != nil { + return x.Routes } return nil } // The messages message containing a route. type Route struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Interface is the interface over which traffic to this destination should be sent Interface string `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` // Destination is the network prefix CIDR which this route provides @@ -280,361 +360,563 @@ type Route struct { // Protocol is the protocol by which this route came to be in place Protocol RouteProtocol `protobuf:"varint,8,opt,name=protocol,proto3,enum=network.RouteProtocol" json:"protocol,omitempty"` // Flags indicate any special flags on the route - Flags uint32 `protobuf:"varint,9,opt,name=flags,proto3" json:"flags,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Flags uint32 `protobuf:"varint,9,opt,name=flags,proto3" json:"flags,omitempty"` } -func (m *Route) Reset() { *m = Route{} } -func (m *Route) String() string { return proto.CompactTextString(m) } -func (*Route) ProtoMessage() {} +func (x *Route) Reset() { + *x = Route{} + if protoimpl.UnsafeEnabled { + mi := &file_network_network_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Route) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Route) ProtoMessage() {} + +func (x *Route) ProtoReflect() protoreflect.Message { + mi := &file_network_network_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Route.ProtoReflect.Descriptor instead. func (*Route) Descriptor() ([]byte, []int) { - return fileDescriptor_96ad937ae012c472, []int{2} + return file_network_network_proto_rawDescGZIP(), []int{2} } -func (m *Route) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Route.Unmarshal(m, b) -} - -func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Route.Marshal(b, m, deterministic) -} - -func (m *Route) XXX_Merge(src proto.Message) { - xxx_messageInfo_Route.Merge(m, src) -} - -func (m *Route) XXX_Size() int { - return xxx_messageInfo_Route.Size(m) -} - -func (m *Route) XXX_DiscardUnknown() { - xxx_messageInfo_Route.DiscardUnknown(m) -} - -var xxx_messageInfo_Route proto.InternalMessageInfo - -func (m *Route) GetInterface() string { - if m != nil { - return m.Interface +func (x *Route) GetInterface() string { + if x != nil { + return x.Interface } return "" } -func (m *Route) GetDestination() string { - if m != nil { - return m.Destination +func (x *Route) GetDestination() string { + if x != nil { + return x.Destination } return "" } -func (m *Route) GetGateway() string { - if m != nil { - return m.Gateway +func (x *Route) GetGateway() string { + if x != nil { + return x.Gateway } return "" } -func (m *Route) GetMetric() uint32 { - if m != nil { - return m.Metric +func (x *Route) GetMetric() uint32 { + if x != nil { + return x.Metric } return 0 } -func (m *Route) GetScope() uint32 { - if m != nil { - return m.Scope +func (x *Route) GetScope() uint32 { + if x != nil { + return x.Scope } return 0 } -func (m *Route) GetSource() string { - if m != nil { - return m.Source +func (x *Route) GetSource() string { + if x != nil { + return x.Source } return "" } -func (m *Route) GetFamily() AddressFamily { - if m != nil { - return m.Family +func (x *Route) GetFamily() AddressFamily { + if x != nil { + return x.Family } return AddressFamily_AF_UNSPEC } -func (m *Route) GetProtocol() RouteProtocol { - if m != nil { - return m.Protocol +func (x *Route) GetProtocol() RouteProtocol { + if x != nil { + return x.Protocol } return RouteProtocol_RTPROT_UNSPEC } -func (m *Route) GetFlags() uint32 { - if m != nil { - return m.Flags +func (x *Route) GetFlags() uint32 { + if x != nil { + return x.Flags } return 0 } type InterfacesResponse struct { - Messages []*Interfaces `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Interfaces `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *InterfacesResponse) Reset() { *m = InterfacesResponse{} } -func (m *InterfacesResponse) String() string { return proto.CompactTextString(m) } -func (*InterfacesResponse) ProtoMessage() {} +func (x *InterfacesResponse) Reset() { + *x = InterfacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_network_network_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InterfacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InterfacesResponse) ProtoMessage() {} + +func (x *InterfacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_network_network_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InterfacesResponse.ProtoReflect.Descriptor instead. func (*InterfacesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_96ad937ae012c472, []int{3} + return file_network_network_proto_rawDescGZIP(), []int{3} } -func (m *InterfacesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InterfacesResponse.Unmarshal(m, b) -} - -func (m *InterfacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InterfacesResponse.Marshal(b, m, deterministic) -} - -func (m *InterfacesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InterfacesResponse.Merge(m, src) -} - -func (m *InterfacesResponse) XXX_Size() int { - return xxx_messageInfo_InterfacesResponse.Size(m) -} - -func (m *InterfacesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InterfacesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_InterfacesResponse proto.InternalMessageInfo - -func (m *InterfacesResponse) GetMessages() []*Interfaces { - if m != nil { - return m.Messages +func (x *InterfacesResponse) GetMessages() []*Interfaces { + if x != nil { + return x.Messages } return nil } type Interfaces struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Interfaces []*Interface `protobuf:"bytes,2,rep,name=interfaces,proto3" json:"interfaces,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Interfaces []*Interface `protobuf:"bytes,2,rep,name=interfaces,proto3" json:"interfaces,omitempty"` } -func (m *Interfaces) Reset() { *m = Interfaces{} } -func (m *Interfaces) String() string { return proto.CompactTextString(m) } -func (*Interfaces) ProtoMessage() {} +func (x *Interfaces) Reset() { + *x = Interfaces{} + if protoimpl.UnsafeEnabled { + mi := &file_network_network_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Interfaces) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Interfaces) ProtoMessage() {} + +func (x *Interfaces) ProtoReflect() protoreflect.Message { + mi := &file_network_network_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Interfaces.ProtoReflect.Descriptor instead. func (*Interfaces) Descriptor() ([]byte, []int) { - return fileDescriptor_96ad937ae012c472, []int{4} + return file_network_network_proto_rawDescGZIP(), []int{4} } -func (m *Interfaces) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Interfaces.Unmarshal(m, b) -} - -func (m *Interfaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Interfaces.Marshal(b, m, deterministic) -} - -func (m *Interfaces) XXX_Merge(src proto.Message) { - xxx_messageInfo_Interfaces.Merge(m, src) -} - -func (m *Interfaces) XXX_Size() int { - return xxx_messageInfo_Interfaces.Size(m) -} - -func (m *Interfaces) XXX_DiscardUnknown() { - xxx_messageInfo_Interfaces.DiscardUnknown(m) -} - -var xxx_messageInfo_Interfaces proto.InternalMessageInfo - -func (m *Interfaces) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Interfaces) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Interfaces) GetInterfaces() []*Interface { - if m != nil { - return m.Interfaces +func (x *Interfaces) GetInterfaces() []*Interface { + if x != nil { + return x.Interfaces } return nil } // Interface represents a net.Interface type Interface struct { - Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - Mtu uint32 `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - Hardwareaddr string `protobuf:"bytes,4,opt,name=hardwareaddr,proto3" json:"hardwareaddr,omitempty"` - Flags InterfaceFlags `protobuf:"varint,5,opt,name=flags,proto3,enum=network.InterfaceFlags" json:"flags,omitempty"` - Ipaddress []string `protobuf:"bytes,6,rep,name=ipaddress,proto3" json:"ipaddress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + Mtu uint32 `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + Hardwareaddr string `protobuf:"bytes,4,opt,name=hardwareaddr,proto3" json:"hardwareaddr,omitempty"` + Flags InterfaceFlags `protobuf:"varint,5,opt,name=flags,proto3,enum=network.InterfaceFlags" json:"flags,omitempty"` + Ipaddress []string `protobuf:"bytes,6,rep,name=ipaddress,proto3" json:"ipaddress,omitempty"` } -func (m *Interface) Reset() { *m = Interface{} } -func (m *Interface) String() string { return proto.CompactTextString(m) } -func (*Interface) ProtoMessage() {} +func (x *Interface) Reset() { + *x = Interface{} + if protoimpl.UnsafeEnabled { + mi := &file_network_network_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Interface) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Interface) ProtoMessage() {} + +func (x *Interface) ProtoReflect() protoreflect.Message { + mi := &file_network_network_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Interface.ProtoReflect.Descriptor instead. func (*Interface) Descriptor() ([]byte, []int) { - return fileDescriptor_96ad937ae012c472, []int{5} + return file_network_network_proto_rawDescGZIP(), []int{5} } -func (m *Interface) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Interface.Unmarshal(m, b) -} - -func (m *Interface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Interface.Marshal(b, m, deterministic) -} - -func (m *Interface) XXX_Merge(src proto.Message) { - xxx_messageInfo_Interface.Merge(m, src) -} - -func (m *Interface) XXX_Size() int { - return xxx_messageInfo_Interface.Size(m) -} - -func (m *Interface) XXX_DiscardUnknown() { - xxx_messageInfo_Interface.DiscardUnknown(m) -} - -var xxx_messageInfo_Interface proto.InternalMessageInfo - -func (m *Interface) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *Interface) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } -func (m *Interface) GetMtu() uint32 { - if m != nil { - return m.Mtu +func (x *Interface) GetMtu() uint32 { + if x != nil { + return x.Mtu } return 0 } -func (m *Interface) GetName() string { - if m != nil { - return m.Name +func (x *Interface) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Interface) GetHardwareaddr() string { - if m != nil { - return m.Hardwareaddr +func (x *Interface) GetHardwareaddr() string { + if x != nil { + return x.Hardwareaddr } return "" } -func (m *Interface) GetFlags() InterfaceFlags { - if m != nil { - return m.Flags +func (x *Interface) GetFlags() InterfaceFlags { + if x != nil { + return x.Flags } return InterfaceFlags_FLAG_UNKNOWN } -func (m *Interface) GetIpaddress() []string { - if m != nil { - return m.Ipaddress +func (x *Interface) GetIpaddress() []string { + if x != nil { + return x.Ipaddress } return nil } -func init() { - proto.RegisterEnum("network.AddressFamily", AddressFamily_name, AddressFamily_value) - proto.RegisterEnum("network.RouteProtocol", RouteProtocol_name, RouteProtocol_value) - proto.RegisterEnum("network.InterfaceFlags", InterfaceFlags_name, InterfaceFlags_value) - proto.RegisterType((*RoutesResponse)(nil), "network.RoutesResponse") - proto.RegisterType((*Routes)(nil), "network.Routes") - proto.RegisterType((*Route)(nil), "network.Route") - proto.RegisterType((*InterfacesResponse)(nil), "network.InterfacesResponse") - proto.RegisterType((*Interfaces)(nil), "network.Interfaces") - proto.RegisterType((*Interface)(nil), "network.Interface") +var File_network_network_proto protoreflect.FileDescriptor + +var file_network_network_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x3d, 0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x22, 0x5e, 0x0a, 0x06, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x26, 0x0a, 0x06, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, + 0x73, 0x22, 0xa1, 0x02, 0x0a, 0x05, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, + 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x61, + 0x74, 0x65, 0x77, 0x61, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x63, + 0x6f, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x66, + 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x46, 0x61, 0x6d, + 0x69, 0x6c, 0x79, 0x52, 0x06, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x32, 0x0a, 0x08, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, + 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x66, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x45, 0x0a, 0x12, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, + 0x65, 0x73, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x6e, 0x0a, 0x0a, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x32, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x22, 0xb8, 0x01, 0x0a, + 0x09, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x74, 0x75, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6d, + 0x74, 0x75, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, + 0x72, 0x65, 0x61, 0x64, 0x64, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x68, 0x61, + 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x61, 0x64, 0x64, 0x72, 0x12, 0x2d, 0x0a, 0x05, 0x66, 0x6c, + 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x46, 0x6c, 0x61, + 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x70, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x69, 0x70, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2a, 0x51, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x46, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x46, 0x5f, 0x49, 0x4e, + 0x45, 0x54, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x50, 0x56, 0x34, 0x10, 0x02, 0x12, 0x0c, + 0x0a, 0x08, 0x41, 0x46, 0x5f, 0x49, 0x4e, 0x45, 0x54, 0x36, 0x10, 0x0a, 0x12, 0x08, 0x0a, 0x04, + 0x49, 0x50, 0x56, 0x36, 0x10, 0x0a, 0x1a, 0x02, 0x10, 0x01, 0x2a, 0xaf, 0x02, 0x0a, 0x0d, 0x52, + 0x6f, 0x75, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x11, 0x0a, 0x0d, + 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x10, 0x00, 0x12, + 0x13, 0x0a, 0x0f, 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x52, 0x45, 0x44, 0x49, 0x52, 0x45, + 0x43, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x4b, + 0x45, 0x52, 0x4e, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x54, 0x50, 0x52, 0x4f, + 0x54, 0x5f, 0x42, 0x4f, 0x4f, 0x54, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x54, 0x50, 0x52, + 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c, 0x52, + 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x47, 0x41, 0x54, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0d, 0x0a, + 0x09, 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x52, 0x41, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, + 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x4d, 0x52, 0x54, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, + 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x5a, 0x45, 0x42, 0x52, 0x41, 0x10, 0x0b, 0x12, 0x0f, + 0x0a, 0x0b, 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x42, 0x49, 0x52, 0x44, 0x10, 0x0c, 0x12, + 0x13, 0x0a, 0x0f, 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x44, 0x4e, 0x52, 0x4f, 0x55, 0x54, + 0x45, 0x44, 0x10, 0x0d, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x58, + 0x4f, 0x52, 0x50, 0x10, 0x0e, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, + 0x4e, 0x54, 0x4b, 0x10, 0x0f, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, 0x5f, + 0x44, 0x48, 0x43, 0x50, 0x10, 0x10, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x54, 0x50, 0x52, 0x4f, 0x54, + 0x5f, 0x4d, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x44, 0x10, 0x11, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x54, + 0x50, 0x52, 0x4f, 0x54, 0x5f, 0x42, 0x41, 0x42, 0x45, 0x4c, 0x10, 0x2a, 0x2a, 0x83, 0x01, 0x0a, + 0x0e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, + 0x10, 0x0a, 0x0c, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, + 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x55, 0x50, 0x10, 0x01, 0x12, 0x12, + 0x0a, 0x0e, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, + 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x4c, 0x4f, 0x4f, 0x50, 0x42, + 0x41, 0x43, 0x4b, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x50, 0x4f, + 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x12, + 0x0a, 0x0e, 0x46, 0x4c, 0x41, 0x47, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x43, 0x41, 0x53, 0x54, + 0x10, 0x05, 0x32, 0x8e, 0x01, 0x0a, 0x0e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x17, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x41, 0x0a, 0x0a, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x12, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1b, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x42, 0x4b, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0a, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, + 0x70, 0x69, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x74, + 0x61, 0x6c, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("network/network.proto", fileDescriptor_96ad937ae012c472) } +var ( + file_network_network_proto_rawDescOnce sync.Once + file_network_network_proto_rawDescData = file_network_network_proto_rawDesc +) -var fileDescriptor_96ad937ae012c472 = []byte{ - // 828 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x4d, 0x73, 0xeb, 0x34, - 0x14, 0xc5, 0xf9, 0x6a, 0x72, 0x53, 0x27, 0xaa, 0x0a, 0xad, 0xa7, 0x8f, 0x45, 0x26, 0x0b, 0xa6, - 0x13, 0x78, 0xc9, 0x4c, 0x60, 0xde, 0x0c, 0x0b, 0x16, 0x4e, 0xe2, 0x3c, 0x32, 0x49, 0x6d, 0xa3, - 0xba, 0xc0, 0xbc, 0x05, 0x1d, 0xd5, 0x56, 0xf3, 0x3c, 0xc4, 0x1f, 0x63, 0x39, 0x94, 0xae, 0xd9, - 0xf3, 0x1f, 0xf8, 0x05, 0x6c, 0xf9, 0x79, 0x8c, 0x65, 0xd9, 0x71, 0x5e, 0x61, 0xf1, 0x56, 0xd6, - 0x3d, 0xf7, 0xdc, 0x7b, 0x24, 0x1d, 0x49, 0x86, 0xcf, 0x42, 0x96, 0x3e, 0x45, 0xc9, 0xaf, 0x13, - 0xf9, 0x1d, 0xc7, 0x49, 0x94, 0x46, 0xf8, 0x44, 0x86, 0x57, 0xaf, 0xb6, 0x51, 0xb4, 0xdd, 0xb1, - 0x89, 0x80, 0x1f, 0xf6, 0x8f, 0x13, 0x16, 0xc4, 0xe9, 0x73, 0xce, 0xba, 0x3a, 0x77, 0xa3, 0x20, - 0x88, 0xc2, 0x49, 0xfe, 0xc9, 0xc1, 0xe1, 0x77, 0xd0, 0x23, 0xd1, 0x3e, 0x65, 0x9c, 0x30, 0x1e, - 0x47, 0x21, 0x67, 0xf8, 0x4b, 0x68, 0x07, 0x8c, 0x73, 0xba, 0x65, 0x5c, 0x53, 0x06, 0xf5, 0xeb, - 0xee, 0xb4, 0x3f, 0x2e, 0xe4, 0x24, 0xb5, 0x24, 0x0c, 0x7f, 0x81, 0x56, 0x8e, 0xe1, 0xaf, 0xb2, - 0xb2, 0x94, 0x7a, 0x34, 0xa5, 0x9a, 0x32, 0x50, 0xae, 0xbb, 0x53, 0x34, 0x96, 0x4a, 0x37, 0x12, - 0x27, 0x25, 0x03, 0x7f, 0x01, 0xad, 0x44, 0xd4, 0x69, 0x35, 0x21, 0xd1, 0x3b, 0x96, 0x20, 0x32, - 0x3b, 0xfc, 0xab, 0x06, 0x4d, 0x81, 0xe0, 0xcf, 0xa1, 0xe3, 0x87, 0x29, 0x4b, 0x1e, 0xa9, 0xcb, - 0x84, 0x40, 0x87, 0x1c, 0x00, 0x3c, 0x80, 0xae, 0xc7, 0x78, 0xea, 0x87, 0x34, 0xf5, 0xa3, 0x50, - 0xab, 0x89, 0x7c, 0x15, 0xc2, 0x1a, 0x9c, 0x6c, 0x69, 0xca, 0x9e, 0xe8, 0xb3, 0x56, 0x17, 0xd9, - 0x22, 0xc4, 0x17, 0xd0, 0x0a, 0x58, 0x9a, 0xf8, 0xae, 0xd6, 0x18, 0x28, 0xd7, 0x2a, 0x91, 0x11, - 0xfe, 0x14, 0x9a, 0xdc, 0x8d, 0x62, 0xa6, 0x35, 0x05, 0x9c, 0x07, 0x19, 0x9b, 0x47, 0xfb, 0xc4, - 0x65, 0x5a, 0x4b, 0xb4, 0x91, 0x11, 0x1e, 0x43, 0xeb, 0x91, 0x06, 0xfe, 0xee, 0x59, 0x3b, 0x19, - 0x28, 0xd7, 0xbd, 0xe9, 0x45, 0xb9, 0x22, 0xdd, 0xf3, 0x12, 0xc6, 0xf9, 0x52, 0x64, 0x89, 0x64, - 0xe1, 0x29, 0xb4, 0x85, 0x03, 0x6e, 0xb4, 0xd3, 0xda, 0x1f, 0x54, 0x88, 0x15, 0xdb, 0x32, 0x4b, - 0x4a, 0x5e, 0x36, 0xa3, 0xc7, 0x1d, 0xdd, 0x72, 0xad, 0x93, 0xcf, 0x48, 0x04, 0x43, 0x03, 0xf0, - 0xaa, 0xd8, 0x88, 0x83, 0x8d, 0x93, 0x17, 0x36, 0x9e, 0x97, 0xfd, 0x2b, 0xf4, 0x83, 0x95, 0x21, - 0xc0, 0x01, 0xff, 0x48, 0x3b, 0xa7, 0x00, 0xa5, 0x17, 0x85, 0xa5, 0xf8, 0xa5, 0x1c, 0xa9, 0xb0, - 0x86, 0xff, 0x28, 0xd0, 0x29, 0x33, 0xd9, 0xd2, 0xfc, 0xd0, 0x63, 0xbf, 0x0b, 0x31, 0x95, 0xe4, - 0x01, 0x46, 0x50, 0x0f, 0xd2, 0xbd, 0xb0, 0x53, 0x25, 0xd9, 0x10, 0x63, 0x68, 0x84, 0x34, 0x60, - 0xd2, 0x43, 0x31, 0xc6, 0x43, 0x38, 0x7d, 0x4f, 0x13, 0xef, 0x89, 0x26, 0x8c, 0x7a, 0x5e, 0x22, - 0x6c, 0xec, 0x90, 0x23, 0x0c, 0xbf, 0x2e, 0xb6, 0xae, 0x29, 0xf6, 0xfa, 0xf2, 0xe5, 0xe4, 0x96, - 0x59, 0x5a, 0xee, 0xa9, 0x38, 0x6d, 0x31, 0xcd, 0x8d, 0xd3, 0x5a, 0x83, 0xba, 0x38, 0x6d, 0x05, - 0x30, 0xfa, 0x01, 0xd4, 0x23, 0x53, 0xb1, 0x0a, 0x1d, 0x7d, 0x79, 0x7f, 0x67, 0xde, 0xda, 0xc6, - 0x1c, 0x7d, 0x82, 0xbb, 0x70, 0xa2, 0x2f, 0xef, 0x57, 0xa6, 0xe1, 0xa0, 0x1a, 0x6e, 0x43, 0x63, - 0x65, 0xff, 0xf8, 0x0d, 0xaa, 0xe1, 0x53, 0x68, 0x4b, 0xf8, 0x0d, 0x02, 0x89, 0xbf, 0x41, 0x70, - 0x55, 0x43, 0xca, 0xe8, 0xef, 0x1a, 0xa8, 0x47, 0xb6, 0xe3, 0x33, 0x50, 0x89, 0x63, 0x13, 0xcb, - 0x39, 0xf4, 0x3d, 0x87, 0xbe, 0x84, 0x88, 0xb1, 0x58, 0x11, 0x63, 0xee, 0x20, 0xa5, 0xc2, 0x5b, - 0x1b, 0xc4, 0x34, 0x36, 0xa8, 0x86, 0xfb, 0xd0, 0x95, 0xd0, 0xcc, 0xb2, 0x1c, 0x54, 0xaf, 0x70, - 0x6e, 0x1d, 0xdd, 0x59, 0xcd, 0x51, 0x03, 0x23, 0x38, 0x95, 0xd0, 0x5b, 0xdd, 0x31, 0x16, 0xa8, - 0x9d, 0x2d, 0xa2, 0xe8, 0xae, 0xa3, 0x0e, 0xee, 0x01, 0xc8, 0xf0, 0x86, 0x38, 0x08, 0x2a, 0x05, - 0xef, 0x8c, 0x19, 0xd1, 0x51, 0xb7, 0x2a, 0xb3, 0x22, 0x0b, 0x74, 0x5a, 0x99, 0xdf, 0xc2, 0x24, - 0xd6, 0x5d, 0xd6, 0x56, 0xad, 0xb0, 0x7e, 0xb6, 0x88, 0x8d, 0x7a, 0x95, 0xc6, 0xa6, 0xb3, 0x46, - 0xfd, 0x0a, 0x61, 0xf1, 0xfd, 0xdc, 0x46, 0x08, 0x63, 0xe8, 0x95, 0xca, 0x79, 0x97, 0xb3, 0x8a, - 0xfa, 0x4c, 0x9f, 0x19, 0x1b, 0x34, 0x1a, 0xfd, 0xa1, 0x40, 0xef, 0xd8, 0xbc, 0x8c, 0xb4, 0xdc, - 0xe8, 0x6f, 0xef, 0xef, 0xcc, 0xb5, 0x69, 0xfd, 0x64, 0xe6, 0x4e, 0xe4, 0x88, 0x8d, 0x94, 0xac, - 0xaf, 0x08, 0x66, 0xc4, 0xd2, 0x17, 0x73, 0xfd, 0x36, 0x73, 0xe7, 0x0c, 0x54, 0x81, 0x6d, 0x2c, - 0xcb, 0x9e, 0xe9, 0xf3, 0x35, 0xaa, 0xe3, 0x4b, 0x38, 0x17, 0x90, 0x6d, 0xad, 0x4c, 0xe7, 0xde, - 0xb1, 0xf2, 0x01, 0x6a, 0x94, 0xf5, 0x37, 0x77, 0x1b, 0x67, 0x25, 0xea, 0x9b, 0xd3, 0x3f, 0x15, - 0xe8, 0x99, 0xf9, 0x51, 0xba, 0x65, 0xc9, 0x6f, 0xbe, 0xcb, 0xf0, 0xb7, 0xe5, 0x9b, 0x78, 0x31, - 0xce, 0xdf, 0xe3, 0x71, 0xf1, 0x1e, 0x8f, 0x8d, 0xec, 0x3d, 0xbe, 0xba, 0xfc, 0xf0, 0x41, 0x2d, - 0x2e, 0xad, 0x7e, 0x74, 0x07, 0xff, 0xaf, 0xfc, 0xd5, 0x7f, 0x5d, 0x64, 0xd9, 0x62, 0xb6, 0x86, - 0xbe, 0x1b, 0x05, 0x25, 0x83, 0xc6, 0xfe, 0x0c, 0xe4, 0x04, 0xf5, 0xd8, 0xb7, 0x95, 0x77, 0xa3, - 0xad, 0x9f, 0xbe, 0xdf, 0x3f, 0x64, 0xb7, 0x79, 0x92, 0xd2, 0x5d, 0xc4, 0x5f, 0xf3, 0x67, 0x9e, - 0xb2, 0x80, 0xe7, 0xd1, 0x84, 0xc6, 0x7e, 0xf1, 0x7b, 0x79, 0x68, 0x09, 0xe5, 0xaf, 0xff, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0x06, 0x63, 0x99, 0xc9, 0x78, 0x06, 0x00, 0x00, +func file_network_network_proto_rawDescGZIP() []byte { + file_network_network_proto_rawDescOnce.Do(func() { + file_network_network_proto_rawDescData = protoimpl.X.CompressGZIP(file_network_network_proto_rawDescData) + }) + return file_network_network_proto_rawDescData +} + +var ( + file_network_network_proto_enumTypes = make([]protoimpl.EnumInfo, 3) + file_network_network_proto_msgTypes = make([]protoimpl.MessageInfo, 6) + file_network_network_proto_goTypes = []interface{}{ + (AddressFamily)(0), // 0: network.AddressFamily + (RouteProtocol)(0), // 1: network.RouteProtocol + (InterfaceFlags)(0), // 2: network.InterfaceFlags + (*RoutesResponse)(nil), // 3: network.RoutesResponse + (*Routes)(nil), // 4: network.Routes + (*Route)(nil), // 5: network.Route + (*InterfacesResponse)(nil), // 6: network.InterfacesResponse + (*Interfaces)(nil), // 7: network.Interfaces + (*Interface)(nil), // 8: network.Interface + (*common.Metadata)(nil), // 9: common.Metadata + (*empty.Empty)(nil), // 10: google.protobuf.Empty + } +) + +var file_network_network_proto_depIdxs = []int32{ + 4, // 0: network.RoutesResponse.messages:type_name -> network.Routes + 9, // 1: network.Routes.metadata:type_name -> common.Metadata + 5, // 2: network.Routes.routes:type_name -> network.Route + 0, // 3: network.Route.family:type_name -> network.AddressFamily + 1, // 4: network.Route.protocol:type_name -> network.RouteProtocol + 7, // 5: network.InterfacesResponse.messages:type_name -> network.Interfaces + 9, // 6: network.Interfaces.metadata:type_name -> common.Metadata + 8, // 7: network.Interfaces.interfaces:type_name -> network.Interface + 2, // 8: network.Interface.flags:type_name -> network.InterfaceFlags + 10, // 9: network.NetworkService.Routes:input_type -> google.protobuf.Empty + 10, // 10: network.NetworkService.Interfaces:input_type -> google.protobuf.Empty + 3, // 11: network.NetworkService.Routes:output_type -> network.RoutesResponse + 6, // 12: network.NetworkService.Interfaces:output_type -> network.InterfacesResponse + 11, // [11:13] is the sub-list for method output_type + 9, // [9:11] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_network_network_proto_init() } +func file_network_network_proto_init() { + if File_network_network_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_network_network_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RoutesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_network_network_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Routes); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_network_network_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Route); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_network_network_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InterfacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_network_network_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Interfaces); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_network_network_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Interface); 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_network_network_proto_rawDesc, + NumEnums: 3, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_network_network_proto_goTypes, + DependencyIndexes: file_network_network_proto_depIdxs, + EnumInfos: file_network_network_proto_enumTypes, + MessageInfos: file_network_network_proto_msgTypes, + }.Build() + File_network_network_proto = out.File + file_network_network_proto_rawDesc = nil + file_network_network_proto_goTypes = nil + file_network_network_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var ( _ context.Context - _ grpc.ClientConn + _ 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 // NetworkServiceClient is the client API for NetworkService service. // @@ -645,10 +927,10 @@ type NetworkServiceClient interface { } type networkServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewNetworkServiceClient(cc *grpc.ClientConn) NetworkServiceClient { +func NewNetworkServiceClient(cc grpc.ClientConnInterface) NetworkServiceClient { return &networkServiceClient{cc} } @@ -676,6 +958,18 @@ type NetworkServiceServer interface { Interfaces(context.Context, *empty.Empty) (*InterfacesResponse, error) } +// UnimplementedNetworkServiceServer can be embedded to have forward compatible implementations. +type UnimplementedNetworkServiceServer struct { +} + +func (*UnimplementedNetworkServiceServer) Routes(context.Context, *empty.Empty) (*RoutesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Routes not implemented") +} + +func (*UnimplementedNetworkServiceServer) Interfaces(context.Context, *empty.Empty) (*InterfacesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Interfaces not implemented") +} + func RegisterNetworkServiceServer(s *grpc.Server, srv NetworkServiceServer) { s.RegisterService(&_NetworkService_serviceDesc, srv) } diff --git a/api/os/os.pb.go b/api/os/os.pb.go index c3ad81cb9..151142759 100644 --- a/api/os/os.pb.go +++ b/api/os/os.pb.go @@ -1,565 +1,605 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: os/os.proto package os import ( context "context" - fmt "fmt" - math "math" + reflect "reflect" + sync "sync" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" common "github.com/talos-systems/talos/api/common" ) -// Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = 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 ContainersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // driver might be default "containerd" or "cri" - Driver common.ContainerDriver `protobuf:"varint,2,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Driver common.ContainerDriver `protobuf:"varint,2,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` } -func (m *ContainersRequest) Reset() { *m = ContainersRequest{} } -func (m *ContainersRequest) String() string { return proto.CompactTextString(m) } -func (*ContainersRequest) ProtoMessage() {} +func (x *ContainersRequest) Reset() { + *x = ContainersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainersRequest) ProtoMessage() {} + +func (x *ContainersRequest) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContainersRequest.ProtoReflect.Descriptor instead. func (*ContainersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{0} + return file_os_os_proto_rawDescGZIP(), []int{0} } -func (m *ContainersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContainersRequest.Unmarshal(m, b) -} - -func (m *ContainersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContainersRequest.Marshal(b, m, deterministic) -} - -func (m *ContainersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainersRequest.Merge(m, src) -} - -func (m *ContainersRequest) XXX_Size() int { - return xxx_messageInfo_ContainersRequest.Size(m) -} - -func (m *ContainersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ContainersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ContainersRequest proto.InternalMessageInfo - -func (m *ContainersRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *ContainersRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *ContainersRequest) GetDriver() common.ContainerDriver { - if m != nil { - return m.Driver +func (x *ContainersRequest) GetDriver() common.ContainerDriver { + if x != nil { + return x.Driver } return common.ContainerDriver_CONTAINERD } // The messages message containing the requested containers. type ContainerInfo struct { - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` - Pid uint32 `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"` - Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` - PodId string `protobuf:"bytes,6,opt,name=pod_id,json=podId,proto3" json:"pod_id,omitempty"` - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` + Pid uint32 `protobuf:"varint,4,opt,name=pid,proto3" json:"pid,omitempty"` + Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` + PodId string `protobuf:"bytes,6,opt,name=pod_id,json=podId,proto3" json:"pod_id,omitempty"` + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` } -func (m *ContainerInfo) Reset() { *m = ContainerInfo{} } -func (m *ContainerInfo) String() string { return proto.CompactTextString(m) } -func (*ContainerInfo) ProtoMessage() {} +func (x *ContainerInfo) Reset() { + *x = ContainerInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainerInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainerInfo) ProtoMessage() {} + +func (x *ContainerInfo) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContainerInfo.ProtoReflect.Descriptor instead. func (*ContainerInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{1} + return file_os_os_proto_rawDescGZIP(), []int{1} } -func (m *ContainerInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContainerInfo.Unmarshal(m, b) -} - -func (m *ContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContainerInfo.Marshal(b, m, deterministic) -} - -func (m *ContainerInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainerInfo.Merge(m, src) -} - -func (m *ContainerInfo) XXX_Size() int { - return xxx_messageInfo_ContainerInfo.Size(m) -} - -func (m *ContainerInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ContainerInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ContainerInfo proto.InternalMessageInfo - -func (m *ContainerInfo) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *ContainerInfo) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *ContainerInfo) GetId() string { - if m != nil { - return m.Id +func (x *ContainerInfo) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *ContainerInfo) GetImage() string { - if m != nil { - return m.Image +func (x *ContainerInfo) GetImage() string { + if x != nil { + return x.Image } return "" } -func (m *ContainerInfo) GetPid() uint32 { - if m != nil { - return m.Pid +func (x *ContainerInfo) GetPid() uint32 { + if x != nil { + return x.Pid } return 0 } -func (m *ContainerInfo) GetStatus() string { - if m != nil { - return m.Status +func (x *ContainerInfo) GetStatus() string { + if x != nil { + return x.Status } return "" } -func (m *ContainerInfo) GetPodId() string { - if m != nil { - return m.PodId +func (x *ContainerInfo) GetPodId() string { + if x != nil { + return x.PodId } return "" } -func (m *ContainerInfo) GetName() string { - if m != nil { - return m.Name +func (x *ContainerInfo) GetName() string { + if x != nil { + return x.Name } return "" } // The messages message containing the requested containers. type Container struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Containers []*ContainerInfo `protobuf:"bytes,2,rep,name=containers,proto3" json:"containers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Containers []*ContainerInfo `protobuf:"bytes,2,rep,name=containers,proto3" json:"containers,omitempty"` } -func (m *Container) Reset() { *m = Container{} } -func (m *Container) String() string { return proto.CompactTextString(m) } -func (*Container) ProtoMessage() {} +func (x *Container) Reset() { + *x = Container{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Container) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Container) ProtoMessage() {} + +func (x *Container) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Container.ProtoReflect.Descriptor instead. func (*Container) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{2} + return file_os_os_proto_rawDescGZIP(), []int{2} } -func (m *Container) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Container.Unmarshal(m, b) -} - -func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Container.Marshal(b, m, deterministic) -} - -func (m *Container) XXX_Merge(src proto.Message) { - xxx_messageInfo_Container.Merge(m, src) -} - -func (m *Container) XXX_Size() int { - return xxx_messageInfo_Container.Size(m) -} - -func (m *Container) XXX_DiscardUnknown() { - xxx_messageInfo_Container.DiscardUnknown(m) -} - -var xxx_messageInfo_Container proto.InternalMessageInfo - -func (m *Container) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Container) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Container) GetContainers() []*ContainerInfo { - if m != nil { - return m.Containers +func (x *Container) GetContainers() []*ContainerInfo { + if x != nil { + return x.Containers } return nil } type ContainersResponse struct { - Messages []*Container `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Container `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *ContainersResponse) Reset() { *m = ContainersResponse{} } -func (m *ContainersResponse) String() string { return proto.CompactTextString(m) } -func (*ContainersResponse) ProtoMessage() {} +func (x *ContainersResponse) Reset() { + *x = ContainersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ContainersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ContainersResponse) ProtoMessage() {} + +func (x *ContainersResponse) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ContainersResponse.ProtoReflect.Descriptor instead. func (*ContainersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{3} + return file_os_os_proto_rawDescGZIP(), []int{3} } -func (m *ContainersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ContainersResponse.Unmarshal(m, b) -} - -func (m *ContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ContainersResponse.Marshal(b, m, deterministic) -} - -func (m *ContainersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ContainersResponse.Merge(m, src) -} - -func (m *ContainersResponse) XXX_Size() int { - return xxx_messageInfo_ContainersResponse.Size(m) -} - -func (m *ContainersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ContainersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ContainersResponse proto.InternalMessageInfo - -func (m *ContainersResponse) GetMessages() []*Container { - if m != nil { - return m.Messages +func (x *ContainersResponse) GetMessages() []*Container { + if x != nil { + return x.Messages } return nil } // dmesg type DmesgRequest struct { - Follow bool `protobuf:"varint,1,opt,name=follow,proto3" json:"follow,omitempty"` - Tail bool `protobuf:"varint,2,opt,name=tail,proto3" json:"tail,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Follow bool `protobuf:"varint,1,opt,name=follow,proto3" json:"follow,omitempty"` + Tail bool `protobuf:"varint,2,opt,name=tail,proto3" json:"tail,omitempty"` } -func (m *DmesgRequest) Reset() { *m = DmesgRequest{} } -func (m *DmesgRequest) String() string { return proto.CompactTextString(m) } -func (*DmesgRequest) ProtoMessage() {} +func (x *DmesgRequest) Reset() { + *x = DmesgRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DmesgRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DmesgRequest) ProtoMessage() {} + +func (x *DmesgRequest) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DmesgRequest.ProtoReflect.Descriptor instead. func (*DmesgRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{4} + return file_os_os_proto_rawDescGZIP(), []int{4} } -func (m *DmesgRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DmesgRequest.Unmarshal(m, b) -} - -func (m *DmesgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DmesgRequest.Marshal(b, m, deterministic) -} - -func (m *DmesgRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DmesgRequest.Merge(m, src) -} - -func (m *DmesgRequest) XXX_Size() int { - return xxx_messageInfo_DmesgRequest.Size(m) -} - -func (m *DmesgRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DmesgRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DmesgRequest proto.InternalMessageInfo - -func (m *DmesgRequest) GetFollow() bool { - if m != nil { - return m.Follow +func (x *DmesgRequest) GetFollow() bool { + if x != nil { + return x.Follow } return false } -func (m *DmesgRequest) GetTail() bool { - if m != nil { - return m.Tail +func (x *DmesgRequest) GetTail() bool { + if x != nil { + return x.Tail } return false } // rpc processes type ProcessesRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ProcessesRequest) Reset() { *m = ProcessesRequest{} } -func (m *ProcessesRequest) String() string { return proto.CompactTextString(m) } -func (*ProcessesRequest) ProtoMessage() {} +func (x *ProcessesRequest) Reset() { + *x = ProcessesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProcessesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProcessesRequest) ProtoMessage() {} + +func (x *ProcessesRequest) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProcessesRequest.ProtoReflect.Descriptor instead. func (*ProcessesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{5} + return file_os_os_proto_rawDescGZIP(), []int{5} } -func (m *ProcessesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProcessesRequest.Unmarshal(m, b) -} - -func (m *ProcessesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProcessesRequest.Marshal(b, m, deterministic) -} - -func (m *ProcessesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessesRequest.Merge(m, src) -} - -func (m *ProcessesRequest) XXX_Size() int { - return xxx_messageInfo_ProcessesRequest.Size(m) -} - -func (m *ProcessesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ProcessesRequest proto.InternalMessageInfo - type ProcessesResponse struct { - Messages []*Process `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Process `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *ProcessesResponse) Reset() { *m = ProcessesResponse{} } -func (m *ProcessesResponse) String() string { return proto.CompactTextString(m) } -func (*ProcessesResponse) ProtoMessage() {} +func (x *ProcessesResponse) Reset() { + *x = ProcessesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProcessesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProcessesResponse) ProtoMessage() {} + +func (x *ProcessesResponse) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProcessesResponse.ProtoReflect.Descriptor instead. func (*ProcessesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{6} + return file_os_os_proto_rawDescGZIP(), []int{6} } -func (m *ProcessesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProcessesResponse.Unmarshal(m, b) -} - -func (m *ProcessesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProcessesResponse.Marshal(b, m, deterministic) -} - -func (m *ProcessesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessesResponse.Merge(m, src) -} - -func (m *ProcessesResponse) XXX_Size() int { - return xxx_messageInfo_ProcessesResponse.Size(m) -} - -func (m *ProcessesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ProcessesResponse proto.InternalMessageInfo - -func (m *ProcessesResponse) GetMessages() []*Process { - if m != nil { - return m.Messages +func (x *ProcessesResponse) GetMessages() []*Process { + if x != nil { + return x.Messages } return nil } type Process struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Processes []*ProcessInfo `protobuf:"bytes,2,rep,name=processes,proto3" json:"processes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Processes []*ProcessInfo `protobuf:"bytes,2,rep,name=processes,proto3" json:"processes,omitempty"` } -func (m *Process) Reset() { *m = Process{} } -func (m *Process) String() string { return proto.CompactTextString(m) } -func (*Process) ProtoMessage() {} +func (x *Process) Reset() { + *x = Process{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Process) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Process) ProtoMessage() {} + +func (x *Process) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Process.ProtoReflect.Descriptor instead. func (*Process) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{7} + return file_os_os_proto_rawDescGZIP(), []int{7} } -func (m *Process) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Process.Unmarshal(m, b) -} - -func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Process.Marshal(b, m, deterministic) -} - -func (m *Process) XXX_Merge(src proto.Message) { - xxx_messageInfo_Process.Merge(m, src) -} - -func (m *Process) XXX_Size() int { - return xxx_messageInfo_Process.Size(m) -} - -func (m *Process) XXX_DiscardUnknown() { - xxx_messageInfo_Process.DiscardUnknown(m) -} - -var xxx_messageInfo_Process proto.InternalMessageInfo - -func (m *Process) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Process) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Process) GetProcesses() []*ProcessInfo { - if m != nil { - return m.Processes +func (x *Process) GetProcesses() []*ProcessInfo { + if x != nil { + return x.Processes } return nil } type ProcessInfo struct { - Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` - Ppid int32 `protobuf:"varint,2,opt,name=ppid,proto3" json:"ppid,omitempty"` - State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` - Threads int32 `protobuf:"varint,4,opt,name=threads,proto3" json:"threads,omitempty"` - CpuTime float64 `protobuf:"fixed64,5,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"` - VirtualMemory uint64 `protobuf:"varint,6,opt,name=virtual_memory,json=virtualMemory,proto3" json:"virtual_memory,omitempty"` - ResidentMemory uint64 `protobuf:"varint,7,opt,name=resident_memory,json=residentMemory,proto3" json:"resident_memory,omitempty"` - Command string `protobuf:"bytes,8,opt,name=command,proto3" json:"command,omitempty"` - Executable string `protobuf:"bytes,9,opt,name=executable,proto3" json:"executable,omitempty"` - Args string `protobuf:"bytes,10,opt,name=args,proto3" json:"args,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` + Ppid int32 `protobuf:"varint,2,opt,name=ppid,proto3" json:"ppid,omitempty"` + State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` + Threads int32 `protobuf:"varint,4,opt,name=threads,proto3" json:"threads,omitempty"` + CpuTime float64 `protobuf:"fixed64,5,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"` + VirtualMemory uint64 `protobuf:"varint,6,opt,name=virtual_memory,json=virtualMemory,proto3" json:"virtual_memory,omitempty"` + ResidentMemory uint64 `protobuf:"varint,7,opt,name=resident_memory,json=residentMemory,proto3" json:"resident_memory,omitempty"` + Command string `protobuf:"bytes,8,opt,name=command,proto3" json:"command,omitempty"` + Executable string `protobuf:"bytes,9,opt,name=executable,proto3" json:"executable,omitempty"` + Args string `protobuf:"bytes,10,opt,name=args,proto3" json:"args,omitempty"` } -func (m *ProcessInfo) Reset() { *m = ProcessInfo{} } -func (m *ProcessInfo) String() string { return proto.CompactTextString(m) } -func (*ProcessInfo) ProtoMessage() {} +func (x *ProcessInfo) Reset() { + *x = ProcessInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProcessInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProcessInfo) ProtoMessage() {} + +func (x *ProcessInfo) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead. func (*ProcessInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{8} + return file_os_os_proto_rawDescGZIP(), []int{8} } -func (m *ProcessInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ProcessInfo.Unmarshal(m, b) -} - -func (m *ProcessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ProcessInfo.Marshal(b, m, deterministic) -} - -func (m *ProcessInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessInfo.Merge(m, src) -} - -func (m *ProcessInfo) XXX_Size() int { - return xxx_messageInfo_ProcessInfo.Size(m) -} - -func (m *ProcessInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ProcessInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ProcessInfo proto.InternalMessageInfo - -func (m *ProcessInfo) GetPid() int32 { - if m != nil { - return m.Pid +func (x *ProcessInfo) GetPid() int32 { + if x != nil { + return x.Pid } return 0 } -func (m *ProcessInfo) GetPpid() int32 { - if m != nil { - return m.Ppid +func (x *ProcessInfo) GetPpid() int32 { + if x != nil { + return x.Ppid } return 0 } -func (m *ProcessInfo) GetState() string { - if m != nil { - return m.State +func (x *ProcessInfo) GetState() string { + if x != nil { + return x.State } return "" } -func (m *ProcessInfo) GetThreads() int32 { - if m != nil { - return m.Threads +func (x *ProcessInfo) GetThreads() int32 { + if x != nil { + return x.Threads } return 0 } -func (m *ProcessInfo) GetCpuTime() float64 { - if m != nil { - return m.CpuTime +func (x *ProcessInfo) GetCpuTime() float64 { + if x != nil { + return x.CpuTime } return 0 } -func (m *ProcessInfo) GetVirtualMemory() uint64 { - if m != nil { - return m.VirtualMemory +func (x *ProcessInfo) GetVirtualMemory() uint64 { + if x != nil { + return x.VirtualMemory } return 0 } -func (m *ProcessInfo) GetResidentMemory() uint64 { - if m != nil { - return m.ResidentMemory +func (x *ProcessInfo) GetResidentMemory() uint64 { + if x != nil { + return x.ResidentMemory } return 0 } -func (m *ProcessInfo) GetCommand() string { - if m != nil { - return m.Command +func (x *ProcessInfo) GetCommand() string { + if x != nil { + return x.Command } return "" } -func (m *ProcessInfo) GetExecutable() string { - if m != nil { - return m.Executable +func (x *ProcessInfo) GetExecutable() string { + if x != nil { + return x.Executable } return "" } -func (m *ProcessInfo) GetArgs() string { - if m != nil { - return m.Args +func (x *ProcessInfo) GetArgs() string { + if x != nil { + return x.Args } return "" } @@ -567,1024 +607,1521 @@ func (m *ProcessInfo) GetArgs() string { // rpc restart // The request message containing the process to restart. type RestartRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // driver might be default "containerd" or "cri" - Driver common.ContainerDriver `protobuf:"varint,3,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Driver common.ContainerDriver `protobuf:"varint,3,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` } -func (m *RestartRequest) Reset() { *m = RestartRequest{} } -func (m *RestartRequest) String() string { return proto.CompactTextString(m) } -func (*RestartRequest) ProtoMessage() {} +func (x *RestartRequest) Reset() { + *x = RestartRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestartRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestartRequest) ProtoMessage() {} + +func (x *RestartRequest) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestartRequest.ProtoReflect.Descriptor instead. func (*RestartRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{9} + return file_os_os_proto_rawDescGZIP(), []int{9} } -func (m *RestartRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestartRequest.Unmarshal(m, b) -} - -func (m *RestartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestartRequest.Marshal(b, m, deterministic) -} - -func (m *RestartRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestartRequest.Merge(m, src) -} - -func (m *RestartRequest) XXX_Size() int { - return xxx_messageInfo_RestartRequest.Size(m) -} - -func (m *RestartRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RestartRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RestartRequest proto.InternalMessageInfo - -func (m *RestartRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *RestartRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *RestartRequest) GetId() string { - if m != nil { - return m.Id +func (x *RestartRequest) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *RestartRequest) GetDriver() common.ContainerDriver { - if m != nil { - return m.Driver +func (x *RestartRequest) GetDriver() common.ContainerDriver { + if x != nil { + return x.Driver } return common.ContainerDriver_CONTAINERD } type Restart struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` } -func (m *Restart) Reset() { *m = Restart{} } -func (m *Restart) String() string { return proto.CompactTextString(m) } -func (*Restart) ProtoMessage() {} +func (x *Restart) Reset() { + *x = Restart{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Restart) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Restart) ProtoMessage() {} + +func (x *Restart) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Restart.ProtoReflect.Descriptor instead. func (*Restart) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{10} + return file_os_os_proto_rawDescGZIP(), []int{10} } -func (m *Restart) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Restart.Unmarshal(m, b) -} - -func (m *Restart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Restart.Marshal(b, m, deterministic) -} - -func (m *Restart) XXX_Merge(src proto.Message) { - xxx_messageInfo_Restart.Merge(m, src) -} - -func (m *Restart) XXX_Size() int { - return xxx_messageInfo_Restart.Size(m) -} - -func (m *Restart) XXX_DiscardUnknown() { - xxx_messageInfo_Restart.DiscardUnknown(m) -} - -var xxx_messageInfo_Restart proto.InternalMessageInfo - -func (m *Restart) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Restart) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } // The messages message containing the restart status. type RestartResponse struct { - Messages []*Restart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Restart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *RestartResponse) Reset() { *m = RestartResponse{} } -func (m *RestartResponse) String() string { return proto.CompactTextString(m) } -func (*RestartResponse) ProtoMessage() {} +func (x *RestartResponse) Reset() { + *x = RestartResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestartResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestartResponse) ProtoMessage() {} + +func (x *RestartResponse) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestartResponse.ProtoReflect.Descriptor instead. func (*RestartResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{11} + return file_os_os_proto_rawDescGZIP(), []int{11} } -func (m *RestartResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestartResponse.Unmarshal(m, b) -} - -func (m *RestartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestartResponse.Marshal(b, m, deterministic) -} - -func (m *RestartResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestartResponse.Merge(m, src) -} - -func (m *RestartResponse) XXX_Size() int { - return xxx_messageInfo_RestartResponse.Size(m) -} - -func (m *RestartResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RestartResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RestartResponse proto.InternalMessageInfo - -func (m *RestartResponse) GetMessages() []*Restart { - if m != nil { - return m.Messages +func (x *RestartResponse) GetMessages() []*Restart { + if x != nil { + return x.Messages } return nil } // The request message containing the containerd namespace. type StatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // driver might be default "containerd" or "cri" - Driver common.ContainerDriver `protobuf:"varint,2,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Driver common.ContainerDriver `protobuf:"varint,2,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"` } -func (m *StatsRequest) Reset() { *m = StatsRequest{} } -func (m *StatsRequest) String() string { return proto.CompactTextString(m) } -func (*StatsRequest) ProtoMessage() {} +func (x *StatsRequest) Reset() { + *x = StatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatsRequest) ProtoMessage() {} + +func (x *StatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead. func (*StatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{12} + return file_os_os_proto_rawDescGZIP(), []int{12} } -func (m *StatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatsRequest.Unmarshal(m, b) -} - -func (m *StatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatsRequest.Marshal(b, m, deterministic) -} - -func (m *StatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatsRequest.Merge(m, src) -} - -func (m *StatsRequest) XXX_Size() int { - return xxx_messageInfo_StatsRequest.Size(m) -} - -func (m *StatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StatsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StatsRequest proto.InternalMessageInfo - -func (m *StatsRequest) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *StatsRequest) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *StatsRequest) GetDriver() common.ContainerDriver { - if m != nil { - return m.Driver +func (x *StatsRequest) GetDriver() common.ContainerDriver { + if x != nil { + return x.Driver } return common.ContainerDriver_CONTAINERD } // The messages message containing the requested stats. type Stats struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Stats []*Stat `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Stats []*Stat `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"` } -func (m *Stats) Reset() { *m = Stats{} } -func (m *Stats) String() string { return proto.CompactTextString(m) } -func (*Stats) ProtoMessage() {} +func (x *Stats) Reset() { + *x = Stats{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Stats) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Stats) ProtoMessage() {} + +func (x *Stats) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Stats.ProtoReflect.Descriptor instead. func (*Stats) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{13} + return file_os_os_proto_rawDescGZIP(), []int{13} } -func (m *Stats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Stats.Unmarshal(m, b) -} - -func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Stats.Marshal(b, m, deterministic) -} - -func (m *Stats) XXX_Merge(src proto.Message) { - xxx_messageInfo_Stats.Merge(m, src) -} - -func (m *Stats) XXX_Size() int { - return xxx_messageInfo_Stats.Size(m) -} - -func (m *Stats) XXX_DiscardUnknown() { - xxx_messageInfo_Stats.DiscardUnknown(m) -} - -var xxx_messageInfo_Stats proto.InternalMessageInfo - -func (m *Stats) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Stats) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Stats) GetStats() []*Stat { - if m != nil { - return m.Stats +func (x *Stats) GetStats() []*Stat { + if x != nil { + return x.Stats } return nil } type StatsResponse struct { - Messages []*Stats `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Stats `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *StatsResponse) Reset() { *m = StatsResponse{} } -func (m *StatsResponse) String() string { return proto.CompactTextString(m) } -func (*StatsResponse) ProtoMessage() {} +func (x *StatsResponse) Reset() { + *x = StatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatsResponse) ProtoMessage() {} + +func (x *StatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead. func (*StatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{14} + return file_os_os_proto_rawDescGZIP(), []int{14} } -func (m *StatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatsResponse.Unmarshal(m, b) -} - -func (m *StatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatsResponse.Marshal(b, m, deterministic) -} - -func (m *StatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatsResponse.Merge(m, src) -} - -func (m *StatsResponse) XXX_Size() int { - return xxx_messageInfo_StatsResponse.Size(m) -} - -func (m *StatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StatsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StatsResponse proto.InternalMessageInfo - -func (m *StatsResponse) GetMessages() []*Stats { - if m != nil { - return m.Messages +func (x *StatsResponse) GetMessages() []*Stats { + if x != nil { + return x.Messages } return nil } // The messages message containing the requested stat. type Stat struct { - Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - MemoryUsage uint64 `protobuf:"varint,4,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` - CpuUsage uint64 `protobuf:"varint,5,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"` - PodId string `protobuf:"bytes,6,opt,name=pod_id,json=podId,proto3" json:"pod_id,omitempty"` - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + MemoryUsage uint64 `protobuf:"varint,4,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` + CpuUsage uint64 `protobuf:"varint,5,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"` + PodId string `protobuf:"bytes,6,opt,name=pod_id,json=podId,proto3" json:"pod_id,omitempty"` + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` } -func (m *Stat) Reset() { *m = Stat{} } -func (m *Stat) String() string { return proto.CompactTextString(m) } -func (*Stat) ProtoMessage() {} +func (x *Stat) Reset() { + *x = Stat{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Stat) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Stat) ProtoMessage() {} + +func (x *Stat) ProtoReflect() protoreflect.Message { + mi := &file_os_os_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Stat.ProtoReflect.Descriptor instead. func (*Stat) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{15} + return file_os_os_proto_rawDescGZIP(), []int{15} } -func (m *Stat) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Stat.Unmarshal(m, b) -} - -func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Stat.Marshal(b, m, deterministic) -} - -func (m *Stat) XXX_Merge(src proto.Message) { - xxx_messageInfo_Stat.Merge(m, src) -} - -func (m *Stat) XXX_Size() int { - return xxx_messageInfo_Stat.Size(m) -} - -func (m *Stat) XXX_DiscardUnknown() { - xxx_messageInfo_Stat.DiscardUnknown(m) -} - -var xxx_messageInfo_Stat proto.InternalMessageInfo - -func (m *Stat) GetNamespace() string { - if m != nil { - return m.Namespace +func (x *Stat) GetNamespace() string { + if x != nil { + return x.Namespace } return "" } -func (m *Stat) GetId() string { - if m != nil { - return m.Id +func (x *Stat) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Stat) GetMemoryUsage() uint64 { - if m != nil { - return m.MemoryUsage +func (x *Stat) GetMemoryUsage() uint64 { + if x != nil { + return x.MemoryUsage } return 0 } -func (m *Stat) GetCpuUsage() uint64 { - if m != nil { - return m.CpuUsage +func (x *Stat) GetCpuUsage() uint64 { + if x != nil { + return x.CpuUsage } return 0 } -func (m *Stat) GetPodId() string { - if m != nil { - return m.PodId +func (x *Stat) GetPodId() string { + if x != nil { + return x.PodId } return "" } -func (m *Stat) GetName() string { - if m != nil { - return m.Name +func (x *Stat) GetName() string { + if x != nil { + return x.Name } return "" } type Memory struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Meminfo *MemInfo `protobuf:"bytes,2,opt,name=meminfo,proto3" json:"meminfo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Meminfo *MemInfo `protobuf:"bytes,2,opt,name=meminfo,proto3" json:"meminfo,omitempty"` } -func (m *Memory) Reset() { *m = Memory{} } -func (m *Memory) String() string { return proto.CompactTextString(m) } -func (*Memory) ProtoMessage() {} +func (x *Memory) Reset() { + *x = Memory{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Memory) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Memory) ProtoMessage() {} + +func (x *Memory) ProtoReflect() protoreflect.Message { + mi := &file_os_os_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 Memory.ProtoReflect.Descriptor instead. func (*Memory) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{16} + return file_os_os_proto_rawDescGZIP(), []int{16} } -func (m *Memory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Memory.Unmarshal(m, b) -} - -func (m *Memory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Memory.Marshal(b, m, deterministic) -} - -func (m *Memory) XXX_Merge(src proto.Message) { - xxx_messageInfo_Memory.Merge(m, src) -} - -func (m *Memory) XXX_Size() int { - return xxx_messageInfo_Memory.Size(m) -} - -func (m *Memory) XXX_DiscardUnknown() { - xxx_messageInfo_Memory.DiscardUnknown(m) -} - -var xxx_messageInfo_Memory proto.InternalMessageInfo - -func (m *Memory) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Memory) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Memory) GetMeminfo() *MemInfo { - if m != nil { - return m.Meminfo +func (x *Memory) GetMeminfo() *MemInfo { + if x != nil { + return x.Meminfo } return nil } type MemoryResponse struct { - Messages []*Memory `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Memory `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *MemoryResponse) Reset() { *m = MemoryResponse{} } -func (m *MemoryResponse) String() string { return proto.CompactTextString(m) } -func (*MemoryResponse) ProtoMessage() {} +func (x *MemoryResponse) Reset() { + *x = MemoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MemoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MemoryResponse) ProtoMessage() {} + +func (x *MemoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_os_os_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) +} + +// Deprecated: Use MemoryResponse.ProtoReflect.Descriptor instead. func (*MemoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{17} + return file_os_os_proto_rawDescGZIP(), []int{17} } -func (m *MemoryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MemoryResponse.Unmarshal(m, b) -} - -func (m *MemoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MemoryResponse.Marshal(b, m, deterministic) -} - -func (m *MemoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MemoryResponse.Merge(m, src) -} - -func (m *MemoryResponse) XXX_Size() int { - return xxx_messageInfo_MemoryResponse.Size(m) -} - -func (m *MemoryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MemoryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MemoryResponse proto.InternalMessageInfo - -func (m *MemoryResponse) GetMessages() []*Memory { - if m != nil { - return m.Messages +func (x *MemoryResponse) GetMessages() []*Memory { + if x != nil { + return x.Messages } return nil } type MemInfo struct { - Memtotal uint64 `protobuf:"varint,1,opt,name=memtotal,proto3" json:"memtotal,omitempty"` - Memfree uint64 `protobuf:"varint,2,opt,name=memfree,proto3" json:"memfree,omitempty"` - Memavailable uint64 `protobuf:"varint,3,opt,name=memavailable,proto3" json:"memavailable,omitempty"` - Buffers uint64 `protobuf:"varint,4,opt,name=buffers,proto3" json:"buffers,omitempty"` - Cached uint64 `protobuf:"varint,5,opt,name=cached,proto3" json:"cached,omitempty"` - Swapcached uint64 `protobuf:"varint,6,opt,name=swapcached,proto3" json:"swapcached,omitempty"` - Active uint64 `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"` - Inactive uint64 `protobuf:"varint,8,opt,name=inactive,proto3" json:"inactive,omitempty"` - Activeanon uint64 `protobuf:"varint,9,opt,name=activeanon,proto3" json:"activeanon,omitempty"` - Inactiveanon uint64 `protobuf:"varint,10,opt,name=inactiveanon,proto3" json:"inactiveanon,omitempty"` - Activefile uint64 `protobuf:"varint,11,opt,name=activefile,proto3" json:"activefile,omitempty"` - Inactivefile uint64 `protobuf:"varint,12,opt,name=inactivefile,proto3" json:"inactivefile,omitempty"` - Unevictable uint64 `protobuf:"varint,13,opt,name=unevictable,proto3" json:"unevictable,omitempty"` - Mlocked uint64 `protobuf:"varint,14,opt,name=mlocked,proto3" json:"mlocked,omitempty"` - Swaptotal uint64 `protobuf:"varint,15,opt,name=swaptotal,proto3" json:"swaptotal,omitempty"` - Swapfree uint64 `protobuf:"varint,16,opt,name=swapfree,proto3" json:"swapfree,omitempty"` - Dirty uint64 `protobuf:"varint,17,opt,name=dirty,proto3" json:"dirty,omitempty"` - Writeback uint64 `protobuf:"varint,18,opt,name=writeback,proto3" json:"writeback,omitempty"` - Anonpages uint64 `protobuf:"varint,19,opt,name=anonpages,proto3" json:"anonpages,omitempty"` - Mapped uint64 `protobuf:"varint,20,opt,name=mapped,proto3" json:"mapped,omitempty"` - Shmem uint64 `protobuf:"varint,21,opt,name=shmem,proto3" json:"shmem,omitempty"` - Slab uint64 `protobuf:"varint,22,opt,name=slab,proto3" json:"slab,omitempty"` - Sreclaimable uint64 `protobuf:"varint,23,opt,name=sreclaimable,proto3" json:"sreclaimable,omitempty"` - Sunreclaim uint64 `protobuf:"varint,24,opt,name=sunreclaim,proto3" json:"sunreclaim,omitempty"` - Kernelstack uint64 `protobuf:"varint,25,opt,name=kernelstack,proto3" json:"kernelstack,omitempty"` - Pagetables uint64 `protobuf:"varint,26,opt,name=pagetables,proto3" json:"pagetables,omitempty"` - Nfsunstable uint64 `protobuf:"varint,27,opt,name=nfsunstable,proto3" json:"nfsunstable,omitempty"` - Bounce uint64 `protobuf:"varint,28,opt,name=bounce,proto3" json:"bounce,omitempty"` - Writebacktmp uint64 `protobuf:"varint,29,opt,name=writebacktmp,proto3" json:"writebacktmp,omitempty"` - Commitlimit uint64 `protobuf:"varint,30,opt,name=commitlimit,proto3" json:"commitlimit,omitempty"` - Committedas uint64 `protobuf:"varint,31,opt,name=committedas,proto3" json:"committedas,omitempty"` - Vmalloctotal uint64 `protobuf:"varint,32,opt,name=vmalloctotal,proto3" json:"vmalloctotal,omitempty"` - Vmallocused uint64 `protobuf:"varint,33,opt,name=vmallocused,proto3" json:"vmallocused,omitempty"` - Vmallocchunk uint64 `protobuf:"varint,34,opt,name=vmallocchunk,proto3" json:"vmallocchunk,omitempty"` - Hardwarecorrupted uint64 `protobuf:"varint,35,opt,name=hardwarecorrupted,proto3" json:"hardwarecorrupted,omitempty"` - Anonhugepages uint64 `protobuf:"varint,36,opt,name=anonhugepages,proto3" json:"anonhugepages,omitempty"` - Shmemhugepages uint64 `protobuf:"varint,37,opt,name=shmemhugepages,proto3" json:"shmemhugepages,omitempty"` - Shmempmdmapped uint64 `protobuf:"varint,38,opt,name=shmempmdmapped,proto3" json:"shmempmdmapped,omitempty"` - Cmatotal uint64 `protobuf:"varint,39,opt,name=cmatotal,proto3" json:"cmatotal,omitempty"` - Cmafree uint64 `protobuf:"varint,40,opt,name=cmafree,proto3" json:"cmafree,omitempty"` - Hugepagestotal uint64 `protobuf:"varint,41,opt,name=hugepagestotal,proto3" json:"hugepagestotal,omitempty"` - Hugepagesfree uint64 `protobuf:"varint,42,opt,name=hugepagesfree,proto3" json:"hugepagesfree,omitempty"` - Hugepagesrsvd uint64 `protobuf:"varint,43,opt,name=hugepagesrsvd,proto3" json:"hugepagesrsvd,omitempty"` - Hugepagessurp uint64 `protobuf:"varint,44,opt,name=hugepagessurp,proto3" json:"hugepagessurp,omitempty"` - Hugepagesize uint64 `protobuf:"varint,45,opt,name=hugepagesize,proto3" json:"hugepagesize,omitempty"` - Directmap4K uint64 `protobuf:"varint,46,opt,name=directmap4k,proto3" json:"directmap4k,omitempty"` - Directmap2M uint64 `protobuf:"varint,47,opt,name=directmap2m,proto3" json:"directmap2m,omitempty"` - Directmap1G uint64 `protobuf:"varint,48,opt,name=directmap1g,proto3" json:"directmap1g,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Memtotal uint64 `protobuf:"varint,1,opt,name=memtotal,proto3" json:"memtotal,omitempty"` + Memfree uint64 `protobuf:"varint,2,opt,name=memfree,proto3" json:"memfree,omitempty"` + Memavailable uint64 `protobuf:"varint,3,opt,name=memavailable,proto3" json:"memavailable,omitempty"` + Buffers uint64 `protobuf:"varint,4,opt,name=buffers,proto3" json:"buffers,omitempty"` + Cached uint64 `protobuf:"varint,5,opt,name=cached,proto3" json:"cached,omitempty"` + Swapcached uint64 `protobuf:"varint,6,opt,name=swapcached,proto3" json:"swapcached,omitempty"` + Active uint64 `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"` + Inactive uint64 `protobuf:"varint,8,opt,name=inactive,proto3" json:"inactive,omitempty"` + Activeanon uint64 `protobuf:"varint,9,opt,name=activeanon,proto3" json:"activeanon,omitempty"` + Inactiveanon uint64 `protobuf:"varint,10,opt,name=inactiveanon,proto3" json:"inactiveanon,omitempty"` + Activefile uint64 `protobuf:"varint,11,opt,name=activefile,proto3" json:"activefile,omitempty"` + Inactivefile uint64 `protobuf:"varint,12,opt,name=inactivefile,proto3" json:"inactivefile,omitempty"` + Unevictable uint64 `protobuf:"varint,13,opt,name=unevictable,proto3" json:"unevictable,omitempty"` + Mlocked uint64 `protobuf:"varint,14,opt,name=mlocked,proto3" json:"mlocked,omitempty"` + Swaptotal uint64 `protobuf:"varint,15,opt,name=swaptotal,proto3" json:"swaptotal,omitempty"` + Swapfree uint64 `protobuf:"varint,16,opt,name=swapfree,proto3" json:"swapfree,omitempty"` + Dirty uint64 `protobuf:"varint,17,opt,name=dirty,proto3" json:"dirty,omitempty"` + Writeback uint64 `protobuf:"varint,18,opt,name=writeback,proto3" json:"writeback,omitempty"` + Anonpages uint64 `protobuf:"varint,19,opt,name=anonpages,proto3" json:"anonpages,omitempty"` + Mapped uint64 `protobuf:"varint,20,opt,name=mapped,proto3" json:"mapped,omitempty"` + Shmem uint64 `protobuf:"varint,21,opt,name=shmem,proto3" json:"shmem,omitempty"` + Slab uint64 `protobuf:"varint,22,opt,name=slab,proto3" json:"slab,omitempty"` + Sreclaimable uint64 `protobuf:"varint,23,opt,name=sreclaimable,proto3" json:"sreclaimable,omitempty"` + Sunreclaim uint64 `protobuf:"varint,24,opt,name=sunreclaim,proto3" json:"sunreclaim,omitempty"` + Kernelstack uint64 `protobuf:"varint,25,opt,name=kernelstack,proto3" json:"kernelstack,omitempty"` + Pagetables uint64 `protobuf:"varint,26,opt,name=pagetables,proto3" json:"pagetables,omitempty"` + Nfsunstable uint64 `protobuf:"varint,27,opt,name=nfsunstable,proto3" json:"nfsunstable,omitempty"` + Bounce uint64 `protobuf:"varint,28,opt,name=bounce,proto3" json:"bounce,omitempty"` + Writebacktmp uint64 `protobuf:"varint,29,opt,name=writebacktmp,proto3" json:"writebacktmp,omitempty"` + Commitlimit uint64 `protobuf:"varint,30,opt,name=commitlimit,proto3" json:"commitlimit,omitempty"` + Committedas uint64 `protobuf:"varint,31,opt,name=committedas,proto3" json:"committedas,omitempty"` + Vmalloctotal uint64 `protobuf:"varint,32,opt,name=vmalloctotal,proto3" json:"vmalloctotal,omitempty"` + Vmallocused uint64 `protobuf:"varint,33,opt,name=vmallocused,proto3" json:"vmallocused,omitempty"` + Vmallocchunk uint64 `protobuf:"varint,34,opt,name=vmallocchunk,proto3" json:"vmallocchunk,omitempty"` + Hardwarecorrupted uint64 `protobuf:"varint,35,opt,name=hardwarecorrupted,proto3" json:"hardwarecorrupted,omitempty"` + Anonhugepages uint64 `protobuf:"varint,36,opt,name=anonhugepages,proto3" json:"anonhugepages,omitempty"` + Shmemhugepages uint64 `protobuf:"varint,37,opt,name=shmemhugepages,proto3" json:"shmemhugepages,omitempty"` + Shmempmdmapped uint64 `protobuf:"varint,38,opt,name=shmempmdmapped,proto3" json:"shmempmdmapped,omitempty"` + Cmatotal uint64 `protobuf:"varint,39,opt,name=cmatotal,proto3" json:"cmatotal,omitempty"` + Cmafree uint64 `protobuf:"varint,40,opt,name=cmafree,proto3" json:"cmafree,omitempty"` + Hugepagestotal uint64 `protobuf:"varint,41,opt,name=hugepagestotal,proto3" json:"hugepagestotal,omitempty"` + Hugepagesfree uint64 `protobuf:"varint,42,opt,name=hugepagesfree,proto3" json:"hugepagesfree,omitempty"` + Hugepagesrsvd uint64 `protobuf:"varint,43,opt,name=hugepagesrsvd,proto3" json:"hugepagesrsvd,omitempty"` + Hugepagessurp uint64 `protobuf:"varint,44,opt,name=hugepagessurp,proto3" json:"hugepagessurp,omitempty"` + Hugepagesize uint64 `protobuf:"varint,45,opt,name=hugepagesize,proto3" json:"hugepagesize,omitempty"` + Directmap4K uint64 `protobuf:"varint,46,opt,name=directmap4k,proto3" json:"directmap4k,omitempty"` + Directmap2M uint64 `protobuf:"varint,47,opt,name=directmap2m,proto3" json:"directmap2m,omitempty"` + Directmap1G uint64 `protobuf:"varint,48,opt,name=directmap1g,proto3" json:"directmap1g,omitempty"` } -func (m *MemInfo) Reset() { *m = MemInfo{} } -func (m *MemInfo) String() string { return proto.CompactTextString(m) } -func (*MemInfo) ProtoMessage() {} +func (x *MemInfo) Reset() { + *x = MemInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_os_os_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MemInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MemInfo) ProtoMessage() {} + +func (x *MemInfo) ProtoReflect() protoreflect.Message { + mi := &file_os_os_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) +} + +// Deprecated: Use MemInfo.ProtoReflect.Descriptor instead. func (*MemInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_b20a722d09fd3254, []int{18} + return file_os_os_proto_rawDescGZIP(), []int{18} } -func (m *MemInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MemInfo.Unmarshal(m, b) -} - -func (m *MemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MemInfo.Marshal(b, m, deterministic) -} - -func (m *MemInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_MemInfo.Merge(m, src) -} - -func (m *MemInfo) XXX_Size() int { - return xxx_messageInfo_MemInfo.Size(m) -} - -func (m *MemInfo) XXX_DiscardUnknown() { - xxx_messageInfo_MemInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_MemInfo proto.InternalMessageInfo - -func (m *MemInfo) GetMemtotal() uint64 { - if m != nil { - return m.Memtotal +func (x *MemInfo) GetMemtotal() uint64 { + if x != nil { + return x.Memtotal } return 0 } -func (m *MemInfo) GetMemfree() uint64 { - if m != nil { - return m.Memfree +func (x *MemInfo) GetMemfree() uint64 { + if x != nil { + return x.Memfree } return 0 } -func (m *MemInfo) GetMemavailable() uint64 { - if m != nil { - return m.Memavailable +func (x *MemInfo) GetMemavailable() uint64 { + if x != nil { + return x.Memavailable } return 0 } -func (m *MemInfo) GetBuffers() uint64 { - if m != nil { - return m.Buffers +func (x *MemInfo) GetBuffers() uint64 { + if x != nil { + return x.Buffers } return 0 } -func (m *MemInfo) GetCached() uint64 { - if m != nil { - return m.Cached +func (x *MemInfo) GetCached() uint64 { + if x != nil { + return x.Cached } return 0 } -func (m *MemInfo) GetSwapcached() uint64 { - if m != nil { - return m.Swapcached +func (x *MemInfo) GetSwapcached() uint64 { + if x != nil { + return x.Swapcached } return 0 } -func (m *MemInfo) GetActive() uint64 { - if m != nil { - return m.Active +func (x *MemInfo) GetActive() uint64 { + if x != nil { + return x.Active } return 0 } -func (m *MemInfo) GetInactive() uint64 { - if m != nil { - return m.Inactive +func (x *MemInfo) GetInactive() uint64 { + if x != nil { + return x.Inactive } return 0 } -func (m *MemInfo) GetActiveanon() uint64 { - if m != nil { - return m.Activeanon +func (x *MemInfo) GetActiveanon() uint64 { + if x != nil { + return x.Activeanon } return 0 } -func (m *MemInfo) GetInactiveanon() uint64 { - if m != nil { - return m.Inactiveanon +func (x *MemInfo) GetInactiveanon() uint64 { + if x != nil { + return x.Inactiveanon } return 0 } -func (m *MemInfo) GetActivefile() uint64 { - if m != nil { - return m.Activefile +func (x *MemInfo) GetActivefile() uint64 { + if x != nil { + return x.Activefile } return 0 } -func (m *MemInfo) GetInactivefile() uint64 { - if m != nil { - return m.Inactivefile +func (x *MemInfo) GetInactivefile() uint64 { + if x != nil { + return x.Inactivefile } return 0 } -func (m *MemInfo) GetUnevictable() uint64 { - if m != nil { - return m.Unevictable +func (x *MemInfo) GetUnevictable() uint64 { + if x != nil { + return x.Unevictable } return 0 } -func (m *MemInfo) GetMlocked() uint64 { - if m != nil { - return m.Mlocked +func (x *MemInfo) GetMlocked() uint64 { + if x != nil { + return x.Mlocked } return 0 } -func (m *MemInfo) GetSwaptotal() uint64 { - if m != nil { - return m.Swaptotal +func (x *MemInfo) GetSwaptotal() uint64 { + if x != nil { + return x.Swaptotal } return 0 } -func (m *MemInfo) GetSwapfree() uint64 { - if m != nil { - return m.Swapfree +func (x *MemInfo) GetSwapfree() uint64 { + if x != nil { + return x.Swapfree } return 0 } -func (m *MemInfo) GetDirty() uint64 { - if m != nil { - return m.Dirty +func (x *MemInfo) GetDirty() uint64 { + if x != nil { + return x.Dirty } return 0 } -func (m *MemInfo) GetWriteback() uint64 { - if m != nil { - return m.Writeback +func (x *MemInfo) GetWriteback() uint64 { + if x != nil { + return x.Writeback } return 0 } -func (m *MemInfo) GetAnonpages() uint64 { - if m != nil { - return m.Anonpages +func (x *MemInfo) GetAnonpages() uint64 { + if x != nil { + return x.Anonpages } return 0 } -func (m *MemInfo) GetMapped() uint64 { - if m != nil { - return m.Mapped +func (x *MemInfo) GetMapped() uint64 { + if x != nil { + return x.Mapped } return 0 } -func (m *MemInfo) GetShmem() uint64 { - if m != nil { - return m.Shmem +func (x *MemInfo) GetShmem() uint64 { + if x != nil { + return x.Shmem } return 0 } -func (m *MemInfo) GetSlab() uint64 { - if m != nil { - return m.Slab +func (x *MemInfo) GetSlab() uint64 { + if x != nil { + return x.Slab } return 0 } -func (m *MemInfo) GetSreclaimable() uint64 { - if m != nil { - return m.Sreclaimable +func (x *MemInfo) GetSreclaimable() uint64 { + if x != nil { + return x.Sreclaimable } return 0 } -func (m *MemInfo) GetSunreclaim() uint64 { - if m != nil { - return m.Sunreclaim +func (x *MemInfo) GetSunreclaim() uint64 { + if x != nil { + return x.Sunreclaim } return 0 } -func (m *MemInfo) GetKernelstack() uint64 { - if m != nil { - return m.Kernelstack +func (x *MemInfo) GetKernelstack() uint64 { + if x != nil { + return x.Kernelstack } return 0 } -func (m *MemInfo) GetPagetables() uint64 { - if m != nil { - return m.Pagetables +func (x *MemInfo) GetPagetables() uint64 { + if x != nil { + return x.Pagetables } return 0 } -func (m *MemInfo) GetNfsunstable() uint64 { - if m != nil { - return m.Nfsunstable +func (x *MemInfo) GetNfsunstable() uint64 { + if x != nil { + return x.Nfsunstable } return 0 } -func (m *MemInfo) GetBounce() uint64 { - if m != nil { - return m.Bounce +func (x *MemInfo) GetBounce() uint64 { + if x != nil { + return x.Bounce } return 0 } -func (m *MemInfo) GetWritebacktmp() uint64 { - if m != nil { - return m.Writebacktmp +func (x *MemInfo) GetWritebacktmp() uint64 { + if x != nil { + return x.Writebacktmp } return 0 } -func (m *MemInfo) GetCommitlimit() uint64 { - if m != nil { - return m.Commitlimit +func (x *MemInfo) GetCommitlimit() uint64 { + if x != nil { + return x.Commitlimit } return 0 } -func (m *MemInfo) GetCommittedas() uint64 { - if m != nil { - return m.Committedas +func (x *MemInfo) GetCommittedas() uint64 { + if x != nil { + return x.Committedas } return 0 } -func (m *MemInfo) GetVmalloctotal() uint64 { - if m != nil { - return m.Vmalloctotal +func (x *MemInfo) GetVmalloctotal() uint64 { + if x != nil { + return x.Vmalloctotal } return 0 } -func (m *MemInfo) GetVmallocused() uint64 { - if m != nil { - return m.Vmallocused +func (x *MemInfo) GetVmallocused() uint64 { + if x != nil { + return x.Vmallocused } return 0 } -func (m *MemInfo) GetVmallocchunk() uint64 { - if m != nil { - return m.Vmallocchunk +func (x *MemInfo) GetVmallocchunk() uint64 { + if x != nil { + return x.Vmallocchunk } return 0 } -func (m *MemInfo) GetHardwarecorrupted() uint64 { - if m != nil { - return m.Hardwarecorrupted +func (x *MemInfo) GetHardwarecorrupted() uint64 { + if x != nil { + return x.Hardwarecorrupted } return 0 } -func (m *MemInfo) GetAnonhugepages() uint64 { - if m != nil { - return m.Anonhugepages +func (x *MemInfo) GetAnonhugepages() uint64 { + if x != nil { + return x.Anonhugepages } return 0 } -func (m *MemInfo) GetShmemhugepages() uint64 { - if m != nil { - return m.Shmemhugepages +func (x *MemInfo) GetShmemhugepages() uint64 { + if x != nil { + return x.Shmemhugepages } return 0 } -func (m *MemInfo) GetShmempmdmapped() uint64 { - if m != nil { - return m.Shmempmdmapped +func (x *MemInfo) GetShmempmdmapped() uint64 { + if x != nil { + return x.Shmempmdmapped } return 0 } -func (m *MemInfo) GetCmatotal() uint64 { - if m != nil { - return m.Cmatotal +func (x *MemInfo) GetCmatotal() uint64 { + if x != nil { + return x.Cmatotal } return 0 } -func (m *MemInfo) GetCmafree() uint64 { - if m != nil { - return m.Cmafree +func (x *MemInfo) GetCmafree() uint64 { + if x != nil { + return x.Cmafree } return 0 } -func (m *MemInfo) GetHugepagestotal() uint64 { - if m != nil { - return m.Hugepagestotal +func (x *MemInfo) GetHugepagestotal() uint64 { + if x != nil { + return x.Hugepagestotal } return 0 } -func (m *MemInfo) GetHugepagesfree() uint64 { - if m != nil { - return m.Hugepagesfree +func (x *MemInfo) GetHugepagesfree() uint64 { + if x != nil { + return x.Hugepagesfree } return 0 } -func (m *MemInfo) GetHugepagesrsvd() uint64 { - if m != nil { - return m.Hugepagesrsvd +func (x *MemInfo) GetHugepagesrsvd() uint64 { + if x != nil { + return x.Hugepagesrsvd } return 0 } -func (m *MemInfo) GetHugepagessurp() uint64 { - if m != nil { - return m.Hugepagessurp +func (x *MemInfo) GetHugepagessurp() uint64 { + if x != nil { + return x.Hugepagessurp } return 0 } -func (m *MemInfo) GetHugepagesize() uint64 { - if m != nil { - return m.Hugepagesize +func (x *MemInfo) GetHugepagesize() uint64 { + if x != nil { + return x.Hugepagesize } return 0 } -func (m *MemInfo) GetDirectmap4K() uint64 { - if m != nil { - return m.Directmap4K +func (x *MemInfo) GetDirectmap4K() uint64 { + if x != nil { + return x.Directmap4K } return 0 } -func (m *MemInfo) GetDirectmap2M() uint64 { - if m != nil { - return m.Directmap2M +func (x *MemInfo) GetDirectmap2M() uint64 { + if x != nil { + return x.Directmap2M } return 0 } -func (m *MemInfo) GetDirectmap1G() uint64 { - if m != nil { - return m.Directmap1G +func (x *MemInfo) GetDirectmap1G() uint64 { + if x != nil { + return x.Directmap1G } return 0 } -func init() { - proto.RegisterType((*ContainersRequest)(nil), "os.ContainersRequest") - proto.RegisterType((*ContainerInfo)(nil), "os.ContainerInfo") - proto.RegisterType((*Container)(nil), "os.Container") - proto.RegisterType((*ContainersResponse)(nil), "os.ContainersResponse") - proto.RegisterType((*DmesgRequest)(nil), "os.DmesgRequest") - proto.RegisterType((*ProcessesRequest)(nil), "os.ProcessesRequest") - proto.RegisterType((*ProcessesResponse)(nil), "os.ProcessesResponse") - proto.RegisterType((*Process)(nil), "os.Process") - proto.RegisterType((*ProcessInfo)(nil), "os.ProcessInfo") - proto.RegisterType((*RestartRequest)(nil), "os.RestartRequest") - proto.RegisterType((*Restart)(nil), "os.Restart") - proto.RegisterType((*RestartResponse)(nil), "os.RestartResponse") - proto.RegisterType((*StatsRequest)(nil), "os.StatsRequest") - proto.RegisterType((*Stats)(nil), "os.Stats") - proto.RegisterType((*StatsResponse)(nil), "os.StatsResponse") - proto.RegisterType((*Stat)(nil), "os.Stat") - proto.RegisterType((*Memory)(nil), "os.Memory") - proto.RegisterType((*MemoryResponse)(nil), "os.MemoryResponse") - proto.RegisterType((*MemInfo)(nil), "os.MemInfo") +var File_os_os_proto protoreflect.FileDescriptor + +var file_os_os_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x6f, 0x73, 0x2f, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x6f, + 0x73, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x62, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, + 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x22, 0xa8, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x70, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x70, 0x6f, 0x64, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x64, 0x49, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x22, 0x6c, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, + 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, + 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x6f, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, + 0x22, 0x3f, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6f, 0x73, 0x2e, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x22, 0x3a, 0x0a, 0x0c, 0x44, 0x6d, 0x65, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x69, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x12, 0x0a, + 0x10, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x3c, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6f, 0x73, 0x2e, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, + 0x66, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2d, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6f, 0x73, + 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x9c, 0x02, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x70, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x70, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x12, 0x19, 0x0a, + 0x08, 0x63, 0x70, 0x75, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x07, 0x63, 0x70, 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x76, 0x69, 0x72, 0x74, + 0x75, 0x61, 0x6c, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0d, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, + 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, + 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, + 0x61, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x22, 0x6f, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x52, + 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x22, 0x37, 0x0a, 0x07, 0x52, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x3a, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6f, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x5d, 0x0a, 0x0c, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x64, 0x72, + 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x72, 0x69, + 0x76, 0x65, 0x72, 0x52, 0x06, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x22, 0x55, 0x0a, 0x05, 0x53, + 0x74, 0x61, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x08, 0x2e, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x73, 0x22, 0x36, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x04, 0x53, + 0x74, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x70, 0x75, 0x5f, 0x75, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x70, 0x75, 0x55, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x15, 0x0a, 0x06, 0x70, 0x6f, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x70, 0x6f, 0x64, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5d, 0x0a, 0x06, + 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x69, 0x6e, 0x66, 0x6f, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x6d, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x38, 0x0a, 0x0e, 0x4d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, + 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x0a, 0x2e, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x22, 0x8b, 0x0c, 0x0a, 0x07, 0x4d, 0x65, 0x6d, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x6d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x65, 0x6d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x6d, 0x66, 0x72, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x6d, 0x65, 0x6d, 0x66, 0x72, 0x65, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x61, 0x76, + 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, + 0x65, 0x6d, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, + 0x75, 0x66, 0x66, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x75, + 0x66, 0x66, 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x12, 0x1e, 0x0a, + 0x0a, 0x73, 0x77, 0x61, 0x70, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0a, 0x73, 0x77, 0x61, 0x70, 0x63, 0x61, 0x63, 0x68, 0x65, 0x64, 0x12, 0x16, 0x0a, + 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x61, 0x6e, 0x6f, 0x6e, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x61, 0x6e, 0x6f, + 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x61, 0x6e, 0x6f, + 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x61, 0x6e, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x66, + 0x69, 0x6c, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x69, 0x6e, 0x61, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x65, + 0x76, 0x69, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x75, 0x6e, 0x65, 0x76, 0x69, 0x63, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, + 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x6c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x77, 0x61, 0x70, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x77, 0x61, 0x70, 0x74, 0x6f, + 0x74, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x77, 0x61, 0x70, 0x66, 0x72, 0x65, 0x65, 0x18, + 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x77, 0x61, 0x70, 0x66, 0x72, 0x65, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x64, 0x69, 0x72, 0x74, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, + 0x64, 0x69, 0x72, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x77, 0x72, 0x69, 0x74, 0x65, 0x62, 0x61, + 0x63, 0x6b, 0x18, 0x12, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x77, 0x72, 0x69, 0x74, 0x65, 0x62, + 0x61, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x70, 0x61, 0x67, 0x65, 0x73, + 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x70, 0x61, 0x67, 0x65, + 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x06, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x6d, + 0x65, 0x6d, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x68, 0x6d, 0x65, 0x6d, 0x12, + 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x61, 0x62, 0x18, 0x16, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, + 0x6c, 0x61, 0x62, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x72, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x73, 0x72, 0x65, 0x63, 0x6c, + 0x61, 0x69, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75, 0x6e, 0x72, 0x65, + 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x18, 0x18, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x73, 0x75, 0x6e, + 0x72, 0x65, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6b, 0x65, 0x72, 0x6e, 0x65, + 0x6c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x19, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6b, 0x65, + 0x72, 0x6e, 0x65, 0x6c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x65, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x70, + 0x61, 0x67, 0x65, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x66, 0x73, + 0x75, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x6e, 0x66, 0x73, 0x75, 0x6e, 0x73, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, + 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x62, 0x6f, 0x75, + 0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x72, 0x69, 0x74, 0x65, 0x62, 0x61, 0x63, 0x6b, + 0x74, 0x6d, 0x70, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x77, 0x72, 0x69, 0x74, 0x65, + 0x62, 0x61, 0x63, 0x6b, 0x74, 0x6d, 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x61, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x61, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x76, + 0x6d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x20, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0c, 0x76, 0x6d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, + 0x20, 0x0a, 0x0b, 0x76, 0x6d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x75, 0x73, 0x65, 0x64, 0x18, 0x21, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x76, 0x6d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x75, 0x73, 0x65, + 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x76, 0x6d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x63, 0x68, 0x75, 0x6e, + 0x6b, 0x18, 0x22, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x76, 0x6d, 0x61, 0x6c, 0x6c, 0x6f, 0x63, + 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x12, 0x2c, 0x0a, 0x11, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, + 0x65, 0x63, 0x6f, 0x72, 0x72, 0x75, 0x70, 0x74, 0x65, 0x64, 0x18, 0x23, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x11, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x72, 0x75, 0x70, + 0x74, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x6e, 0x6f, 0x6e, 0x68, 0x75, 0x67, 0x65, 0x70, + 0x61, 0x67, 0x65, 0x73, 0x18, 0x24, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x61, 0x6e, 0x6f, 0x6e, + 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x68, 0x6d, + 0x65, 0x6d, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x73, 0x18, 0x25, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0e, 0x73, 0x68, 0x6d, 0x65, 0x6d, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, + 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x68, 0x6d, 0x65, 0x6d, 0x70, 0x6d, 0x64, 0x6d, 0x61, 0x70, + 0x70, 0x65, 0x64, 0x18, 0x26, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x73, 0x68, 0x6d, 0x65, 0x6d, + 0x70, 0x6d, 0x64, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6d, 0x61, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x27, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x6d, 0x61, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6d, 0x61, 0x66, 0x72, 0x65, 0x65, + 0x18, 0x28, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x6d, 0x61, 0x66, 0x72, 0x65, 0x65, 0x12, + 0x26, 0x0a, 0x0e, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x73, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x18, 0x29, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, + 0x65, 0x73, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x68, 0x75, 0x67, 0x65, 0x70, + 0x61, 0x67, 0x65, 0x73, 0x66, 0x72, 0x65, 0x65, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, + 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x73, 0x66, 0x72, 0x65, 0x65, 0x12, 0x24, 0x0a, + 0x0d, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x73, 0x72, 0x73, 0x76, 0x64, 0x18, 0x2b, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x73, 0x72, + 0x73, 0x76, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x73, + 0x73, 0x75, 0x72, 0x70, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x68, 0x75, 0x67, 0x65, + 0x70, 0x61, 0x67, 0x65, 0x73, 0x73, 0x75, 0x72, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x75, 0x67, + 0x65, 0x70, 0x61, 0x67, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0c, 0x68, 0x75, 0x67, 0x65, 0x70, 0x61, 0x67, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x20, 0x0a, + 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6d, 0x61, 0x70, 0x34, 0x6b, 0x18, 0x2e, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6d, 0x61, 0x70, 0x34, 0x6b, 0x12, + 0x20, 0x0a, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6d, 0x61, 0x70, 0x32, 0x6d, 0x18, 0x2f, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6d, 0x61, 0x70, 0x32, + 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6d, 0x61, 0x70, 0x31, 0x67, + 0x18, 0x30, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6d, 0x61, + 0x70, 0x31, 0x67, 0x32, 0xc7, 0x02, 0x0a, 0x09, 0x4f, 0x53, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, + 0x15, 0x2e, 0x6f, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6f, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, + 0x0a, 0x05, 0x44, 0x6d, 0x65, 0x73, 0x67, 0x12, 0x10, 0x2e, 0x6f, 0x73, 0x2e, 0x44, 0x6d, 0x65, + 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x30, 0x01, 0x12, 0x34, 0x0a, 0x06, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x6f, 0x73, + 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, + 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x15, 0x2e, 0x6f, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x07, 0x52, + 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x12, 0x2e, 0x6f, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6f, 0x73, 0x2e, + 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2c, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x10, 0x2e, 0x6f, 0x73, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x6f, 0x73, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x3c, 0x0a, + 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x05, 0x4f, 0x73, 0x41, + 0x70, 0x69, 0x50, 0x01, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x74, + 0x61, 0x6c, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6f, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("os/os.proto", fileDescriptor_b20a722d09fd3254) } +var ( + file_os_os_proto_rawDescOnce sync.Once + file_os_os_proto_rawDescData = file_os_os_proto_rawDesc +) -var fileDescriptor_b20a722d09fd3254 = []byte{ - // 1437 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xdf, 0x6e, 0xdb, 0xb6, - 0x17, 0x86, 0x13, 0x3b, 0x8e, 0xe9, 0xc4, 0x49, 0xd8, 0x26, 0x65, 0xd3, 0xfe, 0xfa, 0x4b, 0xbd, - 0xa6, 0x4d, 0xb7, 0xd4, 0x6e, 0xb3, 0x62, 0x1b, 0xba, 0x02, 0xc3, 0xba, 0xee, 0xa2, 0x17, 0x45, - 0x0b, 0x75, 0xbd, 0x19, 0x50, 0x04, 0xb4, 0x44, 0x3b, 0x44, 0x44, 0x51, 0x13, 0x29, 0x67, 0xd9, - 0x2b, 0xec, 0x15, 0x06, 0xec, 0x76, 0x6f, 0xb2, 0xd7, 0x1a, 0xce, 0x21, 0x25, 0x53, 0x09, 0xb6, - 0x35, 0x17, 0xbb, 0xb2, 0xce, 0x77, 0x3e, 0x1d, 0x9e, 0x3f, 0x1f, 0x29, 0x9a, 0xf4, 0xb5, 0x19, - 0x6b, 0x33, 0xca, 0x0b, 0x6d, 0x35, 0x5d, 0xd2, 0x66, 0xf7, 0xd6, 0x4c, 0xeb, 0x59, 0x2a, 0xc6, - 0x88, 0x4c, 0xca, 0xe9, 0x58, 0xa8, 0xdc, 0x9e, 0x3b, 0xc2, 0xee, 0xb5, 0x58, 0x2b, 0xa5, 0xb3, - 0xb1, 0xfb, 0x71, 0xe0, 0x70, 0x42, 0xb6, 0xbe, 0xd3, 0x99, 0xe5, 0x32, 0x13, 0x85, 0x89, 0xc4, - 0x4f, 0xa5, 0x30, 0x96, 0xde, 0x26, 0xbd, 0x8c, 0x2b, 0x61, 0x72, 0x1e, 0x0b, 0xd6, 0xda, 0x6b, - 0x1d, 0xf4, 0xa2, 0x05, 0x40, 0xc7, 0x64, 0x25, 0x29, 0xe4, 0x5c, 0x14, 0x6c, 0x69, 0xaf, 0x75, - 0x30, 0x38, 0xba, 0x31, 0xf2, 0x11, 0xeb, 0x40, 0x2f, 0xd1, 0x1d, 0x79, 0xda, 0xf0, 0x8f, 0x16, - 0x59, 0xaf, 0x7d, 0xaf, 0xb2, 0xa9, 0xfe, 0x97, 0x05, 0x06, 0x64, 0x49, 0x26, 0x18, 0xbc, 0x17, - 0x2d, 0xc9, 0x84, 0x5e, 0x27, 0x1d, 0xa9, 0xf8, 0x4c, 0xb0, 0x65, 0x84, 0x9c, 0x41, 0x37, 0xc9, - 0x72, 0x2e, 0x13, 0xd6, 0xde, 0x6b, 0x1d, 0xac, 0x47, 0xf0, 0x48, 0x77, 0xc8, 0x8a, 0xb1, 0xdc, - 0x96, 0x86, 0x75, 0x90, 0xe8, 0x2d, 0xba, 0x4d, 0x56, 0x72, 0x9d, 0x1c, 0xcb, 0x84, 0xad, 0xb8, - 0x00, 0xb9, 0x4e, 0x5e, 0x25, 0x94, 0x92, 0x36, 0xac, 0xc9, 0xba, 0x08, 0xe2, 0xf3, 0x30, 0x25, - 0xbd, 0x3a, 0x53, 0x7a, 0x48, 0x56, 0x95, 0xb0, 0x3c, 0xe1, 0x96, 0x63, 0x92, 0xfd, 0xa3, 0xcd, - 0xaa, 0xd4, 0xd7, 0x1e, 0x8f, 0x6a, 0x06, 0x7d, 0x42, 0x48, 0x5c, 0x77, 0x92, 0x2d, 0xed, 0x2d, - 0x1f, 0xf4, 0x8f, 0xb6, 0x46, 0xda, 0x8c, 0x1a, 0xa5, 0x47, 0x01, 0x69, 0xf8, 0x0d, 0xa1, 0x61, - 0xf3, 0x4d, 0xae, 0x33, 0x23, 0xe8, 0x43, 0x58, 0xd6, 0x18, 0x3e, 0x13, 0x86, 0xb5, 0x30, 0xcc, - 0x7a, 0x23, 0x4c, 0x54, 0xbb, 0x87, 0xcf, 0xc8, 0xda, 0x4b, 0x25, 0xcc, 0xac, 0x1a, 0xdc, 0x0e, - 0x59, 0x99, 0xea, 0x34, 0xd5, 0x67, 0x98, 0xef, 0x6a, 0xe4, 0x2d, 0x28, 0xd5, 0x72, 0x99, 0x62, - 0x4f, 0x57, 0x23, 0x7c, 0x1e, 0x52, 0xb2, 0xf9, 0xb6, 0xd0, 0xb1, 0x30, 0x46, 0x54, 0x83, 0x1f, - 0x3e, 0x27, 0x5b, 0x01, 0xe6, 0xf3, 0x79, 0x70, 0x29, 0x9f, 0x3e, 0xe4, 0xe3, 0x89, 0x41, 0x36, - 0x53, 0xd2, 0xf5, 0xe0, 0x15, 0x5b, 0xf7, 0x88, 0xf4, 0xf2, 0x6a, 0x59, 0xdf, 0xb9, 0x8d, 0x60, - 0x09, 0xec, 0xdb, 0x82, 0x31, 0xfc, 0x6d, 0x89, 0xf4, 0x03, 0x57, 0xa5, 0x04, 0x58, 0xa7, 0xe3, - 0x94, 0x40, 0x49, 0x3b, 0xcf, 0xbd, 0x86, 0x3a, 0x11, 0x3e, 0x83, 0x8a, 0x40, 0x0f, 0xb5, 0x8a, - 0xd0, 0xa0, 0x8c, 0x74, 0xed, 0x49, 0x21, 0x78, 0x62, 0x50, 0x49, 0x9d, 0xa8, 0x32, 0xe9, 0x4d, - 0xb2, 0x1a, 0xe7, 0xe5, 0xb1, 0x95, 0x4a, 0xa0, 0x9e, 0x5a, 0x51, 0x37, 0xce, 0xcb, 0x1f, 0xa4, - 0x12, 0x74, 0x9f, 0x0c, 0xe6, 0xb2, 0xb0, 0x25, 0x4f, 0x8f, 0x95, 0x50, 0xba, 0x38, 0x47, 0x61, - 0xb5, 0xa3, 0x75, 0x8f, 0xbe, 0x46, 0x90, 0x3e, 0x20, 0x1b, 0x85, 0x30, 0x32, 0x11, 0x99, 0xad, - 0x78, 0x5d, 0xe4, 0x0d, 0x2a, 0xd8, 0x13, 0x19, 0xe9, 0x42, 0x73, 0x78, 0x96, 0xb0, 0x55, 0x4c, - 0xae, 0x32, 0xe9, 0x1d, 0x42, 0xc4, 0xcf, 0x22, 0x2e, 0x2d, 0x9f, 0xa4, 0x82, 0xf5, 0xd0, 0x19, - 0x20, 0x50, 0x28, 0x2f, 0x66, 0x86, 0x11, 0xa7, 0x61, 0x78, 0x1e, 0x6a, 0x32, 0x88, 0x84, 0xb1, - 0xbc, 0xb0, 0x1f, 0xb7, 0x9f, 0x2f, 0x6e, 0xb7, 0xc5, 0xfe, 0x5e, 0xfe, 0xb8, 0xfd, 0xfd, 0x25, - 0xe9, 0xfa, 0x05, 0xaf, 0x36, 0xf7, 0xe1, 0x33, 0xb2, 0x51, 0x67, 0xfa, 0xcf, 0x62, 0xab, 0x68, - 0x0b, 0xb1, 0x7d, 0x20, 0x6b, 0xef, 0x2c, 0xb7, 0xff, 0xd5, 0x99, 0xf5, 0x9e, 0x74, 0x30, 0xfc, - 0x15, 0x95, 0x7c, 0xc7, 0x89, 0xac, 0x52, 0xf1, 0x2a, 0xe4, 0x0e, 0x71, 0x9c, 0xdc, 0xcc, 0xf0, - 0x0b, 0xb2, 0xee, 0xb3, 0xf6, 0xf5, 0xee, 0x5f, 0xaa, 0xb7, 0x57, 0xbd, 0x13, 0x6e, 0xad, 0xdf, - 0x5b, 0xa4, 0x0d, 0xd8, 0x15, 0x47, 0x79, 0x97, 0xac, 0x39, 0xe1, 0x1d, 0x97, 0x10, 0x07, 0x25, - 0xde, 0x8e, 0xfa, 0x0e, 0x7b, 0x0f, 0x10, 0xbd, 0x45, 0x7a, 0x20, 0x73, 0xe7, 0xef, 0xa0, 0x1f, - 0x74, 0xef, 0x9c, 0x57, 0x38, 0x39, 0x3f, 0x90, 0x15, 0xaf, 0xe6, 0xab, 0x75, 0x6c, 0x9f, 0x74, - 0x95, 0x50, 0x32, 0x9b, 0x6a, 0xcc, 0xdb, 0xcf, 0xfb, 0xb5, 0x50, 0xb8, 0xeb, 0x2b, 0xdf, 0xf0, - 0x2b, 0x32, 0x70, 0xe1, 0xeb, 0xce, 0xdd, 0xbf, 0xd4, 0x39, 0xe2, 0xdf, 0x04, 0xd6, 0xa2, 0x75, - 0xbf, 0xae, 0x91, 0xae, 0x0f, 0x47, 0x77, 0xe1, 0x1d, 0x65, 0xb5, 0xe5, 0x29, 0xa6, 0xd6, 0x8e, - 0x6a, 0x1b, 0x36, 0xa1, 0x12, 0x6a, 0x5a, 0x08, 0x81, 0x89, 0xb4, 0xa3, 0xca, 0xa4, 0x43, 0xec, - 0x22, 0x9f, 0x73, 0x99, 0xe2, 0x36, 0x5c, 0x46, 0x77, 0x03, 0x83, 0xb7, 0x27, 0xe5, 0x74, 0x0a, - 0x47, 0xbf, 0x6b, 0x72, 0x65, 0xc2, 0x99, 0x1c, 0xf3, 0xf8, 0x44, 0x24, 0xbe, 0xbb, 0xde, 0x82, - 0xad, 0x6d, 0xce, 0x78, 0xee, 0x7d, 0xee, 0x00, 0x09, 0x10, 0x78, 0x8f, 0xc7, 0x56, 0xce, 0x85, - 0x3f, 0x34, 0xbc, 0x05, 0x35, 0xc8, 0xcc, 0x7b, 0x56, 0x5d, 0x0d, 0x95, 0x0d, 0x31, 0xdd, 0x13, - 0xcf, 0x74, 0x86, 0xc7, 0x45, 0x3b, 0x0a, 0x10, 0xa8, 0xa4, 0xe2, 0x22, 0x83, 0xb8, 0x4a, 0x42, - 0x6c, 0x11, 0x63, 0x2a, 0x53, 0xc1, 0xfa, 0x61, 0x0c, 0x40, 0xc2, 0x18, 0xc8, 0x58, 0x6b, 0xc6, - 0x40, 0xce, 0x1e, 0xe9, 0x97, 0x99, 0x98, 0xcb, 0xd8, 0x9d, 0x5b, 0xeb, 0x4e, 0x76, 0x01, 0x84, - 0xdd, 0x4e, 0x75, 0x7c, 0x2a, 0x12, 0x36, 0xf0, 0xdd, 0x76, 0x26, 0x28, 0x1c, 0xba, 0xe0, 0x86, - 0xb4, 0x81, 0xbe, 0x05, 0x00, 0xd5, 0x83, 0x81, 0x63, 0xda, 0x74, 0xd5, 0x57, 0x36, 0x9c, 0xf0, - 0x89, 0x2c, 0xec, 0x39, 0xdb, 0x42, 0x87, 0x33, 0x20, 0xde, 0x59, 0x21, 0xad, 0x98, 0xf0, 0xf8, - 0x94, 0x51, 0x17, 0xaf, 0x06, 0xc0, 0x0b, 0x55, 0xe7, 0x28, 0xa3, 0x6b, 0xce, 0x5b, 0x03, 0x30, - 0x03, 0xc5, 0xf3, 0x5c, 0x24, 0xec, 0xba, 0x9b, 0x81, 0xb3, 0xf0, 0x5b, 0x72, 0xa2, 0x84, 0x62, - 0xdb, 0x6e, 0x25, 0x34, 0x60, 0x5b, 0x98, 0x94, 0x4f, 0xd8, 0x0e, 0x82, 0xf8, 0x0c, 0xdd, 0x32, - 0x85, 0x88, 0x53, 0x2e, 0x15, 0xb6, 0xe2, 0x86, 0xeb, 0x56, 0x88, 0xa1, 0x12, 0xca, 0xcc, 0x23, - 0x8c, 0x79, 0x25, 0xd4, 0x08, 0x74, 0xf3, 0x54, 0x14, 0x99, 0x48, 0x8d, 0x85, 0x1a, 0x6e, 0xba, - 0x6e, 0x06, 0x10, 0x44, 0x80, 0x84, 0xb1, 0xb5, 0x86, 0xed, 0xba, 0x08, 0x0b, 0x04, 0x22, 0x64, - 0x53, 0x53, 0x66, 0xc6, 0xcd, 0xe3, 0x96, 0x8b, 0x10, 0x40, 0x50, 0xe9, 0x44, 0x97, 0x59, 0x2c, - 0xd8, 0x6d, 0x57, 0xa9, 0xb3, 0x20, 0xff, 0xba, 0x59, 0x56, 0xe5, 0xec, 0x7f, 0x2e, 0xff, 0x10, - 0x83, 0xe8, 0xb0, 0xbf, 0xa5, 0x4d, 0xa5, 0x92, 0x96, 0xdd, 0x71, 0xd1, 0x03, 0x68, 0xc1, 0xb0, - 0x22, 0xe1, 0x86, 0xfd, 0x3f, 0x64, 0x20, 0x04, 0xeb, 0xcc, 0x15, 0x4f, 0x53, 0x1d, 0xbb, 0xc1, - 0xef, 0xb9, 0x75, 0x42, 0x0c, 0xa2, 0x78, 0xbb, 0x34, 0x22, 0x61, 0x77, 0x5d, 0x94, 0x00, 0x0a, - 0xa2, 0xc4, 0x27, 0x65, 0x76, 0xca, 0x86, 0x8d, 0x28, 0x88, 0xd1, 0x43, 0xb2, 0x75, 0xc2, 0x8b, - 0xe4, 0x8c, 0x17, 0x22, 0xd6, 0x45, 0x51, 0xe6, 0x56, 0x24, 0xec, 0x13, 0x24, 0x5e, 0x76, 0xd0, - 0x7b, 0x64, 0x1d, 0xe4, 0x70, 0x52, 0xce, 0x84, 0xd3, 0xc8, 0x3d, 0xf7, 0xa5, 0x6f, 0x80, 0xf4, - 0x3e, 0x19, 0xa0, 0x04, 0x16, 0xb4, 0x7d, 0xf7, 0xa1, 0x6f, 0xa2, 0x35, 0x2f, 0x57, 0x89, 0xd7, - 0xd5, 0xfd, 0x80, 0x57, 0xa3, 0xa0, 0xf2, 0x58, 0x71, 0xd7, 0x89, 0x07, 0xfe, 0x4c, 0xf6, 0x36, - 0x5e, 0x16, 0x14, 0xc7, 0x0d, 0x70, 0xe0, 0x76, 0x8e, 0x37, 0x21, 0x7a, 0xbd, 0x94, 0x7b, 0xf7, - 0xa1, 0x8b, 0xde, 0x44, 0xa1, 0xa6, 0x1a, 0xc1, 0x38, 0x9f, 0xba, 0x9a, 0x1a, 0x60, 0x83, 0x55, - 0x98, 0x79, 0xc2, 0x3e, 0xbb, 0xc0, 0x02, 0xb0, 0xc1, 0x32, 0x65, 0x91, 0xb3, 0xc3, 0x0b, 0x2c, - 0x00, 0x61, 0x2e, 0x35, 0x20, 0x7f, 0x11, 0xec, 0x91, 0x9b, 0x4b, 0x88, 0xc1, 0x74, 0x13, 0x59, - 0x88, 0xd8, 0x2a, 0x9e, 0x3f, 0x3d, 0x65, 0x23, 0x37, 0xdd, 0x00, 0x6a, 0x30, 0x8e, 0x14, 0x1b, - 0x5f, 0x60, 0x1c, 0xa9, 0x06, 0xe3, 0xc9, 0x8c, 0x3d, 0xbe, 0xc0, 0x78, 0x32, 0x3b, 0xfa, 0x73, - 0x89, 0xf4, 0xde, 0xbc, 0x7b, 0x27, 0x8a, 0xb9, 0x8c, 0x05, 0xfd, 0x9a, 0x90, 0xc5, 0x05, 0x9c, - 0x6e, 0x37, 0xae, 0xd9, 0xd5, 0xcd, 0x62, 0x77, 0xe7, 0x22, 0x5c, 0xdf, 0xd3, 0x3b, 0x78, 0xf9, - 0xa6, 0x9b, 0x40, 0x08, 0xef, 0xe1, 0xbb, 0x6b, 0xd5, 0x07, 0xef, 0x25, 0xb7, 0xfc, 0x71, 0x8b, - 0x3e, 0xad, 0x3f, 0x8e, 0x3b, 0x23, 0xf7, 0x17, 0x6d, 0x54, 0xfd, 0x45, 0x1b, 0x7d, 0x0f, 0x7f, - 0xd1, 0x76, 0x69, 0xf0, 0xed, 0xaa, 0x16, 0x78, 0x46, 0x7a, 0xf5, 0x6d, 0xfc, 0x6f, 0x5f, 0xdc, - 0x0e, 0x2e, 0xca, 0xc1, 0xa5, 0xfd, 0x68, 0x71, 0x27, 0xa3, 0xe1, 0x05, 0xca, 0x27, 0x78, 0xad, - 0x81, 0xf9, 0x77, 0x0e, 0xab, 0x3b, 0xcf, 0xe6, 0xe2, 0x0a, 0xe2, 0xf9, 0x5b, 0x01, 0xe2, 0xd8, - 0x2f, 0x9e, 0xc3, 0xff, 0x1d, 0x05, 0x38, 0xcf, 0xe5, 0x8b, 0xce, 0x1b, 0xf3, 0x6d, 0x2e, 0xdf, - 0xb6, 0x7e, 0xdc, 0x9f, 0x49, 0x7b, 0x52, 0x4e, 0xa0, 0x01, 0x63, 0xcb, 0x53, 0x6d, 0x1e, 0x99, - 0x73, 0x63, 0x85, 0x32, 0xce, 0x1a, 0xf3, 0x5c, 0x8e, 0xb5, 0x99, 0xac, 0x60, 0x19, 0x9f, 0xff, - 0x15, 0x00, 0x00, 0xff, 0xff, 0xef, 0x25, 0xa5, 0xa9, 0xc3, 0x0e, 0x00, 0x00, +func file_os_os_proto_rawDescGZIP() []byte { + file_os_os_proto_rawDescOnce.Do(func() { + file_os_os_proto_rawDescData = protoimpl.X.CompressGZIP(file_os_os_proto_rawDescData) + }) + return file_os_os_proto_rawDescData +} + +var ( + file_os_os_proto_msgTypes = make([]protoimpl.MessageInfo, 19) + file_os_os_proto_goTypes = []interface{}{ + (*ContainersRequest)(nil), // 0: os.ContainersRequest + (*ContainerInfo)(nil), // 1: os.ContainerInfo + (*Container)(nil), // 2: os.Container + (*ContainersResponse)(nil), // 3: os.ContainersResponse + (*DmesgRequest)(nil), // 4: os.DmesgRequest + (*ProcessesRequest)(nil), // 5: os.ProcessesRequest + (*ProcessesResponse)(nil), // 6: os.ProcessesResponse + (*Process)(nil), // 7: os.Process + (*ProcessInfo)(nil), // 8: os.ProcessInfo + (*RestartRequest)(nil), // 9: os.RestartRequest + (*Restart)(nil), // 10: os.Restart + (*RestartResponse)(nil), // 11: os.RestartResponse + (*StatsRequest)(nil), // 12: os.StatsRequest + (*Stats)(nil), // 13: os.Stats + (*StatsResponse)(nil), // 14: os.StatsResponse + (*Stat)(nil), // 15: os.Stat + (*Memory)(nil), // 16: os.Memory + (*MemoryResponse)(nil), // 17: os.MemoryResponse + (*MemInfo)(nil), // 18: os.MemInfo + (common.ContainerDriver)(0), // 19: common.ContainerDriver + (*common.Metadata)(nil), // 20: common.Metadata + (*empty.Empty)(nil), // 21: google.protobuf.Empty + (*common.Data)(nil), // 22: common.Data + } +) + +var file_os_os_proto_depIdxs = []int32{ + 19, // 0: os.ContainersRequest.driver:type_name -> common.ContainerDriver + 20, // 1: os.Container.metadata:type_name -> common.Metadata + 1, // 2: os.Container.containers:type_name -> os.ContainerInfo + 2, // 3: os.ContainersResponse.messages:type_name -> os.Container + 7, // 4: os.ProcessesResponse.messages:type_name -> os.Process + 20, // 5: os.Process.metadata:type_name -> common.Metadata + 8, // 6: os.Process.processes:type_name -> os.ProcessInfo + 19, // 7: os.RestartRequest.driver:type_name -> common.ContainerDriver + 20, // 8: os.Restart.metadata:type_name -> common.Metadata + 10, // 9: os.RestartResponse.messages:type_name -> os.Restart + 19, // 10: os.StatsRequest.driver:type_name -> common.ContainerDriver + 20, // 11: os.Stats.metadata:type_name -> common.Metadata + 15, // 12: os.Stats.stats:type_name -> os.Stat + 13, // 13: os.StatsResponse.messages:type_name -> os.Stats + 20, // 14: os.Memory.metadata:type_name -> common.Metadata + 18, // 15: os.Memory.meminfo:type_name -> os.MemInfo + 16, // 16: os.MemoryResponse.messages:type_name -> os.Memory + 0, // 17: os.OSService.Containers:input_type -> os.ContainersRequest + 4, // 18: os.OSService.Dmesg:input_type -> os.DmesgRequest + 21, // 19: os.OSService.Memory:input_type -> google.protobuf.Empty + 21, // 20: os.OSService.Processes:input_type -> google.protobuf.Empty + 9, // 21: os.OSService.Restart:input_type -> os.RestartRequest + 12, // 22: os.OSService.Stats:input_type -> os.StatsRequest + 3, // 23: os.OSService.Containers:output_type -> os.ContainersResponse + 22, // 24: os.OSService.Dmesg:output_type -> common.Data + 17, // 25: os.OSService.Memory:output_type -> os.MemoryResponse + 6, // 26: os.OSService.Processes:output_type -> os.ProcessesResponse + 11, // 27: os.OSService.Restart:output_type -> os.RestartResponse + 14, // 28: os.OSService.Stats:output_type -> os.StatsResponse + 23, // [23:29] is the sub-list for method output_type + 17, // [17:23] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name +} + +func init() { file_os_os_proto_init() } +func file_os_os_proto_init() { + if File_os_os_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_os_os_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainerInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Container); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ContainersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DmesgRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Process); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProcessInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestartRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Restart); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestartResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Stats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Stat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Memory); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MemoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_os_os_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MemInfo); 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_os_os_proto_rawDesc, + NumEnums: 0, + NumMessages: 19, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_os_os_proto_goTypes, + DependencyIndexes: file_os_os_proto_depIdxs, + MessageInfos: file_os_os_proto_msgTypes, + }.Build() + File_os_os_proto = out.File + file_os_os_proto_rawDesc = nil + file_os_os_proto_goTypes = nil + file_os_os_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var ( _ context.Context - _ grpc.ClientConn + _ 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 // OSServiceClient is the client API for OSService service. // @@ -1599,10 +2136,10 @@ type OSServiceClient interface { } type oSServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewOSServiceClient(cc *grpc.ClientConn) OSServiceClient { +func NewOSServiceClient(cc grpc.ClientConnInterface) OSServiceClient { return &oSServiceClient{cc} } @@ -1693,6 +2230,34 @@ type OSServiceServer interface { Stats(context.Context, *StatsRequest) (*StatsResponse, error) } +// UnimplementedOSServiceServer can be embedded to have forward compatible implementations. +type UnimplementedOSServiceServer struct { +} + +func (*UnimplementedOSServiceServer) Containers(context.Context, *ContainersRequest) (*ContainersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Containers not implemented") +} + +func (*UnimplementedOSServiceServer) Dmesg(*DmesgRequest, OSService_DmesgServer) error { + return status.Errorf(codes.Unimplemented, "method Dmesg not implemented") +} + +func (*UnimplementedOSServiceServer) Memory(context.Context, *empty.Empty) (*MemoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Memory not implemented") +} + +func (*UnimplementedOSServiceServer) Processes(context.Context, *empty.Empty) (*ProcessesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Processes not implemented") +} + +func (*UnimplementedOSServiceServer) Restart(context.Context, *RestartRequest) (*RestartResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Restart not implemented") +} + +func (*UnimplementedOSServiceServer) Stats(context.Context, *StatsRequest) (*StatsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Stats not implemented") +} + func RegisterOSServiceServer(s *grpc.Server, srv OSServiceServer) { s.RegisterService(&_OSService_serviceDesc, srv) } diff --git a/api/security/security.pb.go b/api/security/security.pb.go index 4cee5d85e..c9d55f505 100644 --- a/api/security/security.pb.go +++ b/api/security/security.pb.go @@ -1,355 +1,530 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: security/security.proto package security import ( context "context" - fmt "fmt" - math "math" + reflect "reflect" + sync "sync" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) -// Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = 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 // The request message containing the process name. type CertificateRequest struct { - Csr []byte `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Csr []byte `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"` } -func (m *CertificateRequest) Reset() { *m = CertificateRequest{} } -func (m *CertificateRequest) String() string { return proto.CompactTextString(m) } -func (*CertificateRequest) ProtoMessage() {} +func (x *CertificateRequest) Reset() { + *x = CertificateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_security_security_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateRequest) ProtoMessage() {} + +func (x *CertificateRequest) ProtoReflect() protoreflect.Message { + mi := &file_security_security_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateRequest.ProtoReflect.Descriptor instead. func (*CertificateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45fd4b7e16002c2e, []int{0} + return file_security_security_proto_rawDescGZIP(), []int{0} } -func (m *CertificateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateRequest.Unmarshal(m, b) -} - -func (m *CertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateRequest.Marshal(b, m, deterministic) -} - -func (m *CertificateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateRequest.Merge(m, src) -} - -func (m *CertificateRequest) XXX_Size() int { - return xxx_messageInfo_CertificateRequest.Size(m) -} - -func (m *CertificateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateRequest proto.InternalMessageInfo - -func (m *CertificateRequest) GetCsr() []byte { - if m != nil { - return m.Csr +func (x *CertificateRequest) GetCsr() []byte { + if x != nil { + return x.Csr } return nil } // The response message containing the requested logs. type CertificateResponse struct { - Ca []byte `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"` - Crt []byte `protobuf:"bytes,2,opt,name=crt,proto3" json:"crt,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ca []byte `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"` + Crt []byte `protobuf:"bytes,2,opt,name=crt,proto3" json:"crt,omitempty"` } -func (m *CertificateResponse) Reset() { *m = CertificateResponse{} } -func (m *CertificateResponse) String() string { return proto.CompactTextString(m) } -func (*CertificateResponse) ProtoMessage() {} +func (x *CertificateResponse) Reset() { + *x = CertificateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_security_security_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CertificateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CertificateResponse) ProtoMessage() {} + +func (x *CertificateResponse) ProtoReflect() protoreflect.Message { + mi := &file_security_security_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CertificateResponse.ProtoReflect.Descriptor instead. func (*CertificateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_45fd4b7e16002c2e, []int{1} + return file_security_security_proto_rawDescGZIP(), []int{1} } -func (m *CertificateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CertificateResponse.Unmarshal(m, b) -} - -func (m *CertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CertificateResponse.Marshal(b, m, deterministic) -} - -func (m *CertificateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CertificateResponse.Merge(m, src) -} - -func (m *CertificateResponse) XXX_Size() int { - return xxx_messageInfo_CertificateResponse.Size(m) -} - -func (m *CertificateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CertificateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CertificateResponse proto.InternalMessageInfo - -func (m *CertificateResponse) GetCa() []byte { - if m != nil { - return m.Ca +func (x *CertificateResponse) GetCa() []byte { + if x != nil { + return x.Ca } return nil } -func (m *CertificateResponse) GetCrt() []byte { - if m != nil { - return m.Crt +func (x *CertificateResponse) GetCrt() []byte { + if x != nil { + return x.Crt } return nil } // The request message for reading a file on disk. type ReadFileRequest struct { - Path string `protobuf:"bytes,1,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 + + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` } -func (m *ReadFileRequest) Reset() { *m = ReadFileRequest{} } -func (m *ReadFileRequest) String() string { return proto.CompactTextString(m) } -func (*ReadFileRequest) ProtoMessage() {} +func (x *ReadFileRequest) Reset() { + *x = ReadFileRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_security_security_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadFileRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadFileRequest) ProtoMessage() {} + +func (x *ReadFileRequest) ProtoReflect() protoreflect.Message { + mi := &file_security_security_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadFileRequest.ProtoReflect.Descriptor instead. func (*ReadFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45fd4b7e16002c2e, []int{2} + return file_security_security_proto_rawDescGZIP(), []int{2} } -func (m *ReadFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadFileRequest.Unmarshal(m, b) -} - -func (m *ReadFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadFileRequest.Marshal(b, m, deterministic) -} - -func (m *ReadFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadFileRequest.Merge(m, src) -} - -func (m *ReadFileRequest) XXX_Size() int { - return xxx_messageInfo_ReadFileRequest.Size(m) -} - -func (m *ReadFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReadFileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadFileRequest proto.InternalMessageInfo - -func (m *ReadFileRequest) GetPath() string { - if m != nil { - return m.Path +func (x *ReadFileRequest) GetPath() string { + if x != nil { + return x.Path } return "" } // The response message for reading a file on disk. type ReadFileResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *ReadFileResponse) Reset() { *m = ReadFileResponse{} } -func (m *ReadFileResponse) String() string { return proto.CompactTextString(m) } -func (*ReadFileResponse) ProtoMessage() {} +func (x *ReadFileResponse) Reset() { + *x = ReadFileResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_security_security_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReadFileResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReadFileResponse) ProtoMessage() {} + +func (x *ReadFileResponse) ProtoReflect() protoreflect.Message { + mi := &file_security_security_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReadFileResponse.ProtoReflect.Descriptor instead. func (*ReadFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_45fd4b7e16002c2e, []int{3} + return file_security_security_proto_rawDescGZIP(), []int{3} } -func (m *ReadFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadFileResponse.Unmarshal(m, b) -} - -func (m *ReadFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadFileResponse.Marshal(b, m, deterministic) -} - -func (m *ReadFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadFileResponse.Merge(m, src) -} - -func (m *ReadFileResponse) XXX_Size() int { - return xxx_messageInfo_ReadFileResponse.Size(m) -} - -func (m *ReadFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReadFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadFileResponse proto.InternalMessageInfo - -func (m *ReadFileResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *ReadFileResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } // The request message containing the process name. type WriteFileRequest struct { - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Perm int32 `protobuf:"varint,3,opt,name=perm,proto3" json:"perm,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Perm int32 `protobuf:"varint,3,opt,name=perm,proto3" json:"perm,omitempty"` } -func (m *WriteFileRequest) Reset() { *m = WriteFileRequest{} } -func (m *WriteFileRequest) String() string { return proto.CompactTextString(m) } -func (*WriteFileRequest) ProtoMessage() {} +func (x *WriteFileRequest) Reset() { + *x = WriteFileRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_security_security_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WriteFileRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteFileRequest) ProtoMessage() {} + +func (x *WriteFileRequest) ProtoReflect() protoreflect.Message { + mi := &file_security_security_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead. func (*WriteFileRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_45fd4b7e16002c2e, []int{4} + return file_security_security_proto_rawDescGZIP(), []int{4} } -func (m *WriteFileRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteFileRequest.Unmarshal(m, b) -} - -func (m *WriteFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteFileRequest.Marshal(b, m, deterministic) -} - -func (m *WriteFileRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteFileRequest.Merge(m, src) -} - -func (m *WriteFileRequest) XXX_Size() int { - return xxx_messageInfo_WriteFileRequest.Size(m) -} - -func (m *WriteFileRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteFileRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteFileRequest proto.InternalMessageInfo - -func (m *WriteFileRequest) GetPath() string { - if m != nil { - return m.Path +func (x *WriteFileRequest) GetPath() string { + if x != nil { + return x.Path } return "" } -func (m *WriteFileRequest) GetData() []byte { - if m != nil { - return m.Data +func (x *WriteFileRequest) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *WriteFileRequest) GetPerm() int32 { - if m != nil { - return m.Perm +func (x *WriteFileRequest) GetPerm() int32 { + if x != nil { + return x.Perm } return 0 } // The response message containing the requested logs. type WriteFileResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WriteFileResponse) Reset() { *m = WriteFileResponse{} } -func (m *WriteFileResponse) String() string { return proto.CompactTextString(m) } -func (*WriteFileResponse) ProtoMessage() {} +func (x *WriteFileResponse) Reset() { + *x = WriteFileResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_security_security_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WriteFileResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteFileResponse) ProtoMessage() {} + +func (x *WriteFileResponse) ProtoReflect() protoreflect.Message { + mi := &file_security_security_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteFileResponse.ProtoReflect.Descriptor instead. func (*WriteFileResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_45fd4b7e16002c2e, []int{5} + return file_security_security_proto_rawDescGZIP(), []int{5} } -func (m *WriteFileResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteFileResponse.Unmarshal(m, b) +var File_security_security_proto protoreflect.FileDescriptor + +var file_security_security_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x61, 0x70, 0x69, 0x22, 0x26, 0x0a, 0x12, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, + 0x63, 0x73, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x63, 0x73, 0x72, 0x22, 0x37, + 0x0a, 0x13, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x63, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x02, 0x63, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x63, 0x72, 0x74, 0x22, 0x25, 0x0a, 0x0f, 0x52, 0x65, 0x61, 0x64, 0x46, + 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x26, + 0x0a, 0x10, 0x52, 0x65, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4e, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, 0x65, 0x46, + 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x65, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x70, 0x65, 0x72, 0x6d, 0x22, 0x13, 0x0a, 0x11, 0x57, 0x72, 0x69, 0x74, 0x65, 0x46, + 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xf8, 0x01, 0x0a, 0x0f, + 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x50, 0x0a, 0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1f, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x65, 0x72, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x20, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x47, 0x0a, 0x08, 0x52, 0x65, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1c, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x61, 0x64, + 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x65, 0x61, 0x64, 0x46, 0x69, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x09, 0x57, 0x72, + 0x69, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1d, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x61, 0x70, 0x69, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x4e, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x0b, 0x53, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x41, 0x70, 0x69, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2d, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x73, 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (m *WriteFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteFileResponse.Marshal(b, m, deterministic) +var ( + file_security_security_proto_rawDescOnce sync.Once + file_security_security_proto_rawDescData = file_security_security_proto_rawDesc +) + +func file_security_security_proto_rawDescGZIP() []byte { + file_security_security_proto_rawDescOnce.Do(func() { + file_security_security_proto_rawDescData = protoimpl.X.CompressGZIP(file_security_security_proto_rawDescData) + }) + return file_security_security_proto_rawDescData } -func (m *WriteFileResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteFileResponse.Merge(m, src) +var ( + file_security_security_proto_msgTypes = make([]protoimpl.MessageInfo, 6) + file_security_security_proto_goTypes = []interface{}{ + (*CertificateRequest)(nil), // 0: securityapi.CertificateRequest + (*CertificateResponse)(nil), // 1: securityapi.CertificateResponse + (*ReadFileRequest)(nil), // 2: securityapi.ReadFileRequest + (*ReadFileResponse)(nil), // 3: securityapi.ReadFileResponse + (*WriteFileRequest)(nil), // 4: securityapi.WriteFileRequest + (*WriteFileResponse)(nil), // 5: securityapi.WriteFileResponse + } +) + +var file_security_security_proto_depIdxs = []int32{ + 0, // 0: securityapi.SecurityService.Certificate:input_type -> securityapi.CertificateRequest + 2, // 1: securityapi.SecurityService.ReadFile:input_type -> securityapi.ReadFileRequest + 4, // 2: securityapi.SecurityService.WriteFile:input_type -> securityapi.WriteFileRequest + 1, // 3: securityapi.SecurityService.Certificate:output_type -> securityapi.CertificateResponse + 3, // 4: securityapi.SecurityService.ReadFile:output_type -> securityapi.ReadFileResponse + 5, // 5: securityapi.SecurityService.WriteFile:output_type -> securityapi.WriteFileResponse + 3, // [3:6] is the sub-list for method output_type + 0, // [0:3] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name } -func (m *WriteFileResponse) XXX_Size() int { - return xxx_messageInfo_WriteFileResponse.Size(m) -} - -func (m *WriteFileResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WriteFileResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WriteFileResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*CertificateRequest)(nil), "securityapi.CertificateRequest") - proto.RegisterType((*CertificateResponse)(nil), "securityapi.CertificateResponse") - proto.RegisterType((*ReadFileRequest)(nil), "securityapi.ReadFileRequest") - proto.RegisterType((*ReadFileResponse)(nil), "securityapi.ReadFileResponse") - proto.RegisterType((*WriteFileRequest)(nil), "securityapi.WriteFileRequest") - proto.RegisterType((*WriteFileResponse)(nil), "securityapi.WriteFileResponse") -} - -func init() { proto.RegisterFile("security/security.proto", fileDescriptor_45fd4b7e16002c2e) } - -var fileDescriptor_45fd4b7e16002c2e = []byte{ - // 321 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x4b, 0x03, 0x31, - 0x10, 0xc5, 0xd9, 0x6d, 0x15, 0x3b, 0x15, 0xbb, 0xa6, 0x07, 0x4b, 0xf1, 0xa3, 0x2c, 0x58, 0x0a, - 0xe2, 0x16, 0xf4, 0xe0, 0xd9, 0x0a, 0x0a, 0x1e, 0x4a, 0xd9, 0x1e, 0x04, 0x6f, 0x69, 0x3a, 0xda, - 0x40, 0xd7, 0xc4, 0x64, 0x2a, 0xf4, 0x3f, 0xf7, 0x28, 0xa6, 0xd9, 0xed, 0x87, 0x2c, 0xde, 0x5e, - 0x98, 0xdf, 0x7b, 0x61, 0x1e, 0x03, 0x27, 0x16, 0xc5, 0xc2, 0x48, 0x5a, 0xf6, 0x73, 0x91, 0x68, - 0xa3, 0x48, 0xb1, 0x7a, 0xfe, 0xe6, 0x5a, 0xc6, 0x5d, 0x60, 0x0f, 0x68, 0x48, 0xbe, 0x49, 0xc1, - 0x09, 0x53, 0xfc, 0x5c, 0xa0, 0x25, 0x16, 0x41, 0x45, 0x58, 0xd3, 0x0a, 0x3a, 0x41, 0xef, 0x30, - 0xfd, 0x95, 0xf1, 0x1d, 0x34, 0xb7, 0x38, 0xab, 0xd5, 0x87, 0x45, 0x76, 0x04, 0xa1, 0xe0, 0x9e, - 0x0b, 0x05, 0x77, 0x46, 0x43, 0xad, 0xd0, 0x1b, 0x0d, 0xc5, 0x97, 0xd0, 0x48, 0x91, 0x4f, 0x1f, - 0xe5, 0xbc, 0x48, 0x67, 0x50, 0xd5, 0x9c, 0x66, 0xce, 0x56, 0x4b, 0x9d, 0x8e, 0xbb, 0x10, 0xad, - 0x31, 0x1f, 0xce, 0xa0, 0x3a, 0xe5, 0x94, 0xc7, 0x3b, 0x1d, 0x0f, 0x21, 0x7a, 0x31, 0x92, 0xf0, - 0x9f, 0xbc, 0xc2, 0x1b, 0xae, 0xbd, 0x8e, 0x43, 0x93, 0xb5, 0x2a, 0x9d, 0xa0, 0xb7, 0x97, 0x3a, - 0x1d, 0x37, 0xe1, 0x78, 0x23, 0x6f, 0xf5, 0xf1, 0xcd, 0x77, 0x00, 0x8d, 0xb1, 0x2f, 0x69, 0x8c, - 0xe6, 0x4b, 0x0a, 0x64, 0x23, 0xa8, 0x6f, 0x14, 0xc0, 0x2e, 0x92, 0x8d, 0x16, 0x93, 0xbf, 0x15, - 0xb6, 0x3b, 0xe5, 0x80, 0x5f, 0xef, 0x09, 0x0e, 0xf2, 0x95, 0xd9, 0xe9, 0x16, 0xbd, 0x53, 0x58, - 0xfb, 0xac, 0x64, 0xea, 0x83, 0x9e, 0xa1, 0x56, 0xec, 0xc0, 0xb6, 0xd9, 0xdd, 0xae, 0xda, 0xe7, - 0x65, 0xe3, 0x55, 0xd6, 0x60, 0x08, 0x91, 0x50, 0x59, 0x01, 0x25, 0x5c, 0xcb, 0x41, 0x3d, 0xef, - 0xe2, 0x5e, 0xcb, 0x51, 0xf0, 0x7a, 0xf5, 0x2e, 0x69, 0xb6, 0x98, 0x24, 0x42, 0x65, 0x7d, 0xe2, - 0x73, 0x65, 0xaf, 0xed, 0xd2, 0x12, 0x66, 0x76, 0xf5, 0xea, 0x73, 0x2d, 0x8b, 0x93, 0x9b, 0xec, - 0xbb, 0x9b, 0xbb, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x87, 0x47, 0xc7, 0x8e, 0x02, 0x00, - 0x00, +func init() { file_security_security_proto_init() } +func file_security_security_proto_init() { + if File_security_security_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_security_security_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_security_security_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CertificateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_security_security_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadFileRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_security_security_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReadFileResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_security_security_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteFileRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_security_security_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteFileResponse); 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_security_security_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_security_security_proto_goTypes, + DependencyIndexes: file_security_security_proto_depIdxs, + MessageInfos: file_security_security_proto_msgTypes, + }.Build() + File_security_security_proto = out.File + file_security_security_proto_rawDesc = nil + file_security_security_proto_goTypes = nil + file_security_security_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var ( _ context.Context - _ grpc.ClientConn + _ 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 // SecurityServiceClient is the client API for SecurityService service. // @@ -361,10 +536,10 @@ type SecurityServiceClient interface { } type securityServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewSecurityServiceClient(cc *grpc.ClientConn) SecurityServiceClient { +func NewSecurityServiceClient(cc grpc.ClientConnInterface) SecurityServiceClient { return &securityServiceClient{cc} } @@ -402,6 +577,22 @@ type SecurityServiceServer interface { WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error) } +// UnimplementedSecurityServiceServer can be embedded to have forward compatible implementations. +type UnimplementedSecurityServiceServer struct { +} + +func (*UnimplementedSecurityServiceServer) Certificate(context.Context, *CertificateRequest) (*CertificateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Certificate not implemented") +} + +func (*UnimplementedSecurityServiceServer) ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReadFile not implemented") +} + +func (*UnimplementedSecurityServiceServer) WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WriteFile not implemented") +} + func RegisterSecurityServiceServer(s *grpc.Server, srv SecurityServiceServer) { s.RegisterService(&_SecurityService_serviceDesc, srv) } diff --git a/api/time/time.pb.go b/api/time/time.pb.go index 933cf75d0..3c239d0d9 100644 --- a/api/time/time.pb.go +++ b/api/time/time.pb.go @@ -1,231 +1,361 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: time/time.proto package time import ( context "context" - fmt "fmt" - math "math" + reflect "reflect" + sync "sync" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" timestamp "github.com/golang/protobuf/ptypes/timestamp" grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" common "github.com/talos-systems/talos/api/common" ) -// Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = 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 // The response message containing the ntp server type TimeRequest struct { - Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` } -func (m *TimeRequest) Reset() { *m = TimeRequest{} } -func (m *TimeRequest) String() string { return proto.CompactTextString(m) } -func (*TimeRequest) ProtoMessage() {} +func (x *TimeRequest) Reset() { + *x = TimeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_time_time_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeRequest) ProtoMessage() {} + +func (x *TimeRequest) ProtoReflect() protoreflect.Message { + mi := &file_time_time_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimeRequest.ProtoReflect.Descriptor instead. func (*TimeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e7ed1ef5b20ef4ce, []int{0} + return file_time_time_proto_rawDescGZIP(), []int{0} } -func (m *TimeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeRequest.Unmarshal(m, b) -} - -func (m *TimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeRequest.Marshal(b, m, deterministic) -} - -func (m *TimeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeRequest.Merge(m, src) -} - -func (m *TimeRequest) XXX_Size() int { - return xxx_messageInfo_TimeRequest.Size(m) -} - -func (m *TimeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TimeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TimeRequest proto.InternalMessageInfo - -func (m *TimeRequest) GetServer() string { - if m != nil { - return m.Server +func (x *TimeRequest) GetServer() string { + if x != nil { + return x.Server } return "" } type Time struct { - Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` - Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"` - Localtime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=localtime,proto3" json:"localtime,omitempty"` - Remotetime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=remotetime,proto3" json:"remotetime,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"` + Localtime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=localtime,proto3" json:"localtime,omitempty"` + Remotetime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=remotetime,proto3" json:"remotetime,omitempty"` } -func (m *Time) Reset() { *m = Time{} } -func (m *Time) String() string { return proto.CompactTextString(m) } -func (*Time) ProtoMessage() {} +func (x *Time) Reset() { + *x = Time{} + if protoimpl.UnsafeEnabled { + mi := &file_time_time_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Time) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Time) ProtoMessage() {} + +func (x *Time) ProtoReflect() protoreflect.Message { + mi := &file_time_time_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Time.ProtoReflect.Descriptor instead. func (*Time) Descriptor() ([]byte, []int) { - return fileDescriptor_e7ed1ef5b20ef4ce, []int{1} + return file_time_time_proto_rawDescGZIP(), []int{1} } -func (m *Time) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Time.Unmarshal(m, b) -} - -func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Time.Marshal(b, m, deterministic) -} - -func (m *Time) XXX_Merge(src proto.Message) { - xxx_messageInfo_Time.Merge(m, src) -} - -func (m *Time) XXX_Size() int { - return xxx_messageInfo_Time.Size(m) -} - -func (m *Time) XXX_DiscardUnknown() { - xxx_messageInfo_Time.DiscardUnknown(m) -} - -var xxx_messageInfo_Time proto.InternalMessageInfo - -func (m *Time) GetMetadata() *common.Metadata { - if m != nil { - return m.Metadata +func (x *Time) GetMetadata() *common.Metadata { + if x != nil { + return x.Metadata } return nil } -func (m *Time) GetServer() string { - if m != nil { - return m.Server +func (x *Time) GetServer() string { + if x != nil { + return x.Server } return "" } -func (m *Time) GetLocaltime() *timestamp.Timestamp { - if m != nil { - return m.Localtime +func (x *Time) GetLocaltime() *timestamp.Timestamp { + if x != nil { + return x.Localtime } return nil } -func (m *Time) GetRemotetime() *timestamp.Timestamp { - if m != nil { - return m.Remotetime +func (x *Time) GetRemotetime() *timestamp.Timestamp { + if x != nil { + return x.Remotetime } return nil } // The response message containing the ntp server, time, and offset type TimeResponse struct { - Messages []*Time `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Messages []*Time `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` } -func (m *TimeResponse) Reset() { *m = TimeResponse{} } -func (m *TimeResponse) String() string { return proto.CompactTextString(m) } -func (*TimeResponse) ProtoMessage() {} +func (x *TimeResponse) Reset() { + *x = TimeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_time_time_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeResponse) ProtoMessage() {} + +func (x *TimeResponse) ProtoReflect() protoreflect.Message { + mi := &file_time_time_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TimeResponse.ProtoReflect.Descriptor instead. func (*TimeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e7ed1ef5b20ef4ce, []int{2} + return file_time_time_proto_rawDescGZIP(), []int{2} } -func (m *TimeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimeResponse.Unmarshal(m, b) -} - -func (m *TimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimeResponse.Marshal(b, m, deterministic) -} - -func (m *TimeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimeResponse.Merge(m, src) -} - -func (m *TimeResponse) XXX_Size() int { - return xxx_messageInfo_TimeResponse.Size(m) -} - -func (m *TimeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TimeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_TimeResponse proto.InternalMessageInfo - -func (m *TimeResponse) GetMessages() []*Time { - if m != nil { - return m.Messages +func (x *TimeResponse) GetMessages() []*Time { + if x != nil { + return x.Messages } return nil } -func init() { - proto.RegisterType((*TimeRequest)(nil), "time.TimeRequest") - proto.RegisterType((*Time)(nil), "time.Time") - proto.RegisterType((*TimeResponse)(nil), "time.TimeResponse") +var File_time_time_proto protoreflect.FileDescriptor + +var file_time_time_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a, 0x0b, 0x54, 0x69, + 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, + 0x76, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x22, 0xc2, 0x01, 0x0a, 0x04, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x12, 0x38, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x32, 0x75, + 0x0a, 0x0b, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x32, 0x0a, + 0x04, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x32, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x11, + 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x12, 0x2e, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x42, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x41, 0x70, 0x69, 0x50, 0x01, + 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x61, 0x6c, + 0x6f, 0x73, 0x2d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x74, 0x61, 0x6c, 0x6f, 0x73, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } -func init() { proto.RegisterFile("time/time.proto", fileDescriptor_e7ed1ef5b20ef4ce) } +var ( + file_time_time_proto_rawDescOnce sync.Once + file_time_time_proto_rawDescData = file_time_time_proto_rawDesc +) -var fileDescriptor_e7ed1ef5b20ef4ce = []byte{ - // 333 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4b, 0xc3, 0x30, - 0x14, 0xc6, 0xa9, 0x1b, 0xd3, 0xbd, 0x0d, 0xd4, 0x08, 0x63, 0xd4, 0x83, 0x63, 0xa0, 0xee, 0xa0, - 0x2d, 0x54, 0x10, 0xf1, 0xe6, 0xc4, 0xa3, 0x20, 0x75, 0x27, 0x6f, 0x59, 0x7d, 0x76, 0xc1, 0x66, - 0x89, 0x7d, 0xe9, 0x60, 0xff, 0x9e, 0x7f, 0x99, 0x24, 0xe9, 0x66, 0x51, 0xc1, 0xcb, 0xd6, 0xf7, - 0xde, 0xef, 0x7d, 0xf9, 0xf2, 0x05, 0xf6, 0x8d, 0x90, 0x18, 0xdb, 0x9f, 0x48, 0x97, 0xca, 0x28, - 0xd6, 0xb6, 0xdf, 0xe1, 0x71, 0xae, 0x54, 0x5e, 0x60, 0xec, 0x7a, 0xf3, 0xea, 0x2d, 0x46, 0xa9, - 0xcd, 0xda, 0x23, 0xe1, 0xc9, 0xcf, 0xa1, 0x5d, 0x21, 0xc3, 0xa5, 0xae, 0x81, 0xa3, 0x4c, 0x49, - 0xa9, 0x96, 0xb1, 0xff, 0xf3, 0xcd, 0xf1, 0x29, 0xf4, 0x66, 0x42, 0x62, 0x8a, 0x1f, 0x15, 0x92, - 0x61, 0x03, 0xe8, 0x10, 0x96, 0x2b, 0x2c, 0x87, 0xc1, 0x28, 0x98, 0x74, 0xd3, 0xba, 0x1a, 0x7f, - 0x06, 0xd0, 0xb6, 0x1c, 0xbb, 0x80, 0x3d, 0x89, 0x86, 0xbf, 0x72, 0xc3, 0x1d, 0xd2, 0x4b, 0x0e, - 0xa2, 0x5a, 0xf0, 0xb1, 0xee, 0xa7, 0x5b, 0xa2, 0x21, 0xb7, 0xd3, 0x94, 0x63, 0x37, 0xd0, 0x2d, - 0x54, 0xc6, 0x0b, 0x6b, 0x71, 0xd8, 0x72, 0x32, 0x61, 0xe4, 0xfd, 0x47, 0x1b, 0xff, 0xd1, 0x6c, - 0xe3, 0x3f, 0xfd, 0x86, 0xd9, 0x2d, 0x40, 0x89, 0x52, 0x19, 0x74, 0xab, 0xed, 0x7f, 0x57, 0x1b, - 0xf4, 0xf8, 0x1a, 0xfa, 0xfe, 0xae, 0xa4, 0xd5, 0x92, 0x90, 0x9d, 0xd9, 0xbb, 0x10, 0xf1, 0x1c, - 0x69, 0x18, 0x8c, 0x5a, 0x93, 0x5e, 0x02, 0x91, 0xcb, 0xdc, 0x51, 0xdb, 0x59, 0x52, 0xf9, 0x8c, - 0x9e, 0xb1, 0x5c, 0x89, 0x0c, 0x59, 0x52, 0x47, 0x31, 0xf8, 0x75, 0xec, 0x83, 0x7d, 0x8e, 0x90, - 0x35, 0x44, 0x36, 0x47, 0x25, 0xd0, 0xb5, 0xf5, 0xfd, 0x02, 0xb3, 0x77, 0x76, 0xd8, 0x04, 0x5c, - 0xee, 0x7f, 0xed, 0x4c, 0xa7, 0xd0, 0xcf, 0x94, 0xf4, 0x03, 0xae, 0xc5, 0x74, 0xd7, 0x4e, 0xef, - 0xb4, 0x78, 0x0a, 0x5e, 0xce, 0x73, 0x61, 0x16, 0xd5, 0xdc, 0x26, 0x1f, 0x1b, 0x5e, 0x28, 0xba, - 0xa4, 0x35, 0x19, 0x94, 0xe4, 0xab, 0x98, 0x6b, 0xe1, 0x9e, 0x7f, 0xde, 0x71, 0xde, 0xae, 0xbe, - 0x02, 0x00, 0x00, 0xff, 0xff, 0x0f, 0xc9, 0x4e, 0xf0, 0x51, 0x02, 0x00, 0x00, +func file_time_time_proto_rawDescGZIP() []byte { + file_time_time_proto_rawDescOnce.Do(func() { + file_time_time_proto_rawDescData = protoimpl.X.CompressGZIP(file_time_time_proto_rawDescData) + }) + return file_time_time_proto_rawDescData +} + +var ( + file_time_time_proto_msgTypes = make([]protoimpl.MessageInfo, 3) + file_time_time_proto_goTypes = []interface{}{ + (*TimeRequest)(nil), // 0: time.TimeRequest + (*Time)(nil), // 1: time.Time + (*TimeResponse)(nil), // 2: time.TimeResponse + (*common.Metadata)(nil), // 3: common.Metadata + (*timestamp.Timestamp)(nil), // 4: google.protobuf.Timestamp + (*empty.Empty)(nil), // 5: google.protobuf.Empty + } +) + +var file_time_time_proto_depIdxs = []int32{ + 3, // 0: time.Time.metadata:type_name -> common.Metadata + 4, // 1: time.Time.localtime:type_name -> google.protobuf.Timestamp + 4, // 2: time.Time.remotetime:type_name -> google.protobuf.Timestamp + 1, // 3: time.TimeResponse.messages:type_name -> time.Time + 5, // 4: time.TimeService.Time:input_type -> google.protobuf.Empty + 0, // 5: time.TimeService.TimeCheck:input_type -> time.TimeRequest + 2, // 6: time.TimeService.Time:output_type -> time.TimeResponse + 2, // 7: time.TimeService.TimeCheck:output_type -> time.TimeResponse + 6, // [6:8] is the sub-list for method output_type + 4, // [4:6] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_time_time_proto_init() } +func file_time_time_proto_init() { + if File_time_time_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_time_time_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_time_time_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Time); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_time_time_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeResponse); 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_time_time_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_time_time_proto_goTypes, + DependencyIndexes: file_time_time_proto_depIdxs, + MessageInfos: file_time_time_proto_msgTypes, + }.Build() + File_time_time_proto = out.File + file_time_time_proto_rawDesc = nil + file_time_time_proto_goTypes = nil + file_time_time_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var ( _ context.Context - _ grpc.ClientConn + _ 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 // TimeServiceClient is the client API for TimeService service. // @@ -236,10 +366,10 @@ type TimeServiceClient interface { } type timeServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewTimeServiceClient(cc *grpc.ClientConn) TimeServiceClient { +func NewTimeServiceClient(cc grpc.ClientConnInterface) TimeServiceClient { return &timeServiceClient{cc} } @@ -267,6 +397,18 @@ type TimeServiceServer interface { TimeCheck(context.Context, *TimeRequest) (*TimeResponse, error) } +// UnimplementedTimeServiceServer can be embedded to have forward compatible implementations. +type UnimplementedTimeServiceServer struct { +} + +func (*UnimplementedTimeServiceServer) Time(context.Context, *empty.Empty) (*TimeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Time not implemented") +} + +func (*UnimplementedTimeServiceServer) TimeCheck(context.Context, *TimeRequest) (*TimeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method TimeCheck not implemented") +} + func RegisterTimeServiceServer(s *grpc.Server, srv TimeServiceServer) { s.RegisterService(&_TimeService_serviceDesc, srv) } diff --git a/cmd/talosctl/cmd/talos/list.go b/cmd/talosctl/cmd/talos/list.go index 38f6e58c0..ac8e5bf0e 100644 --- a/cmd/talosctl/cmd/talos/list.go +++ b/cmd/talosctl/cmd/talos/list.go @@ -45,7 +45,7 @@ var lsCmd = &cobra.Command{ rootDir = args[0] } - stream, err := c.LS(ctx, machineapi.ListRequest{ + stream, err := c.LS(ctx, &machineapi.ListRequest{ Root: rootDir, Recurse: recurse, RecursionDepth: recursionDepth, diff --git a/go.mod b/go.mod index 98749863b..cc828299c 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e github.com/beevik/ntp v0.3.0 github.com/containerd/cgroups v0.0.0-20191125132625-80b32e3c75c9 - github.com/containerd/containerd v1.3.2 + github.com/containerd/containerd v1.3.6 github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb // indirect github.com/containerd/cri v1.11.1 github.com/containerd/go-cni v0.0.0-20191121212822-60d125212faf @@ -34,7 +34,7 @@ require ( github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gogo/googleapis v1.3.0 // indirect github.com/gogo/protobuf v1.3.1 - github.com/golang/protobuf v1.3.2 + github.com/golang/protobuf v1.4.2 github.com/google/uuid v1.1.1 github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 github.com/hashicorp/go-getter v1.4.0 @@ -42,7 +42,6 @@ require ( github.com/hugelgupf/socketpair v0.0.0-20190730060125-05d35a94e714 // indirect github.com/insomniacslk/dhcp v0.0.0-20190814082028-393ae75a101b github.com/jsimonetti/rtnetlink v0.0.0-20191223084007-1b9462860ac0 - github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect github.com/kubernetes-sigs/bootkube v0.14.1-0.20200501183829-d8e5fa33347a github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7 // indirect github.com/mdlayher/genetlink v1.0.0 @@ -51,8 +50,8 @@ require ( github.com/onsi/gomega v1.8.1 // indirect github.com/opencontainers/go-digest v1.0.0-rc1 // indirect github.com/opencontainers/image-spec v1.0.1 // indirect - github.com/opencontainers/runc v1.0.0-rc8 // indirect - github.com/opencontainers/runtime-spec v1.0.1 + github.com/opencontainers/runc v1.0.0-rc90 // indirect + github.com/opencontainers/runtime-spec v1.0.3-0.20200520003142-237cc4f519e2 github.com/pin/tftp v2.1.0+incompatible github.com/prometheus/procfs v0.0.8 github.com/ryanuber/columnize v2.1.0+incompatible @@ -65,15 +64,17 @@ require ( github.com/talos-systems/go-smbios v0.0.0-20200219201045-94b8c4e489ee github.com/talos-systems/grpc-proxy v0.2.0 github.com/u-root/u-root v6.0.0+incompatible // indirect + github.com/vishvananda/netns v0.0.0-20200520041808-52d707b772fe // indirect github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728 go.etcd.io/etcd v3.3.13+incompatible golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975 golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e - golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 + golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae golang.org/x/text v0.3.2 golang.org/x/time v0.0.0-20191024005414-555d28b269f0 - google.golang.org/grpc v1.26.0 + google.golang.org/grpc v1.27.0 + google.golang.org/protobuf v1.25.0 // indirect gopkg.in/freddierice/go-losetup.v1 v1.0.0-20170407175016-fc9adea44124 gopkg.in/fsnotify.v1 v1.4.7 gopkg.in/yaml.v2 v2.2.8 diff --git a/go.sum b/go.sum index 4e359cdc3..d93989ad0 100644 --- a/go.sum +++ b/go.sum @@ -89,8 +89,8 @@ github.com/containerd/cgroups v0.0.0-20191125132625-80b32e3c75c9 h1:KiyS9s7L2pqV github.com/containerd/cgroups v0.0.0-20191125132625-80b32e3c75c9/go.mod h1:FwbKQCduYoQfIgPclXEWCx5nXWYmnAV7+syVQrs+Z/w= github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw= github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.3.2 h1:ForxmXkA6tPIvffbrDAcPUIB32QgXkt2XFj+F0UxetA= -github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/containerd/containerd v1.3.6 h1:SMfcKoQyWhaRsYq7290ioC6XFcHDNcHvcEMjF6ORpac= +github.com/containerd/containerd v1.3.6/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb h1:qnmt9wMfo45pMuNhMs2OaC60+Di5p/2l2w/7PXwW6vQ= github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= @@ -136,6 +136,7 @@ github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f h1:lBNOc5arjvs8E5mO2tbp github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= @@ -302,6 +303,14 @@ github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5y github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +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/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= @@ -311,6 +320,8 @@ github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -402,9 +413,8 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s= -github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= @@ -489,11 +499,11 @@ github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQ github.com/opencontainers/image-spec v1.0.1 h1:JMemWkRwHx4Zj+fVxWoMCFm/8sYGGrUVojFA6h/TRcI= github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.0-rc8 h1:dDCFes8Hj1r/i5qnypONo5jdOme/8HWZC/aNDyhECt0= -github.com/opencontainers/runc v1.0.0-rc8/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runtime-spec v0.1.2-0.20180301181910-fa4b36aa9c99 h1:OsIBU/WicK2QHOiDBSDDTKmHIq17HSLA44v+AE65wf4= -github.com/opencontainers/runtime-spec v0.1.2-0.20180301181910-fa4b36aa9c99/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runc v1.0.0-rc90 h1:4+xo8mtWixbHoEm451+WJNUrq12o2/tDsyK9Vgc/NcA= +github.com/opencontainers/runc v1.0.0-rc90/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.0.3-0.20200520003142-237cc4f519e2 h1:9mv9SC7GWmRWE0J/+oD8w3GsN2KYGKtg6uwLN7hfP5E= +github.com/opencontainers/runtime-spec v1.0.3-0.20200520003142-237cc4f519e2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/pborman/uuid v0.0.0-20150603214016-ca53cad383ca/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= @@ -539,11 +549,13 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.5.0/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= +github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ryanuber/columnize v2.1.0+incompatible h1:j1Wcmh8OrK4Q7GXY+V7SVSY8nUWQxHW5TkBe7YUl+2s= github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= @@ -611,6 +623,7 @@ github.com/ulikunitz/xz v0.5.5 h1:pFrO0lVpTBXLpYw+pnLj6TbvHuyjXMfjGeCwSqCVwok= github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.22.1 h1:+mkCCcOFKPnCmVYVcURKps1Xe+3zP90gSYGNfRkjoIY= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/vektah/gqlparser v1.1.2/go.mod h1:1ycwN7Ij5njmMkPPAOaRFY4rET2Enx7IkVv3vaXspKw= github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf h1:3J37+NPjNyGW/dbfXtj3yWuF9OEepIdGOXRaJGbORV8= @@ -621,6 +634,8 @@ github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc h1:R83G5ikgLMxrB github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df h1:OviZH7qLw/7ZovXvuNyL3XQl8UFofeikI1NW1Gypu7k= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= +github.com/vishvananda/netns v0.0.0-20200520041808-52d707b772fe h1:mjAZxE1nh8yvuwhGHpdDqdhtNu2dgbpk93TwoXuk5so= +github.com/vishvananda/netns v0.0.0-20200520041808-52d707b772fe/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728 h1:sH9mEk+flyDxiUa5BuPiuhDETMbzrt9A20I2wktMvRQ= github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728/go.mod h1:x9oS4Wk2s2u4tS29nEaDLdzvuHdB19CvSGJjPgkZJNk= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= @@ -771,6 +786,9 @@ golang.org/x/sys v0.0.0-20191112214154-59a1497f0cea/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 h1:LfCXLvNmTYH9kEmVgqbnsWfruoXZIrh4YBgqVHtDvw0= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae h1:Ih9Yo4hSPImZOpfGuA4bR/ORKTAbhZo2AbWNRCnevdo= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/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= @@ -843,6 +861,8 @@ google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03/go.mod h1:n3cpQtvx google.golang.org/genproto v0.0.0-20191028173616-919d9bdd9fe6/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a h1:Ob5/580gVHBJZgXnff1cZDbG+xLtMVE5mDRTe+nIsX4= google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -853,6 +873,19 @@ google.golang.org/grpc v1.25.1 h1:wdKvqQk7IttEw92GoRyKG2IDrUIpgpj6H6m81yfeMW0= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= 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.27.0 h1:rRYRFMVgRv6E0D70Skyfsr28tDXIuuPZyWGMPdMcnXg= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/internal/app/apid/pkg/backend/apid.go b/internal/app/apid/pkg/backend/apid.go index 34d8dc283..3880b19dc 100644 --- a/internal/app/apid/pkg/backend/apid.go +++ b/internal/app/apid/pkg/backend/apid.go @@ -9,11 +9,12 @@ import ( "fmt" "sync" - "github.com/gogo/protobuf/proto" "github.com/talos-systems/grpc-proxy/proxy" "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/grpc/metadata" + "google.golang.org/protobuf/encoding/protowire" + "google.golang.org/protobuf/proto" "github.com/talos-systems/talos/api/common" "github.com/talos-systems/talos/pkg/constants" @@ -143,8 +144,16 @@ func (a *APID) AppendInfo(streaming bool, resp []byte) ([]byte, error) { ) // decode protobuf embedded header - typ, n1 := proto.DecodeVarint(resp) - _, n2 := proto.DecodeVarint(resp[n1:]) // length + + typ, n1 := protowire.ConsumeVarint(resp) + if n1 < 0 { + return nil, protowire.ParseError(n1) + } + + _, n2 := protowire.ConsumeVarint(resp[n1:]) // length + if n2 < 0 { + return nil, protowire.ParseError(n2) + } if typ != (metadataField<<3)|metadataType { return nil, fmt.Errorf("unexpected message format: %d", typ) @@ -157,7 +166,10 @@ func (a *APID) AppendInfo(streaming bool, resp []byte) ([]byte, error) { // cut off embedded message header resp = resp[n1+n2:] // build new embedded message header - prefix := append(proto.EncodeVarint((metadataField<<3)|metadataType), proto.EncodeVarint(uint64(len(resp)+len(payload)))...) + prefix := protowire.AppendVarint( + protowire.AppendVarint(nil, (metadataField<<3)|metadataType), + uint64(len(resp)+len(payload)), + ) resp = append(prefix, resp...) return append(resp, payload...), err diff --git a/internal/app/apid/pkg/backend/apid_test.go b/internal/app/apid/pkg/backend/apid_test.go index aeed54f9e..8fb74ab78 100644 --- a/internal/app/apid/pkg/backend/apid_test.go +++ b/internal/app/apid/pkg/backend/apid_test.go @@ -10,12 +10,12 @@ import ( "errors" "testing" - "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" "github.com/talos-systems/grpc-proxy/proxy" "google.golang.org/grpc/credentials" "google.golang.org/grpc/metadata" + "google.golang.org/protobuf/proto" "github.com/talos-systems/talos/api/common" "github.com/talos-systems/talos/internal/app/apid/pkg/backend" diff --git a/internal/app/machined/pkg/runtime/events.go b/internal/app/machined/pkg/runtime/events.go index dece11917..cf8639650 100644 --- a/internal/app/machined/pkg/runtime/events.go +++ b/internal/app/machined/pkg/runtime/events.go @@ -5,8 +5,8 @@ package runtime import ( - "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/any" + "google.golang.org/protobuf/proto" "github.com/talos-systems/talos/api/machine" ) diff --git a/internal/app/machined/pkg/runtime/v1alpha1/v1alpha1_events.go b/internal/app/machined/pkg/runtime/v1alpha1/v1alpha1_events.go index f8988aa6b..3984e2883 100644 --- a/internal/app/machined/pkg/runtime/v1alpha1/v1alpha1_events.go +++ b/internal/app/machined/pkg/runtime/v1alpha1/v1alpha1_events.go @@ -9,7 +9,7 @@ import ( "fmt" "sync" - "github.com/golang/protobuf/proto" + "google.golang.org/protobuf/proto" "github.com/talos-systems/talos/internal/app/machined/pkg/runtime" ) @@ -171,7 +171,9 @@ func (e *Events) Publish(msg proto.Message) { event := runtime.Event{ // In the future, we can publish `talos/runtime`, and // `talos/plugin/` (or something along those lines) events. - TypeURL: fmt.Sprintf("talos/runtime/%s", proto.MessageName(msg)), + // TypeURL: fmt.Sprintf("talos/runtime/%s", protoreflect.MessageDescriptor.FullName(msg)), + + TypeURL: fmt.Sprintf("talos/runtime/%s", msg.ProtoReflect().Descriptor().FullName()), Payload: msg, } diff --git a/internal/app/networkd/pkg/nic/nic.go b/internal/app/networkd/pkg/nic/nic.go index e6d9edb07..3eb6f318c 100644 --- a/internal/app/networkd/pkg/nic/nic.go +++ b/internal/app/networkd/pkg/nic/nic.go @@ -16,12 +16,12 @@ import ( "syscall" "time" - "github.com/golang/protobuf/proto" "github.com/hashicorp/go-multierror" "github.com/jsimonetti/rtnetlink" "github.com/jsimonetti/rtnetlink/rtnl" "github.com/mdlayher/netlink" "golang.org/x/sys/unix" + "google.golang.org/protobuf/proto" "github.com/talos-systems/go-procfs/procfs" diff --git a/pkg/client/client.go b/pkg/client/client.go index dcda518ed..716623469 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -18,12 +18,12 @@ import ( "strings" "sync" - "github.com/golang/protobuf/proto" "github.com/golang/protobuf/ptypes/empty" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/credentials" "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" grpctls "github.com/talos-systems/talos/pkg/grpc/tls" @@ -528,8 +528,8 @@ func (c *Client) Mounts(ctx context.Context, callOptions ...grpc.CallOption) (re } // LS implements the proto.OSClient interface. -func (c *Client) LS(ctx context.Context, req machineapi.ListRequest) (stream machineapi.MachineService_ListClient, err error) { - return c.MachineClient.List(ctx, &req) +func (c *Client) LS(ctx context.Context, req *machineapi.ListRequest) (stream machineapi.MachineService_ListClient, err error) { + return c.MachineClient.List(ctx, req) } // Copy implements the proto.OSClient interface. @@ -806,8 +806,10 @@ func (c *Client) EventsWatch(ctx context.Context, watchFunc func(<-chan Event)) var msg proto.Message + seqEvent := &machineapi.SequenceEvent{} + switch typeURL { - case "talos/runtime/" + proto.MessageName(&machineapi.SequenceEvent{}): + case "talos/runtime/" + string(seqEvent.ProtoReflect().Descriptor().FullName()): msg = &machineapi.SequenceEvent{} if err = proto.Unmarshal(event.GetData().GetValue(), msg); err != nil {