github.com/cloudwan/edgelq-sdk@v1.15.4/devices/client/v1alpha2/device/device_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/devices/proto/v1alpha2/device_custom.proto 3 // DO NOT EDIT!!! 4 5 package device_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/v1alpha2/device" 22 project "github.com/cloudwan/edgelq-sdk/devices/resources/v1alpha2/project" 23 ) 24 25 // Reference imports to suppress errors if they are not otherwise used. 26 var ( 27 _ = fmt.Errorf 28 _ = reflect.Method{} 29 _ = sync.Once{} 30 31 _ = protojson.MarshalOptions{} 32 _ = proto.MarshalOptions{} 33 _ = preflect.Value{} 34 _ = protoimpl.DescBuilder{} 35 ) 36 37 // make sure we're using proto imports 38 var ( 39 _ = &api.Account{} 40 _ = &device.Device{} 41 _ = &project.Project{} 42 ) 43 44 const ( 45 // Verify that this generated code is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 47 // Verify that runtime/protoimpl is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 49 ) 50 51 // Request message for method 52 // [ProvisionServiceAccountToDevice][ntt.devices.v1alpha2.ProvisionServiceAccountToDevice] 53 type ProvisionServiceAccountToDeviceRequest struct { 54 state protoimpl.MessageState 55 sizeCache protoimpl.SizeCache 56 unknownFields protoimpl.UnknownFields 57 // Name of Device to provision service account. 58 // This method automatically generates a service account and a key for the 59 // device and assign the key to .Spec.ServiceAccount 60 Name *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 61 // external public key to use for service account for this device. 62 // If not present, a keypair will be generated by the server. 63 ExternalPubkey string `protobuf:"bytes,2,opt,name=external_pubkey,json=externalPubkey,proto3" json:"external_pubkey,omitempty"` 64 } 65 66 func (m *ProvisionServiceAccountToDeviceRequest) Reset() { 67 *m = ProvisionServiceAccountToDeviceRequest{} 68 if protoimpl.UnsafeEnabled { 69 mi := &edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[0] 70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 71 ms.StoreMessageInfo(mi) 72 } 73 } 74 75 func (m *ProvisionServiceAccountToDeviceRequest) String() string { 76 return protoimpl.X.MessageStringOf(m) 77 } 78 79 func (*ProvisionServiceAccountToDeviceRequest) ProtoMessage() {} 80 81 func (m *ProvisionServiceAccountToDeviceRequest) ProtoReflect() preflect.Message { 82 mi := &edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[0] 83 if protoimpl.UnsafeEnabled && m != nil { 84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 85 if ms.LoadMessageInfo() == nil { 86 ms.StoreMessageInfo(mi) 87 } 88 return ms 89 } 90 return mi.MessageOf(m) 91 } 92 93 func (*ProvisionServiceAccountToDeviceRequest) GotenMessage() {} 94 95 // Deprecated, Use ProvisionServiceAccountToDeviceRequest.ProtoReflect.Descriptor instead. 96 func (*ProvisionServiceAccountToDeviceRequest) Descriptor() ([]byte, []int) { 97 return edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescGZIP(), []int{0} 98 } 99 100 func (m *ProvisionServiceAccountToDeviceRequest) Unmarshal(b []byte) error { 101 return proto.Unmarshal(b, m) 102 } 103 104 func (m *ProvisionServiceAccountToDeviceRequest) Marshal() ([]byte, error) { 105 return proto.Marshal(m) 106 } 107 108 func (m *ProvisionServiceAccountToDeviceRequest) MarshalJSON() ([]byte, error) { 109 return protojson.MarshalOptions{}.Marshal(m) 110 } 111 112 func (m *ProvisionServiceAccountToDeviceRequest) UnmarshalJSON(data []byte) error { 113 return protojson.Unmarshal(data, m) 114 } 115 116 func (m *ProvisionServiceAccountToDeviceRequest) GetName() *device.Name { 117 if m != nil { 118 return m.Name 119 } 120 return nil 121 } 122 123 func (m *ProvisionServiceAccountToDeviceRequest) GetExternalPubkey() string { 124 if m != nil { 125 return m.ExternalPubkey 126 } 127 return "" 128 } 129 130 func (m *ProvisionServiceAccountToDeviceRequest) SetName(fv *device.Name) { 131 if m == nil { 132 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ProvisionServiceAccountToDeviceRequest")) 133 } 134 m.Name = fv 135 } 136 137 func (m *ProvisionServiceAccountToDeviceRequest) SetExternalPubkey(fv string) { 138 if m == nil { 139 panic(fmt.Errorf("can't set %s on nil %s", "ExternalPubkey", "ProvisionServiceAccountToDeviceRequest")) 140 } 141 m.ExternalPubkey = fv 142 } 143 144 // Response message for method 145 // [ProvisionServiceAccountToDevice][ntt.devices.v1alpha2.ProvisionServiceAccountToDevice] 146 type ProvisionServiceAccountToDeviceResponse struct { 147 state protoimpl.MessageState 148 sizeCache protoimpl.SizeCache 149 unknownFields protoimpl.UnknownFields 150 // The service account generated by the endpoint. Save the private key 151 // included. 152 ServiceAccount *api.ServiceAccount `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` 153 } 154 155 func (m *ProvisionServiceAccountToDeviceResponse) Reset() { 156 *m = ProvisionServiceAccountToDeviceResponse{} 157 if protoimpl.UnsafeEnabled { 158 mi := &edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[1] 159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 160 ms.StoreMessageInfo(mi) 161 } 162 } 163 164 func (m *ProvisionServiceAccountToDeviceResponse) String() string { 165 return protoimpl.X.MessageStringOf(m) 166 } 167 168 func (*ProvisionServiceAccountToDeviceResponse) ProtoMessage() {} 169 170 func (m *ProvisionServiceAccountToDeviceResponse) ProtoReflect() preflect.Message { 171 mi := &edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[1] 172 if protoimpl.UnsafeEnabled && m != nil { 173 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 174 if ms.LoadMessageInfo() == nil { 175 ms.StoreMessageInfo(mi) 176 } 177 return ms 178 } 179 return mi.MessageOf(m) 180 } 181 182 func (*ProvisionServiceAccountToDeviceResponse) GotenMessage() {} 183 184 // Deprecated, Use ProvisionServiceAccountToDeviceResponse.ProtoReflect.Descriptor instead. 185 func (*ProvisionServiceAccountToDeviceResponse) Descriptor() ([]byte, []int) { 186 return edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescGZIP(), []int{1} 187 } 188 189 func (m *ProvisionServiceAccountToDeviceResponse) Unmarshal(b []byte) error { 190 return proto.Unmarshal(b, m) 191 } 192 193 func (m *ProvisionServiceAccountToDeviceResponse) Marshal() ([]byte, error) { 194 return proto.Marshal(m) 195 } 196 197 func (m *ProvisionServiceAccountToDeviceResponse) MarshalJSON() ([]byte, error) { 198 return protojson.MarshalOptions{}.Marshal(m) 199 } 200 201 func (m *ProvisionServiceAccountToDeviceResponse) UnmarshalJSON(data []byte) error { 202 return protojson.Unmarshal(data, m) 203 } 204 205 func (m *ProvisionServiceAccountToDeviceResponse) GetServiceAccount() *api.ServiceAccount { 206 if m != nil { 207 return m.ServiceAccount 208 } 209 return nil 210 } 211 212 func (m *ProvisionServiceAccountToDeviceResponse) SetServiceAccount(fv *api.ServiceAccount) { 213 if m == nil { 214 panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccount", "ProvisionServiceAccountToDeviceResponse")) 215 } 216 m.ServiceAccount = fv 217 } 218 219 // Request message for method 220 // [RemoveServiceAccountFromDevice][ntt.devices.v1alpha2.RemoveServiceAccountFromDevice] 221 type RemoveServiceAccountFromDeviceRequest struct { 222 state protoimpl.MessageState 223 sizeCache protoimpl.SizeCache 224 unknownFields protoimpl.UnknownFields 225 // Name of the Device to remove its service account 226 // The service account and the key will be automatically deleted as well when 227 // they have been generated automatically by `ProvisionServiceAccountToDevice` 228 // action. Otherwise, the service account will be kept intact. The device will 229 // lost the access to the resources in the project. 230 Name *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 231 } 232 233 func (m *RemoveServiceAccountFromDeviceRequest) Reset() { 234 *m = RemoveServiceAccountFromDeviceRequest{} 235 if protoimpl.UnsafeEnabled { 236 mi := &edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[2] 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 238 ms.StoreMessageInfo(mi) 239 } 240 } 241 242 func (m *RemoveServiceAccountFromDeviceRequest) String() string { 243 return protoimpl.X.MessageStringOf(m) 244 } 245 246 func (*RemoveServiceAccountFromDeviceRequest) ProtoMessage() {} 247 248 func (m *RemoveServiceAccountFromDeviceRequest) ProtoReflect() preflect.Message { 249 mi := &edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[2] 250 if protoimpl.UnsafeEnabled && m != nil { 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 252 if ms.LoadMessageInfo() == nil { 253 ms.StoreMessageInfo(mi) 254 } 255 return ms 256 } 257 return mi.MessageOf(m) 258 } 259 260 func (*RemoveServiceAccountFromDeviceRequest) GotenMessage() {} 261 262 // Deprecated, Use RemoveServiceAccountFromDeviceRequest.ProtoReflect.Descriptor instead. 263 func (*RemoveServiceAccountFromDeviceRequest) Descriptor() ([]byte, []int) { 264 return edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescGZIP(), []int{2} 265 } 266 267 func (m *RemoveServiceAccountFromDeviceRequest) Unmarshal(b []byte) error { 268 return proto.Unmarshal(b, m) 269 } 270 271 func (m *RemoveServiceAccountFromDeviceRequest) Marshal() ([]byte, error) { 272 return proto.Marshal(m) 273 } 274 275 func (m *RemoveServiceAccountFromDeviceRequest) MarshalJSON() ([]byte, error) { 276 return protojson.MarshalOptions{}.Marshal(m) 277 } 278 279 func (m *RemoveServiceAccountFromDeviceRequest) UnmarshalJSON(data []byte) error { 280 return protojson.Unmarshal(data, m) 281 } 282 283 func (m *RemoveServiceAccountFromDeviceRequest) GetName() *device.Name { 284 if m != nil { 285 return m.Name 286 } 287 return nil 288 } 289 290 func (m *RemoveServiceAccountFromDeviceRequest) SetName(fv *device.Name) { 291 if m == nil { 292 panic(fmt.Errorf("can't set %s on nil %s", "Name", "RemoveServiceAccountFromDeviceRequest")) 293 } 294 m.Name = fv 295 } 296 297 // Response message for method 298 // [RemoveServiceAccountFromDevice][ntt.devices.v1alpha2.RemoveServiceAccountFromDevice] 299 type RemoveServiceAccountFromDeviceResponse struct { 300 state protoimpl.MessageState 301 sizeCache protoimpl.SizeCache 302 unknownFields protoimpl.UnknownFields 303 } 304 305 func (m *RemoveServiceAccountFromDeviceResponse) Reset() { 306 *m = RemoveServiceAccountFromDeviceResponse{} 307 if protoimpl.UnsafeEnabled { 308 mi := &edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[3] 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 310 ms.StoreMessageInfo(mi) 311 } 312 } 313 314 func (m *RemoveServiceAccountFromDeviceResponse) String() string { 315 return protoimpl.X.MessageStringOf(m) 316 } 317 318 func (*RemoveServiceAccountFromDeviceResponse) ProtoMessage() {} 319 320 func (m *RemoveServiceAccountFromDeviceResponse) ProtoReflect() preflect.Message { 321 mi := &edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[3] 322 if protoimpl.UnsafeEnabled && m != nil { 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 324 if ms.LoadMessageInfo() == nil { 325 ms.StoreMessageInfo(mi) 326 } 327 return ms 328 } 329 return mi.MessageOf(m) 330 } 331 332 func (*RemoveServiceAccountFromDeviceResponse) GotenMessage() {} 333 334 // Deprecated, Use RemoveServiceAccountFromDeviceResponse.ProtoReflect.Descriptor instead. 335 func (*RemoveServiceAccountFromDeviceResponse) Descriptor() ([]byte, []int) { 336 return edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescGZIP(), []int{3} 337 } 338 339 func (m *RemoveServiceAccountFromDeviceResponse) Unmarshal(b []byte) error { 340 return proto.Unmarshal(b, m) 341 } 342 343 func (m *RemoveServiceAccountFromDeviceResponse) Marshal() ([]byte, error) { 344 return proto.Marshal(m) 345 } 346 347 func (m *RemoveServiceAccountFromDeviceResponse) MarshalJSON() ([]byte, error) { 348 return protojson.MarshalOptions{}.Marshal(m) 349 } 350 351 func (m *RemoveServiceAccountFromDeviceResponse) UnmarshalJSON(data []byte) error { 352 return protojson.Unmarshal(data, m) 353 } 354 355 var edgelq_devices_proto_v1alpha2_device_custom_proto preflect.FileDescriptor 356 357 var edgelq_devices_proto_v1alpha2_device_custom_proto_rawDesc = []byte{ 358 0x0a, 0x31, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 359 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 360 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 361 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 362 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 363 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 364 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 365 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 366 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 367 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 368 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 369 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 370 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 371 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 372 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 373 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 374 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 375 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 376 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 377 0x63, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 378 0x61, 0x32, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 379 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x26, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 380 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 381 0x74, 0x54, 0x6f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 382 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 383 0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x04, 384 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 385 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 386 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x22, 0x8e, 0x01, 387 0x0a, 0x27, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 388 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x44, 0x65, 0x76, 0x69, 0x63, 389 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0f, 0x73, 0x65, 0x72, 390 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 391 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x53, 0x65, 0x72, 392 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 393 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x21, 0xc2, 0x85, 0x2c, 394 0x1d, 0x1a, 0x1b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 395 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x22, 0x4b, 396 0x0a, 0x25, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 397 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 398 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 399 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x44, 400 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x28, 0x0a, 0x26, 0x52, 401 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 402 0x75, 0x6e, 0x74, 0x46, 0x72, 0x6f, 0x6d, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 403 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x7b, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 404 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 405 0x70, 0x68, 0x61, 0x32, 0x42, 0x11, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x75, 0x73, 0x74, 406 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 407 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 408 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x6c, 409 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x64, 0x65, 410 0x76, 0x69, 0x63, 0x65, 0x3b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6c, 0x69, 0x65, 411 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 412 } 413 414 var ( 415 edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescOnce sync.Once 416 edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescData = edgelq_devices_proto_v1alpha2_device_custom_proto_rawDesc 417 ) 418 419 func edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescGZIP() []byte { 420 edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescOnce.Do(func() { 421 edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescData) 422 }) 423 return edgelq_devices_proto_v1alpha2_device_custom_proto_rawDescData 424 } 425 426 var edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 427 var edgelq_devices_proto_v1alpha2_device_custom_proto_goTypes = []interface{}{ 428 (*ProvisionServiceAccountToDeviceRequest)(nil), // 0: ntt.devices.v1alpha2.ProvisionServiceAccountToDeviceRequest 429 (*ProvisionServiceAccountToDeviceResponse)(nil), // 1: ntt.devices.v1alpha2.ProvisionServiceAccountToDeviceResponse 430 (*RemoveServiceAccountFromDeviceRequest)(nil), // 2: ntt.devices.v1alpha2.RemoveServiceAccountFromDeviceRequest 431 (*RemoveServiceAccountFromDeviceResponse)(nil), // 3: ntt.devices.v1alpha2.RemoveServiceAccountFromDeviceResponse 432 (*api.ServiceAccount)(nil), // 4: ntt.api.ServiceAccount 433 } 434 var edgelq_devices_proto_v1alpha2_device_custom_proto_depIdxs = []int32{ 435 4, // 0: ntt.devices.v1alpha2.ProvisionServiceAccountToDeviceResponse.service_account:type_name -> ntt.api.ServiceAccount 436 1, // [1:1] is the sub-list for method output_type 437 1, // [1:1] is the sub-list for method input_type 438 1, // [1:1] is the sub-list for extension type_name 439 1, // [1:1] is the sub-list for extension extendee 440 0, // [0:1] is the sub-list for field type_name 441 } 442 443 func init() { edgelq_devices_proto_v1alpha2_device_custom_proto_init() } 444 func edgelq_devices_proto_v1alpha2_device_custom_proto_init() { 445 if edgelq_devices_proto_v1alpha2_device_custom_proto != nil { 446 return 447 } 448 if !protoimpl.UnsafeEnabled { 449 450 edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 451 switch v := v.(*ProvisionServiceAccountToDeviceRequest); i { 452 case 0: 453 return &v.state 454 case 1: 455 return &v.sizeCache 456 case 2: 457 return &v.unknownFields 458 default: 459 return nil 460 } 461 } 462 edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 463 switch v := v.(*ProvisionServiceAccountToDeviceResponse); i { 464 case 0: 465 return &v.state 466 case 1: 467 return &v.sizeCache 468 case 2: 469 return &v.unknownFields 470 default: 471 return nil 472 } 473 } 474 edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 475 switch v := v.(*RemoveServiceAccountFromDeviceRequest); i { 476 case 0: 477 return &v.state 478 case 1: 479 return &v.sizeCache 480 case 2: 481 return &v.unknownFields 482 default: 483 return nil 484 } 485 } 486 edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 487 switch v := v.(*RemoveServiceAccountFromDeviceResponse); i { 488 case 0: 489 return &v.state 490 case 1: 491 return &v.sizeCache 492 case 2: 493 return &v.unknownFields 494 default: 495 return nil 496 } 497 } 498 } 499 500 type x struct{} 501 out := protoimpl.TypeBuilder{ 502 File: protoimpl.DescBuilder{ 503 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 504 RawDescriptor: edgelq_devices_proto_v1alpha2_device_custom_proto_rawDesc, 505 NumEnums: 0, 506 NumMessages: 4, 507 NumExtensions: 0, 508 NumServices: 0, 509 }, 510 GoTypes: edgelq_devices_proto_v1alpha2_device_custom_proto_goTypes, 511 DependencyIndexes: edgelq_devices_proto_v1alpha2_device_custom_proto_depIdxs, 512 MessageInfos: edgelq_devices_proto_v1alpha2_device_custom_proto_msgTypes, 513 }.Build() 514 edgelq_devices_proto_v1alpha2_device_custom_proto = out.File 515 edgelq_devices_proto_v1alpha2_device_custom_proto_rawDesc = nil 516 edgelq_devices_proto_v1alpha2_device_custom_proto_goTypes = nil 517 edgelq_devices_proto_v1alpha2_device_custom_proto_depIdxs = nil 518 }