blob: 1729ce74e53829dcfc4a3b32df81ec709ee6a232 [file] [log] [blame]
// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.1
// source: lab/dut_manager_storage.proto
package lab
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
reflect "reflect"
sync "sync"
)
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)
)
type CreateDutRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Dut *ManagedDut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
}
func (x *CreateDutRequest) Reset() {
*x = CreateDutRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateDutRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateDutRequest) ProtoMessage() {}
func (x *CreateDutRequest) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 CreateDutRequest.ProtoReflect.Descriptor instead.
func (*CreateDutRequest) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{0}
}
func (x *CreateDutRequest) GetDut() *ManagedDut {
if x != nil {
return x.Dut
}
return nil
}
type CreateDutResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CreateDutResponse) Reset() {
*x = CreateDutResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateDutResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateDutResponse) ProtoMessage() {}
func (x *CreateDutResponse) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 CreateDutResponse.ProtoReflect.Descriptor instead.
func (*CreateDutResponse) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{1}
}
type DeleteDutRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *DeleteDutRequest) Reset() {
*x = DeleteDutRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteDutRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteDutRequest) ProtoMessage() {}
func (x *DeleteDutRequest) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 DeleteDutRequest.ProtoReflect.Descriptor instead.
func (*DeleteDutRequest) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{2}
}
func (x *DeleteDutRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type DeleteDutResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *DeleteDutResponse) Reset() {
*x = DeleteDutResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteDutResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteDutResponse) ProtoMessage() {}
func (x *DeleteDutResponse) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 DeleteDutResponse.ProtoReflect.Descriptor instead.
func (*DeleteDutResponse) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{3}
}
type ListDutRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ListDutRequest) Reset() {
*x = ListDutRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListDutRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDutRequest) ProtoMessage() {}
func (x *ListDutRequest) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 ListDutRequest.ProtoReflect.Descriptor instead.
func (*ListDutRequest) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{4}
}
type ListDutResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Duts []*ManagedDut `protobuf:"bytes,1,rep,name=duts,proto3" json:"duts,omitempty"`
}
func (x *ListDutResponse) Reset() {
*x = ListDutResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListDutResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDutResponse) ProtoMessage() {}
func (x *ListDutResponse) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 ListDutResponse.ProtoReflect.Descriptor instead.
func (*ListDutResponse) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{5}
}
func (x *ListDutResponse) GetDuts() []*ManagedDut {
if x != nil {
return x.Duts
}
return nil
}
type GetDutRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *GetDutRequest) Reset() {
*x = GetDutRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetDutRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDutRequest) ProtoMessage() {}
func (x *GetDutRequest) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 GetDutRequest.ProtoReflect.Descriptor instead.
func (*GetDutRequest) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{6}
}
func (x *GetDutRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type GetDutResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Dut *ManagedDut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
}
func (x *GetDutResponse) Reset() {
*x = GetDutResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetDutResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDutResponse) ProtoMessage() {}
func (x *GetDutResponse) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 GetDutResponse.ProtoReflect.Descriptor instead.
func (*GetDutResponse) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{7}
}
func (x *GetDutResponse) GetDut() *ManagedDut {
if x != nil {
return x.Dut
}
return nil
}
type UpdateDutRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Dut *ManagedDut `protobuf:"bytes,1,opt,name=dut,proto3" json:"dut,omitempty"`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
}
func (x *UpdateDutRequest) Reset() {
*x = UpdateDutRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateDutRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateDutRequest) ProtoMessage() {}
func (x *UpdateDutRequest) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 UpdateDutRequest.ProtoReflect.Descriptor instead.
func (*UpdateDutRequest) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{8}
}
func (x *UpdateDutRequest) GetDut() *ManagedDut {
if x != nil {
return x.Dut
}
return nil
}
func (x *UpdateDutRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
if x != nil {
return x.UpdateMask
}
return nil
}
type UpdateDutResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateDutResponse) Reset() {
*x = UpdateDutResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_lab_dut_manager_storage_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateDutResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateDutResponse) ProtoMessage() {}
func (x *UpdateDutResponse) ProtoReflect() protoreflect.Message {
mi := &file_lab_dut_manager_storage_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 UpdateDutResponse.ProtoReflect.Descriptor instead.
func (*UpdateDutResponse) Descriptor() ([]byte, []int) {
return file_lab_dut_manager_storage_proto_rawDescGZIP(), []int{9}
}
var File_lab_dut_manager_storage_proto protoreflect.FileDescriptor
var file_lab_dut_manager_storage_proto_rawDesc = []byte{
0x0a, 0x1d, 0x6c, 0x61, 0x62, 0x2f, 0x64, 0x75, 0x74, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65,
0x72, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x03, 0x6c, 0x61, 0x62, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x61, 0x62, 0x2f, 0x6d, 0x61, 0x6e, 0x61,
0x67, 0x65, 0x64, 0x5f, 0x64, 0x75, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a,
0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x21, 0x0a, 0x03, 0x64, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f,
0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x44, 0x75, 0x74, 0x52,
0x03, 0x64, 0x75, 0x74, 0x22, 0x13, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x75,
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x0a, 0x10, 0x44, 0x65, 0x6c,
0x65, 0x74, 0x65, 0x44, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
0x65, 0x22, 0x13, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x75, 0x74, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x75,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x36, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74,
0x44, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x64,
0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x61, 0x62, 0x2e,
0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x44, 0x75, 0x74, 0x52, 0x04, 0x64, 0x75, 0x74, 0x73,
0x22, 0x23, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x44, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x33, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x75, 0x74, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x03, 0x64, 0x75, 0x74, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67,
0x65, 0x64, 0x44, 0x75, 0x74, 0x52, 0x03, 0x64, 0x75, 0x74, 0x22, 0x72, 0x0a, 0x10, 0x55, 0x70,
0x64, 0x61, 0x74, 0x65, 0x44, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21,
0x0a, 0x03, 0x64, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x61,
0x62, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x44, 0x75, 0x74, 0x52, 0x03, 0x64, 0x75,
0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61,
0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x13,
0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x32, 0xb7, 0x02, 0x0a, 0x18, 0x44, 0x75, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67,
0x65, 0x72, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
0x12, 0x3a, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x75, 0x74, 0x12, 0x15, 0x2e,
0x6c, 0x61, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x75, 0x74, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
0x65, 0x44, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x09,
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x75, 0x74, 0x12, 0x15, 0x2e, 0x6c, 0x61, 0x62, 0x2e,
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x16, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x75, 0x74,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x4c, 0x69, 0x73, 0x74,
0x44, 0x75, 0x74, 0x12, 0x13, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x75,
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x4c,
0x69, 0x73, 0x74, 0x44, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31,
0x0a, 0x06, 0x47, 0x65, 0x74, 0x44, 0x75, 0x74, 0x12, 0x12, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x47,
0x65, 0x74, 0x44, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c,
0x61, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x3a, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x75, 0x74, 0x12, 0x15,
0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x75, 0x74, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x44, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2f, 0x5a,
0x2d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67,
0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x72,
0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x6c, 0x61, 0x62, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_lab_dut_manager_storage_proto_rawDescOnce sync.Once
file_lab_dut_manager_storage_proto_rawDescData = file_lab_dut_manager_storage_proto_rawDesc
)
func file_lab_dut_manager_storage_proto_rawDescGZIP() []byte {
file_lab_dut_manager_storage_proto_rawDescOnce.Do(func() {
file_lab_dut_manager_storage_proto_rawDescData = protoimpl.X.CompressGZIP(file_lab_dut_manager_storage_proto_rawDescData)
})
return file_lab_dut_manager_storage_proto_rawDescData
}
var file_lab_dut_manager_storage_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_lab_dut_manager_storage_proto_goTypes = []interface{}{
(*CreateDutRequest)(nil), // 0: lab.CreateDutRequest
(*CreateDutResponse)(nil), // 1: lab.CreateDutResponse
(*DeleteDutRequest)(nil), // 2: lab.DeleteDutRequest
(*DeleteDutResponse)(nil), // 3: lab.DeleteDutResponse
(*ListDutRequest)(nil), // 4: lab.ListDutRequest
(*ListDutResponse)(nil), // 5: lab.ListDutResponse
(*GetDutRequest)(nil), // 6: lab.GetDutRequest
(*GetDutResponse)(nil), // 7: lab.GetDutResponse
(*UpdateDutRequest)(nil), // 8: lab.UpdateDutRequest
(*UpdateDutResponse)(nil), // 9: lab.UpdateDutResponse
(*ManagedDut)(nil), // 10: lab.ManagedDut
(*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
}
var file_lab_dut_manager_storage_proto_depIdxs = []int32{
10, // 0: lab.CreateDutRequest.dut:type_name -> lab.ManagedDut
10, // 1: lab.ListDutResponse.duts:type_name -> lab.ManagedDut
10, // 2: lab.GetDutResponse.dut:type_name -> lab.ManagedDut
10, // 3: lab.UpdateDutRequest.dut:type_name -> lab.ManagedDut
11, // 4: lab.UpdateDutRequest.update_mask:type_name -> google.protobuf.FieldMask
0, // 5: lab.DutManagerStorageService.CreateDut:input_type -> lab.CreateDutRequest
2, // 6: lab.DutManagerStorageService.DeleteDut:input_type -> lab.DeleteDutRequest
4, // 7: lab.DutManagerStorageService.ListDut:input_type -> lab.ListDutRequest
6, // 8: lab.DutManagerStorageService.GetDut:input_type -> lab.GetDutRequest
8, // 9: lab.DutManagerStorageService.UpdateDut:input_type -> lab.UpdateDutRequest
1, // 10: lab.DutManagerStorageService.CreateDut:output_type -> lab.CreateDutResponse
3, // 11: lab.DutManagerStorageService.DeleteDut:output_type -> lab.DeleteDutResponse
5, // 12: lab.DutManagerStorageService.ListDut:output_type -> lab.ListDutResponse
7, // 13: lab.DutManagerStorageService.GetDut:output_type -> lab.GetDutResponse
9, // 14: lab.DutManagerStorageService.UpdateDut:output_type -> lab.UpdateDutResponse
10, // [10:15] is the sub-list for method output_type
5, // [5:10] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_lab_dut_manager_storage_proto_init() }
func file_lab_dut_manager_storage_proto_init() {
if File_lab_dut_manager_storage_proto != nil {
return
}
file_lab_managed_dut_proto_init()
if !protoimpl.UnsafeEnabled {
file_lab_dut_manager_storage_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateDutRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lab_dut_manager_storage_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateDutResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lab_dut_manager_storage_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteDutRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lab_dut_manager_storage_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteDutResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lab_dut_manager_storage_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListDutRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lab_dut_manager_storage_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListDutResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lab_dut_manager_storage_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetDutRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lab_dut_manager_storage_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetDutResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lab_dut_manager_storage_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateDutRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_lab_dut_manager_storage_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateDutResponse); 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_lab_dut_manager_storage_proto_rawDesc,
NumEnums: 0,
NumMessages: 10,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_lab_dut_manager_storage_proto_goTypes,
DependencyIndexes: file_lab_dut_manager_storage_proto_depIdxs,
MessageInfos: file_lab_dut_manager_storage_proto_msgTypes,
}.Build()
File_lab_dut_manager_storage_proto = out.File
file_lab_dut_manager_storage_proto_rawDesc = nil
file_lab_dut_manager_storage_proto_goTypes = nil
file_lab_dut_manager_storage_proto_depIdxs = nil
}