go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/tokenserver/api/admin/v1/admin.pb.go (about) 1 // Copyright 2016 The LUCI Authors. All rights reserved. 2 // Use of this source code is governed under the Apache License, Version 2.0 3 // that can be found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.31.0 8 // protoc v3.21.7 9 // source: go.chromium.org/luci/tokenserver/api/admin/v1/admin.proto 10 11 package admin 12 13 import ( 14 messages "go.chromium.org/luci/server/auth/delegation/messages" 15 api "go.chromium.org/luci/tokenserver/api" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 emptypb "google.golang.org/protobuf/types/known/emptypb" 19 reflect "reflect" 20 sync "sync" 21 ) 22 23 const ( 24 // Verify that this generated code is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 26 // Verify that runtime/protoimpl is sufficiently up-to-date. 27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 28 ) 29 30 // ImportedConfigs is returned by Import<something>Configs methods on success. 31 type ImportedConfigs struct { 32 state protoimpl.MessageState 33 sizeCache protoimpl.SizeCache 34 unknownFields protoimpl.UnknownFields 35 36 // The revision of the configs that are now in the datastore. 37 // 38 // It's either the imported revision, if configs change, or a previously known 39 // revision, if configs at HEAD are same. 40 Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` 41 } 42 43 func (x *ImportedConfigs) Reset() { 44 *x = ImportedConfigs{} 45 if protoimpl.UnsafeEnabled { 46 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[0] 47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 48 ms.StoreMessageInfo(mi) 49 } 50 } 51 52 func (x *ImportedConfigs) String() string { 53 return protoimpl.X.MessageStringOf(x) 54 } 55 56 func (*ImportedConfigs) ProtoMessage() {} 57 58 func (x *ImportedConfigs) ProtoReflect() protoreflect.Message { 59 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[0] 60 if protoimpl.UnsafeEnabled && x != nil { 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 if ms.LoadMessageInfo() == nil { 63 ms.StoreMessageInfo(mi) 64 } 65 return ms 66 } 67 return mi.MessageOf(x) 68 } 69 70 // Deprecated: Use ImportedConfigs.ProtoReflect.Descriptor instead. 71 func (*ImportedConfigs) Descriptor() ([]byte, []int) { 72 return file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescGZIP(), []int{0} 73 } 74 75 func (x *ImportedConfigs) GetRevision() string { 76 if x != nil { 77 return x.Revision 78 } 79 return "" 80 } 81 82 // InspectMachineTokenRequest is body of InspectMachineToken RPC call. 83 // 84 // It contains machine token of some kind. 85 type InspectMachineTokenRequest struct { 86 state protoimpl.MessageState 87 sizeCache protoimpl.SizeCache 88 unknownFields protoimpl.UnknownFields 89 90 // The type of token being checked. 91 // 92 // Currently only LUCI_MACHINE_TOKEN is supported. This is also the default. 93 TokenType api.MachineTokenType `protobuf:"varint,1,opt,name=token_type,json=tokenType,proto3,enum=tokenserver.MachineTokenType" json:"token_type,omitempty"` 94 // The token body. Exact meaning depends on token_type. 95 Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` 96 } 97 98 func (x *InspectMachineTokenRequest) Reset() { 99 *x = InspectMachineTokenRequest{} 100 if protoimpl.UnsafeEnabled { 101 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[1] 102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 103 ms.StoreMessageInfo(mi) 104 } 105 } 106 107 func (x *InspectMachineTokenRequest) String() string { 108 return protoimpl.X.MessageStringOf(x) 109 } 110 111 func (*InspectMachineTokenRequest) ProtoMessage() {} 112 113 func (x *InspectMachineTokenRequest) ProtoReflect() protoreflect.Message { 114 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[1] 115 if protoimpl.UnsafeEnabled && x != nil { 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 if ms.LoadMessageInfo() == nil { 118 ms.StoreMessageInfo(mi) 119 } 120 return ms 121 } 122 return mi.MessageOf(x) 123 } 124 125 // Deprecated: Use InspectMachineTokenRequest.ProtoReflect.Descriptor instead. 126 func (*InspectMachineTokenRequest) Descriptor() ([]byte, []int) { 127 return file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescGZIP(), []int{1} 128 } 129 130 func (x *InspectMachineTokenRequest) GetTokenType() api.MachineTokenType { 131 if x != nil { 132 return x.TokenType 133 } 134 return api.MachineTokenType(0) 135 } 136 137 func (x *InspectMachineTokenRequest) GetToken() string { 138 if x != nil { 139 return x.Token 140 } 141 return "" 142 } 143 144 // InspectMachineTokenResponse is return value of InspectMachineToken RPC call. 145 type InspectMachineTokenResponse struct { 146 state protoimpl.MessageState 147 sizeCache protoimpl.SizeCache 148 unknownFields protoimpl.UnknownFields 149 150 // True if the token is valid. 151 // 152 // A token is valid if its signature is correct, it hasn't expired yet and 153 // the credentials it was built from (e.g. a certificate) wasn't revoked. 154 Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` 155 // Human readable summary of why token is invalid. 156 // 157 // Summarizes the rest of the fields of this struct. Set only if 'valid' is 158 // false. 159 InvalidityReason string `protobuf:"bytes,2,opt,name=invalidity_reason,json=invalidityReason,proto3" json:"invalidity_reason,omitempty"` 160 // True if the token signature was verified. 161 // 162 // It means the token was generated by the token server and its body is not 163 // a garbage. Note that a token can be correctly signed, but invalid (if it 164 // has expired or was revoked). 165 // 166 // If 'signed' is false, the fields below may (or may not) be a garbage. 167 // 168 // The token server uses private keys managed by Google Cloud Platform, they 169 // are constantly being rotated and "old" signatures become invalid over time 170 // (when corresponding keys are rotated out of existence). 171 // 172 // If 'signed' is false, use the rest of the response only as FYI, possibly 173 // invalid or even maliciously constructed. 174 Signed bool `protobuf:"varint,3,opt,name=signed,proto3" json:"signed,omitempty"` 175 // True if the token signature was verified and token hasn't expired yet. 176 // 177 // We use "non_" prefix to make default 'false' value safer. 178 NonExpired bool `protobuf:"varint,4,opt,name=non_expired,json=nonExpired,proto3" json:"non_expired,omitempty"` 179 // True if the token signature was verified and the token wasn't revoked. 180 // 181 // It is possible for an expired token to be non revoked. They are independent 182 // properties. 183 // 184 // We use "non_" prefix to make default 'false' value safer. 185 NonRevoked bool `protobuf:"varint,5,opt,name=non_revoked,json=nonRevoked,proto3" json:"non_revoked,omitempty"` 186 // Id of a private key used to sign this token, if applicable. 187 SigningKeyId string `protobuf:"bytes,6,opt,name=signing_key_id,json=signingKeyId,proto3" json:"signing_key_id,omitempty"` 188 // Name of a CA that issued the cert the token is based on, if applicable. 189 // 190 // Resolved from 'ca_id' field of the token body. 191 CertCaName string `protobuf:"bytes,7,opt,name=cert_ca_name,json=certCaName,proto3" json:"cert_ca_name,omitempty"` 192 // The decoded token body (depends on token_type request parameter). Empty if 193 // token was malformed and couldn't be deserialized. 194 // 195 // Types that are assignable to TokenType: 196 // 197 // *InspectMachineTokenResponse_LuciMachineToken 198 TokenType isInspectMachineTokenResponse_TokenType `protobuf_oneof:"token_type"` 199 } 200 201 func (x *InspectMachineTokenResponse) Reset() { 202 *x = InspectMachineTokenResponse{} 203 if protoimpl.UnsafeEnabled { 204 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[2] 205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 206 ms.StoreMessageInfo(mi) 207 } 208 } 209 210 func (x *InspectMachineTokenResponse) String() string { 211 return protoimpl.X.MessageStringOf(x) 212 } 213 214 func (*InspectMachineTokenResponse) ProtoMessage() {} 215 216 func (x *InspectMachineTokenResponse) ProtoReflect() protoreflect.Message { 217 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[2] 218 if protoimpl.UnsafeEnabled && x != nil { 219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 220 if ms.LoadMessageInfo() == nil { 221 ms.StoreMessageInfo(mi) 222 } 223 return ms 224 } 225 return mi.MessageOf(x) 226 } 227 228 // Deprecated: Use InspectMachineTokenResponse.ProtoReflect.Descriptor instead. 229 func (*InspectMachineTokenResponse) Descriptor() ([]byte, []int) { 230 return file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescGZIP(), []int{2} 231 } 232 233 func (x *InspectMachineTokenResponse) GetValid() bool { 234 if x != nil { 235 return x.Valid 236 } 237 return false 238 } 239 240 func (x *InspectMachineTokenResponse) GetInvalidityReason() string { 241 if x != nil { 242 return x.InvalidityReason 243 } 244 return "" 245 } 246 247 func (x *InspectMachineTokenResponse) GetSigned() bool { 248 if x != nil { 249 return x.Signed 250 } 251 return false 252 } 253 254 func (x *InspectMachineTokenResponse) GetNonExpired() bool { 255 if x != nil { 256 return x.NonExpired 257 } 258 return false 259 } 260 261 func (x *InspectMachineTokenResponse) GetNonRevoked() bool { 262 if x != nil { 263 return x.NonRevoked 264 } 265 return false 266 } 267 268 func (x *InspectMachineTokenResponse) GetSigningKeyId() string { 269 if x != nil { 270 return x.SigningKeyId 271 } 272 return "" 273 } 274 275 func (x *InspectMachineTokenResponse) GetCertCaName() string { 276 if x != nil { 277 return x.CertCaName 278 } 279 return "" 280 } 281 282 func (m *InspectMachineTokenResponse) GetTokenType() isInspectMachineTokenResponse_TokenType { 283 if m != nil { 284 return m.TokenType 285 } 286 return nil 287 } 288 289 func (x *InspectMachineTokenResponse) GetLuciMachineToken() *api.MachineTokenBody { 290 if x, ok := x.GetTokenType().(*InspectMachineTokenResponse_LuciMachineToken); ok { 291 return x.LuciMachineToken 292 } 293 return nil 294 } 295 296 type isInspectMachineTokenResponse_TokenType interface { 297 isInspectMachineTokenResponse_TokenType() 298 } 299 300 type InspectMachineTokenResponse_LuciMachineToken struct { 301 LuciMachineToken *api.MachineTokenBody `protobuf:"bytes,20,opt,name=luci_machine_token,json=luciMachineToken,proto3,oneof"` 302 } 303 304 func (*InspectMachineTokenResponse_LuciMachineToken) isInspectMachineTokenResponse_TokenType() {} 305 306 // InspectDelegationTokenRequest is body of InspectDelegationToken RPC call. 307 type InspectDelegationTokenRequest struct { 308 state protoimpl.MessageState 309 sizeCache protoimpl.SizeCache 310 unknownFields protoimpl.UnknownFields 311 312 // The token body. 313 Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` 314 } 315 316 func (x *InspectDelegationTokenRequest) Reset() { 317 *x = InspectDelegationTokenRequest{} 318 if protoimpl.UnsafeEnabled { 319 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[3] 320 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 321 ms.StoreMessageInfo(mi) 322 } 323 } 324 325 func (x *InspectDelegationTokenRequest) String() string { 326 return protoimpl.X.MessageStringOf(x) 327 } 328 329 func (*InspectDelegationTokenRequest) ProtoMessage() {} 330 331 func (x *InspectDelegationTokenRequest) ProtoReflect() protoreflect.Message { 332 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[3] 333 if protoimpl.UnsafeEnabled && x != nil { 334 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 335 if ms.LoadMessageInfo() == nil { 336 ms.StoreMessageInfo(mi) 337 } 338 return ms 339 } 340 return mi.MessageOf(x) 341 } 342 343 // Deprecated: Use InspectDelegationTokenRequest.ProtoReflect.Descriptor instead. 344 func (*InspectDelegationTokenRequest) Descriptor() ([]byte, []int) { 345 return file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescGZIP(), []int{3} 346 } 347 348 func (x *InspectDelegationTokenRequest) GetToken() string { 349 if x != nil { 350 return x.Token 351 } 352 return "" 353 } 354 355 // InspectDelegationTokenResponse is return value of InspectDelegationToken RPC. 356 type InspectDelegationTokenResponse struct { 357 state protoimpl.MessageState 358 sizeCache protoimpl.SizeCache 359 unknownFields protoimpl.UnknownFields 360 361 // True if the token is valid. 362 // 363 // A token is valid if its signature is correct and it hasn't expired yet. 364 Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` 365 // Human readable summary of why token is invalid. 366 // 367 // Summarizes the rest of the fields of this struct. Set only if 'valid' is 368 // false. 369 InvalidityReason string `protobuf:"bytes,2,opt,name=invalidity_reason,json=invalidityReason,proto3" json:"invalidity_reason,omitempty"` 370 // True if the token signature was verified. 371 // 372 // It means the token was generated by the token server and its body is not 373 // a garbage. Note that a token can be correctly signed, but invalid (if it 374 // has expired). 375 // 376 // If 'signed' is false, the fields below may (or may not) be a garbage. 377 // 378 // The token server uses private keys managed by Google Cloud Platform, they 379 // are constantly being rotated and "old" signatures become invalid over time 380 // (when corresponding keys are rotated out of existence). 381 // 382 // If 'signed' is false, use the rest of the response only as FYI, possibly 383 // invalid or even maliciously constructed. 384 Signed bool `protobuf:"varint,3,opt,name=signed,proto3" json:"signed,omitempty"` 385 // True if the token signature was verified and token hasn't expired yet. 386 // 387 // We use "non_" prefix to make default 'false' value safer. 388 NonExpired bool `protobuf:"varint,4,opt,name=non_expired,json=nonExpired,proto3" json:"non_expired,omitempty"` 389 // The deserialized token envelope. 390 // 391 // May be empty if token was malformed and couldn't be deserialized. 392 Envelope *messages.DelegationToken `protobuf:"bytes,5,opt,name=envelope,proto3" json:"envelope,omitempty"` 393 // The deserialized token body (deserialized 'envelope.serialized_subtoken'). 394 // 395 // May be empty if token was malformed and couldn't be deserialized. 396 Subtoken *messages.Subtoken `protobuf:"bytes,6,opt,name=subtoken,proto3" json:"subtoken,omitempty"` 397 } 398 399 func (x *InspectDelegationTokenResponse) Reset() { 400 *x = InspectDelegationTokenResponse{} 401 if protoimpl.UnsafeEnabled { 402 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[4] 403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 404 ms.StoreMessageInfo(mi) 405 } 406 } 407 408 func (x *InspectDelegationTokenResponse) String() string { 409 return protoimpl.X.MessageStringOf(x) 410 } 411 412 func (*InspectDelegationTokenResponse) ProtoMessage() {} 413 414 func (x *InspectDelegationTokenResponse) ProtoReflect() protoreflect.Message { 415 mi := &file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[4] 416 if protoimpl.UnsafeEnabled && x != nil { 417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 418 if ms.LoadMessageInfo() == nil { 419 ms.StoreMessageInfo(mi) 420 } 421 return ms 422 } 423 return mi.MessageOf(x) 424 } 425 426 // Deprecated: Use InspectDelegationTokenResponse.ProtoReflect.Descriptor instead. 427 func (*InspectDelegationTokenResponse) Descriptor() ([]byte, []int) { 428 return file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescGZIP(), []int{4} 429 } 430 431 func (x *InspectDelegationTokenResponse) GetValid() bool { 432 if x != nil { 433 return x.Valid 434 } 435 return false 436 } 437 438 func (x *InspectDelegationTokenResponse) GetInvalidityReason() string { 439 if x != nil { 440 return x.InvalidityReason 441 } 442 return "" 443 } 444 445 func (x *InspectDelegationTokenResponse) GetSigned() bool { 446 if x != nil { 447 return x.Signed 448 } 449 return false 450 } 451 452 func (x *InspectDelegationTokenResponse) GetNonExpired() bool { 453 if x != nil { 454 return x.NonExpired 455 } 456 return false 457 } 458 459 func (x *InspectDelegationTokenResponse) GetEnvelope() *messages.DelegationToken { 460 if x != nil { 461 return x.Envelope 462 } 463 return nil 464 } 465 466 func (x *InspectDelegationTokenResponse) GetSubtoken() *messages.Subtoken { 467 if x != nil { 468 return x.Subtoken 469 } 470 return nil 471 } 472 473 var File_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto protoreflect.FileDescriptor 474 475 var file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDesc = []byte{ 476 0x0a, 0x39, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 477 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 478 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 479 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x74, 0x6f, 0x6b, 480 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x1a, 0x1b, 481 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 482 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x45, 0x67, 0x6f, 0x2e, 483 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 484 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x64, 0x65, 485 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 486 0x73, 0x2f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 487 0x74, 0x6f, 0x1a, 0x38, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 488 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 489 0x72, 0x76, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 490 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x0f, 491 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 492 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 493 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x70, 0x0a, 0x1a, 0x49, 494 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 495 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x74, 0x6f, 0x6b, 496 0x65, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 497 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x63, 0x68, 498 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x74, 0x6f, 499 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 500 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xdf, 0x02, 501 0x0a, 0x1b, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 502 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 503 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 504 0x6c, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, 0x74, 505 0x79, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 506 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 507 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 508 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x6e, 0x5f, 509 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6e, 510 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x6e, 511 0x5f, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 512 0x6e, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x69, 513 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 514 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x49, 0x64, 515 0x12, 0x20, 0x0a, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x5f, 0x63, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 516 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x65, 0x72, 0x74, 0x43, 0x61, 0x4e, 0x61, 517 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x12, 0x6c, 0x75, 0x63, 0x69, 0x5f, 0x6d, 0x61, 0x63, 0x68, 0x69, 518 0x6e, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 519 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4d, 0x61, 0x63, 520 0x68, 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 521 0x10, 0x6c, 0x75, 0x63, 0x69, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 522 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 523 0x35, 0x0a, 0x1d, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 524 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 525 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 526 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x83, 0x02, 0x0a, 0x1e, 0x49, 0x6e, 0x73, 0x70, 0x65, 527 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 528 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 529 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 530 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 531 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x69, 0x6e, 0x76, 0x61, 532 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 533 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x69, 534 0x67, 0x6e, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x69, 535 0x72, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6e, 0x6f, 0x6e, 0x45, 0x78, 536 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x35, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 537 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 538 0x65, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 539 0x65, 0x6e, 0x52, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x08, 540 0x73, 0x75, 0x62, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 541 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x74, 0x6f, 0x6b, 542 0x65, 0x6e, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xdf, 0x04, 0x0a, 543 0x05, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x4d, 0x0a, 0x0f, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 544 0x43, 0x41, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 545 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 546 0x79, 0x1a, 0x22, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 547 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x43, 0x6f, 548 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x55, 0x0a, 0x17, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 549 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 550 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 551 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x22, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 552 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x49, 0x6d, 0x70, 553 0x6f, 0x72, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x5a, 0x0a, 0x1c, 554 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x65, 555 0x6e, 0x74, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x16, 0x2e, 0x67, 556 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 557 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x22, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 558 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x65, 559 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x5f, 0x0a, 0x21, 0x49, 0x6d, 0x70, 0x6f, 560 0x72, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x64, 0x41, 0x63, 561 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x16, 0x2e, 562 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 563 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x22, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 564 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 565 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x74, 0x0a, 0x13, 0x49, 0x6e, 0x73, 566 0x70, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 567 0x12, 0x2d, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 568 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x63, 0x68, 569 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 570 0x2e, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 571 0x6d, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x63, 0x68, 0x69, 572 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 573 0x7d, 0x0a, 0x16, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 574 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x30, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 575 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 576 0x73, 0x70, 0x65, 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 577 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x74, 0x6f, 578 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 579 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 580 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x35, 581 0x5a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 582 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x65, 0x72, 0x76, 583 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 584 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 585 } 586 587 var ( 588 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescOnce sync.Once 589 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescData = file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDesc 590 ) 591 592 func file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescGZIP() []byte { 593 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescOnce.Do(func() { 594 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescData) 595 }) 596 return file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDescData 597 } 598 599 var file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 600 var file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_goTypes = []interface{}{ 601 (*ImportedConfigs)(nil), // 0: tokenserver.admin.ImportedConfigs 602 (*InspectMachineTokenRequest)(nil), // 1: tokenserver.admin.InspectMachineTokenRequest 603 (*InspectMachineTokenResponse)(nil), // 2: tokenserver.admin.InspectMachineTokenResponse 604 (*InspectDelegationTokenRequest)(nil), // 3: tokenserver.admin.InspectDelegationTokenRequest 605 (*InspectDelegationTokenResponse)(nil), // 4: tokenserver.admin.InspectDelegationTokenResponse 606 (api.MachineTokenType)(0), // 5: tokenserver.MachineTokenType 607 (*api.MachineTokenBody)(nil), // 6: tokenserver.MachineTokenBody 608 (*messages.DelegationToken)(nil), // 7: messages.DelegationToken 609 (*messages.Subtoken)(nil), // 8: messages.Subtoken 610 (*emptypb.Empty)(nil), // 9: google.protobuf.Empty 611 } 612 var file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_depIdxs = []int32{ 613 5, // 0: tokenserver.admin.InspectMachineTokenRequest.token_type:type_name -> tokenserver.MachineTokenType 614 6, // 1: tokenserver.admin.InspectMachineTokenResponse.luci_machine_token:type_name -> tokenserver.MachineTokenBody 615 7, // 2: tokenserver.admin.InspectDelegationTokenResponse.envelope:type_name -> messages.DelegationToken 616 8, // 3: tokenserver.admin.InspectDelegationTokenResponse.subtoken:type_name -> messages.Subtoken 617 9, // 4: tokenserver.admin.Admin.ImportCAConfigs:input_type -> google.protobuf.Empty 618 9, // 5: tokenserver.admin.Admin.ImportDelegationConfigs:input_type -> google.protobuf.Empty 619 9, // 6: tokenserver.admin.Admin.ImportProjectIdentityConfigs:input_type -> google.protobuf.Empty 620 9, // 7: tokenserver.admin.Admin.ImportProjectOwnedAccountsConfigs:input_type -> google.protobuf.Empty 621 1, // 8: tokenserver.admin.Admin.InspectMachineToken:input_type -> tokenserver.admin.InspectMachineTokenRequest 622 3, // 9: tokenserver.admin.Admin.InspectDelegationToken:input_type -> tokenserver.admin.InspectDelegationTokenRequest 623 0, // 10: tokenserver.admin.Admin.ImportCAConfigs:output_type -> tokenserver.admin.ImportedConfigs 624 0, // 11: tokenserver.admin.Admin.ImportDelegationConfigs:output_type -> tokenserver.admin.ImportedConfigs 625 0, // 12: tokenserver.admin.Admin.ImportProjectIdentityConfigs:output_type -> tokenserver.admin.ImportedConfigs 626 0, // 13: tokenserver.admin.Admin.ImportProjectOwnedAccountsConfigs:output_type -> tokenserver.admin.ImportedConfigs 627 2, // 14: tokenserver.admin.Admin.InspectMachineToken:output_type -> tokenserver.admin.InspectMachineTokenResponse 628 4, // 15: tokenserver.admin.Admin.InspectDelegationToken:output_type -> tokenserver.admin.InspectDelegationTokenResponse 629 10, // [10:16] is the sub-list for method output_type 630 4, // [4:10] is the sub-list for method input_type 631 4, // [4:4] is the sub-list for extension type_name 632 4, // [4:4] is the sub-list for extension extendee 633 0, // [0:4] is the sub-list for field type_name 634 } 635 636 func init() { file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_init() } 637 func file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_init() { 638 if File_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto != nil { 639 return 640 } 641 if !protoimpl.UnsafeEnabled { 642 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 643 switch v := v.(*ImportedConfigs); i { 644 case 0: 645 return &v.state 646 case 1: 647 return &v.sizeCache 648 case 2: 649 return &v.unknownFields 650 default: 651 return nil 652 } 653 } 654 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 655 switch v := v.(*InspectMachineTokenRequest); i { 656 case 0: 657 return &v.state 658 case 1: 659 return &v.sizeCache 660 case 2: 661 return &v.unknownFields 662 default: 663 return nil 664 } 665 } 666 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 667 switch v := v.(*InspectMachineTokenResponse); i { 668 case 0: 669 return &v.state 670 case 1: 671 return &v.sizeCache 672 case 2: 673 return &v.unknownFields 674 default: 675 return nil 676 } 677 } 678 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 679 switch v := v.(*InspectDelegationTokenRequest); i { 680 case 0: 681 return &v.state 682 case 1: 683 return &v.sizeCache 684 case 2: 685 return &v.unknownFields 686 default: 687 return nil 688 } 689 } 690 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 691 switch v := v.(*InspectDelegationTokenResponse); i { 692 case 0: 693 return &v.state 694 case 1: 695 return &v.sizeCache 696 case 2: 697 return &v.unknownFields 698 default: 699 return nil 700 } 701 } 702 } 703 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes[2].OneofWrappers = []interface{}{ 704 (*InspectMachineTokenResponse_LuciMachineToken)(nil), 705 } 706 type x struct{} 707 out := protoimpl.TypeBuilder{ 708 File: protoimpl.DescBuilder{ 709 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 710 RawDescriptor: file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDesc, 711 NumEnums: 0, 712 NumMessages: 5, 713 NumExtensions: 0, 714 NumServices: 1, 715 }, 716 GoTypes: file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_goTypes, 717 DependencyIndexes: file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_depIdxs, 718 MessageInfos: file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_msgTypes, 719 }.Build() 720 File_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto = out.File 721 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_rawDesc = nil 722 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_goTypes = nil 723 file_go_chromium_org_luci_tokenserver_api_admin_v1_admin_proto_depIdxs = nil 724 }