mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-04 20:21:18 +02:00
This merges `osd` API into `machined`. API was copied from `osd` into `machined`, and `osd` API was deprecated. For backwards compatibility, `machined` still implements `osd` API, so older Talos API clients can still talk to the node without changes. Docs were updated. No functional changes. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
7795 lines
252 KiB
Go
7795 lines
252 KiB
Go
// 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"
|
|
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"
|
|
)
|
|
|
|
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 that a sufficiently up-to-date version
|
|
// of the legacy proto package is being used.
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
type SequenceEvent_Action int32
|
|
|
|
const (
|
|
SequenceEvent_NOOP SequenceEvent_Action = 0
|
|
SequenceEvent_START SequenceEvent_Action = 1
|
|
SequenceEvent_STOP SequenceEvent_Action = 2
|
|
)
|
|
|
|
// 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,
|
|
}
|
|
)
|
|
|
|
func (x SequenceEvent_Action) Enum() *SequenceEvent_Action {
|
|
p := new(SequenceEvent_Action)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SequenceEvent_Action) String() string {
|
|
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 file_machine_machine_proto_rawDescGZIP(), []int{5, 0}
|
|
}
|
|
|
|
type PhaseEvent_Action int32
|
|
|
|
const (
|
|
PhaseEvent_START PhaseEvent_Action = 0
|
|
PhaseEvent_STOP PhaseEvent_Action = 1
|
|
)
|
|
|
|
// 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,
|
|
}
|
|
)
|
|
|
|
func (x PhaseEvent_Action) Enum() *PhaseEvent_Action {
|
|
p := new(PhaseEvent_Action)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PhaseEvent_Action) String() string {
|
|
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 file_machine_machine_proto_rawDescGZIP(), []int{6, 0}
|
|
}
|
|
|
|
type TaskEvent_Action int32
|
|
|
|
const (
|
|
TaskEvent_START TaskEvent_Action = 0
|
|
TaskEvent_STOP TaskEvent_Action = 1
|
|
)
|
|
|
|
// 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,
|
|
}
|
|
)
|
|
|
|
func (x TaskEvent_Action) Enum() *TaskEvent_Action {
|
|
p := new(TaskEvent_Action)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x TaskEvent_Action) String() string {
|
|
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 file_machine_machine_proto_rawDescGZIP(), []int{7, 0}
|
|
}
|
|
|
|
type ServiceStateEvent_Action int32
|
|
|
|
const (
|
|
ServiceStateEvent_INITIALIZED ServiceStateEvent_Action = 0
|
|
ServiceStateEvent_PREPARING ServiceStateEvent_Action = 1
|
|
ServiceStateEvent_WAITING ServiceStateEvent_Action = 2
|
|
ServiceStateEvent_RUNNING ServiceStateEvent_Action = 3
|
|
ServiceStateEvent_STOPPING ServiceStateEvent_Action = 4
|
|
ServiceStateEvent_FINISHED ServiceStateEvent_Action = 5
|
|
ServiceStateEvent_FAILED ServiceStateEvent_Action = 6
|
|
ServiceStateEvent_SKIPPED ServiceStateEvent_Action = 7
|
|
)
|
|
|
|
// Enum value maps for ServiceStateEvent_Action.
|
|
var (
|
|
ServiceStateEvent_Action_name = map[int32]string{
|
|
0: "INITIALIZED",
|
|
1: "PREPARING",
|
|
2: "WAITING",
|
|
3: "RUNNING",
|
|
4: "STOPPING",
|
|
5: "FINISHED",
|
|
6: "FAILED",
|
|
7: "SKIPPED",
|
|
}
|
|
ServiceStateEvent_Action_value = map[string]int32{
|
|
"INITIALIZED": 0,
|
|
"PREPARING": 1,
|
|
"WAITING": 2,
|
|
"RUNNING": 3,
|
|
"STOPPING": 4,
|
|
"FINISHED": 5,
|
|
"FAILED": 6,
|
|
"SKIPPED": 7,
|
|
}
|
|
)
|
|
|
|
func (x ServiceStateEvent_Action) Enum() *ServiceStateEvent_Action {
|
|
p := new(ServiceStateEvent_Action)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ServiceStateEvent_Action) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ServiceStateEvent_Action) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_machine_machine_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (ServiceStateEvent_Action) Type() protoreflect.EnumType {
|
|
return &file_machine_machine_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x ServiceStateEvent_Action) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ServiceStateEvent_Action.Descriptor instead.
|
|
func (ServiceStateEvent_Action) EnumDescriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{8, 0}
|
|
}
|
|
|
|
type RecoverRequest_Source int32
|
|
|
|
const (
|
|
RecoverRequest_ETCD RecoverRequest_Source = 0
|
|
RecoverRequest_APISERVER RecoverRequest_Source = 1
|
|
)
|
|
|
|
// 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,
|
|
}
|
|
)
|
|
|
|
func (x RecoverRequest_Source) Enum() *RecoverRequest_Source {
|
|
p := new(RecoverRequest_Source)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x RecoverRequest_Source) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (RecoverRequest_Source) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_machine_machine_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (RecoverRequest_Source) Type() protoreflect.EnumType {
|
|
return &file_machine_machine_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x RecoverRequest_Source) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use RecoverRequest_Source.Descriptor instead.
|
|
func (RecoverRequest_Source) EnumDescriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{14, 0}
|
|
}
|
|
|
|
// rpc reboot
|
|
// The reboot message containing the reboot status.
|
|
type Reboot struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
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 file_machine_machine_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Reboot) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RebootResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Reboot `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
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 file_machine_machine_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *RebootResponse) GetMessages() []*Reboot {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// rpc bootstrap
|
|
type BootstrapRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
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 file_machine_machine_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
// The bootstrap message containing the bootstrap status.
|
|
type Bootstrap struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
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 file_machine_machine_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Bootstrap) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BootstrapResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Bootstrap `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
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 file_machine_machine_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *BootstrapResponse) GetMessages() []*Bootstrap {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// rpc events
|
|
type SequenceEvent struct {
|
|
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 (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 file_machine_machine_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *SequenceEvent) GetSequence() string {
|
|
if x != nil {
|
|
return x.Sequence
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SequenceEvent) GetAction() SequenceEvent_Action {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return SequenceEvent_NOOP
|
|
}
|
|
|
|
func (x *SequenceEvent) GetError() *common.Error {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PhaseEvent struct {
|
|
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 (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 file_machine_machine_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *PhaseEvent) GetPhase() string {
|
|
if x != nil {
|
|
return x.Phase
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PhaseEvent) GetAction() PhaseEvent_Action {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return PhaseEvent_START
|
|
}
|
|
|
|
type TaskEvent struct {
|
|
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 (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 file_machine_machine_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *TaskEvent) GetTask() string {
|
|
if x != nil {
|
|
return x.Task
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TaskEvent) GetAction() TaskEvent_Action {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return TaskEvent_START
|
|
}
|
|
|
|
type ServiceStateEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
|
|
Action ServiceStateEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.ServiceStateEvent_Action" json:"action,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceStateEvent) Reset() {
|
|
*x = ServiceStateEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ServiceStateEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ServiceStateEvent) ProtoMessage() {}
|
|
|
|
func (x *ServiceStateEvent) 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 ServiceStateEvent.ProtoReflect.Descriptor instead.
|
|
func (*ServiceStateEvent) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ServiceStateEvent) GetService() string {
|
|
if x != nil {
|
|
return x.Service
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceStateEvent) GetAction() ServiceStateEvent_Action {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ServiceStateEvent_INITIALIZED
|
|
}
|
|
|
|
func (x *ServiceStateEvent) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EventsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TailEvents int32 `protobuf:"varint,1,opt,name=tail_events,json=tailEvents,proto3" json:"tail_events,omitempty"`
|
|
TailId string `protobuf:"bytes,2,opt,name=tail_id,json=tailId,proto3" json:"tail_id,omitempty"`
|
|
TailSeconds int32 `protobuf:"varint,3,opt,name=tail_seconds,json=tailSeconds,proto3" json:"tail_seconds,omitempty"`
|
|
}
|
|
|
|
func (x *EventsRequest) Reset() {
|
|
*x = EventsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[9]
|
|
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[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 EventsRequest.ProtoReflect.Descriptor instead.
|
|
func (*EventsRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *EventsRequest) GetTailEvents() int32 {
|
|
if x != nil {
|
|
return x.TailEvents
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EventsRequest) GetTailId() string {
|
|
if x != nil {
|
|
return x.TailId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EventsRequest) GetTailSeconds() int32 {
|
|
if x != nil {
|
|
return x.TailSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Event struct {
|
|
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"`
|
|
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *Event) Reset() {
|
|
*x = Event{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[10]
|
|
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[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 Event.ProtoReflect.Descriptor instead.
|
|
func (*Event) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *Event) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetData() *any.Any {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Event) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// rpc reset
|
|
type ResetRequest struct {
|
|
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 (x *ResetRequest) Reset() {
|
|
*x = ResetRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[11]
|
|
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[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 ResetRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResetRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ResetRequest) GetGraceful() bool {
|
|
if x != nil {
|
|
return x.Graceful
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ResetRequest) GetReboot() bool {
|
|
if x != nil {
|
|
return x.Reboot
|
|
}
|
|
return false
|
|
}
|
|
|
|
// The reset message containing the restart status.
|
|
type Reset struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *Reset) Reset() {
|
|
*x = Reset{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[12]
|
|
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[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 Reset.ProtoReflect.Descriptor instead.
|
|
func (*Reset) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *Reset) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ResetResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Reset `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *ResetResponse) Reset() {
|
|
*x = ResetResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[13]
|
|
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[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 ResetResponse.ProtoReflect.Descriptor instead.
|
|
func (*ResetResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ResetResponse) GetMessages() []*Reset {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecoverRequest struct {
|
|
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 (x *RecoverRequest) Reset() {
|
|
*x = RecoverRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[14]
|
|
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[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 RecoverRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecoverRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
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 {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *Recover) Reset() {
|
|
*x = Recover{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[15]
|
|
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[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 Recover.ProtoReflect.Descriptor instead.
|
|
func (*Recover) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *Recover) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecoverResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Recover `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *RecoverResponse) Reset() {
|
|
*x = RecoverResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[16]
|
|
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[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 RecoverResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecoverResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *RecoverResponse) GetMessages() []*Recover {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// rpc shutdown
|
|
// The messages message containing the shutdown status.
|
|
type Shutdown struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *Shutdown) Reset() {
|
|
*x = Shutdown{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[17]
|
|
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[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 Shutdown.ProtoReflect.Descriptor instead.
|
|
func (*Shutdown) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *Shutdown) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ShutdownResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Shutdown `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *ShutdownResponse) Reset() {
|
|
*x = ShutdownResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[18]
|
|
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[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 ShutdownResponse.ProtoReflect.Descriptor instead.
|
|
func (*ShutdownResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *ShutdownResponse) GetMessages() []*Shutdown {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// rpc upgrade
|
|
type UpgradeRequest struct {
|
|
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 (x *UpgradeRequest) Reset() {
|
|
*x = UpgradeRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[19]
|
|
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[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 UpgradeRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpgradeRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *UpgradeRequest) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpgradeRequest) GetPreserve() bool {
|
|
if x != nil {
|
|
return x.Preserve
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Upgrade struct {
|
|
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 (x *Upgrade) Reset() {
|
|
*x = Upgrade{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[20]
|
|
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[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 Upgrade.ProtoReflect.Descriptor instead.
|
|
func (*Upgrade) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *Upgrade) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Upgrade) GetAck() string {
|
|
if x != nil {
|
|
return x.Ack
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpgradeResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Upgrade `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *UpgradeResponse) Reset() {
|
|
*x = UpgradeResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[21]
|
|
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[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 UpgradeResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpgradeResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *UpgradeResponse) GetMessages() []*Upgrade {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// rpc servicelist
|
|
type ServiceList struct {
|
|
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 (x *ServiceList) Reset() {
|
|
*x = ServiceList{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[22]
|
|
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[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 ServiceList.ProtoReflect.Descriptor instead.
|
|
func (*ServiceList) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *ServiceList) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ServiceList) GetServices() []*ServiceInfo {
|
|
if x != nil {
|
|
return x.Services
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ServiceListResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*ServiceList `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceListResponse) Reset() {
|
|
*x = ServiceListResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[23]
|
|
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[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 ServiceListResponse.ProtoReflect.Descriptor instead.
|
|
func (*ServiceListResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *ServiceListResponse) GetMessages() []*ServiceList {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ServiceInfo struct {
|
|
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 (x *ServiceInfo) Reset() {
|
|
*x = ServiceInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[24]
|
|
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[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 ServiceInfo.ProtoReflect.Descriptor instead.
|
|
func (*ServiceInfo) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *ServiceInfo) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceInfo) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceInfo) GetEvents() *ServiceEvents {
|
|
if x != nil {
|
|
return x.Events
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ServiceInfo) GetHealth() *ServiceHealth {
|
|
if x != nil {
|
|
return x.Health
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ServiceEvents struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Events []*ServiceEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceEvents) Reset() {
|
|
*x = ServiceEvents{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[25]
|
|
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[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 ServiceEvents.ProtoReflect.Descriptor instead.
|
|
func (*ServiceEvents) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *ServiceEvents) GetEvents() []*ServiceEvent {
|
|
if x != nil {
|
|
return x.Events
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ServiceEvent struct {
|
|
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 (x *ServiceEvent) Reset() {
|
|
*x = ServiceEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[26]
|
|
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[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 ServiceEvent.ProtoReflect.Descriptor instead.
|
|
func (*ServiceEvent) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *ServiceEvent) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceEvent) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceEvent) GetTs() *timestamp.Timestamp {
|
|
if x != nil {
|
|
return x.Ts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ServiceHealth struct {
|
|
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 (x *ServiceHealth) Reset() {
|
|
*x = ServiceHealth{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[27]
|
|
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[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 ServiceHealth.ProtoReflect.Descriptor instead.
|
|
func (*ServiceHealth) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *ServiceHealth) GetUnknown() bool {
|
|
if x != nil {
|
|
return x.Unknown
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ServiceHealth) GetHealthy() bool {
|
|
if x != nil {
|
|
return x.Healthy
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ServiceHealth) GetLastMessage() string {
|
|
if x != nil {
|
|
return x.LastMessage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceHealth) GetLastChange() *timestamp.Timestamp {
|
|
if x != nil {
|
|
return x.LastChange
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// rpc servicestart
|
|
type ServiceStartRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceStartRequest) Reset() {
|
|
*x = ServiceStartRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[28]
|
|
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[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 ServiceStartRequest.ProtoReflect.Descriptor instead.
|
|
func (*ServiceStartRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *ServiceStartRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ServiceStart struct {
|
|
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 (x *ServiceStart) Reset() {
|
|
*x = ServiceStart{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[29]
|
|
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[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 ServiceStart.ProtoReflect.Descriptor instead.
|
|
func (*ServiceStart) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *ServiceStart) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ServiceStart) GetResp() string {
|
|
if x != nil {
|
|
return x.Resp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ServiceStartResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*ServiceStart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceStartResponse) Reset() {
|
|
*x = ServiceStartResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[30]
|
|
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[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 ServiceStartResponse.ProtoReflect.Descriptor instead.
|
|
func (*ServiceStartResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *ServiceStartResponse) GetMessages() []*ServiceStart {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ServiceStopRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceStopRequest) Reset() {
|
|
*x = ServiceStopRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[31]
|
|
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[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 ServiceStopRequest.ProtoReflect.Descriptor instead.
|
|
func (*ServiceStopRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *ServiceStopRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ServiceStop struct {
|
|
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 (x *ServiceStop) Reset() {
|
|
*x = ServiceStop{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[32]
|
|
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[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 ServiceStop.ProtoReflect.Descriptor instead.
|
|
func (*ServiceStop) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *ServiceStop) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ServiceStop) GetResp() string {
|
|
if x != nil {
|
|
return x.Resp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ServiceStopResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*ServiceStop `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceStopResponse) Reset() {
|
|
*x = ServiceStopResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[33]
|
|
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[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 ServiceStopResponse.ProtoReflect.Descriptor instead.
|
|
func (*ServiceStopResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *ServiceStopResponse) GetMessages() []*ServiceStop {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ServiceRestartRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceRestartRequest) Reset() {
|
|
*x = ServiceRestartRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[34]
|
|
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[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 ServiceRestartRequest.ProtoReflect.Descriptor instead.
|
|
func (*ServiceRestartRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *ServiceRestartRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ServiceRestart struct {
|
|
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 (x *ServiceRestart) Reset() {
|
|
*x = ServiceRestart{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[35]
|
|
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[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 ServiceRestart.ProtoReflect.Descriptor instead.
|
|
func (*ServiceRestart) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *ServiceRestart) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ServiceRestart) GetResp() string {
|
|
if x != nil {
|
|
return x.Resp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ServiceRestartResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*ServiceRestart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceRestartResponse) Reset() {
|
|
*x = ServiceRestartResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[36]
|
|
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[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 ServiceRestartResponse.ProtoReflect.Descriptor instead.
|
|
func (*ServiceRestartResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *ServiceRestartResponse) GetMessages() []*ServiceRestart {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
type StartRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *StartRequest) Reset() {
|
|
*x = StartRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[37]
|
|
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[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 StartRequest.ProtoReflect.Descriptor instead.
|
|
func (*StartRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *StartRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
type StartResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Resp string `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
|
|
}
|
|
|
|
func (x *StartResponse) Reset() {
|
|
*x = StartResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[38]
|
|
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[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 StartResponse.ProtoReflect.Descriptor instead.
|
|
func (*StartResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *StartResponse) GetResp() string {
|
|
if x != nil {
|
|
return x.Resp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
type StopRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *StopRequest) Reset() {
|
|
*x = StopRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[39]
|
|
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[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 StopRequest.ProtoReflect.Descriptor instead.
|
|
func (*StopRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *StopRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
type StopResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Resp string `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
|
|
}
|
|
|
|
func (x *StopResponse) Reset() {
|
|
*x = StopResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[40]
|
|
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[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 StopResponse.ProtoReflect.Descriptor instead.
|
|
func (*StopResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *StopResponse) GetResp() string {
|
|
if x != nil {
|
|
return x.Resp
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// CopyRequest describes a request to copy data out of Talos node
|
|
//
|
|
// 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"`
|
|
}
|
|
|
|
func (x *CopyRequest) Reset() {
|
|
*x = CopyRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[41]
|
|
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[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 CopyRequest.ProtoReflect.Descriptor instead.
|
|
func (*CopyRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
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"`
|
|
// Recurse indicates that subdirectories should be recursed.
|
|
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"`
|
|
}
|
|
|
|
func (x *ListRequest) Reset() {
|
|
*x = ListRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[42]
|
|
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[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 ListRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *ListRequest) GetRoot() string {
|
|
if x != nil {
|
|
return x.Root
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListRequest) GetRecurse() bool {
|
|
if x != nil {
|
|
return x.Recurse
|
|
}
|
|
return false
|
|
}
|
|
|
|
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"`
|
|
// Size indicates the number of bytes contained within the file
|
|
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
|
|
// 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"` // 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
|
|
// information.
|
|
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
|
|
// 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"`
|
|
}
|
|
|
|
func (x *FileInfo) Reset() {
|
|
*x = FileInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[43]
|
|
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[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 FileInfo.ProtoReflect.Descriptor instead.
|
|
func (*FileInfo) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *FileInfo) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FileInfo) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileInfo) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileInfo) GetMode() uint32 {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileInfo) GetModified() int64 {
|
|
if x != nil {
|
|
return x.Modified
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FileInfo) GetIsDir() bool {
|
|
if x != nil {
|
|
return x.IsDir
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FileInfo) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileInfo) GetLink() string {
|
|
if x != nil {
|
|
return x.Link
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileInfo) GetRelativeName() string {
|
|
if x != nil {
|
|
return x.RelativeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// The messages message containing the requested df stats.
|
|
type Mounts struct {
|
|
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 (x *Mounts) Reset() {
|
|
*x = Mounts{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[44]
|
|
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[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 Mounts.ProtoReflect.Descriptor instead.
|
|
func (*Mounts) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *Mounts) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mounts) GetStats() []*MountStat {
|
|
if x != nil {
|
|
return x.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MountsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Mounts `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *MountsResponse) Reset() {
|
|
*x = MountsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[45]
|
|
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[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 MountsResponse.ProtoReflect.Descriptor instead.
|
|
func (*MountsResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *MountsResponse) GetMessages() []*Mounts {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// The messages message containing the requested processes.
|
|
type MountStat struct {
|
|
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 (x *MountStat) Reset() {
|
|
*x = MountStat{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[46]
|
|
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[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 MountStat.ProtoReflect.Descriptor instead.
|
|
func (*MountStat) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *MountStat) GetFilesystem() string {
|
|
if x != nil {
|
|
return x.Filesystem
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MountStat) GetSize() uint64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MountStat) GetAvailable() uint64 {
|
|
if x != nil {
|
|
return x.Available
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MountStat) GetMountedOn() string {
|
|
if x != nil {
|
|
return x.MountedOn
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Version struct {
|
|
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 (x *Version) Reset() {
|
|
*x = Version{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[47]
|
|
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[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 Version.ProtoReflect.Descriptor instead.
|
|
func (*Version) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *Version) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Version) GetVersion() *VersionInfo {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Version) GetPlatform() *PlatformInfo {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VersionResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Version `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *VersionResponse) Reset() {
|
|
*x = VersionResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[48]
|
|
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[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 VersionResponse.ProtoReflect.Descriptor instead.
|
|
func (*VersionResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *VersionResponse) GetMessages() []*Version {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VersionInfo struct {
|
|
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 (x *VersionInfo) Reset() {
|
|
*x = VersionInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[49]
|
|
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[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 VersionInfo.ProtoReflect.Descriptor instead.
|
|
func (*VersionInfo) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *VersionInfo) GetTag() string {
|
|
if x != nil {
|
|
return x.Tag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VersionInfo) GetSha() string {
|
|
if x != nil {
|
|
return x.Sha
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VersionInfo) GetBuilt() string {
|
|
if x != nil {
|
|
return x.Built
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VersionInfo) GetGoVersion() string {
|
|
if x != nil {
|
|
return x.GoVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VersionInfo) GetOs() string {
|
|
if x != nil {
|
|
return x.Os
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *VersionInfo) GetArch() string {
|
|
if x != nil {
|
|
return x.Arch
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PlatformInfo struct {
|
|
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 (x *PlatformInfo) Reset() {
|
|
*x = PlatformInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[50]
|
|
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[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 PlatformInfo.ProtoReflect.Descriptor instead.
|
|
func (*PlatformInfo) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *PlatformInfo) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlatformInfo) GetMode() string {
|
|
if x != nil {
|
|
return x.Mode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *LogsRequest) Reset() {
|
|
*x = LogsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[51]
|
|
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[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 LogsRequest.ProtoReflect.Descriptor instead.
|
|
func (*LogsRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *LogsRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LogsRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LogsRequest) GetDriver() common.ContainerDriver {
|
|
if x != nil {
|
|
return x.Driver
|
|
}
|
|
return common.ContainerDriver_CONTAINERD
|
|
}
|
|
|
|
func (x *LogsRequest) GetFollow() bool {
|
|
if x != nil {
|
|
return x.Follow
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LogsRequest) GetTailLines() int32 {
|
|
if x != nil {
|
|
return x.TailLines
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReadRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
|
}
|
|
|
|
func (x *ReadRequest) Reset() {
|
|
*x = ReadRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[52]
|
|
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[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 ReadRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReadRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *ReadRequest) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// rpc rollback
|
|
type RollbackRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *RollbackRequest) Reset() {
|
|
*x = RollbackRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[53]
|
|
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[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 RollbackRequest.ProtoReflect.Descriptor instead.
|
|
func (*RollbackRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
type Rollback struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *Rollback) Reset() {
|
|
*x = Rollback{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[54]
|
|
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[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 Rollback.ProtoReflect.Descriptor instead.
|
|
func (*Rollback) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *Rollback) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RollbackResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Rollback `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *RollbackResponse) Reset() {
|
|
*x = RollbackResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[55]
|
|
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[55]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RollbackResponse.ProtoReflect.Descriptor instead.
|
|
func (*RollbackResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *RollbackResponse) GetMessages() []*Rollback {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
func (x *ContainersRequest) Reset() {
|
|
*x = ContainersRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[56]
|
|
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_machine_machine_proto_msgTypes[56]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ContainersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ContainersRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *ContainersRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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 {
|
|
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 (x *ContainerInfo) Reset() {
|
|
*x = ContainerInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[57]
|
|
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_machine_machine_proto_msgTypes[57]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ContainerInfo.ProtoReflect.Descriptor instead.
|
|
func (*ContainerInfo) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *ContainerInfo) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContainerInfo) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContainerInfo) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContainerInfo) GetPid() uint32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContainerInfo) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContainerInfo) GetPodId() string {
|
|
if x != nil {
|
|
return x.PodId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContainerInfo) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// The messages message containing the requested containers.
|
|
type Container struct {
|
|
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 (x *Container) Reset() {
|
|
*x = Container{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[58]
|
|
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_machine_machine_proto_msgTypes[58]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Container.ProtoReflect.Descriptor instead.
|
|
func (*Container) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *Container) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Container) GetContainers() []*ContainerInfo {
|
|
if x != nil {
|
|
return x.Containers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ContainersResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Container `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *ContainersResponse) Reset() {
|
|
*x = ContainersResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[59]
|
|
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_machine_machine_proto_msgTypes[59]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ContainersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ContainersResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *ContainersResponse) GetMessages() []*Container {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// dmesg
|
|
type DmesgRequest struct {
|
|
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 (x *DmesgRequest) Reset() {
|
|
*x = DmesgRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[60]
|
|
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_machine_machine_proto_msgTypes[60]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DmesgRequest.ProtoReflect.Descriptor instead.
|
|
func (*DmesgRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *DmesgRequest) GetFollow() bool {
|
|
if x != nil {
|
|
return x.Follow
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DmesgRequest) GetTail() bool {
|
|
if x != nil {
|
|
return x.Tail
|
|
}
|
|
return false
|
|
}
|
|
|
|
// rpc processes
|
|
type ProcessesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ProcessesRequest) Reset() {
|
|
*x = ProcessesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[61]
|
|
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_machine_machine_proto_msgTypes[61]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProcessesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ProcessesRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
type ProcessesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Process `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *ProcessesResponse) Reset() {
|
|
*x = ProcessesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[62]
|
|
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_machine_machine_proto_msgTypes[62]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProcessesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ProcessesResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *ProcessesResponse) GetMessages() []*Process {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Process struct {
|
|
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 (x *Process) Reset() {
|
|
*x = Process{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[63]
|
|
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_machine_machine_proto_msgTypes[63]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Process.ProtoReflect.Descriptor instead.
|
|
func (*Process) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *Process) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Process) GetProcesses() []*ProcessInfo {
|
|
if x != nil {
|
|
return x.Processes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProcessInfo struct {
|
|
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 (x *ProcessInfo) Reset() {
|
|
*x = ProcessInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[64]
|
|
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_machine_machine_proto_msgTypes[64]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead.
|
|
func (*ProcessInfo) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *ProcessInfo) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProcessInfo) GetPpid() int32 {
|
|
if x != nil {
|
|
return x.Ppid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProcessInfo) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProcessInfo) GetThreads() int32 {
|
|
if x != nil {
|
|
return x.Threads
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProcessInfo) GetCpuTime() float64 {
|
|
if x != nil {
|
|
return x.CpuTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProcessInfo) GetVirtualMemory() uint64 {
|
|
if x != nil {
|
|
return x.VirtualMemory
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProcessInfo) GetResidentMemory() uint64 {
|
|
if x != nil {
|
|
return x.ResidentMemory
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ProcessInfo) GetCommand() string {
|
|
if x != nil {
|
|
return x.Command
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProcessInfo) GetExecutable() string {
|
|
if x != nil {
|
|
return x.Executable
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProcessInfo) GetArgs() string {
|
|
if x != nil {
|
|
return x.Args
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 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"`
|
|
}
|
|
|
|
func (x *RestartRequest) Reset() {
|
|
*x = RestartRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[65]
|
|
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_machine_machine_proto_msgTypes[65]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RestartRequest.ProtoReflect.Descriptor instead.
|
|
func (*RestartRequest) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
func (x *RestartRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RestartRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RestartRequest) GetDriver() common.ContainerDriver {
|
|
if x != nil {
|
|
return x.Driver
|
|
}
|
|
return common.ContainerDriver_CONTAINERD
|
|
}
|
|
|
|
type Restart struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *Restart) Reset() {
|
|
*x = Restart{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[66]
|
|
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_machine_machine_proto_msgTypes[66]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Restart.ProtoReflect.Descriptor instead.
|
|
func (*Restart) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *Restart) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// The messages message containing the restart status.
|
|
type RestartResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Restart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *RestartResponse) Reset() {
|
|
*x = RestartResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[67]
|
|
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_machine_machine_proto_msgTypes[67]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RestartResponse.ProtoReflect.Descriptor instead.
|
|
func (*RestartResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
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"`
|
|
}
|
|
|
|
func (x *StatsRequest) Reset() {
|
|
*x = StatsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[68]
|
|
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_machine_machine_proto_msgTypes[68]
|
|
if 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 file_machine_machine_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
func (x *StatsRequest) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
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 {
|
|
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 (x *Stats) Reset() {
|
|
*x = Stats{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[69]
|
|
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_machine_machine_proto_msgTypes[69]
|
|
if 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 file_machine_machine_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
func (x *Stats) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Stats) GetStats() []*Stat {
|
|
if x != nil {
|
|
return x.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StatsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Stats `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *StatsResponse) Reset() {
|
|
*x = StatsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[70]
|
|
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_machine_machine_proto_msgTypes[70]
|
|
if 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 file_machine_machine_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
func (x *StatsResponse) GetMessages() []*Stats {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// The messages message containing the requested stat.
|
|
type Stat 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"`
|
|
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 (x *Stat) Reset() {
|
|
*x = Stat{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[71]
|
|
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_machine_machine_proto_msgTypes[71]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Stat.ProtoReflect.Descriptor instead.
|
|
func (*Stat) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
func (x *Stat) GetNamespace() string {
|
|
if x != nil {
|
|
return x.Namespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Stat) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Stat) GetMemoryUsage() uint64 {
|
|
if x != nil {
|
|
return x.MemoryUsage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Stat) GetCpuUsage() uint64 {
|
|
if x != nil {
|
|
return x.CpuUsage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Stat) GetPodId() string {
|
|
if x != nil {
|
|
return x.PodId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Stat) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Memory struct {
|
|
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 (x *Memory) Reset() {
|
|
*x = Memory{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[72]
|
|
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_machine_machine_proto_msgTypes[72]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Memory.ProtoReflect.Descriptor instead.
|
|
func (*Memory) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
func (x *Memory) GetMetadata() *common.Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Memory) GetMeminfo() *MemInfo {
|
|
if x != nil {
|
|
return x.Meminfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MemoryResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Messages []*Memory `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
}
|
|
|
|
func (x *MemoryResponse) Reset() {
|
|
*x = MemoryResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[73]
|
|
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_machine_machine_proto_msgTypes[73]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MemoryResponse.ProtoReflect.Descriptor instead.
|
|
func (*MemoryResponse) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
func (x *MemoryResponse) GetMessages() []*Memory {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MemInfo struct {
|
|
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 (x *MemInfo) Reset() {
|
|
*x = MemInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_machine_machine_proto_msgTypes[74]
|
|
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_machine_machine_proto_msgTypes[74]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MemInfo.ProtoReflect.Descriptor instead.
|
|
func (*MemInfo) Descriptor() ([]byte, []int) {
|
|
return file_machine_machine_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
func (x *MemInfo) GetMemtotal() uint64 {
|
|
if x != nil {
|
|
return x.Memtotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetMemfree() uint64 {
|
|
if x != nil {
|
|
return x.Memfree
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetMemavailable() uint64 {
|
|
if x != nil {
|
|
return x.Memavailable
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetBuffers() uint64 {
|
|
if x != nil {
|
|
return x.Buffers
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetCached() uint64 {
|
|
if x != nil {
|
|
return x.Cached
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetSwapcached() uint64 {
|
|
if x != nil {
|
|
return x.Swapcached
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetActive() uint64 {
|
|
if x != nil {
|
|
return x.Active
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetInactive() uint64 {
|
|
if x != nil {
|
|
return x.Inactive
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetActiveanon() uint64 {
|
|
if x != nil {
|
|
return x.Activeanon
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetInactiveanon() uint64 {
|
|
if x != nil {
|
|
return x.Inactiveanon
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetActivefile() uint64 {
|
|
if x != nil {
|
|
return x.Activefile
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetInactivefile() uint64 {
|
|
if x != nil {
|
|
return x.Inactivefile
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetUnevictable() uint64 {
|
|
if x != nil {
|
|
return x.Unevictable
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetMlocked() uint64 {
|
|
if x != nil {
|
|
return x.Mlocked
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetSwaptotal() uint64 {
|
|
if x != nil {
|
|
return x.Swaptotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetSwapfree() uint64 {
|
|
if x != nil {
|
|
return x.Swapfree
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetDirty() uint64 {
|
|
if x != nil {
|
|
return x.Dirty
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetWriteback() uint64 {
|
|
if x != nil {
|
|
return x.Writeback
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetAnonpages() uint64 {
|
|
if x != nil {
|
|
return x.Anonpages
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetMapped() uint64 {
|
|
if x != nil {
|
|
return x.Mapped
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetShmem() uint64 {
|
|
if x != nil {
|
|
return x.Shmem
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetSlab() uint64 {
|
|
if x != nil {
|
|
return x.Slab
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetSreclaimable() uint64 {
|
|
if x != nil {
|
|
return x.Sreclaimable
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetSunreclaim() uint64 {
|
|
if x != nil {
|
|
return x.Sunreclaim
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetKernelstack() uint64 {
|
|
if x != nil {
|
|
return x.Kernelstack
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetPagetables() uint64 {
|
|
if x != nil {
|
|
return x.Pagetables
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetNfsunstable() uint64 {
|
|
if x != nil {
|
|
return x.Nfsunstable
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetBounce() uint64 {
|
|
if x != nil {
|
|
return x.Bounce
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetWritebacktmp() uint64 {
|
|
if x != nil {
|
|
return x.Writebacktmp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetCommitlimit() uint64 {
|
|
if x != nil {
|
|
return x.Commitlimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetCommittedas() uint64 {
|
|
if x != nil {
|
|
return x.Committedas
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetVmalloctotal() uint64 {
|
|
if x != nil {
|
|
return x.Vmalloctotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetVmallocused() uint64 {
|
|
if x != nil {
|
|
return x.Vmallocused
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetVmallocchunk() uint64 {
|
|
if x != nil {
|
|
return x.Vmallocchunk
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetHardwarecorrupted() uint64 {
|
|
if x != nil {
|
|
return x.Hardwarecorrupted
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetAnonhugepages() uint64 {
|
|
if x != nil {
|
|
return x.Anonhugepages
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetShmemhugepages() uint64 {
|
|
if x != nil {
|
|
return x.Shmemhugepages
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetShmempmdmapped() uint64 {
|
|
if x != nil {
|
|
return x.Shmempmdmapped
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetCmatotal() uint64 {
|
|
if x != nil {
|
|
return x.Cmatotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetCmafree() uint64 {
|
|
if x != nil {
|
|
return x.Cmafree
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetHugepagestotal() uint64 {
|
|
if x != nil {
|
|
return x.Hugepagestotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetHugepagesfree() uint64 {
|
|
if x != nil {
|
|
return x.Hugepagesfree
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetHugepagesrsvd() uint64 {
|
|
if x != nil {
|
|
return x.Hugepagesrsvd
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetHugepagessurp() uint64 {
|
|
if x != nil {
|
|
return x.Hugepagessurp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetHugepagesize() uint64 {
|
|
if x != nil {
|
|
return x.Hugepagesize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetDirectmap4K() uint64 {
|
|
if x != nil {
|
|
return x.Directmap4K
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetDirectmap2M() uint64 {
|
|
if x != nil {
|
|
return x.Directmap2M
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *MemInfo) GetDirectmap1G() uint64 {
|
|
if x != nil {
|
|
return x.Directmap1G
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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, 0xfb, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69,
|
|
0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07,
|
|
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73,
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65,
|
|
0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x76, 0x65,
|
|
0x6e, 0x74, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x77, 0x0a, 0x06, 0x41,
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c,
|
|
0x49, 0x5a, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52,
|
|
0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47,
|
|
0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12,
|
|
0x0c, 0x0a, 0x08, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0c, 0x0a,
|
|
0x08, 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x46,
|
|
0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50, 0x50,
|
|
0x45, 0x44, 0x10, 0x07, 0x22, 0x6c, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x69, 0x6c, 0x5f, 0x65, 0x76,
|
|
0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x61, 0x69, 0x6c,
|
|
0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x69, 0x6c, 0x5f, 0x69,
|
|
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x64, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x74, 0x61, 0x69, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e,
|
|
0x64, 0x73, 0x22, 0x6f, 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, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x02, 0x69, 0x64, 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, 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, 0x71, 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,
|
|
0x36, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 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, 0x44, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x61,
|
|
0x69, 0x6e, 0x65, 0x72, 0x73, 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, 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, 0x41, 0x0a,
|
|
0x11, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 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, 0x50,
|
|
0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
|
0x22, 0x6b, 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, 0x32, 0x0a, 0x09, 0x70, 0x72, 0x6f,
|
|
0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6d,
|
|
0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 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, 0x3f, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72,
|
|
0x74, 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, 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, 0x5a, 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, 0x23, 0x0a,
|
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6d,
|
|
0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x52, 0x05, 0x73, 0x74, 0x61,
|
|
0x74, 0x73, 0x22, 0x3b, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x73, 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,
|
|
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, 0x62, 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, 0x2a, 0x0a, 0x07, 0x6d, 0x65, 0x6d,
|
|
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61, 0x63,
|
|
0x68, 0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x65, 0x6d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6d, 0x65,
|
|
0x6d, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x3d, 0x0a, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 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, 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, 0xfa, 0x0b, 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, 0x45, 0x0a, 0x0a, 0x43, 0x6f, 0x6e,
|
|
0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x1a, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e,
|
|
0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x43, 0x6f,
|
|
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 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, 0x2e,
|
|
0x0a, 0x05, 0x44, 0x6d, 0x65, 0x73, 0x67, 0x12, 0x15, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e,
|
|
0x65, 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, 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, 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, 0x17, 0x2e, 0x6d, 0x61,
|
|
0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 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,
|
|
0x3f, 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, 0x1a, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x50,
|
|
0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 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, 0x3c, 0x0a, 0x07, 0x52, 0x65, 0x73,
|
|
0x74, 0x61, 0x72, 0x74, 0x12, 0x17, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52,
|
|
0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e,
|
|
0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 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, 0x36, 0x0a, 0x05,
|
|
0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x15, 0x2e, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e,
|
|
0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6d,
|
|
0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 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,
|
|
}
|
|
|
|
var (
|
|
file_machine_machine_proto_rawDescOnce sync.Once
|
|
file_machine_machine_proto_rawDescData = file_machine_machine_proto_rawDesc
|
|
)
|
|
|
|
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, 5)
|
|
file_machine_machine_proto_msgTypes = make([]protoimpl.MessageInfo, 75)
|
|
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
|
|
(ServiceStateEvent_Action)(0), // 3: machine.ServiceStateEvent.Action
|
|
(RecoverRequest_Source)(0), // 4: machine.RecoverRequest.Source
|
|
(*Reboot)(nil), // 5: machine.Reboot
|
|
(*RebootResponse)(nil), // 6: machine.RebootResponse
|
|
(*BootstrapRequest)(nil), // 7: machine.BootstrapRequest
|
|
(*Bootstrap)(nil), // 8: machine.Bootstrap
|
|
(*BootstrapResponse)(nil), // 9: machine.BootstrapResponse
|
|
(*SequenceEvent)(nil), // 10: machine.SequenceEvent
|
|
(*PhaseEvent)(nil), // 11: machine.PhaseEvent
|
|
(*TaskEvent)(nil), // 12: machine.TaskEvent
|
|
(*ServiceStateEvent)(nil), // 13: machine.ServiceStateEvent
|
|
(*EventsRequest)(nil), // 14: machine.EventsRequest
|
|
(*Event)(nil), // 15: machine.Event
|
|
(*ResetRequest)(nil), // 16: machine.ResetRequest
|
|
(*Reset)(nil), // 17: machine.Reset
|
|
(*ResetResponse)(nil), // 18: machine.ResetResponse
|
|
(*RecoverRequest)(nil), // 19: machine.RecoverRequest
|
|
(*Recover)(nil), // 20: machine.Recover
|
|
(*RecoverResponse)(nil), // 21: machine.RecoverResponse
|
|
(*Shutdown)(nil), // 22: machine.Shutdown
|
|
(*ShutdownResponse)(nil), // 23: machine.ShutdownResponse
|
|
(*UpgradeRequest)(nil), // 24: machine.UpgradeRequest
|
|
(*Upgrade)(nil), // 25: machine.Upgrade
|
|
(*UpgradeResponse)(nil), // 26: machine.UpgradeResponse
|
|
(*ServiceList)(nil), // 27: machine.ServiceList
|
|
(*ServiceListResponse)(nil), // 28: machine.ServiceListResponse
|
|
(*ServiceInfo)(nil), // 29: machine.ServiceInfo
|
|
(*ServiceEvents)(nil), // 30: machine.ServiceEvents
|
|
(*ServiceEvent)(nil), // 31: machine.ServiceEvent
|
|
(*ServiceHealth)(nil), // 32: machine.ServiceHealth
|
|
(*ServiceStartRequest)(nil), // 33: machine.ServiceStartRequest
|
|
(*ServiceStart)(nil), // 34: machine.ServiceStart
|
|
(*ServiceStartResponse)(nil), // 35: machine.ServiceStartResponse
|
|
(*ServiceStopRequest)(nil), // 36: machine.ServiceStopRequest
|
|
(*ServiceStop)(nil), // 37: machine.ServiceStop
|
|
(*ServiceStopResponse)(nil), // 38: machine.ServiceStopResponse
|
|
(*ServiceRestartRequest)(nil), // 39: machine.ServiceRestartRequest
|
|
(*ServiceRestart)(nil), // 40: machine.ServiceRestart
|
|
(*ServiceRestartResponse)(nil), // 41: machine.ServiceRestartResponse
|
|
(*StartRequest)(nil), // 42: machine.StartRequest
|
|
(*StartResponse)(nil), // 43: machine.StartResponse
|
|
(*StopRequest)(nil), // 44: machine.StopRequest
|
|
(*StopResponse)(nil), // 45: machine.StopResponse
|
|
(*CopyRequest)(nil), // 46: machine.CopyRequest
|
|
(*ListRequest)(nil), // 47: machine.ListRequest
|
|
(*FileInfo)(nil), // 48: machine.FileInfo
|
|
(*Mounts)(nil), // 49: machine.Mounts
|
|
(*MountsResponse)(nil), // 50: machine.MountsResponse
|
|
(*MountStat)(nil), // 51: machine.MountStat
|
|
(*Version)(nil), // 52: machine.Version
|
|
(*VersionResponse)(nil), // 53: machine.VersionResponse
|
|
(*VersionInfo)(nil), // 54: machine.VersionInfo
|
|
(*PlatformInfo)(nil), // 55: machine.PlatformInfo
|
|
(*LogsRequest)(nil), // 56: machine.LogsRequest
|
|
(*ReadRequest)(nil), // 57: machine.ReadRequest
|
|
(*RollbackRequest)(nil), // 58: machine.RollbackRequest
|
|
(*Rollback)(nil), // 59: machine.Rollback
|
|
(*RollbackResponse)(nil), // 60: machine.RollbackResponse
|
|
(*ContainersRequest)(nil), // 61: machine.ContainersRequest
|
|
(*ContainerInfo)(nil), // 62: machine.ContainerInfo
|
|
(*Container)(nil), // 63: machine.Container
|
|
(*ContainersResponse)(nil), // 64: machine.ContainersResponse
|
|
(*DmesgRequest)(nil), // 65: machine.DmesgRequest
|
|
(*ProcessesRequest)(nil), // 66: machine.ProcessesRequest
|
|
(*ProcessesResponse)(nil), // 67: machine.ProcessesResponse
|
|
(*Process)(nil), // 68: machine.Process
|
|
(*ProcessInfo)(nil), // 69: machine.ProcessInfo
|
|
(*RestartRequest)(nil), // 70: machine.RestartRequest
|
|
(*Restart)(nil), // 71: machine.Restart
|
|
(*RestartResponse)(nil), // 72: machine.RestartResponse
|
|
(*StatsRequest)(nil), // 73: machine.StatsRequest
|
|
(*Stats)(nil), // 74: machine.Stats
|
|
(*StatsResponse)(nil), // 75: machine.StatsResponse
|
|
(*Stat)(nil), // 76: machine.Stat
|
|
(*Memory)(nil), // 77: machine.Memory
|
|
(*MemoryResponse)(nil), // 78: machine.MemoryResponse
|
|
(*MemInfo)(nil), // 79: machine.MemInfo
|
|
(*common.Metadata)(nil), // 80: common.Metadata
|
|
(*common.Error)(nil), // 81: common.Error
|
|
(*any.Any)(nil), // 82: google.protobuf.Any
|
|
(*timestamp.Timestamp)(nil), // 83: google.protobuf.Timestamp
|
|
(common.ContainerDriver)(0), // 84: common.ContainerDriver
|
|
(*empty.Empty)(nil), // 85: google.protobuf.Empty
|
|
(*common.Data)(nil), // 86: common.Data
|
|
}
|
|
)
|
|
|
|
var file_machine_machine_proto_depIdxs = []int32{
|
|
80, // 0: machine.Reboot.metadata:type_name -> common.Metadata
|
|
5, // 1: machine.RebootResponse.messages:type_name -> machine.Reboot
|
|
80, // 2: machine.Bootstrap.metadata:type_name -> common.Metadata
|
|
8, // 3: machine.BootstrapResponse.messages:type_name -> machine.Bootstrap
|
|
0, // 4: machine.SequenceEvent.action:type_name -> machine.SequenceEvent.Action
|
|
81, // 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
|
|
3, // 8: machine.ServiceStateEvent.action:type_name -> machine.ServiceStateEvent.Action
|
|
80, // 9: machine.Event.metadata:type_name -> common.Metadata
|
|
82, // 10: machine.Event.data:type_name -> google.protobuf.Any
|
|
80, // 11: machine.Reset.metadata:type_name -> common.Metadata
|
|
17, // 12: machine.ResetResponse.messages:type_name -> machine.Reset
|
|
4, // 13: machine.RecoverRequest.source:type_name -> machine.RecoverRequest.Source
|
|
80, // 14: machine.Recover.metadata:type_name -> common.Metadata
|
|
20, // 15: machine.RecoverResponse.messages:type_name -> machine.Recover
|
|
80, // 16: machine.Shutdown.metadata:type_name -> common.Metadata
|
|
22, // 17: machine.ShutdownResponse.messages:type_name -> machine.Shutdown
|
|
80, // 18: machine.Upgrade.metadata:type_name -> common.Metadata
|
|
25, // 19: machine.UpgradeResponse.messages:type_name -> machine.Upgrade
|
|
80, // 20: machine.ServiceList.metadata:type_name -> common.Metadata
|
|
29, // 21: machine.ServiceList.services:type_name -> machine.ServiceInfo
|
|
27, // 22: machine.ServiceListResponse.messages:type_name -> machine.ServiceList
|
|
30, // 23: machine.ServiceInfo.events:type_name -> machine.ServiceEvents
|
|
32, // 24: machine.ServiceInfo.health:type_name -> machine.ServiceHealth
|
|
31, // 25: machine.ServiceEvents.events:type_name -> machine.ServiceEvent
|
|
83, // 26: machine.ServiceEvent.ts:type_name -> google.protobuf.Timestamp
|
|
83, // 27: machine.ServiceHealth.last_change:type_name -> google.protobuf.Timestamp
|
|
80, // 28: machine.ServiceStart.metadata:type_name -> common.Metadata
|
|
34, // 29: machine.ServiceStartResponse.messages:type_name -> machine.ServiceStart
|
|
80, // 30: machine.ServiceStop.metadata:type_name -> common.Metadata
|
|
37, // 31: machine.ServiceStopResponse.messages:type_name -> machine.ServiceStop
|
|
80, // 32: machine.ServiceRestart.metadata:type_name -> common.Metadata
|
|
40, // 33: machine.ServiceRestartResponse.messages:type_name -> machine.ServiceRestart
|
|
80, // 34: machine.FileInfo.metadata:type_name -> common.Metadata
|
|
80, // 35: machine.Mounts.metadata:type_name -> common.Metadata
|
|
51, // 36: machine.Mounts.stats:type_name -> machine.MountStat
|
|
49, // 37: machine.MountsResponse.messages:type_name -> machine.Mounts
|
|
80, // 38: machine.Version.metadata:type_name -> common.Metadata
|
|
54, // 39: machine.Version.version:type_name -> machine.VersionInfo
|
|
55, // 40: machine.Version.platform:type_name -> machine.PlatformInfo
|
|
52, // 41: machine.VersionResponse.messages:type_name -> machine.Version
|
|
84, // 42: machine.LogsRequest.driver:type_name -> common.ContainerDriver
|
|
80, // 43: machine.Rollback.metadata:type_name -> common.Metadata
|
|
59, // 44: machine.RollbackResponse.messages:type_name -> machine.Rollback
|
|
84, // 45: machine.ContainersRequest.driver:type_name -> common.ContainerDriver
|
|
80, // 46: machine.Container.metadata:type_name -> common.Metadata
|
|
62, // 47: machine.Container.containers:type_name -> machine.ContainerInfo
|
|
63, // 48: machine.ContainersResponse.messages:type_name -> machine.Container
|
|
68, // 49: machine.ProcessesResponse.messages:type_name -> machine.Process
|
|
80, // 50: machine.Process.metadata:type_name -> common.Metadata
|
|
69, // 51: machine.Process.processes:type_name -> machine.ProcessInfo
|
|
84, // 52: machine.RestartRequest.driver:type_name -> common.ContainerDriver
|
|
80, // 53: machine.Restart.metadata:type_name -> common.Metadata
|
|
71, // 54: machine.RestartResponse.messages:type_name -> machine.Restart
|
|
84, // 55: machine.StatsRequest.driver:type_name -> common.ContainerDriver
|
|
80, // 56: machine.Stats.metadata:type_name -> common.Metadata
|
|
76, // 57: machine.Stats.stats:type_name -> machine.Stat
|
|
74, // 58: machine.StatsResponse.messages:type_name -> machine.Stats
|
|
80, // 59: machine.Memory.metadata:type_name -> common.Metadata
|
|
79, // 60: machine.Memory.meminfo:type_name -> machine.MemInfo
|
|
77, // 61: machine.MemoryResponse.messages:type_name -> machine.Memory
|
|
7, // 62: machine.MachineService.Bootstrap:input_type -> machine.BootstrapRequest
|
|
61, // 63: machine.MachineService.Containers:input_type -> machine.ContainersRequest
|
|
46, // 64: machine.MachineService.Copy:input_type -> machine.CopyRequest
|
|
65, // 65: machine.MachineService.Dmesg:input_type -> machine.DmesgRequest
|
|
14, // 66: machine.MachineService.Events:input_type -> machine.EventsRequest
|
|
85, // 67: machine.MachineService.Kubeconfig:input_type -> google.protobuf.Empty
|
|
47, // 68: machine.MachineService.List:input_type -> machine.ListRequest
|
|
56, // 69: machine.MachineService.Logs:input_type -> machine.LogsRequest
|
|
85, // 70: machine.MachineService.Memory:input_type -> google.protobuf.Empty
|
|
85, // 71: machine.MachineService.Mounts:input_type -> google.protobuf.Empty
|
|
85, // 72: machine.MachineService.Processes:input_type -> google.protobuf.Empty
|
|
57, // 73: machine.MachineService.Read:input_type -> machine.ReadRequest
|
|
85, // 74: machine.MachineService.Reboot:input_type -> google.protobuf.Empty
|
|
70, // 75: machine.MachineService.Restart:input_type -> machine.RestartRequest
|
|
58, // 76: machine.MachineService.Rollback:input_type -> machine.RollbackRequest
|
|
16, // 77: machine.MachineService.Reset:input_type -> machine.ResetRequest
|
|
19, // 78: machine.MachineService.Recover:input_type -> machine.RecoverRequest
|
|
85, // 79: machine.MachineService.ServiceList:input_type -> google.protobuf.Empty
|
|
39, // 80: machine.MachineService.ServiceRestart:input_type -> machine.ServiceRestartRequest
|
|
33, // 81: machine.MachineService.ServiceStart:input_type -> machine.ServiceStartRequest
|
|
36, // 82: machine.MachineService.ServiceStop:input_type -> machine.ServiceStopRequest
|
|
85, // 83: machine.MachineService.Shutdown:input_type -> google.protobuf.Empty
|
|
73, // 84: machine.MachineService.Stats:input_type -> machine.StatsRequest
|
|
24, // 85: machine.MachineService.Upgrade:input_type -> machine.UpgradeRequest
|
|
85, // 86: machine.MachineService.Version:input_type -> google.protobuf.Empty
|
|
9, // 87: machine.MachineService.Bootstrap:output_type -> machine.BootstrapResponse
|
|
64, // 88: machine.MachineService.Containers:output_type -> machine.ContainersResponse
|
|
86, // 89: machine.MachineService.Copy:output_type -> common.Data
|
|
86, // 90: machine.MachineService.Dmesg:output_type -> common.Data
|
|
15, // 91: machine.MachineService.Events:output_type -> machine.Event
|
|
86, // 92: machine.MachineService.Kubeconfig:output_type -> common.Data
|
|
48, // 93: machine.MachineService.List:output_type -> machine.FileInfo
|
|
86, // 94: machine.MachineService.Logs:output_type -> common.Data
|
|
78, // 95: machine.MachineService.Memory:output_type -> machine.MemoryResponse
|
|
50, // 96: machine.MachineService.Mounts:output_type -> machine.MountsResponse
|
|
67, // 97: machine.MachineService.Processes:output_type -> machine.ProcessesResponse
|
|
86, // 98: machine.MachineService.Read:output_type -> common.Data
|
|
6, // 99: machine.MachineService.Reboot:output_type -> machine.RebootResponse
|
|
72, // 100: machine.MachineService.Restart:output_type -> machine.RestartResponse
|
|
60, // 101: machine.MachineService.Rollback:output_type -> machine.RollbackResponse
|
|
18, // 102: machine.MachineService.Reset:output_type -> machine.ResetResponse
|
|
21, // 103: machine.MachineService.Recover:output_type -> machine.RecoverResponse
|
|
28, // 104: machine.MachineService.ServiceList:output_type -> machine.ServiceListResponse
|
|
41, // 105: machine.MachineService.ServiceRestart:output_type -> machine.ServiceRestartResponse
|
|
35, // 106: machine.MachineService.ServiceStart:output_type -> machine.ServiceStartResponse
|
|
38, // 107: machine.MachineService.ServiceStop:output_type -> machine.ServiceStopResponse
|
|
23, // 108: machine.MachineService.Shutdown:output_type -> machine.ShutdownResponse
|
|
75, // 109: machine.MachineService.Stats:output_type -> machine.StatsResponse
|
|
26, // 110: machine.MachineService.Upgrade:output_type -> machine.UpgradeResponse
|
|
53, // 111: machine.MachineService.Version:output_type -> machine.VersionResponse
|
|
87, // [87:112] is the sub-list for method output_type
|
|
62, // [62:87] is the sub-list for method input_type
|
|
62, // [62:62] is the sub-list for extension type_name
|
|
62, // [62:62] is the sub-list for extension extendee
|
|
0, // [0:62] 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.(*ServiceStateEvent); 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.(*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[10].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[11].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[12].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[13].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[14].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[15].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[16].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[17].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[18].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[19].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[20].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[21].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[22].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[23].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[24].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[25].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[26].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[27].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[28].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[29].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[30].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[31].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[32].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[33].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[34].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[35].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[36].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[37].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[38].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[39].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[40].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[41].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[42].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[43].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[44].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[45].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[46].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[47].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[48].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[49].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[50].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[51].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[52].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[53].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[54].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[55].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
|
|
}
|
|
}
|
|
file_machine_machine_proto_msgTypes[56].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_machine_machine_proto_msgTypes[57].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_machine_machine_proto_msgTypes[58].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_machine_machine_proto_msgTypes[59].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_machine_machine_proto_msgTypes[60].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_machine_machine_proto_msgTypes[61].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_machine_machine_proto_msgTypes[62].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_machine_machine_proto_msgTypes[63].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_machine_machine_proto_msgTypes[64].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_machine_machine_proto_msgTypes[65].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_machine_machine_proto_msgTypes[66].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_machine_machine_proto_msgTypes[67].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_machine_machine_proto_msgTypes[68].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_machine_machine_proto_msgTypes[69].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_machine_machine_proto_msgTypes[70].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_machine_machine_proto_msgTypes[71].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_machine_machine_proto_msgTypes[72].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_machine_machine_proto_msgTypes[73].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_machine_machine_proto_msgTypes[74].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_machine_machine_proto_rawDesc,
|
|
NumEnums: 5,
|
|
NumMessages: 75,
|
|
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.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.SupportPackageIsVersion6
|
|
|
|
// MachineServiceClient is the client API for MachineService service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type MachineServiceClient interface {
|
|
Bootstrap(ctx context.Context, in *BootstrapRequest, opts ...grpc.CallOption) (*BootstrapResponse, error)
|
|
Containers(ctx context.Context, in *ContainersRequest, opts ...grpc.CallOption) (*ContainersResponse, error)
|
|
Copy(ctx context.Context, in *CopyRequest, opts ...grpc.CallOption) (MachineService_CopyClient, error)
|
|
Dmesg(ctx context.Context, in *DmesgRequest, opts ...grpc.CallOption) (MachineService_DmesgClient, error)
|
|
Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (MachineService_EventsClient, error)
|
|
Kubeconfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (MachineService_KubeconfigClient, error)
|
|
List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (MachineService_ListClient, error)
|
|
Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (MachineService_LogsClient, error)
|
|
Memory(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MemoryResponse, error)
|
|
Mounts(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MountsResponse, error)
|
|
Processes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProcessesResponse, error)
|
|
Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (MachineService_ReadClient, error)
|
|
Reboot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RebootResponse, error)
|
|
Restart(ctx context.Context, in *RestartRequest, opts ...grpc.CallOption) (*RestartResponse, error)
|
|
Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error)
|
|
Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error)
|
|
Recover(ctx context.Context, in *RecoverRequest, opts ...grpc.CallOption) (*RecoverResponse, error)
|
|
ServiceList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServiceListResponse, error)
|
|
ServiceRestart(ctx context.Context, in *ServiceRestartRequest, opts ...grpc.CallOption) (*ServiceRestartResponse, error)
|
|
ServiceStart(ctx context.Context, in *ServiceStartRequest, opts ...grpc.CallOption) (*ServiceStartResponse, error)
|
|
ServiceStop(ctx context.Context, in *ServiceStopRequest, opts ...grpc.CallOption) (*ServiceStopResponse, error)
|
|
Shutdown(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShutdownResponse, error)
|
|
Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error)
|
|
Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error)
|
|
Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error)
|
|
}
|
|
|
|
type machineServiceClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewMachineServiceClient(cc grpc.ClientConnInterface) MachineServiceClient {
|
|
return &machineServiceClient{cc}
|
|
}
|
|
|
|
func (c *machineServiceClient) Bootstrap(ctx context.Context, in *BootstrapRequest, opts ...grpc.CallOption) (*BootstrapResponse, error) {
|
|
out := new(BootstrapResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Bootstrap", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Containers(ctx context.Context, in *ContainersRequest, opts ...grpc.CallOption) (*ContainersResponse, error) {
|
|
out := new(ContainersResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Containers", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Copy(ctx context.Context, in *CopyRequest, opts ...grpc.CallOption) (MachineService_CopyClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[0], "/machine.MachineService/Copy", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &machineServiceCopyClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type MachineService_CopyClient interface {
|
|
Recv() (*common.Data, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type machineServiceCopyClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *machineServiceCopyClient) Recv() (*common.Data, error) {
|
|
m := new(common.Data)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Dmesg(ctx context.Context, in *DmesgRequest, opts ...grpc.CallOption) (MachineService_DmesgClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[1], "/machine.MachineService/Dmesg", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &machineServiceDmesgClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type MachineService_DmesgClient interface {
|
|
Recv() (*common.Data, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type machineServiceDmesgClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *machineServiceDmesgClient) Recv() (*common.Data, error) {
|
|
m := new(common.Data)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (MachineService_EventsClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[2], "/machine.MachineService/Events", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &machineServiceEventsClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type MachineService_EventsClient interface {
|
|
Recv() (*Event, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type machineServiceEventsClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *machineServiceEventsClient) Recv() (*Event, error) {
|
|
m := new(Event)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Kubeconfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (MachineService_KubeconfigClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[3], "/machine.MachineService/Kubeconfig", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &machineServiceKubeconfigClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type MachineService_KubeconfigClient interface {
|
|
Recv() (*common.Data, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type machineServiceKubeconfigClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *machineServiceKubeconfigClient) Recv() (*common.Data, error) {
|
|
m := new(common.Data)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (MachineService_ListClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[4], "/machine.MachineService/List", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &machineServiceListClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type MachineService_ListClient interface {
|
|
Recv() (*FileInfo, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type machineServiceListClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *machineServiceListClient) Recv() (*FileInfo, error) {
|
|
m := new(FileInfo)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (MachineService_LogsClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[5], "/machine.MachineService/Logs", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &machineServiceLogsClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type MachineService_LogsClient interface {
|
|
Recv() (*common.Data, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type machineServiceLogsClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *machineServiceLogsClient) Recv() (*common.Data, error) {
|
|
m := new(common.Data)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Memory(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MemoryResponse, error) {
|
|
out := new(MemoryResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Memory", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Mounts(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MountsResponse, error) {
|
|
out := new(MountsResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Mounts", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Processes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ProcessesResponse, error) {
|
|
out := new(ProcessesResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Processes", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (MachineService_ReadClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[6], "/machine.MachineService/Read", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &machineServiceReadClient{stream}
|
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if err := x.ClientStream.CloseSend(); err != nil {
|
|
return nil, err
|
|
}
|
|
return x, nil
|
|
}
|
|
|
|
type MachineService_ReadClient interface {
|
|
Recv() (*common.Data, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type machineServiceReadClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *machineServiceReadClient) Recv() (*common.Data, error) {
|
|
m := new(common.Data)
|
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
|
return nil, err
|
|
}
|
|
return m, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Reboot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RebootResponse, error) {
|
|
out := new(RebootResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Reboot", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Restart(ctx context.Context, in *RestartRequest, opts ...grpc.CallOption) (*RestartResponse, error) {
|
|
out := new(RestartResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Restart", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Rollback(ctx context.Context, in *RollbackRequest, opts ...grpc.CallOption) (*RollbackResponse, error) {
|
|
out := new(RollbackResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Rollback", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error) {
|
|
out := new(ResetResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Reset", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Recover(ctx context.Context, in *RecoverRequest, opts ...grpc.CallOption) (*RecoverResponse, error) {
|
|
out := new(RecoverResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Recover", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) ServiceList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServiceListResponse, error) {
|
|
out := new(ServiceListResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceList", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) ServiceRestart(ctx context.Context, in *ServiceRestartRequest, opts ...grpc.CallOption) (*ServiceRestartResponse, error) {
|
|
out := new(ServiceRestartResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceRestart", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) ServiceStart(ctx context.Context, in *ServiceStartRequest, opts ...grpc.CallOption) (*ServiceStartResponse, error) {
|
|
out := new(ServiceStartResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceStart", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) ServiceStop(ctx context.Context, in *ServiceStopRequest, opts ...grpc.CallOption) (*ServiceStopResponse, error) {
|
|
out := new(ServiceStopResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceStop", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Shutdown(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShutdownResponse, error) {
|
|
out := new(ShutdownResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Shutdown", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) {
|
|
out := new(StatsResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Stats", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error) {
|
|
out := new(UpgradeResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Upgrade", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *machineServiceClient) Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error) {
|
|
out := new(VersionResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Version", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// MachineServiceServer is the server API for MachineService service.
|
|
type MachineServiceServer interface {
|
|
Bootstrap(context.Context, *BootstrapRequest) (*BootstrapResponse, error)
|
|
Containers(context.Context, *ContainersRequest) (*ContainersResponse, error)
|
|
Copy(*CopyRequest, MachineService_CopyServer) error
|
|
Dmesg(*DmesgRequest, MachineService_DmesgServer) error
|
|
Events(*EventsRequest, MachineService_EventsServer) error
|
|
Kubeconfig(*empty.Empty, MachineService_KubeconfigServer) error
|
|
List(*ListRequest, MachineService_ListServer) error
|
|
Logs(*LogsRequest, MachineService_LogsServer) error
|
|
Memory(context.Context, *empty.Empty) (*MemoryResponse, error)
|
|
Mounts(context.Context, *empty.Empty) (*MountsResponse, error)
|
|
Processes(context.Context, *empty.Empty) (*ProcessesResponse, error)
|
|
Read(*ReadRequest, MachineService_ReadServer) error
|
|
Reboot(context.Context, *empty.Empty) (*RebootResponse, error)
|
|
Restart(context.Context, *RestartRequest) (*RestartResponse, error)
|
|
Rollback(context.Context, *RollbackRequest) (*RollbackResponse, error)
|
|
Reset(context.Context, *ResetRequest) (*ResetResponse, error)
|
|
Recover(context.Context, *RecoverRequest) (*RecoverResponse, error)
|
|
ServiceList(context.Context, *empty.Empty) (*ServiceListResponse, error)
|
|
ServiceRestart(context.Context, *ServiceRestartRequest) (*ServiceRestartResponse, error)
|
|
ServiceStart(context.Context, *ServiceStartRequest) (*ServiceStartResponse, error)
|
|
ServiceStop(context.Context, *ServiceStopRequest) (*ServiceStopResponse, error)
|
|
Shutdown(context.Context, *empty.Empty) (*ShutdownResponse, error)
|
|
Stats(context.Context, *StatsRequest) (*StatsResponse, error)
|
|
Upgrade(context.Context, *UpgradeRequest) (*UpgradeResponse, error)
|
|
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) Containers(context.Context, *ContainersRequest) (*ContainersResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Containers not implemented")
|
|
}
|
|
|
|
func (*UnimplementedMachineServiceServer) Copy(*CopyRequest, MachineService_CopyServer) error {
|
|
return status.Errorf(codes.Unimplemented, "method Copy not implemented")
|
|
}
|
|
|
|
func (*UnimplementedMachineServiceServer) Dmesg(*DmesgRequest, MachineService_DmesgServer) error {
|
|
return status.Errorf(codes.Unimplemented, "method Dmesg 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) Memory(context.Context, *empty.Empty) (*MemoryResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Memory not implemented")
|
|
}
|
|
|
|
func (*UnimplementedMachineServiceServer) Mounts(context.Context, *empty.Empty) (*MountsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Mounts not implemented")
|
|
}
|
|
|
|
func (*UnimplementedMachineServiceServer) Processes(context.Context, *empty.Empty) (*ProcessesResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Processes 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) Restart(context.Context, *RestartRequest) (*RestartResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Restart 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) Stats(context.Context, *StatsRequest) (*StatsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method Stats 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)
|
|
}
|
|
|
|
func _MachineService_Bootstrap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(BootstrapRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Bootstrap(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Bootstrap",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Bootstrap(ctx, req.(*BootstrapRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Containers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ContainersRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Containers(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Containers",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Containers(ctx, req.(*ContainersRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Copy_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(CopyRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(MachineServiceServer).Copy(m, &machineServiceCopyServer{stream})
|
|
}
|
|
|
|
type MachineService_CopyServer interface {
|
|
Send(*common.Data) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type machineServiceCopyServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *machineServiceCopyServer) Send(m *common.Data) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _MachineService_Dmesg_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(DmesgRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(MachineServiceServer).Dmesg(m, &machineServiceDmesgServer{stream})
|
|
}
|
|
|
|
type MachineService_DmesgServer interface {
|
|
Send(*common.Data) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type machineServiceDmesgServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *machineServiceDmesgServer) Send(m *common.Data) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _MachineService_Events_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(EventsRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(MachineServiceServer).Events(m, &machineServiceEventsServer{stream})
|
|
}
|
|
|
|
type MachineService_EventsServer interface {
|
|
Send(*Event) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type machineServiceEventsServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *machineServiceEventsServer) Send(m *Event) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _MachineService_Kubeconfig_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(empty.Empty)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(MachineServiceServer).Kubeconfig(m, &machineServiceKubeconfigServer{stream})
|
|
}
|
|
|
|
type MachineService_KubeconfigServer interface {
|
|
Send(*common.Data) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type machineServiceKubeconfigServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *machineServiceKubeconfigServer) Send(m *common.Data) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _MachineService_List_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(ListRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(MachineServiceServer).List(m, &machineServiceListServer{stream})
|
|
}
|
|
|
|
type MachineService_ListServer interface {
|
|
Send(*FileInfo) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type machineServiceListServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *machineServiceListServer) Send(m *FileInfo) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _MachineService_Logs_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(LogsRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(MachineServiceServer).Logs(m, &machineServiceLogsServer{stream})
|
|
}
|
|
|
|
type MachineService_LogsServer interface {
|
|
Send(*common.Data) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type machineServiceLogsServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *machineServiceLogsServer) Send(m *common.Data) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _MachineService_Memory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Memory(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Memory",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Memory(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Mounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Mounts(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Mounts",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Mounts(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Processes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Processes(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Processes",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Processes(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Read_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(ReadRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(MachineServiceServer).Read(m, &machineServiceReadServer{stream})
|
|
}
|
|
|
|
type MachineService_ReadServer interface {
|
|
Send(*common.Data) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type machineServiceReadServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *machineServiceReadServer) Send(m *common.Data) error {
|
|
return x.ServerStream.SendMsg(m)
|
|
}
|
|
|
|
func _MachineService_Reboot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Reboot(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Reboot",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Reboot(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Restart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RestartRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Restart(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Restart",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Restart(ctx, req.(*RestartRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Rollback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RollbackRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Rollback(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Rollback",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Rollback(ctx, req.(*RollbackRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Reset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResetRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Reset(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Reset",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Reset(ctx, req.(*ResetRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Recover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RecoverRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Recover(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Recover",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Recover(ctx, req.(*RecoverRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_ServiceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).ServiceList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/ServiceList",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).ServiceList(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_ServiceRestart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ServiceRestartRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).ServiceRestart(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/ServiceRestart",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).ServiceRestart(ctx, req.(*ServiceRestartRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_ServiceStart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ServiceStartRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).ServiceStart(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/ServiceStart",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).ServiceStart(ctx, req.(*ServiceStartRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_ServiceStop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ServiceStopRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).ServiceStop(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/ServiceStop",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).ServiceStop(ctx, req.(*ServiceStopRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Shutdown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Shutdown(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Shutdown",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Shutdown(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Stats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StatsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Stats(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Stats",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Stats(ctx, req.(*StatsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Upgrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpgradeRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Upgrade(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Upgrade",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Upgrade(ctx, req.(*UpgradeRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _MachineService_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(empty.Empty)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Version(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Version",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Version(ctx, req.(*empty.Empty))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _MachineService_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "machine.MachineService",
|
|
HandlerType: (*MachineServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "Bootstrap",
|
|
Handler: _MachineService_Bootstrap_Handler,
|
|
},
|
|
{
|
|
MethodName: "Containers",
|
|
Handler: _MachineService_Containers_Handler,
|
|
},
|
|
{
|
|
MethodName: "Memory",
|
|
Handler: _MachineService_Memory_Handler,
|
|
},
|
|
{
|
|
MethodName: "Mounts",
|
|
Handler: _MachineService_Mounts_Handler,
|
|
},
|
|
{
|
|
MethodName: "Processes",
|
|
Handler: _MachineService_Processes_Handler,
|
|
},
|
|
{
|
|
MethodName: "Reboot",
|
|
Handler: _MachineService_Reboot_Handler,
|
|
},
|
|
{
|
|
MethodName: "Restart",
|
|
Handler: _MachineService_Restart_Handler,
|
|
},
|
|
{
|
|
MethodName: "Rollback",
|
|
Handler: _MachineService_Rollback_Handler,
|
|
},
|
|
{
|
|
MethodName: "Reset",
|
|
Handler: _MachineService_Reset_Handler,
|
|
},
|
|
{
|
|
MethodName: "Recover",
|
|
Handler: _MachineService_Recover_Handler,
|
|
},
|
|
{
|
|
MethodName: "ServiceList",
|
|
Handler: _MachineService_ServiceList_Handler,
|
|
},
|
|
{
|
|
MethodName: "ServiceRestart",
|
|
Handler: _MachineService_ServiceRestart_Handler,
|
|
},
|
|
{
|
|
MethodName: "ServiceStart",
|
|
Handler: _MachineService_ServiceStart_Handler,
|
|
},
|
|
{
|
|
MethodName: "ServiceStop",
|
|
Handler: _MachineService_ServiceStop_Handler,
|
|
},
|
|
{
|
|
MethodName: "Shutdown",
|
|
Handler: _MachineService_Shutdown_Handler,
|
|
},
|
|
{
|
|
MethodName: "Stats",
|
|
Handler: _MachineService_Stats_Handler,
|
|
},
|
|
{
|
|
MethodName: "Upgrade",
|
|
Handler: _MachineService_Upgrade_Handler,
|
|
},
|
|
{
|
|
MethodName: "Version",
|
|
Handler: _MachineService_Version_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{
|
|
{
|
|
StreamName: "Copy",
|
|
Handler: _MachineService_Copy_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "Dmesg",
|
|
Handler: _MachineService_Dmesg_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "Events",
|
|
Handler: _MachineService_Events_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "Kubeconfig",
|
|
Handler: _MachineService_Kubeconfig_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "List",
|
|
Handler: _MachineService_List_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "Logs",
|
|
Handler: _MachineService_Logs_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "Read",
|
|
Handler: _MachineService_Read_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
},
|
|
Metadata: "machine/machine.proto",
|
|
}
|