github.com/cloudwan/edgelq-sdk@v1.15.4/devices/client/v1/device_hardware/device_hardware_custom.pb.go (about)

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/devices/proto/v1/device_hardware_custom.proto
     3  // DO NOT EDIT!!!
     4  
     5  package device_hardware_client
     6  
     7  import (
     8  	"fmt"
     9  	"reflect"
    10  	"sync"
    11  
    12  	"google.golang.org/protobuf/encoding/protojson"
    13  	"google.golang.org/protobuf/proto"
    14  	preflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	"google.golang.org/protobuf/runtime/protoimpl"
    16  )
    17  
    18  // proto imports
    19  import (
    20  	device_hardware "github.com/cloudwan/edgelq-sdk/devices/resources/v1/device_hardware"
    21  	project "github.com/cloudwan/edgelq-sdk/devices/resources/v1/project"
    22  )
    23  
    24  // Reference imports to suppress errors if they are not otherwise used.
    25  var (
    26  	_ = fmt.Errorf
    27  	_ = reflect.Method{}
    28  	_ = sync.Once{}
    29  
    30  	_ = protojson.MarshalOptions{}
    31  	_ = proto.MarshalOptions{}
    32  	_ = preflect.Value{}
    33  	_ = protoimpl.DescBuilder{}
    34  )
    35  
    36  // make sure we're using proto imports
    37  var (
    38  	_ = &device_hardware.DeviceHardware{}
    39  	_ = &project.Project{}
    40  )
    41  
    42  const (
    43  	// Verify that this generated code is sufficiently up-to-date.
    44  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    45  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    46  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    47  )
    48  
    49  // Request message for method [Deregister][ntt.devices.v1.Deregister]
    50  type DeregisterRequest struct {
    51  	state         protoimpl.MessageState
    52  	sizeCache     protoimpl.SizeCache
    53  	unknownFields protoimpl.UnknownFields
    54  	// Name of ntt.devices.v1.DeviceHardware
    55  	Name *device_hardware.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
    56  }
    57  
    58  func (m *DeregisterRequest) Reset() {
    59  	*m = DeregisterRequest{}
    60  	if protoimpl.UnsafeEnabled {
    61  		mi := &edgelq_devices_proto_v1_device_hardware_custom_proto_msgTypes[0]
    62  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    63  		ms.StoreMessageInfo(mi)
    64  	}
    65  }
    66  
    67  func (m *DeregisterRequest) String() string {
    68  	return protoimpl.X.MessageStringOf(m)
    69  }
    70  
    71  func (*DeregisterRequest) ProtoMessage() {}
    72  
    73  func (m *DeregisterRequest) ProtoReflect() preflect.Message {
    74  	mi := &edgelq_devices_proto_v1_device_hardware_custom_proto_msgTypes[0]
    75  	if protoimpl.UnsafeEnabled && m != nil {
    76  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    77  		if ms.LoadMessageInfo() == nil {
    78  			ms.StoreMessageInfo(mi)
    79  		}
    80  		return ms
    81  	}
    82  	return mi.MessageOf(m)
    83  }
    84  
    85  func (*DeregisterRequest) GotenMessage() {}
    86  
    87  // Deprecated, Use DeregisterRequest.ProtoReflect.Descriptor instead.
    88  func (*DeregisterRequest) Descriptor() ([]byte, []int) {
    89  	return edgelq_devices_proto_v1_device_hardware_custom_proto_rawDescGZIP(), []int{0}
    90  }
    91  
    92  func (m *DeregisterRequest) Unmarshal(b []byte) error {
    93  	return proto.Unmarshal(b, m)
    94  }
    95  
    96  func (m *DeregisterRequest) Marshal() ([]byte, error) {
    97  	return proto.Marshal(m)
    98  }
    99  
   100  func (m *DeregisterRequest) MarshalJSON() ([]byte, error) {
   101  	return protojson.MarshalOptions{}.Marshal(m)
   102  }
   103  
   104  func (m *DeregisterRequest) UnmarshalJSON(data []byte) error {
   105  	return protojson.Unmarshal(data, m)
   106  }
   107  
   108  func (m *DeregisterRequest) GetName() *device_hardware.Name {
   109  	if m != nil {
   110  		return m.Name
   111  	}
   112  	return nil
   113  }
   114  
   115  func (m *DeregisterRequest) SetName(fv *device_hardware.Name) {
   116  	if m == nil {
   117  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "DeregisterRequest"))
   118  	}
   119  	m.Name = fv
   120  }
   121  
   122  // Response message for method [Deregister][ntt.devices.v1.Deregister]
   123  type DeregisterResponse struct {
   124  	state         protoimpl.MessageState
   125  	sizeCache     protoimpl.SizeCache
   126  	unknownFields protoimpl.UnknownFields
   127  }
   128  
   129  func (m *DeregisterResponse) Reset() {
   130  	*m = DeregisterResponse{}
   131  	if protoimpl.UnsafeEnabled {
   132  		mi := &edgelq_devices_proto_v1_device_hardware_custom_proto_msgTypes[1]
   133  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   134  		ms.StoreMessageInfo(mi)
   135  	}
   136  }
   137  
   138  func (m *DeregisterResponse) String() string {
   139  	return protoimpl.X.MessageStringOf(m)
   140  }
   141  
   142  func (*DeregisterResponse) ProtoMessage() {}
   143  
   144  func (m *DeregisterResponse) ProtoReflect() preflect.Message {
   145  	mi := &edgelq_devices_proto_v1_device_hardware_custom_proto_msgTypes[1]
   146  	if protoimpl.UnsafeEnabled && m != nil {
   147  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   148  		if ms.LoadMessageInfo() == nil {
   149  			ms.StoreMessageInfo(mi)
   150  		}
   151  		return ms
   152  	}
   153  	return mi.MessageOf(m)
   154  }
   155  
   156  func (*DeregisterResponse) GotenMessage() {}
   157  
   158  // Deprecated, Use DeregisterResponse.ProtoReflect.Descriptor instead.
   159  func (*DeregisterResponse) Descriptor() ([]byte, []int) {
   160  	return edgelq_devices_proto_v1_device_hardware_custom_proto_rawDescGZIP(), []int{1}
   161  }
   162  
   163  func (m *DeregisterResponse) Unmarshal(b []byte) error {
   164  	return proto.Unmarshal(b, m)
   165  }
   166  
   167  func (m *DeregisterResponse) Marshal() ([]byte, error) {
   168  	return proto.Marshal(m)
   169  }
   170  
   171  func (m *DeregisterResponse) MarshalJSON() ([]byte, error) {
   172  	return protojson.MarshalOptions{}.Marshal(m)
   173  }
   174  
   175  func (m *DeregisterResponse) UnmarshalJSON(data []byte) error {
   176  	return protojson.Unmarshal(data, m)
   177  }
   178  
   179  var edgelq_devices_proto_v1_device_hardware_custom_proto preflect.FileDescriptor
   180  
   181  var edgelq_devices_proto_v1_device_hardware_custom_proto_rawDesc = []byte{
   182  	0x0a, 0x34, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
   183  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
   184  	0x5f, 0x68, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
   185  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69,
   186  	0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e,
   187  	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
   188  	0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f,
   189  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65,
   190  	0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61,
   191  	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69,
   192  	0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f,
   193  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74,
   194  	0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d,
   195  	0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70,
   196  	0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68,
   197  	0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x65,
   198  	0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72,
   199  	0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x61,
   200  	0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72,
   201  	0x6f, 0x74, 0x6f, 0x22, 0x3f, 0x0a, 0x11, 0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
   202  	0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   203  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x16, 0xb2, 0xda, 0x21, 0x12, 0x0a, 0x10, 0x0a, 0x0e,
   204  	0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x52, 0x04,
   205  	0x6e, 0x61, 0x6d, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
   206  	0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x8d, 0x01, 0xe8, 0xde, 0x21,
   207  	0x00, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
   208  	0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x19, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
   209  	0x48, 0x61, 0x72, 0x64, 0x77, 0x61, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72,
   210  	0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
   211  	0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c,
   212  	0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
   213  	0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x72, 0x64, 0x77,
   214  	0x61, 0x72, 0x65, 0x3b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x72, 0x64, 0x77,
   215  	0x61, 0x72, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   216  	0x6f, 0x33,
   217  }
   218  
   219  var (
   220  	edgelq_devices_proto_v1_device_hardware_custom_proto_rawDescOnce sync.Once
   221  	edgelq_devices_proto_v1_device_hardware_custom_proto_rawDescData = edgelq_devices_proto_v1_device_hardware_custom_proto_rawDesc
   222  )
   223  
   224  func edgelq_devices_proto_v1_device_hardware_custom_proto_rawDescGZIP() []byte {
   225  	edgelq_devices_proto_v1_device_hardware_custom_proto_rawDescOnce.Do(func() {
   226  		edgelq_devices_proto_v1_device_hardware_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1_device_hardware_custom_proto_rawDescData)
   227  	})
   228  	return edgelq_devices_proto_v1_device_hardware_custom_proto_rawDescData
   229  }
   230  
   231  var edgelq_devices_proto_v1_device_hardware_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   232  var edgelq_devices_proto_v1_device_hardware_custom_proto_goTypes = []interface{}{
   233  	(*DeregisterRequest)(nil),  // 0: ntt.devices.v1.DeregisterRequest
   234  	(*DeregisterResponse)(nil), // 1: ntt.devices.v1.DeregisterResponse
   235  }
   236  var edgelq_devices_proto_v1_device_hardware_custom_proto_depIdxs = []int32{
   237  	0, // [0:0] is the sub-list for method output_type
   238  	0, // [0:0] is the sub-list for method input_type
   239  	0, // [0:0] is the sub-list for extension type_name
   240  	0, // [0:0] is the sub-list for extension extendee
   241  	0, // [0:0] is the sub-list for field type_name
   242  }
   243  
   244  func init() { edgelq_devices_proto_v1_device_hardware_custom_proto_init() }
   245  func edgelq_devices_proto_v1_device_hardware_custom_proto_init() {
   246  	if edgelq_devices_proto_v1_device_hardware_custom_proto != nil {
   247  		return
   248  	}
   249  	if !protoimpl.UnsafeEnabled {
   250  
   251  		edgelq_devices_proto_v1_device_hardware_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   252  			switch v := v.(*DeregisterRequest); i {
   253  			case 0:
   254  				return &v.state
   255  			case 1:
   256  				return &v.sizeCache
   257  			case 2:
   258  				return &v.unknownFields
   259  			default:
   260  				return nil
   261  			}
   262  		}
   263  		edgelq_devices_proto_v1_device_hardware_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   264  			switch v := v.(*DeregisterResponse); i {
   265  			case 0:
   266  				return &v.state
   267  			case 1:
   268  				return &v.sizeCache
   269  			case 2:
   270  				return &v.unknownFields
   271  			default:
   272  				return nil
   273  			}
   274  		}
   275  	}
   276  
   277  	type x struct{}
   278  	out := protoimpl.TypeBuilder{
   279  		File: protoimpl.DescBuilder{
   280  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   281  			RawDescriptor: edgelq_devices_proto_v1_device_hardware_custom_proto_rawDesc,
   282  			NumEnums:      0,
   283  			NumMessages:   2,
   284  			NumExtensions: 0,
   285  			NumServices:   0,
   286  		},
   287  		GoTypes:           edgelq_devices_proto_v1_device_hardware_custom_proto_goTypes,
   288  		DependencyIndexes: edgelq_devices_proto_v1_device_hardware_custom_proto_depIdxs,
   289  		MessageInfos:      edgelq_devices_proto_v1_device_hardware_custom_proto_msgTypes,
   290  	}.Build()
   291  	edgelq_devices_proto_v1_device_hardware_custom_proto = out.File
   292  	edgelq_devices_proto_v1_device_hardware_custom_proto_rawDesc = nil
   293  	edgelq_devices_proto_v1_device_hardware_custom_proto_goTypes = nil
   294  	edgelq_devices_proto_v1_device_hardware_custom_proto_depIdxs = nil
   295  }