blob: dc5f75b65c5966182babd6e0e52a50a35751376d [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: wilco_service.proto
package wilco
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type DiagnosticRoutineStatus int32
const (
DiagnosticRoutineStatus_ROUTINE_STATUS_PASSED DiagnosticRoutineStatus = 0
DiagnosticRoutineStatus_ROUTINE_STATUS_FAILED DiagnosticRoutineStatus = 1
DiagnosticRoutineStatus_ROUTINE_STATUS_ERROR DiagnosticRoutineStatus = 2
DiagnosticRoutineStatus_ROUTINE_STATUS_CANCELLED DiagnosticRoutineStatus = 3
)
var DiagnosticRoutineStatus_name = map[int32]string{
0: "ROUTINE_STATUS_PASSED",
1: "ROUTINE_STATUS_FAILED",
2: "ROUTINE_STATUS_ERROR",
3: "ROUTINE_STATUS_CANCELLED",
}
var DiagnosticRoutineStatus_value = map[string]int32{
"ROUTINE_STATUS_PASSED": 0,
"ROUTINE_STATUS_FAILED": 1,
"ROUTINE_STATUS_ERROR": 2,
"ROUTINE_STATUS_CANCELLED": 3,
}
func (x DiagnosticRoutineStatus) String() string {
return proto.EnumName(DiagnosticRoutineStatus_name, int32(x))
}
func (DiagnosticRoutineStatus) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{0}
}
type GetStatusResponse struct {
WilcoDtcSupportdPid uint64 `protobuf:"varint,1,opt,name=wilco_dtc_supportd_pid,json=wilcoDtcSupportdPid,proto3" json:"wilco_dtc_supportd_pid,omitempty"`
WilcoDtcPid uint64 `protobuf:"varint,2,opt,name=wilco_dtc_pid,json=wilcoDtcPid,proto3" json:"wilco_dtc_pid,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetStatusResponse) Reset() { *m = GetStatusResponse{} }
func (m *GetStatusResponse) String() string { return proto.CompactTextString(m) }
func (*GetStatusResponse) ProtoMessage() {}
func (*GetStatusResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{0}
}
func (m *GetStatusResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetStatusResponse.Unmarshal(m, b)
}
func (m *GetStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetStatusResponse.Marshal(b, m, deterministic)
}
func (m *GetStatusResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetStatusResponse.Merge(m, src)
}
func (m *GetStatusResponse) XXX_Size() int {
return xxx_messageInfo_GetStatusResponse.Size(m)
}
func (m *GetStatusResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetStatusResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetStatusResponse proto.InternalMessageInfo
func (m *GetStatusResponse) GetWilcoDtcSupportdPid() uint64 {
if m != nil {
return m.WilcoDtcSupportdPid
}
return 0
}
func (m *GetStatusResponse) GetWilcoDtcPid() uint64 {
if m != nil {
return m.WilcoDtcPid
}
return 0
}
type RestartVMRequest struct {
StartProcesses bool `protobuf:"varint,1,opt,name=start_processes,json=startProcesses,proto3" json:"start_processes,omitempty"`
TestDbusConfig bool `protobuf:"varint,2,opt,name=test_dbus_config,json=testDbusConfig,proto3" json:"test_dbus_config,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RestartVMRequest) Reset() { *m = RestartVMRequest{} }
func (m *RestartVMRequest) String() string { return proto.CompactTextString(m) }
func (*RestartVMRequest) ProtoMessage() {}
func (*RestartVMRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{1}
}
func (m *RestartVMRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RestartVMRequest.Unmarshal(m, b)
}
func (m *RestartVMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RestartVMRequest.Marshal(b, m, deterministic)
}
func (m *RestartVMRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RestartVMRequest.Merge(m, src)
}
func (m *RestartVMRequest) XXX_Size() int {
return xxx_messageInfo_RestartVMRequest.Size(m)
}
func (m *RestartVMRequest) XXX_DiscardUnknown() {
xxx_messageInfo_RestartVMRequest.DiscardUnknown(m)
}
var xxx_messageInfo_RestartVMRequest proto.InternalMessageInfo
func (m *RestartVMRequest) GetStartProcesses() bool {
if m != nil {
return m.StartProcesses
}
return false
}
func (m *RestartVMRequest) GetTestDbusConfig() bool {
if m != nil {
return m.TestDbusConfig
}
return false
}
type GetConfigurationDataResponse struct {
JsonConfigurationData string `protobuf:"bytes,1,opt,name=json_configuration_data,json=jsonConfigurationData,proto3" json:"json_configuration_data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetConfigurationDataResponse) Reset() { *m = GetConfigurationDataResponse{} }
func (m *GetConfigurationDataResponse) String() string { return proto.CompactTextString(m) }
func (*GetConfigurationDataResponse) ProtoMessage() {}
func (*GetConfigurationDataResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{2}
}
func (m *GetConfigurationDataResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetConfigurationDataResponse.Unmarshal(m, b)
}
func (m *GetConfigurationDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetConfigurationDataResponse.Marshal(b, m, deterministic)
}
func (m *GetConfigurationDataResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetConfigurationDataResponse.Merge(m, src)
}
func (m *GetConfigurationDataResponse) XXX_Size() int {
return xxx_messageInfo_GetConfigurationDataResponse.Size(m)
}
func (m *GetConfigurationDataResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetConfigurationDataResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetConfigurationDataResponse proto.InternalMessageInfo
func (m *GetConfigurationDataResponse) GetJsonConfigurationData() string {
if m != nil {
return m.JsonConfigurationData
}
return ""
}
type SendMessageToUiRequest struct {
JsonMessage string `protobuf:"bytes,1,opt,name=json_message,json=jsonMessage,proto3" json:"json_message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SendMessageToUiRequest) Reset() { *m = SendMessageToUiRequest{} }
func (m *SendMessageToUiRequest) String() string { return proto.CompactTextString(m) }
func (*SendMessageToUiRequest) ProtoMessage() {}
func (*SendMessageToUiRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{3}
}
func (m *SendMessageToUiRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SendMessageToUiRequest.Unmarshal(m, b)
}
func (m *SendMessageToUiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SendMessageToUiRequest.Marshal(b, m, deterministic)
}
func (m *SendMessageToUiRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SendMessageToUiRequest.Merge(m, src)
}
func (m *SendMessageToUiRequest) XXX_Size() int {
return xxx_messageInfo_SendMessageToUiRequest.Size(m)
}
func (m *SendMessageToUiRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SendMessageToUiRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SendMessageToUiRequest proto.InternalMessageInfo
func (m *SendMessageToUiRequest) GetJsonMessage() string {
if m != nil {
return m.JsonMessage
}
return ""
}
type SendMessageToUiResponse struct {
ResponseJsonMessage string `protobuf:"bytes,1,opt,name=response_json_message,json=responseJsonMessage,proto3" json:"response_json_message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SendMessageToUiResponse) Reset() { *m = SendMessageToUiResponse{} }
func (m *SendMessageToUiResponse) String() string { return proto.CompactTextString(m) }
func (*SendMessageToUiResponse) ProtoMessage() {}
func (*SendMessageToUiResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{4}
}
func (m *SendMessageToUiResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SendMessageToUiResponse.Unmarshal(m, b)
}
func (m *SendMessageToUiResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SendMessageToUiResponse.Marshal(b, m, deterministic)
}
func (m *SendMessageToUiResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_SendMessageToUiResponse.Merge(m, src)
}
func (m *SendMessageToUiResponse) XXX_Size() int {
return xxx_messageInfo_SendMessageToUiResponse.Size(m)
}
func (m *SendMessageToUiResponse) XXX_DiscardUnknown() {
xxx_messageInfo_SendMessageToUiResponse.DiscardUnknown(m)
}
var xxx_messageInfo_SendMessageToUiResponse proto.InternalMessageInfo
func (m *SendMessageToUiResponse) GetResponseJsonMessage() string {
if m != nil {
return m.ResponseJsonMessage
}
return ""
}
type ExecuteRoutineRequest struct {
// TODO(vsavu): replace with RunRoutineRequest from wilco_dtc_supportd.proto
Request []byte `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecuteRoutineRequest) Reset() { *m = ExecuteRoutineRequest{} }
func (m *ExecuteRoutineRequest) String() string { return proto.CompactTextString(m) }
func (*ExecuteRoutineRequest) ProtoMessage() {}
func (*ExecuteRoutineRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{5}
}
func (m *ExecuteRoutineRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecuteRoutineRequest.Unmarshal(m, b)
}
func (m *ExecuteRoutineRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecuteRoutineRequest.Marshal(b, m, deterministic)
}
func (m *ExecuteRoutineRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecuteRoutineRequest.Merge(m, src)
}
func (m *ExecuteRoutineRequest) XXX_Size() int {
return xxx_messageInfo_ExecuteRoutineRequest.Size(m)
}
func (m *ExecuteRoutineRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ExecuteRoutineRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ExecuteRoutineRequest proto.InternalMessageInfo
func (m *ExecuteRoutineRequest) GetRequest() []byte {
if m != nil {
return m.Request
}
return nil
}
type ExecuteRoutineResponse struct {
Status DiagnosticRoutineStatus `protobuf:"varint,1,opt,name=status,proto3,enum=tast.cros.wilco.DiagnosticRoutineStatus" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ExecuteRoutineResponse) Reset() { *m = ExecuteRoutineResponse{} }
func (m *ExecuteRoutineResponse) String() string { return proto.CompactTextString(m) }
func (*ExecuteRoutineResponse) ProtoMessage() {}
func (*ExecuteRoutineResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{6}
}
func (m *ExecuteRoutineResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ExecuteRoutineResponse.Unmarshal(m, b)
}
func (m *ExecuteRoutineResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ExecuteRoutineResponse.Marshal(b, m, deterministic)
}
func (m *ExecuteRoutineResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ExecuteRoutineResponse.Merge(m, src)
}
func (m *ExecuteRoutineResponse) XXX_Size() int {
return xxx_messageInfo_ExecuteRoutineResponse.Size(m)
}
func (m *ExecuteRoutineResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ExecuteRoutineResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ExecuteRoutineResponse proto.InternalMessageInfo
func (m *ExecuteRoutineResponse) GetStatus() DiagnosticRoutineStatus {
if m != nil {
return m.Status
}
return DiagnosticRoutineStatus_ROUTINE_STATUS_PASSED
}
type StartDPSLListenerRequest struct {
HandleMessageFromUiResponse string `protobuf:"bytes,1,opt,name=handle_message_from_ui_response,json=handleMessageFromUiResponse,proto3" json:"handle_message_from_ui_response,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StartDPSLListenerRequest) Reset() { *m = StartDPSLListenerRequest{} }
func (m *StartDPSLListenerRequest) String() string { return proto.CompactTextString(m) }
func (*StartDPSLListenerRequest) ProtoMessage() {}
func (*StartDPSLListenerRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{7}
}
func (m *StartDPSLListenerRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StartDPSLListenerRequest.Unmarshal(m, b)
}
func (m *StartDPSLListenerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StartDPSLListenerRequest.Marshal(b, m, deterministic)
}
func (m *StartDPSLListenerRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_StartDPSLListenerRequest.Merge(m, src)
}
func (m *StartDPSLListenerRequest) XXX_Size() int {
return xxx_messageInfo_StartDPSLListenerRequest.Size(m)
}
func (m *StartDPSLListenerRequest) XXX_DiscardUnknown() {
xxx_messageInfo_StartDPSLListenerRequest.DiscardUnknown(m)
}
var xxx_messageInfo_StartDPSLListenerRequest proto.InternalMessageInfo
func (m *StartDPSLListenerRequest) GetHandleMessageFromUiResponse() string {
if m != nil {
return m.HandleMessageFromUiResponse
}
return ""
}
type WaitForHandleMessageFromUiResponse struct {
JsonMessage string `protobuf:"bytes,1,opt,name=json_message,json=jsonMessage,proto3" json:"json_message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WaitForHandleMessageFromUiResponse) Reset() { *m = WaitForHandleMessageFromUiResponse{} }
func (m *WaitForHandleMessageFromUiResponse) String() string { return proto.CompactTextString(m) }
func (*WaitForHandleMessageFromUiResponse) ProtoMessage() {}
func (*WaitForHandleMessageFromUiResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_247e03d5bf0cb873, []int{8}
}
func (m *WaitForHandleMessageFromUiResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WaitForHandleMessageFromUiResponse.Unmarshal(m, b)
}
func (m *WaitForHandleMessageFromUiResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WaitForHandleMessageFromUiResponse.Marshal(b, m, deterministic)
}
func (m *WaitForHandleMessageFromUiResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_WaitForHandleMessageFromUiResponse.Merge(m, src)
}
func (m *WaitForHandleMessageFromUiResponse) XXX_Size() int {
return xxx_messageInfo_WaitForHandleMessageFromUiResponse.Size(m)
}
func (m *WaitForHandleMessageFromUiResponse) XXX_DiscardUnknown() {
xxx_messageInfo_WaitForHandleMessageFromUiResponse.DiscardUnknown(m)
}
var xxx_messageInfo_WaitForHandleMessageFromUiResponse proto.InternalMessageInfo
func (m *WaitForHandleMessageFromUiResponse) GetJsonMessage() string {
if m != nil {
return m.JsonMessage
}
return ""
}
func init() {
proto.RegisterEnum("tast.cros.wilco.DiagnosticRoutineStatus", DiagnosticRoutineStatus_name, DiagnosticRoutineStatus_value)
proto.RegisterType((*GetStatusResponse)(nil), "tast.cros.wilco.GetStatusResponse")
proto.RegisterType((*RestartVMRequest)(nil), "tast.cros.wilco.RestartVMRequest")
proto.RegisterType((*GetConfigurationDataResponse)(nil), "tast.cros.wilco.GetConfigurationDataResponse")
proto.RegisterType((*SendMessageToUiRequest)(nil), "tast.cros.wilco.SendMessageToUiRequest")
proto.RegisterType((*SendMessageToUiResponse)(nil), "tast.cros.wilco.SendMessageToUiResponse")
proto.RegisterType((*ExecuteRoutineRequest)(nil), "tast.cros.wilco.ExecuteRoutineRequest")
proto.RegisterType((*ExecuteRoutineResponse)(nil), "tast.cros.wilco.ExecuteRoutineResponse")
proto.RegisterType((*StartDPSLListenerRequest)(nil), "tast.cros.wilco.StartDPSLListenerRequest")
proto.RegisterType((*WaitForHandleMessageFromUiResponse)(nil), "tast.cros.wilco.WaitForHandleMessageFromUiResponse")
}
func init() { proto.RegisterFile("wilco_service.proto", fileDescriptor_247e03d5bf0cb873) }
var fileDescriptor_247e03d5bf0cb873 = []byte{
// 793 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdf, 0x6f, 0xe3, 0x44,
0x10, 0x4e, 0x0e, 0x74, 0x5c, 0xe6, 0x4a, 0x9a, 0xdb, 0xbb, 0xfc, 0x20, 0x77, 0x12, 0xd4, 0xa8,
0x34, 0x45, 0xc2, 0x11, 0xad, 0xc4, 0x0b, 0x2f, 0x84, 0x38, 0x4d, 0x83, 0xd2, 0x36, 0xb2, 0xd3,
0x16, 0x8a, 0x90, 0xd9, 0xd8, 0x9b, 0x74, 0xc1, 0xf1, 0x9a, 0xdd, 0x75, 0xa1, 0x7f, 0x01, 0x6f,
0xfc, 0xcd, 0xc8, 0xeb, 0x75, 0x4a, 0xe3, 0x98, 0xf6, 0xfa, 0x16, 0xef, 0xcc, 0xf7, 0xcd, 0x37,
0xb3, 0xf3, 0xad, 0x02, 0xaf, 0xff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0x7a, 0x75,
0xa0, 0x8f, 0x43, 0x8f, 0x04, 0x81, 0x1a, 0xe0, 0xa3, 0xab, 0x15, 0x77, 0x30, 0x86, 0x56, 0x42,
0x3e, 0x24, 0xb2, 0x77, 0x83, 0x69, 0x80, 0x67, 0x41, 0x86, 0x15, 0x4f, 0x98, 0xc7, 0x2f, 0xb0,
0xaf, 0xd9, 0x92, 0x45, 0x24, 0xf3, 0x38, 0x98, 0x60, 0x2e, 0x69, 0xa2, 0x75, 0x45, 0xdf, 0xc7,
0x11, 0xf6, 0xa8, 0xbc, 0x7d, 0x02, 0xfd, 0x8f, 0xf0, 0x2a, 0xf7, 0xba, 0xa0, 0xfd, 0xfc, 0xd5,
0x17, 0xbc, 0x40, 0xff, 0xc3, 0x6c, 0x41, 0xcd, 0x91, 0x2c, 0xba, 0x47, 0xfc, 0xfe, 0xfa, 0x7e,
0x82, 0xdd, 0x7b, 0x6f, 0x53, 0x6e, 0xdb, 0xfb, 0xd7, 0x38, 0x5c, 0x10, 0xff, 0x09, 0xd4, 0xbf,
0x43, 0xbb, 0xf8, 0xd9, 0x2b, 0xe4, 0x3b, 0xcc, 0xcd, 0xe6, 0xe1, 0xb7, 0xd3, 0x28, 0x7d, 0xbf,
0x7b, 0xf5, 0xb9, 0x77, 0xcd, 0xd9, 0x92, 0xc6, 0x4b, 0x26, 0xba, 0x09, 0x45, 0x57, 0xff, 0xb9,
0x10, 0xdd, 0x84, 0xab, 0xab, 0xb8, 0x66, 0xcf, 0x55, 0xb5, 0xc3, 0x7f, 0x03, 0x00, 0x00, 0xff,
0xff, 0xbf, 0x29, 0xb7, 0x17, 0x80, 0x08, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// WilcoServiceClient is the client API for WilcoService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type WilcoServiceClient interface {
// GetStatus checks if services are running
GetStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetStatusResponse, error)
RestartVM(ctx context.Context, in *RestartVMRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// GetConfigurationData performs the grpc request from inside the VM
GetConfigurationData(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetConfigurationDataResponse, error)
// SendMessageToUi performs the grpc request from inside the VM
SendMessageToUi(ctx context.Context, in *SendMessageToUiRequest, opts ...grpc.CallOption) (*SendMessageToUiResponse, error)
TestPerformWebRequest(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
ExecuteRoutine(ctx context.Context, in *ExecuteRoutineRequest, opts ...grpc.CallOption) (*ExecuteRoutineResponse, error)
TestRoutineCancellation(ctx context.Context, in *ExecuteRoutineRequest, opts ...grpc.CallOption) (*empty.Empty, error)
TestGetAvailableRoutines(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
TestGetStatefulPartitionAvailableCapacity(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
StartDPSLListener(ctx context.Context, in *StartDPSLListenerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
StopDPSLListener(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
WaitForHandleConfigurationDataChanged(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
WaitForHandleMessageFromUi(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WaitForHandleMessageFromUiResponse, error)
}
type wilcoServiceClient struct {
cc *grpc.ClientConn
}
func NewWilcoServiceClient(cc *grpc.ClientConn) WilcoServiceClient {
return &wilcoServiceClient{cc}
}
func (c *wilcoServiceClient) GetStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetStatusResponse, error) {
out := new(GetStatusResponse)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/GetStatus", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) RestartVM(ctx context.Context, in *RestartVMRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/RestartVM", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) GetConfigurationData(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetConfigurationDataResponse, error) {
out := new(GetConfigurationDataResponse)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/GetConfigurationData", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) SendMessageToUi(ctx context.Context, in *SendMessageToUiRequest, opts ...grpc.CallOption) (*SendMessageToUiResponse, error) {
out := new(SendMessageToUiResponse)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/SendMessageToUi", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) TestPerformWebRequest(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/TestPerformWebRequest", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) ExecuteRoutine(ctx context.Context, in *ExecuteRoutineRequest, opts ...grpc.CallOption) (*ExecuteRoutineResponse, error) {
out := new(ExecuteRoutineResponse)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/ExecuteRoutine", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) TestRoutineCancellation(ctx context.Context, in *ExecuteRoutineRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/TestRoutineCancellation", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) TestGetAvailableRoutines(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/TestGetAvailableRoutines", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) TestGetStatefulPartitionAvailableCapacity(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/TestGetStatefulPartitionAvailableCapacity", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) StartDPSLListener(ctx context.Context, in *StartDPSLListenerRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/StartDPSLListener", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) StopDPSLListener(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/StopDPSLListener", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) WaitForHandleConfigurationDataChanged(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) {
out := new(empty.Empty)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/WaitForHandleConfigurationDataChanged", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *wilcoServiceClient) WaitForHandleMessageFromUi(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WaitForHandleMessageFromUiResponse, error) {
out := new(WaitForHandleMessageFromUiResponse)
err := c.cc.Invoke(ctx, "/tast.cros.wilco.WilcoService/WaitForHandleMessageFromUi", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// WilcoServiceServer is the server API for WilcoService service.
type WilcoServiceServer interface {
// GetStatus checks if services are running
GetStatus(context.Context, *empty.Empty) (*GetStatusResponse, error)
RestartVM(context.Context, *RestartVMRequest) (*empty.Empty, error)
// GetConfigurationData performs the grpc request from inside the VM
GetConfigurationData(context.Context, *empty.Empty) (*GetConfigurationDataResponse, error)
// SendMessageToUi performs the grpc request from inside the VM
SendMessageToUi(context.Context, *SendMessageToUiRequest) (*SendMessageToUiResponse, error)
TestPerformWebRequest(context.Context, *empty.Empty) (*empty.Empty, error)
ExecuteRoutine(context.Context, *ExecuteRoutineRequest) (*ExecuteRoutineResponse, error)
TestRoutineCancellation(context.Context, *ExecuteRoutineRequest) (*empty.Empty, error)
TestGetAvailableRoutines(context.Context, *empty.Empty) (*empty.Empty, error)
TestGetStatefulPartitionAvailableCapacity(context.Context, *empty.Empty) (*empty.Empty, error)
StartDPSLListener(context.Context, *StartDPSLListenerRequest) (*empty.Empty, error)
StopDPSLListener(context.Context, *empty.Empty) (*empty.Empty, error)
WaitForHandleConfigurationDataChanged(context.Context, *empty.Empty) (*empty.Empty, error)
WaitForHandleMessageFromUi(context.Context, *empty.Empty) (*WaitForHandleMessageFromUiResponse, error)
}
// UnimplementedWilcoServiceServer can be embedded to have forward compatible implementations.
type UnimplementedWilcoServiceServer struct {
}
func (*UnimplementedWilcoServiceServer) GetStatus(ctx context.Context, req *empty.Empty) (*GetStatusResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetStatus not implemented")
}
func (*UnimplementedWilcoServiceServer) RestartVM(ctx context.Context, req *RestartVMRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method RestartVM not implemented")
}
func (*UnimplementedWilcoServiceServer) GetConfigurationData(ctx context.Context, req *empty.Empty) (*GetConfigurationDataResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetConfigurationData not implemented")
}
func (*UnimplementedWilcoServiceServer) SendMessageToUi(ctx context.Context, req *SendMessageToUiRequest) (*SendMessageToUiResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SendMessageToUi not implemented")
}
func (*UnimplementedWilcoServiceServer) TestPerformWebRequest(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method TestPerformWebRequest not implemented")
}
func (*UnimplementedWilcoServiceServer) ExecuteRoutine(ctx context.Context, req *ExecuteRoutineRequest) (*ExecuteRoutineResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ExecuteRoutine not implemented")
}
func (*UnimplementedWilcoServiceServer) TestRoutineCancellation(ctx context.Context, req *ExecuteRoutineRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method TestRoutineCancellation not implemented")
}
func (*UnimplementedWilcoServiceServer) TestGetAvailableRoutines(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method TestGetAvailableRoutines not implemented")
}
func (*UnimplementedWilcoServiceServer) TestGetStatefulPartitionAvailableCapacity(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method TestGetStatefulPartitionAvailableCapacity not implemented")
}
func (*UnimplementedWilcoServiceServer) StartDPSLListener(ctx context.Context, req *StartDPSLListenerRequest) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method StartDPSLListener not implemented")
}
func (*UnimplementedWilcoServiceServer) StopDPSLListener(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method StopDPSLListener not implemented")
}
func (*UnimplementedWilcoServiceServer) WaitForHandleConfigurationDataChanged(ctx context.Context, req *empty.Empty) (*empty.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method WaitForHandleConfigurationDataChanged not implemented")
}
func (*UnimplementedWilcoServiceServer) WaitForHandleMessageFromUi(ctx context.Context, req *empty.Empty) (*WaitForHandleMessageFromUiResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method WaitForHandleMessageFromUi not implemented")
}
func RegisterWilcoServiceServer(s *grpc.Server, srv WilcoServiceServer) {
s.RegisterService(&_WilcoService_serviceDesc, srv)
}
func _WilcoService_GetStatus_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.(WilcoServiceServer).GetStatus(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/GetStatus",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).GetStatus(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_RestartVM_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RestartVMRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WilcoServiceServer).RestartVM(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/RestartVM",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).RestartVM(ctx, req.(*RestartVMRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_GetConfigurationData_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.(WilcoServiceServer).GetConfigurationData(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/GetConfigurationData",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).GetConfigurationData(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_SendMessageToUi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SendMessageToUiRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WilcoServiceServer).SendMessageToUi(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/SendMessageToUi",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).SendMessageToUi(ctx, req.(*SendMessageToUiRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_TestPerformWebRequest_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.(WilcoServiceServer).TestPerformWebRequest(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/TestPerformWebRequest",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).TestPerformWebRequest(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_ExecuteRoutine_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ExecuteRoutineRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WilcoServiceServer).ExecuteRoutine(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/ExecuteRoutine",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).ExecuteRoutine(ctx, req.(*ExecuteRoutineRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_TestRoutineCancellation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ExecuteRoutineRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WilcoServiceServer).TestRoutineCancellation(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/TestRoutineCancellation",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).TestRoutineCancellation(ctx, req.(*ExecuteRoutineRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_TestGetAvailableRoutines_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.(WilcoServiceServer).TestGetAvailableRoutines(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/TestGetAvailableRoutines",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).TestGetAvailableRoutines(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_TestGetStatefulPartitionAvailableCapacity_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.(WilcoServiceServer).TestGetStatefulPartitionAvailableCapacity(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/TestGetStatefulPartitionAvailableCapacity",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).TestGetStatefulPartitionAvailableCapacity(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_StartDPSLListener_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(StartDPSLListenerRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(WilcoServiceServer).StartDPSLListener(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/StartDPSLListener",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).StartDPSLListener(ctx, req.(*StartDPSLListenerRequest))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_StopDPSLListener_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.(WilcoServiceServer).StopDPSLListener(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/StopDPSLListener",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).StopDPSLListener(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_WaitForHandleConfigurationDataChanged_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.(WilcoServiceServer).WaitForHandleConfigurationDataChanged(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/WaitForHandleConfigurationDataChanged",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).WaitForHandleConfigurationDataChanged(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _WilcoService_WaitForHandleMessageFromUi_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.(WilcoServiceServer).WaitForHandleMessageFromUi(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/tast.cros.wilco.WilcoService/WaitForHandleMessageFromUi",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(WilcoServiceServer).WaitForHandleMessageFromUi(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
var _WilcoService_serviceDesc = grpc.ServiceDesc{
ServiceName: "tast.cros.wilco.WilcoService",
HandlerType: (*WilcoServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetStatus",
Handler: _WilcoService_GetStatus_Handler,
},
{
MethodName: "RestartVM",
Handler: _WilcoService_RestartVM_Handler,
},
{
MethodName: "GetConfigurationData",
Handler: _WilcoService_GetConfigurationData_Handler,
},
{
MethodName: "SendMessageToUi",
Handler: _WilcoService_SendMessageToUi_Handler,
},
{
MethodName: "TestPerformWebRequest",
Handler: _WilcoService_TestPerformWebRequest_Handler,
},
{
MethodName: "ExecuteRoutine",
Handler: _WilcoService_ExecuteRoutine_Handler,
},
{
MethodName: "TestRoutineCancellation",
Handler: _WilcoService_TestRoutineCancellation_Handler,
},
{
MethodName: "TestGetAvailableRoutines",
Handler: _WilcoService_TestGetAvailableRoutines_Handler,
},
{
MethodName: "TestGetStatefulPartitionAvailableCapacity",
Handler: _WilcoService_TestGetStatefulPartitionAvailableCapacity_Handler,
},
{
MethodName: "StartDPSLListener",
Handler: _WilcoService_StartDPSLListener_Handler,
},
{
MethodName: "StopDPSLListener",
Handler: _WilcoService_StopDPSLListener_Handler,
},
{
MethodName: "WaitForHandleConfigurationDataChanged",
Handler: _WilcoService_WaitForHandleConfigurationDataChanged_Handler,
},
{
MethodName: "WaitForHandleMessageFromUi",
Handler: _WilcoService_WaitForHandleMessageFromUi_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "wilco_service.proto",
}