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

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/devices/proto/v1/provisioning_policy_custom.proto
     3  // DO NOT EDIT!!!
     4  
     5  package provisioning_policy_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  	api "github.com/cloudwan/edgelq-sdk/common/api"
    21  	device "github.com/cloudwan/edgelq-sdk/devices/resources/v1/device"
    22  	project "github.com/cloudwan/edgelq-sdk/devices/resources/v1/project"
    23  	provisioning_approval_request "github.com/cloudwan/edgelq-sdk/devices/resources/v1/provisioning_approval_request"
    24  	provisioning_policy "github.com/cloudwan/edgelq-sdk/devices/resources/v1/provisioning_policy"
    25  )
    26  
    27  // Reference imports to suppress errors if they are not otherwise used.
    28  var (
    29  	_ = fmt.Errorf
    30  	_ = reflect.Method{}
    31  	_ = sync.Once{}
    32  
    33  	_ = protojson.MarshalOptions{}
    34  	_ = proto.MarshalOptions{}
    35  	_ = preflect.Value{}
    36  	_ = protoimpl.DescBuilder{}
    37  )
    38  
    39  // make sure we're using proto imports
    40  var (
    41  	_ = &api.Account{}
    42  	_ = &device.Device{}
    43  	_ = &project.Project{}
    44  	_ = &provisioning_approval_request.ProvisioningApprovalRequest{}
    45  	_ = &provisioning_policy.ProvisioningPolicy{}
    46  )
    47  
    48  const (
    49  	// Verify that this generated code is sufficiently up-to-date.
    50  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    51  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    52  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    53  )
    54  
    55  // Request message for method
    56  // [ProvisionServiceAccountToProvisioningPolicy][ntt.devices.v1.ProvisionServiceAccountToProvisioningPolicy]
    57  type ProvisionServiceAccountToProvisioningPolicyRequest struct {
    58  	state         protoimpl.MessageState
    59  	sizeCache     protoimpl.SizeCache
    60  	unknownFields protoimpl.UnknownFields
    61  	// Name of ntt.devices.v1.ProvisioningPolicy
    62  	Name *provisioning_policy.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
    63  }
    64  
    65  func (m *ProvisionServiceAccountToProvisioningPolicyRequest) Reset() {
    66  	*m = ProvisionServiceAccountToProvisioningPolicyRequest{}
    67  	if protoimpl.UnsafeEnabled {
    68  		mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[0]
    69  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    70  		ms.StoreMessageInfo(mi)
    71  	}
    72  }
    73  
    74  func (m *ProvisionServiceAccountToProvisioningPolicyRequest) String() string {
    75  	return protoimpl.X.MessageStringOf(m)
    76  }
    77  
    78  func (*ProvisionServiceAccountToProvisioningPolicyRequest) ProtoMessage() {}
    79  
    80  func (m *ProvisionServiceAccountToProvisioningPolicyRequest) ProtoReflect() preflect.Message {
    81  	mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[0]
    82  	if protoimpl.UnsafeEnabled && m != nil {
    83  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    84  		if ms.LoadMessageInfo() == nil {
    85  			ms.StoreMessageInfo(mi)
    86  		}
    87  		return ms
    88  	}
    89  	return mi.MessageOf(m)
    90  }
    91  
    92  func (*ProvisionServiceAccountToProvisioningPolicyRequest) GotenMessage() {}
    93  
    94  // Deprecated, Use ProvisionServiceAccountToProvisioningPolicyRequest.ProtoReflect.Descriptor instead.
    95  func (*ProvisionServiceAccountToProvisioningPolicyRequest) Descriptor() ([]byte, []int) {
    96  	return edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescGZIP(), []int{0}
    97  }
    98  
    99  func (m *ProvisionServiceAccountToProvisioningPolicyRequest) Unmarshal(b []byte) error {
   100  	return proto.Unmarshal(b, m)
   101  }
   102  
   103  func (m *ProvisionServiceAccountToProvisioningPolicyRequest) Marshal() ([]byte, error) {
   104  	return proto.Marshal(m)
   105  }
   106  
   107  func (m *ProvisionServiceAccountToProvisioningPolicyRequest) MarshalJSON() ([]byte, error) {
   108  	return protojson.MarshalOptions{}.Marshal(m)
   109  }
   110  
   111  func (m *ProvisionServiceAccountToProvisioningPolicyRequest) UnmarshalJSON(data []byte) error {
   112  	return protojson.Unmarshal(data, m)
   113  }
   114  
   115  func (m *ProvisionServiceAccountToProvisioningPolicyRequest) GetName() *provisioning_policy.Name {
   116  	if m != nil {
   117  		return m.Name
   118  	}
   119  	return nil
   120  }
   121  
   122  func (m *ProvisionServiceAccountToProvisioningPolicyRequest) SetName(fv *provisioning_policy.Name) {
   123  	if m == nil {
   124  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "ProvisionServiceAccountToProvisioningPolicyRequest"))
   125  	}
   126  	m.Name = fv
   127  }
   128  
   129  // Response message for method
   130  // [ProvisionServiceAccountToProvisioningPolicy][ntt.devices.v1.ProvisionServiceAccountToProvisioningPolicy]
   131  type ProvisionServiceAccountToProvisioningPolicyResponse struct {
   132  	state          protoimpl.MessageState
   133  	sizeCache      protoimpl.SizeCache
   134  	unknownFields  protoimpl.UnknownFields
   135  	ServiceAccount *api.ServiceAccount `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
   136  }
   137  
   138  func (m *ProvisionServiceAccountToProvisioningPolicyResponse) Reset() {
   139  	*m = ProvisionServiceAccountToProvisioningPolicyResponse{}
   140  	if protoimpl.UnsafeEnabled {
   141  		mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[1]
   142  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   143  		ms.StoreMessageInfo(mi)
   144  	}
   145  }
   146  
   147  func (m *ProvisionServiceAccountToProvisioningPolicyResponse) String() string {
   148  	return protoimpl.X.MessageStringOf(m)
   149  }
   150  
   151  func (*ProvisionServiceAccountToProvisioningPolicyResponse) ProtoMessage() {}
   152  
   153  func (m *ProvisionServiceAccountToProvisioningPolicyResponse) ProtoReflect() preflect.Message {
   154  	mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[1]
   155  	if protoimpl.UnsafeEnabled && m != nil {
   156  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   157  		if ms.LoadMessageInfo() == nil {
   158  			ms.StoreMessageInfo(mi)
   159  		}
   160  		return ms
   161  	}
   162  	return mi.MessageOf(m)
   163  }
   164  
   165  func (*ProvisionServiceAccountToProvisioningPolicyResponse) GotenMessage() {}
   166  
   167  // Deprecated, Use ProvisionServiceAccountToProvisioningPolicyResponse.ProtoReflect.Descriptor instead.
   168  func (*ProvisionServiceAccountToProvisioningPolicyResponse) Descriptor() ([]byte, []int) {
   169  	return edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescGZIP(), []int{1}
   170  }
   171  
   172  func (m *ProvisionServiceAccountToProvisioningPolicyResponse) Unmarshal(b []byte) error {
   173  	return proto.Unmarshal(b, m)
   174  }
   175  
   176  func (m *ProvisionServiceAccountToProvisioningPolicyResponse) Marshal() ([]byte, error) {
   177  	return proto.Marshal(m)
   178  }
   179  
   180  func (m *ProvisionServiceAccountToProvisioningPolicyResponse) MarshalJSON() ([]byte, error) {
   181  	return protojson.MarshalOptions{}.Marshal(m)
   182  }
   183  
   184  func (m *ProvisionServiceAccountToProvisioningPolicyResponse) UnmarshalJSON(data []byte) error {
   185  	return protojson.Unmarshal(data, m)
   186  }
   187  
   188  func (m *ProvisionServiceAccountToProvisioningPolicyResponse) GetServiceAccount() *api.ServiceAccount {
   189  	if m != nil {
   190  		return m.ServiceAccount
   191  	}
   192  	return nil
   193  }
   194  
   195  func (m *ProvisionServiceAccountToProvisioningPolicyResponse) SetServiceAccount(fv *api.ServiceAccount) {
   196  	if m == nil {
   197  		panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccount", "ProvisionServiceAccountToProvisioningPolicyResponse"))
   198  	}
   199  	m.ServiceAccount = fv
   200  }
   201  
   202  // Request message for method
   203  // [RemoveServiceAccountFromProvisioningPolicy][ntt.devices.v1.RemoveServiceAccountFromProvisioningPolicy]
   204  type RemoveServiceAccountFromProvisioningPolicyRequest struct {
   205  	state         protoimpl.MessageState
   206  	sizeCache     protoimpl.SizeCache
   207  	unknownFields protoimpl.UnknownFields
   208  	// Name of ntt.devices.v1.ProvisioningPolicy
   209  	Name *provisioning_policy.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
   210  }
   211  
   212  func (m *RemoveServiceAccountFromProvisioningPolicyRequest) Reset() {
   213  	*m = RemoveServiceAccountFromProvisioningPolicyRequest{}
   214  	if protoimpl.UnsafeEnabled {
   215  		mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[2]
   216  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   217  		ms.StoreMessageInfo(mi)
   218  	}
   219  }
   220  
   221  func (m *RemoveServiceAccountFromProvisioningPolicyRequest) String() string {
   222  	return protoimpl.X.MessageStringOf(m)
   223  }
   224  
   225  func (*RemoveServiceAccountFromProvisioningPolicyRequest) ProtoMessage() {}
   226  
   227  func (m *RemoveServiceAccountFromProvisioningPolicyRequest) ProtoReflect() preflect.Message {
   228  	mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[2]
   229  	if protoimpl.UnsafeEnabled && m != nil {
   230  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   231  		if ms.LoadMessageInfo() == nil {
   232  			ms.StoreMessageInfo(mi)
   233  		}
   234  		return ms
   235  	}
   236  	return mi.MessageOf(m)
   237  }
   238  
   239  func (*RemoveServiceAccountFromProvisioningPolicyRequest) GotenMessage() {}
   240  
   241  // Deprecated, Use RemoveServiceAccountFromProvisioningPolicyRequest.ProtoReflect.Descriptor instead.
   242  func (*RemoveServiceAccountFromProvisioningPolicyRequest) Descriptor() ([]byte, []int) {
   243  	return edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescGZIP(), []int{2}
   244  }
   245  
   246  func (m *RemoveServiceAccountFromProvisioningPolicyRequest) Unmarshal(b []byte) error {
   247  	return proto.Unmarshal(b, m)
   248  }
   249  
   250  func (m *RemoveServiceAccountFromProvisioningPolicyRequest) Marshal() ([]byte, error) {
   251  	return proto.Marshal(m)
   252  }
   253  
   254  func (m *RemoveServiceAccountFromProvisioningPolicyRequest) MarshalJSON() ([]byte, error) {
   255  	return protojson.MarshalOptions{}.Marshal(m)
   256  }
   257  
   258  func (m *RemoveServiceAccountFromProvisioningPolicyRequest) UnmarshalJSON(data []byte) error {
   259  	return protojson.Unmarshal(data, m)
   260  }
   261  
   262  func (m *RemoveServiceAccountFromProvisioningPolicyRequest) GetName() *provisioning_policy.Name {
   263  	if m != nil {
   264  		return m.Name
   265  	}
   266  	return nil
   267  }
   268  
   269  func (m *RemoveServiceAccountFromProvisioningPolicyRequest) SetName(fv *provisioning_policy.Name) {
   270  	if m == nil {
   271  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "RemoveServiceAccountFromProvisioningPolicyRequest"))
   272  	}
   273  	m.Name = fv
   274  }
   275  
   276  // Response message for method
   277  // [RemoveServiceAccountFromProvisioningPolicy][ntt.devices.v1.RemoveServiceAccountFromProvisioningPolicy]
   278  type RemoveServiceAccountFromProvisioningPolicyResponse struct {
   279  	state         protoimpl.MessageState
   280  	sizeCache     protoimpl.SizeCache
   281  	unknownFields protoimpl.UnknownFields
   282  	Removed       bool `protobuf:"varint,1,opt,name=removed,proto3" json:"removed,omitempty"`
   283  }
   284  
   285  func (m *RemoveServiceAccountFromProvisioningPolicyResponse) Reset() {
   286  	*m = RemoveServiceAccountFromProvisioningPolicyResponse{}
   287  	if protoimpl.UnsafeEnabled {
   288  		mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[3]
   289  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   290  		ms.StoreMessageInfo(mi)
   291  	}
   292  }
   293  
   294  func (m *RemoveServiceAccountFromProvisioningPolicyResponse) String() string {
   295  	return protoimpl.X.MessageStringOf(m)
   296  }
   297  
   298  func (*RemoveServiceAccountFromProvisioningPolicyResponse) ProtoMessage() {}
   299  
   300  func (m *RemoveServiceAccountFromProvisioningPolicyResponse) ProtoReflect() preflect.Message {
   301  	mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[3]
   302  	if protoimpl.UnsafeEnabled && m != nil {
   303  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   304  		if ms.LoadMessageInfo() == nil {
   305  			ms.StoreMessageInfo(mi)
   306  		}
   307  		return ms
   308  	}
   309  	return mi.MessageOf(m)
   310  }
   311  
   312  func (*RemoveServiceAccountFromProvisioningPolicyResponse) GotenMessage() {}
   313  
   314  // Deprecated, Use RemoveServiceAccountFromProvisioningPolicyResponse.ProtoReflect.Descriptor instead.
   315  func (*RemoveServiceAccountFromProvisioningPolicyResponse) Descriptor() ([]byte, []int) {
   316  	return edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescGZIP(), []int{3}
   317  }
   318  
   319  func (m *RemoveServiceAccountFromProvisioningPolicyResponse) Unmarshal(b []byte) error {
   320  	return proto.Unmarshal(b, m)
   321  }
   322  
   323  func (m *RemoveServiceAccountFromProvisioningPolicyResponse) Marshal() ([]byte, error) {
   324  	return proto.Marshal(m)
   325  }
   326  
   327  func (m *RemoveServiceAccountFromProvisioningPolicyResponse) MarshalJSON() ([]byte, error) {
   328  	return protojson.MarshalOptions{}.Marshal(m)
   329  }
   330  
   331  func (m *RemoveServiceAccountFromProvisioningPolicyResponse) UnmarshalJSON(data []byte) error {
   332  	return protojson.Unmarshal(data, m)
   333  }
   334  
   335  func (m *RemoveServiceAccountFromProvisioningPolicyResponse) GetRemoved() bool {
   336  	if m != nil {
   337  		return m.Removed
   338  	}
   339  	return false
   340  }
   341  
   342  func (m *RemoveServiceAccountFromProvisioningPolicyResponse) SetRemoved(fv bool) {
   343  	if m == nil {
   344  		panic(fmt.Errorf("can't set %s on nil %s", "Removed", "RemoveServiceAccountFromProvisioningPolicyResponse"))
   345  	}
   346  	m.Removed = fv
   347  }
   348  
   349  // Request message for method
   350  // [ProvisionDeviceViaPolicy][ntt.devices.v1.ProvisionDeviceViaPolicy]
   351  type ProvisionDeviceViaPolicyRequest struct {
   352  	state         protoimpl.MessageState
   353  	sizeCache     protoimpl.SizeCache
   354  	unknownFields protoimpl.UnknownFields
   355  	// Name of ntt.devices.v1.ProvisioningPolicy
   356  	Name         *provisioning_policy.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
   357  	DeviceStatus *device.Device_Status     `protobuf:"bytes,2,opt,name=device_status,json=deviceStatus,proto3" json:"device_status,omitempty"`
   358  	// external public key to use for service account for this device.
   359  	// If not present, a keypair will be generated by the server.
   360  	ExternalPubkey string `protobuf:"bytes,3,opt,name=external_pubkey,json=externalPubkey,proto3" json:"external_pubkey,omitempty"`
   361  }
   362  
   363  func (m *ProvisionDeviceViaPolicyRequest) Reset() {
   364  	*m = ProvisionDeviceViaPolicyRequest{}
   365  	if protoimpl.UnsafeEnabled {
   366  		mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[4]
   367  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   368  		ms.StoreMessageInfo(mi)
   369  	}
   370  }
   371  
   372  func (m *ProvisionDeviceViaPolicyRequest) String() string {
   373  	return protoimpl.X.MessageStringOf(m)
   374  }
   375  
   376  func (*ProvisionDeviceViaPolicyRequest) ProtoMessage() {}
   377  
   378  func (m *ProvisionDeviceViaPolicyRequest) ProtoReflect() preflect.Message {
   379  	mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[4]
   380  	if protoimpl.UnsafeEnabled && m != nil {
   381  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   382  		if ms.LoadMessageInfo() == nil {
   383  			ms.StoreMessageInfo(mi)
   384  		}
   385  		return ms
   386  	}
   387  	return mi.MessageOf(m)
   388  }
   389  
   390  func (*ProvisionDeviceViaPolicyRequest) GotenMessage() {}
   391  
   392  // Deprecated, Use ProvisionDeviceViaPolicyRequest.ProtoReflect.Descriptor instead.
   393  func (*ProvisionDeviceViaPolicyRequest) Descriptor() ([]byte, []int) {
   394  	return edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescGZIP(), []int{4}
   395  }
   396  
   397  func (m *ProvisionDeviceViaPolicyRequest) Unmarshal(b []byte) error {
   398  	return proto.Unmarshal(b, m)
   399  }
   400  
   401  func (m *ProvisionDeviceViaPolicyRequest) Marshal() ([]byte, error) {
   402  	return proto.Marshal(m)
   403  }
   404  
   405  func (m *ProvisionDeviceViaPolicyRequest) MarshalJSON() ([]byte, error) {
   406  	return protojson.MarshalOptions{}.Marshal(m)
   407  }
   408  
   409  func (m *ProvisionDeviceViaPolicyRequest) UnmarshalJSON(data []byte) error {
   410  	return protojson.Unmarshal(data, m)
   411  }
   412  
   413  func (m *ProvisionDeviceViaPolicyRequest) GetName() *provisioning_policy.Name {
   414  	if m != nil {
   415  		return m.Name
   416  	}
   417  	return nil
   418  }
   419  
   420  func (m *ProvisionDeviceViaPolicyRequest) GetDeviceStatus() *device.Device_Status {
   421  	if m != nil {
   422  		return m.DeviceStatus
   423  	}
   424  	return nil
   425  }
   426  
   427  func (m *ProvisionDeviceViaPolicyRequest) GetExternalPubkey() string {
   428  	if m != nil {
   429  		return m.ExternalPubkey
   430  	}
   431  	return ""
   432  }
   433  
   434  func (m *ProvisionDeviceViaPolicyRequest) SetName(fv *provisioning_policy.Name) {
   435  	if m == nil {
   436  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "ProvisionDeviceViaPolicyRequest"))
   437  	}
   438  	m.Name = fv
   439  }
   440  
   441  func (m *ProvisionDeviceViaPolicyRequest) SetDeviceStatus(fv *device.Device_Status) {
   442  	if m == nil {
   443  		panic(fmt.Errorf("can't set %s on nil %s", "DeviceStatus", "ProvisionDeviceViaPolicyRequest"))
   444  	}
   445  	m.DeviceStatus = fv
   446  }
   447  
   448  func (m *ProvisionDeviceViaPolicyRequest) SetExternalPubkey(fv string) {
   449  	if m == nil {
   450  		panic(fmt.Errorf("can't set %s on nil %s", "ExternalPubkey", "ProvisionDeviceViaPolicyRequest"))
   451  	}
   452  	m.ExternalPubkey = fv
   453  }
   454  
   455  // Response message for method
   456  // [ProvisionDeviceViaPolicy][ntt.devices.v1.ProvisionDeviceViaPolicy]
   457  type ProvisionDeviceViaPolicyResponse struct {
   458  	state          protoimpl.MessageState
   459  	sizeCache      protoimpl.SizeCache
   460  	unknownFields  protoimpl.UnknownFields
   461  	Device         *device.Device      `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
   462  	ServiceAccount *api.ServiceAccount `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
   463  }
   464  
   465  func (m *ProvisionDeviceViaPolicyResponse) Reset() {
   466  	*m = ProvisionDeviceViaPolicyResponse{}
   467  	if protoimpl.UnsafeEnabled {
   468  		mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[5]
   469  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   470  		ms.StoreMessageInfo(mi)
   471  	}
   472  }
   473  
   474  func (m *ProvisionDeviceViaPolicyResponse) String() string {
   475  	return protoimpl.X.MessageStringOf(m)
   476  }
   477  
   478  func (*ProvisionDeviceViaPolicyResponse) ProtoMessage() {}
   479  
   480  func (m *ProvisionDeviceViaPolicyResponse) ProtoReflect() preflect.Message {
   481  	mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[5]
   482  	if protoimpl.UnsafeEnabled && m != nil {
   483  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   484  		if ms.LoadMessageInfo() == nil {
   485  			ms.StoreMessageInfo(mi)
   486  		}
   487  		return ms
   488  	}
   489  	return mi.MessageOf(m)
   490  }
   491  
   492  func (*ProvisionDeviceViaPolicyResponse) GotenMessage() {}
   493  
   494  // Deprecated, Use ProvisionDeviceViaPolicyResponse.ProtoReflect.Descriptor instead.
   495  func (*ProvisionDeviceViaPolicyResponse) Descriptor() ([]byte, []int) {
   496  	return edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescGZIP(), []int{5}
   497  }
   498  
   499  func (m *ProvisionDeviceViaPolicyResponse) Unmarshal(b []byte) error {
   500  	return proto.Unmarshal(b, m)
   501  }
   502  
   503  func (m *ProvisionDeviceViaPolicyResponse) Marshal() ([]byte, error) {
   504  	return proto.Marshal(m)
   505  }
   506  
   507  func (m *ProvisionDeviceViaPolicyResponse) MarshalJSON() ([]byte, error) {
   508  	return protojson.MarshalOptions{}.Marshal(m)
   509  }
   510  
   511  func (m *ProvisionDeviceViaPolicyResponse) UnmarshalJSON(data []byte) error {
   512  	return protojson.Unmarshal(data, m)
   513  }
   514  
   515  func (m *ProvisionDeviceViaPolicyResponse) GetDevice() *device.Device {
   516  	if m != nil {
   517  		return m.Device
   518  	}
   519  	return nil
   520  }
   521  
   522  func (m *ProvisionDeviceViaPolicyResponse) GetServiceAccount() *api.ServiceAccount {
   523  	if m != nil {
   524  		return m.ServiceAccount
   525  	}
   526  	return nil
   527  }
   528  
   529  func (m *ProvisionDeviceViaPolicyResponse) SetDevice(fv *device.Device) {
   530  	if m == nil {
   531  		panic(fmt.Errorf("can't set %s on nil %s", "Device", "ProvisionDeviceViaPolicyResponse"))
   532  	}
   533  	m.Device = fv
   534  }
   535  
   536  func (m *ProvisionDeviceViaPolicyResponse) SetServiceAccount(fv *api.ServiceAccount) {
   537  	if m == nil {
   538  		panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccount", "ProvisionDeviceViaPolicyResponse"))
   539  	}
   540  	m.ServiceAccount = fv
   541  }
   542  
   543  // Request message for method
   544  // [RequestProvisioningApproval][ntt.devices.v1.RequestProvisioningApproval]
   545  type RequestProvisioningApprovalRequest struct {
   546  	state         protoimpl.MessageState
   547  	sizeCache     protoimpl.SizeCache
   548  	unknownFields protoimpl.UnknownFields
   549  	// Name of ntt.devices.v1.ProvisioningPolicy
   550  	Name *provisioning_policy.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
   551  	// Device status to get serial number.
   552  	DeviceStatus *device.Device_Status `protobuf:"bytes,2,opt,name=device_status,json=deviceStatus,proto3" json:"device_status,omitempty"`
   553  	// external public key to use for service account for this device.
   554  	// If not present, a keypair will be generated by the server.
   555  	ExternalPubkey string `protobuf:"bytes,3,opt,name=external_pubkey,json=externalPubkey,proto3" json:"external_pubkey,omitempty"`
   556  }
   557  
   558  func (m *RequestProvisioningApprovalRequest) Reset() {
   559  	*m = RequestProvisioningApprovalRequest{}
   560  	if protoimpl.UnsafeEnabled {
   561  		mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[6]
   562  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   563  		ms.StoreMessageInfo(mi)
   564  	}
   565  }
   566  
   567  func (m *RequestProvisioningApprovalRequest) String() string {
   568  	return protoimpl.X.MessageStringOf(m)
   569  }
   570  
   571  func (*RequestProvisioningApprovalRequest) ProtoMessage() {}
   572  
   573  func (m *RequestProvisioningApprovalRequest) ProtoReflect() preflect.Message {
   574  	mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[6]
   575  	if protoimpl.UnsafeEnabled && m != nil {
   576  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   577  		if ms.LoadMessageInfo() == nil {
   578  			ms.StoreMessageInfo(mi)
   579  		}
   580  		return ms
   581  	}
   582  	return mi.MessageOf(m)
   583  }
   584  
   585  func (*RequestProvisioningApprovalRequest) GotenMessage() {}
   586  
   587  // Deprecated, Use RequestProvisioningApprovalRequest.ProtoReflect.Descriptor instead.
   588  func (*RequestProvisioningApprovalRequest) Descriptor() ([]byte, []int) {
   589  	return edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescGZIP(), []int{6}
   590  }
   591  
   592  func (m *RequestProvisioningApprovalRequest) Unmarshal(b []byte) error {
   593  	return proto.Unmarshal(b, m)
   594  }
   595  
   596  func (m *RequestProvisioningApprovalRequest) Marshal() ([]byte, error) {
   597  	return proto.Marshal(m)
   598  }
   599  
   600  func (m *RequestProvisioningApprovalRequest) MarshalJSON() ([]byte, error) {
   601  	return protojson.MarshalOptions{}.Marshal(m)
   602  }
   603  
   604  func (m *RequestProvisioningApprovalRequest) UnmarshalJSON(data []byte) error {
   605  	return protojson.Unmarshal(data, m)
   606  }
   607  
   608  func (m *RequestProvisioningApprovalRequest) GetName() *provisioning_policy.Name {
   609  	if m != nil {
   610  		return m.Name
   611  	}
   612  	return nil
   613  }
   614  
   615  func (m *RequestProvisioningApprovalRequest) GetDeviceStatus() *device.Device_Status {
   616  	if m != nil {
   617  		return m.DeviceStatus
   618  	}
   619  	return nil
   620  }
   621  
   622  func (m *RequestProvisioningApprovalRequest) GetExternalPubkey() string {
   623  	if m != nil {
   624  		return m.ExternalPubkey
   625  	}
   626  	return ""
   627  }
   628  
   629  func (m *RequestProvisioningApprovalRequest) SetName(fv *provisioning_policy.Name) {
   630  	if m == nil {
   631  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "RequestProvisioningApprovalRequest"))
   632  	}
   633  	m.Name = fv
   634  }
   635  
   636  func (m *RequestProvisioningApprovalRequest) SetDeviceStatus(fv *device.Device_Status) {
   637  	if m == nil {
   638  		panic(fmt.Errorf("can't set %s on nil %s", "DeviceStatus", "RequestProvisioningApprovalRequest"))
   639  	}
   640  	m.DeviceStatus = fv
   641  }
   642  
   643  func (m *RequestProvisioningApprovalRequest) SetExternalPubkey(fv string) {
   644  	if m == nil {
   645  		panic(fmt.Errorf("can't set %s on nil %s", "ExternalPubkey", "RequestProvisioningApprovalRequest"))
   646  	}
   647  	m.ExternalPubkey = fv
   648  }
   649  
   650  // Response message for method
   651  // [RequestProvisioningApproval][ntt.devices.v1.RequestProvisioningApproval]
   652  type RequestProvisioningApprovalResponse struct {
   653  	state          protoimpl.MessageState
   654  	sizeCache      protoimpl.SizeCache
   655  	unknownFields  protoimpl.UnknownFields
   656  	Request        *provisioning_approval_request.ProvisioningApprovalRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
   657  	ServiceAccount *api.ServiceAccount                                        `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
   658  }
   659  
   660  func (m *RequestProvisioningApprovalResponse) Reset() {
   661  	*m = RequestProvisioningApprovalResponse{}
   662  	if protoimpl.UnsafeEnabled {
   663  		mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[7]
   664  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   665  		ms.StoreMessageInfo(mi)
   666  	}
   667  }
   668  
   669  func (m *RequestProvisioningApprovalResponse) String() string {
   670  	return protoimpl.X.MessageStringOf(m)
   671  }
   672  
   673  func (*RequestProvisioningApprovalResponse) ProtoMessage() {}
   674  
   675  func (m *RequestProvisioningApprovalResponse) ProtoReflect() preflect.Message {
   676  	mi := &edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[7]
   677  	if protoimpl.UnsafeEnabled && m != nil {
   678  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   679  		if ms.LoadMessageInfo() == nil {
   680  			ms.StoreMessageInfo(mi)
   681  		}
   682  		return ms
   683  	}
   684  	return mi.MessageOf(m)
   685  }
   686  
   687  func (*RequestProvisioningApprovalResponse) GotenMessage() {}
   688  
   689  // Deprecated, Use RequestProvisioningApprovalResponse.ProtoReflect.Descriptor instead.
   690  func (*RequestProvisioningApprovalResponse) Descriptor() ([]byte, []int) {
   691  	return edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescGZIP(), []int{7}
   692  }
   693  
   694  func (m *RequestProvisioningApprovalResponse) Unmarshal(b []byte) error {
   695  	return proto.Unmarshal(b, m)
   696  }
   697  
   698  func (m *RequestProvisioningApprovalResponse) Marshal() ([]byte, error) {
   699  	return proto.Marshal(m)
   700  }
   701  
   702  func (m *RequestProvisioningApprovalResponse) MarshalJSON() ([]byte, error) {
   703  	return protojson.MarshalOptions{}.Marshal(m)
   704  }
   705  
   706  func (m *RequestProvisioningApprovalResponse) UnmarshalJSON(data []byte) error {
   707  	return protojson.Unmarshal(data, m)
   708  }
   709  
   710  func (m *RequestProvisioningApprovalResponse) GetRequest() *provisioning_approval_request.ProvisioningApprovalRequest {
   711  	if m != nil {
   712  		return m.Request
   713  	}
   714  	return nil
   715  }
   716  
   717  func (m *RequestProvisioningApprovalResponse) GetServiceAccount() *api.ServiceAccount {
   718  	if m != nil {
   719  		return m.ServiceAccount
   720  	}
   721  	return nil
   722  }
   723  
   724  func (m *RequestProvisioningApprovalResponse) SetRequest(fv *provisioning_approval_request.ProvisioningApprovalRequest) {
   725  	if m == nil {
   726  		panic(fmt.Errorf("can't set %s on nil %s", "Request", "RequestProvisioningApprovalResponse"))
   727  	}
   728  	m.Request = fv
   729  }
   730  
   731  func (m *RequestProvisioningApprovalResponse) SetServiceAccount(fv *api.ServiceAccount) {
   732  	if m == nil {
   733  		panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccount", "RequestProvisioningApprovalResponse"))
   734  	}
   735  	m.ServiceAccount = fv
   736  }
   737  
   738  var edgelq_devices_proto_v1_provisioning_policy_custom_proto preflect.FileDescriptor
   739  
   740  var edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDesc = []byte{
   741  	0x0a, 0x38, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
   742  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73,
   743  	0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x75,
   744  	0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6e, 0x74, 0x74, 0x2e,
   745  	0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65,
   746  	0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61,
   747  	0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f,
   748  	0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   749  	0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74,
   750  	0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73,
   751  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f,
   752  	0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
   753  	0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
   754  	0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74,
   755  	0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64,
   756  	0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71,
   757  	0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x72, 0x65, 0x64,
   758  	0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x65,
   759  	0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72,
   760  	0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
   761  	0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   762  	0x1a, 0x38, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
   763  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73,
   764  	0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x63, 0x68,
   765  	0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65,
   766  	0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   767  	0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   768  	0x1a, 0x3b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
   769  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73,
   770  	0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x5f,
   771  	0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x01,
   772  	0x0a, 0x32, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69,
   773  	0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x50, 0x72, 0x6f, 0x76, 0x69,
   774  	0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71,
   775  	0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
   776  	0x28, 0x09, 0x42, 0x1a, 0xb2, 0xda, 0x21, 0x16, 0x0a, 0x14, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x76,
   777  	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04,
   778  	0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x26, 0xc2, 0x85, 0x2c, 0x22, 0x0a, 0x20, 0x0a, 0x04, 0x6e, 0x61,
   779  	0x6d, 0x65, 0x12, 0x18, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67,
   780  	0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9a, 0x01, 0x0a,
   781  	0x33, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
   782  	0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73,
   783  	0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70,
   784  	0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f,
   785  	0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
   786  	0x6e, 0x74, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41,
   787  	0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41,
   788  	0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x21, 0xc2, 0x85, 0x2c, 0x1d, 0x1a, 0x1b, 0x73, 0x65,
   789  	0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72,
   790  	0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x22, 0x8b, 0x01, 0x0a, 0x31, 0x52, 0x65,
   791  	0x6d, 0x6f, 0x76, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75,
   792  	0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69,
   793  	0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
   794  	0x2e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xb2,
   795  	0xda, 0x21, 0x16, 0x0a, 0x14, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
   796  	0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a,
   797  	0x26, 0xc2, 0x85, 0x2c, 0x22, 0x0a, 0x20, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x70,
   798  	0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69,
   799  	0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x32, 0x52, 0x65, 0x6d, 0x6f, 0x76,
   800  	0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46,
   801  	0x72, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50,
   802  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a,
   803  	0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
   804  	0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0xe6, 0x01, 0x0a, 0x1f, 0x50, 0x72, 0x6f, 0x76,
   805  	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x56, 0x69, 0x61, 0x50, 0x6f,
   806  	0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x6e,
   807  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1a, 0xb2, 0xda, 0x21, 0x16, 0x0a,
   808  	0x14, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50,
   809  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x64,
   810  	0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
   811  	0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
   812  	0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
   813  	0x73, 0x52, 0x0c, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
   814  	0x27, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6b,
   815  	0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e,
   816  	0x61, 0x6c, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x3a, 0x26, 0xc2, 0x85, 0x2c, 0x22, 0x0a, 0x20,
   817  	0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
   818  	0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
   819  	0x22, 0xb7, 0x01, 0x0a, 0x20, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x65,
   820  	0x76, 0x69, 0x63, 0x65, 0x56, 0x69, 0x61, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73,
   821  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18,
   822  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69,
   823  	0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x06, 0x64,
   824  	0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   825  	0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
   826  	0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   827  	0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   828  	0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x21, 0xc2, 0x85, 0x2c, 0x1d, 0x1a, 0x1b, 0x73,
   829  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70,
   830  	0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x22, 0xe9, 0x01, 0x0a, 0x22, 0x52,
   831  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69,
   832  	0x6e, 0x67, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   833  	0x74, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
   834  	0x1a, 0xb2, 0xda, 0x21, 0x16, 0x0a, 0x14, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69,
   835  	0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d,
   836  	0x65, 0x12, 0x42, 0x0a, 0x0d, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74,
   837  	0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64,
   838  	0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
   839  	0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53,
   840  	0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
   841  	0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
   842  	0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x3a, 0x26,
   843  	0xc2, 0x85, 0x2c, 0x22, 0x0a, 0x20, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x70, 0x72,
   844  	0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
   845  	0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd1, 0x01, 0x0a, 0x23, 0x52, 0x65, 0x71, 0x75, 0x65,
   846  	0x73, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x70,
   847  	0x70, 0x72, 0x6f, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45,
   848  	0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
   849  	0x2b, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
   850  	0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x70, 0x70,
   851  	0x72, 0x6f, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65,
   852  	0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   853  	0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
   854  	0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   855  	0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
   856  	0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x21, 0xc2, 0x85, 0x2c, 0x1d, 0x1a, 0x1b, 0x73,
   857  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70,
   858  	0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x42, 0x99, 0x01, 0xe8, 0xde, 0x21,
   859  	0x00, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63,
   860  	0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x1d, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73,
   861  	0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x43, 0x75, 0x73, 0x74,
   862  	0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x5b, 0x67, 0x69, 0x74, 0x68, 0x75,
   863  	0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65,
   864  	0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x6c,
   865  	0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
   866  	0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3b, 0x70, 0x72, 0x6f, 0x76,
   867  	0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f,
   868  	0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   869  }
   870  
   871  var (
   872  	edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescOnce sync.Once
   873  	edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescData = edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDesc
   874  )
   875  
   876  func edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescGZIP() []byte {
   877  	edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescOnce.Do(func() {
   878  		edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescData)
   879  	})
   880  	return edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDescData
   881  }
   882  
   883  var edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
   884  var edgelq_devices_proto_v1_provisioning_policy_custom_proto_goTypes = []interface{}{
   885  	(*ProvisionServiceAccountToProvisioningPolicyRequest)(nil),        // 0: ntt.devices.v1.ProvisionServiceAccountToProvisioningPolicyRequest
   886  	(*ProvisionServiceAccountToProvisioningPolicyResponse)(nil),       // 1: ntt.devices.v1.ProvisionServiceAccountToProvisioningPolicyResponse
   887  	(*RemoveServiceAccountFromProvisioningPolicyRequest)(nil),         // 2: ntt.devices.v1.RemoveServiceAccountFromProvisioningPolicyRequest
   888  	(*RemoveServiceAccountFromProvisioningPolicyResponse)(nil),        // 3: ntt.devices.v1.RemoveServiceAccountFromProvisioningPolicyResponse
   889  	(*ProvisionDeviceViaPolicyRequest)(nil),                           // 4: ntt.devices.v1.ProvisionDeviceViaPolicyRequest
   890  	(*ProvisionDeviceViaPolicyResponse)(nil),                          // 5: ntt.devices.v1.ProvisionDeviceViaPolicyResponse
   891  	(*RequestProvisioningApprovalRequest)(nil),                        // 6: ntt.devices.v1.RequestProvisioningApprovalRequest
   892  	(*RequestProvisioningApprovalResponse)(nil),                       // 7: ntt.devices.v1.RequestProvisioningApprovalResponse
   893  	(*api.ServiceAccount)(nil),                                        // 8: ntt.api.ServiceAccount
   894  	(*device.Device_Status)(nil),                                      // 9: ntt.devices.v1.Device.Status
   895  	(*device.Device)(nil),                                             // 10: ntt.devices.v1.Device
   896  	(*provisioning_approval_request.ProvisioningApprovalRequest)(nil), // 11: ntt.devices.v1.ProvisioningApprovalRequest
   897  }
   898  var edgelq_devices_proto_v1_provisioning_policy_custom_proto_depIdxs = []int32{
   899  	8,  // 0: ntt.devices.v1.ProvisionServiceAccountToProvisioningPolicyResponse.service_account:type_name -> ntt.api.ServiceAccount
   900  	9,  // 1: ntt.devices.v1.ProvisionDeviceViaPolicyRequest.device_status:type_name -> ntt.devices.v1.Device.Status
   901  	10, // 2: ntt.devices.v1.ProvisionDeviceViaPolicyResponse.device:type_name -> ntt.devices.v1.Device
   902  	8,  // 3: ntt.devices.v1.ProvisionDeviceViaPolicyResponse.service_account:type_name -> ntt.api.ServiceAccount
   903  	9,  // 4: ntt.devices.v1.RequestProvisioningApprovalRequest.device_status:type_name -> ntt.devices.v1.Device.Status
   904  	11, // 5: ntt.devices.v1.RequestProvisioningApprovalResponse.request:type_name -> ntt.devices.v1.ProvisioningApprovalRequest
   905  	8,  // 6: ntt.devices.v1.RequestProvisioningApprovalResponse.service_account:type_name -> ntt.api.ServiceAccount
   906  	7,  // [7:7] is the sub-list for method output_type
   907  	7,  // [7:7] is the sub-list for method input_type
   908  	7,  // [7:7] is the sub-list for extension type_name
   909  	7,  // [7:7] is the sub-list for extension extendee
   910  	0,  // [0:7] is the sub-list for field type_name
   911  }
   912  
   913  func init() { edgelq_devices_proto_v1_provisioning_policy_custom_proto_init() }
   914  func edgelq_devices_proto_v1_provisioning_policy_custom_proto_init() {
   915  	if edgelq_devices_proto_v1_provisioning_policy_custom_proto != nil {
   916  		return
   917  	}
   918  	if !protoimpl.UnsafeEnabled {
   919  
   920  		edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   921  			switch v := v.(*ProvisionServiceAccountToProvisioningPolicyRequest); i {
   922  			case 0:
   923  				return &v.state
   924  			case 1:
   925  				return &v.sizeCache
   926  			case 2:
   927  				return &v.unknownFields
   928  			default:
   929  				return nil
   930  			}
   931  		}
   932  		edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   933  			switch v := v.(*ProvisionServiceAccountToProvisioningPolicyResponse); i {
   934  			case 0:
   935  				return &v.state
   936  			case 1:
   937  				return &v.sizeCache
   938  			case 2:
   939  				return &v.unknownFields
   940  			default:
   941  				return nil
   942  			}
   943  		}
   944  		edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   945  			switch v := v.(*RemoveServiceAccountFromProvisioningPolicyRequest); i {
   946  			case 0:
   947  				return &v.state
   948  			case 1:
   949  				return &v.sizeCache
   950  			case 2:
   951  				return &v.unknownFields
   952  			default:
   953  				return nil
   954  			}
   955  		}
   956  		edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   957  			switch v := v.(*RemoveServiceAccountFromProvisioningPolicyResponse); i {
   958  			case 0:
   959  				return &v.state
   960  			case 1:
   961  				return &v.sizeCache
   962  			case 2:
   963  				return &v.unknownFields
   964  			default:
   965  				return nil
   966  			}
   967  		}
   968  		edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   969  			switch v := v.(*ProvisionDeviceViaPolicyRequest); i {
   970  			case 0:
   971  				return &v.state
   972  			case 1:
   973  				return &v.sizeCache
   974  			case 2:
   975  				return &v.unknownFields
   976  			default:
   977  				return nil
   978  			}
   979  		}
   980  		edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   981  			switch v := v.(*ProvisionDeviceViaPolicyResponse); i {
   982  			case 0:
   983  				return &v.state
   984  			case 1:
   985  				return &v.sizeCache
   986  			case 2:
   987  				return &v.unknownFields
   988  			default:
   989  				return nil
   990  			}
   991  		}
   992  		edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   993  			switch v := v.(*RequestProvisioningApprovalRequest); i {
   994  			case 0:
   995  				return &v.state
   996  			case 1:
   997  				return &v.sizeCache
   998  			case 2:
   999  				return &v.unknownFields
  1000  			default:
  1001  				return nil
  1002  			}
  1003  		}
  1004  		edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1005  			switch v := v.(*RequestProvisioningApprovalResponse); i {
  1006  			case 0:
  1007  				return &v.state
  1008  			case 1:
  1009  				return &v.sizeCache
  1010  			case 2:
  1011  				return &v.unknownFields
  1012  			default:
  1013  				return nil
  1014  			}
  1015  		}
  1016  	}
  1017  
  1018  	type x struct{}
  1019  	out := protoimpl.TypeBuilder{
  1020  		File: protoimpl.DescBuilder{
  1021  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1022  			RawDescriptor: edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDesc,
  1023  			NumEnums:      0,
  1024  			NumMessages:   8,
  1025  			NumExtensions: 0,
  1026  			NumServices:   0,
  1027  		},
  1028  		GoTypes:           edgelq_devices_proto_v1_provisioning_policy_custom_proto_goTypes,
  1029  		DependencyIndexes: edgelq_devices_proto_v1_provisioning_policy_custom_proto_depIdxs,
  1030  		MessageInfos:      edgelq_devices_proto_v1_provisioning_policy_custom_proto_msgTypes,
  1031  	}.Build()
  1032  	edgelq_devices_proto_v1_provisioning_policy_custom_proto = out.File
  1033  	edgelq_devices_proto_v1_provisioning_policy_custom_proto_rawDesc = nil
  1034  	edgelq_devices_proto_v1_provisioning_policy_custom_proto_goTypes = nil
  1035  	edgelq_devices_proto_v1_provisioning_policy_custom_proto_depIdxs = nil
  1036  }