go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/auth_service/api/rpcpb/changelogs.pb.go (about) 1 // Copyright 2022 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/auth_service/api/rpcpb/changelogs.proto 20 21 package rpcpb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 27 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 // ListChangeLogsRequest is a request to get a list of change logs, which can 39 // be filtered by auth_db_rev and/or target. 40 type ListChangeLogsRequest struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 // AuthDB revision that the change log was made. 46 AuthDbRev int64 `protobuf:"varint,1,opt,name=auth_db_rev,json=authDbRev,proto3" json:"auth_db_rev,omitempty"` 47 // Entity that was changed in the change log. 48 Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` 49 // The value of next_page_token received in a ListChangeLogsResponse. Used 50 // to get the next page of change logs. If empty, gets the first page. 51 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 52 // The maximum number of change logs to include in the response. 53 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 54 } 55 56 func (x *ListChangeLogsRequest) Reset() { 57 *x = ListChangeLogsRequest{} 58 if protoimpl.UnsafeEnabled { 59 mi := &file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes[0] 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 ms.StoreMessageInfo(mi) 62 } 63 } 64 65 func (x *ListChangeLogsRequest) String() string { 66 return protoimpl.X.MessageStringOf(x) 67 } 68 69 func (*ListChangeLogsRequest) ProtoMessage() {} 70 71 func (x *ListChangeLogsRequest) ProtoReflect() protoreflect.Message { 72 mi := &file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes[0] 73 if protoimpl.UnsafeEnabled && x != nil { 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 75 if ms.LoadMessageInfo() == nil { 76 ms.StoreMessageInfo(mi) 77 } 78 return ms 79 } 80 return mi.MessageOf(x) 81 } 82 83 // Deprecated: Use ListChangeLogsRequest.ProtoReflect.Descriptor instead. 84 func (*ListChangeLogsRequest) Descriptor() ([]byte, []int) { 85 return file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescGZIP(), []int{0} 86 } 87 88 func (x *ListChangeLogsRequest) GetAuthDbRev() int64 { 89 if x != nil { 90 return x.AuthDbRev 91 } 92 return 0 93 } 94 95 func (x *ListChangeLogsRequest) GetTarget() string { 96 if x != nil { 97 return x.Target 98 } 99 return "" 100 } 101 102 func (x *ListChangeLogsRequest) GetPageToken() string { 103 if x != nil { 104 return x.PageToken 105 } 106 return "" 107 } 108 109 func (x *ListChangeLogsRequest) GetPageSize() int32 { 110 if x != nil { 111 return x.PageSize 112 } 113 return 0 114 } 115 116 // ListChangeLogsResponse contains a list of change logs that matched the query. 117 type ListChangeLogsResponse struct { 118 state protoimpl.MessageState 119 sizeCache protoimpl.SizeCache 120 unknownFields protoimpl.UnknownFields 121 122 // A list of change logs. 123 Changes []*AuthDBChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"` 124 // The value to use as the page_token in a ListChangeLogsRequest to get the 125 // next page of change logs. If empty, there are no more change logs. 126 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 127 } 128 129 func (x *ListChangeLogsResponse) Reset() { 130 *x = ListChangeLogsResponse{} 131 if protoimpl.UnsafeEnabled { 132 mi := &file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes[1] 133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 134 ms.StoreMessageInfo(mi) 135 } 136 } 137 138 func (x *ListChangeLogsResponse) String() string { 139 return protoimpl.X.MessageStringOf(x) 140 } 141 142 func (*ListChangeLogsResponse) ProtoMessage() {} 143 144 func (x *ListChangeLogsResponse) ProtoReflect() protoreflect.Message { 145 mi := &file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes[1] 146 if protoimpl.UnsafeEnabled && x != nil { 147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 148 if ms.LoadMessageInfo() == nil { 149 ms.StoreMessageInfo(mi) 150 } 151 return ms 152 } 153 return mi.MessageOf(x) 154 } 155 156 // Deprecated: Use ListChangeLogsResponse.ProtoReflect.Descriptor instead. 157 func (*ListChangeLogsResponse) Descriptor() ([]byte, []int) { 158 return file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescGZIP(), []int{1} 159 } 160 161 func (x *ListChangeLogsResponse) GetChanges() []*AuthDBChange { 162 if x != nil { 163 return x.Changes 164 } 165 return nil 166 } 167 168 func (x *ListChangeLogsResponse) GetNextPageToken() string { 169 if x != nil { 170 return x.NextPageToken 171 } 172 return "" 173 } 174 175 // AuthDBChange refers to a change log entry. 176 type AuthDBChange struct { 177 state protoimpl.MessageState 178 sizeCache protoimpl.SizeCache 179 unknownFields protoimpl.UnknownFields 180 181 // Fields common across all change types. 182 ChangeType string `protobuf:"bytes,1,opt,name=change_type,json=changeType,proto3" json:"change_type,omitempty"` 183 Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` 184 AuthDbRev int64 `protobuf:"varint,3,opt,name=auth_db_rev,json=authDbRev,proto3" json:"auth_db_rev,omitempty"` 185 Who string `protobuf:"bytes,4,opt,name=who,proto3" json:"who,omitempty"` 186 When *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=when,proto3" json:"when,omitempty"` 187 Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` 188 AppVersion string `protobuf:"bytes,7,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` 189 Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` 190 OldDescription string `protobuf:"bytes,9,opt,name=old_description,json=oldDescription,proto3" json:"old_description,omitempty"` 191 // Fields specific to AuthDBGroupChange. 192 Owners string `protobuf:"bytes,10,opt,name=owners,proto3" json:"owners,omitempty"` 193 OldOwners string `protobuf:"bytes,11,opt,name=old_owners,json=oldOwners,proto3" json:"old_owners,omitempty"` 194 Members []string `protobuf:"bytes,12,rep,name=members,proto3" json:"members,omitempty"` 195 Globs []string `protobuf:"bytes,13,rep,name=globs,proto3" json:"globs,omitempty"` 196 Nested []string `protobuf:"bytes,14,rep,name=nested,proto3" json:"nested,omitempty"` 197 // Fields specific to AuthDBIPAllowlistChange. 198 Subnets []string `protobuf:"bytes,15,rep,name=subnets,proto3" json:"subnets,omitempty"` 199 // Fields specific to AuthDBIPAllowlistAssignmentChange. 200 Identity string `protobuf:"bytes,16,opt,name=identity,proto3" json:"identity,omitempty"` 201 IpAllowList string `protobuf:"bytes,17,opt,name=ip_allow_list,json=ipAllowList,proto3" json:"ip_allow_list,omitempty"` 202 // Fields specific to AuthDBConfigChange. 203 OauthClientId string `protobuf:"bytes,18,opt,name=oauth_client_id,json=oauthClientId,proto3" json:"oauth_client_id,omitempty"` 204 OauthClientSecret string `protobuf:"bytes,19,opt,name=oauth_client_secret,json=oauthClientSecret,proto3" json:"oauth_client_secret,omitempty"` 205 OauthAdditionalClientIds []string `protobuf:"bytes,20,rep,name=oauth_additional_client_ids,json=oauthAdditionalClientIds,proto3" json:"oauth_additional_client_ids,omitempty"` 206 TokenServerUrlOld string `protobuf:"bytes,21,opt,name=token_server_url_old,json=tokenServerUrlOld,proto3" json:"token_server_url_old,omitempty"` 207 TokenServerUrlNew string `protobuf:"bytes,22,opt,name=token_server_url_new,json=tokenServerUrlNew,proto3" json:"token_server_url_new,omitempty"` 208 SecurityConfigOld string `protobuf:"bytes,23,opt,name=security_config_old,json=securityConfigOld,proto3" json:"security_config_old,omitempty"` 209 SecurityConfigNew string `protobuf:"bytes,24,opt,name=security_config_new,json=securityConfigNew,proto3" json:"security_config_new,omitempty"` 210 // Fields specific to AuthRealmsGlobalsChange. 211 PermissionsAdded []string `protobuf:"bytes,25,rep,name=permissions_added,json=permissionsAdded,proto3" json:"permissions_added,omitempty"` 212 PermissionsChanged []string `protobuf:"bytes,26,rep,name=permissions_changed,json=permissionsChanged,proto3" json:"permissions_changed,omitempty"` 213 PermissionsRemoved []string `protobuf:"bytes,27,rep,name=permissions_removed,json=permissionsRemoved,proto3" json:"permissions_removed,omitempty"` 214 // Fields specific to AuthProjectRealmsChange. 215 ConfigRevOld string `protobuf:"bytes,28,opt,name=config_rev_old,json=configRevOld,proto3" json:"config_rev_old,omitempty"` 216 ConfigRevNew string `protobuf:"bytes,29,opt,name=config_rev_new,json=configRevNew,proto3" json:"config_rev_new,omitempty"` 217 PermsRevOld string `protobuf:"bytes,30,opt,name=perms_rev_old,json=permsRevOld,proto3" json:"perms_rev_old,omitempty"` 218 PermsRevNew string `protobuf:"bytes,31,opt,name=perms_rev_new,json=permsRevNew,proto3" json:"perms_rev_new,omitempty"` 219 } 220 221 func (x *AuthDBChange) Reset() { 222 *x = AuthDBChange{} 223 if protoimpl.UnsafeEnabled { 224 mi := &file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes[2] 225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 226 ms.StoreMessageInfo(mi) 227 } 228 } 229 230 func (x *AuthDBChange) String() string { 231 return protoimpl.X.MessageStringOf(x) 232 } 233 234 func (*AuthDBChange) ProtoMessage() {} 235 236 func (x *AuthDBChange) ProtoReflect() protoreflect.Message { 237 mi := &file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes[2] 238 if protoimpl.UnsafeEnabled && x != nil { 239 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 240 if ms.LoadMessageInfo() == nil { 241 ms.StoreMessageInfo(mi) 242 } 243 return ms 244 } 245 return mi.MessageOf(x) 246 } 247 248 // Deprecated: Use AuthDBChange.ProtoReflect.Descriptor instead. 249 func (*AuthDBChange) Descriptor() ([]byte, []int) { 250 return file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescGZIP(), []int{2} 251 } 252 253 func (x *AuthDBChange) GetChangeType() string { 254 if x != nil { 255 return x.ChangeType 256 } 257 return "" 258 } 259 260 func (x *AuthDBChange) GetTarget() string { 261 if x != nil { 262 return x.Target 263 } 264 return "" 265 } 266 267 func (x *AuthDBChange) GetAuthDbRev() int64 { 268 if x != nil { 269 return x.AuthDbRev 270 } 271 return 0 272 } 273 274 func (x *AuthDBChange) GetWho() string { 275 if x != nil { 276 return x.Who 277 } 278 return "" 279 } 280 281 func (x *AuthDBChange) GetWhen() *timestamppb.Timestamp { 282 if x != nil { 283 return x.When 284 } 285 return nil 286 } 287 288 func (x *AuthDBChange) GetComment() string { 289 if x != nil { 290 return x.Comment 291 } 292 return "" 293 } 294 295 func (x *AuthDBChange) GetAppVersion() string { 296 if x != nil { 297 return x.AppVersion 298 } 299 return "" 300 } 301 302 func (x *AuthDBChange) GetDescription() string { 303 if x != nil { 304 return x.Description 305 } 306 return "" 307 } 308 309 func (x *AuthDBChange) GetOldDescription() string { 310 if x != nil { 311 return x.OldDescription 312 } 313 return "" 314 } 315 316 func (x *AuthDBChange) GetOwners() string { 317 if x != nil { 318 return x.Owners 319 } 320 return "" 321 } 322 323 func (x *AuthDBChange) GetOldOwners() string { 324 if x != nil { 325 return x.OldOwners 326 } 327 return "" 328 } 329 330 func (x *AuthDBChange) GetMembers() []string { 331 if x != nil { 332 return x.Members 333 } 334 return nil 335 } 336 337 func (x *AuthDBChange) GetGlobs() []string { 338 if x != nil { 339 return x.Globs 340 } 341 return nil 342 } 343 344 func (x *AuthDBChange) GetNested() []string { 345 if x != nil { 346 return x.Nested 347 } 348 return nil 349 } 350 351 func (x *AuthDBChange) GetSubnets() []string { 352 if x != nil { 353 return x.Subnets 354 } 355 return nil 356 } 357 358 func (x *AuthDBChange) GetIdentity() string { 359 if x != nil { 360 return x.Identity 361 } 362 return "" 363 } 364 365 func (x *AuthDBChange) GetIpAllowList() string { 366 if x != nil { 367 return x.IpAllowList 368 } 369 return "" 370 } 371 372 func (x *AuthDBChange) GetOauthClientId() string { 373 if x != nil { 374 return x.OauthClientId 375 } 376 return "" 377 } 378 379 func (x *AuthDBChange) GetOauthClientSecret() string { 380 if x != nil { 381 return x.OauthClientSecret 382 } 383 return "" 384 } 385 386 func (x *AuthDBChange) GetOauthAdditionalClientIds() []string { 387 if x != nil { 388 return x.OauthAdditionalClientIds 389 } 390 return nil 391 } 392 393 func (x *AuthDBChange) GetTokenServerUrlOld() string { 394 if x != nil { 395 return x.TokenServerUrlOld 396 } 397 return "" 398 } 399 400 func (x *AuthDBChange) GetTokenServerUrlNew() string { 401 if x != nil { 402 return x.TokenServerUrlNew 403 } 404 return "" 405 } 406 407 func (x *AuthDBChange) GetSecurityConfigOld() string { 408 if x != nil { 409 return x.SecurityConfigOld 410 } 411 return "" 412 } 413 414 func (x *AuthDBChange) GetSecurityConfigNew() string { 415 if x != nil { 416 return x.SecurityConfigNew 417 } 418 return "" 419 } 420 421 func (x *AuthDBChange) GetPermissionsAdded() []string { 422 if x != nil { 423 return x.PermissionsAdded 424 } 425 return nil 426 } 427 428 func (x *AuthDBChange) GetPermissionsChanged() []string { 429 if x != nil { 430 return x.PermissionsChanged 431 } 432 return nil 433 } 434 435 func (x *AuthDBChange) GetPermissionsRemoved() []string { 436 if x != nil { 437 return x.PermissionsRemoved 438 } 439 return nil 440 } 441 442 func (x *AuthDBChange) GetConfigRevOld() string { 443 if x != nil { 444 return x.ConfigRevOld 445 } 446 return "" 447 } 448 449 func (x *AuthDBChange) GetConfigRevNew() string { 450 if x != nil { 451 return x.ConfigRevNew 452 } 453 return "" 454 } 455 456 func (x *AuthDBChange) GetPermsRevOld() string { 457 if x != nil { 458 return x.PermsRevOld 459 } 460 return "" 461 } 462 463 func (x *AuthDBChange) GetPermsRevNew() string { 464 if x != nil { 465 return x.PermsRevNew 466 } 467 return "" 468 } 469 470 var File_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto protoreflect.FileDescriptor 471 472 var file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDesc = []byte{ 473 0x0a, 0x3c, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 474 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 475 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x2f, 0x63, 0x68, 476 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 477 0x61, 0x75, 0x74, 0x68, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x1f, 0x67, 0x6f, 478 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 479 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8b, 0x01, 480 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x67, 0x73, 481 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f, 482 0x64, 0x62, 0x5f, 0x72, 0x65, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x75, 483 0x74, 0x68, 0x44, 0x62, 0x52, 0x65, 0x76, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 484 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 485 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 486 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1b, 487 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 488 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x76, 0x0a, 0x16, 0x4c, 489 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 490 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 491 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x73, 0x65, 492 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x44, 0x42, 0x43, 0x68, 0x61, 0x6e, 493 0x67, 0x65, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 494 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 495 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 496 0x6b, 0x65, 0x6e, 0x22, 0x84, 0x09, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x68, 0x44, 0x42, 0x43, 0x68, 497 0x61, 0x6e, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 498 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x67, 499 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 500 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1e, 0x0a, 501 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x64, 0x62, 0x5f, 0x72, 0x65, 0x76, 0x18, 0x03, 0x20, 0x01, 502 0x28, 0x03, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x44, 0x62, 0x52, 0x65, 0x76, 0x12, 0x10, 0x0a, 503 0x03, 0x77, 0x68, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x77, 0x68, 0x6f, 0x12, 504 0x2e, 0x0a, 0x04, 0x77, 0x68, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 505 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 506 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x77, 0x68, 0x65, 0x6e, 0x12, 507 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 508 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x70, 0x70, 509 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 510 0x61, 0x70, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 511 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 512 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 513 0x6f, 0x6c, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 514 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 515 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 516 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x1d, 0x0a, 517 0x0a, 0x6f, 0x6c, 0x64, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 518 0x09, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 519 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 520 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x6c, 0x6f, 0x62, 0x73, 0x18, 521 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x67, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x16, 0x0a, 0x06, 522 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x65, 523 0x73, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x18, 524 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x73, 0x12, 0x1a, 525 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 526 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x70, 527 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 528 0x09, 0x52, 0x0b, 0x69, 0x70, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, 529 0x0a, 0x0f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 530 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x43, 0x6c, 531 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 532 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x13, 0x20, 533 0x01, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 534 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x3d, 0x0a, 0x1b, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 535 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 536 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 0x6f, 0x61, 0x75, 537 0x74, 0x68, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 538 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x73, 539 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x6f, 0x6c, 0x64, 0x18, 0x15, 0x20, 540 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 541 0x55, 0x72, 0x6c, 0x4f, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 542 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x16, 543 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 544 0x72, 0x55, 0x72, 0x6c, 0x4e, 0x65, 0x77, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 545 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x6c, 0x64, 0x18, 0x17, 546 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 547 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x6c, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 548 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x18, 549 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 550 0x6e, 0x66, 0x69, 0x67, 0x4e, 0x65, 0x77, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x6d, 0x69, 551 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x19, 0x20, 0x03, 552 0x28, 0x09, 0x52, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x41, 553 0x64, 0x64, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 554 0x6f, 0x6e, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x1a, 0x20, 0x03, 0x28, 555 0x09, 0x52, 0x12, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x68, 556 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 557 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x1b, 0x20, 0x03, 558 0x28, 0x09, 0x52, 0x12, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 559 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 560 0x5f, 0x72, 0x65, 0x76, 0x5f, 0x6f, 0x6c, 0x64, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 561 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x76, 0x4f, 0x6c, 0x64, 0x12, 0x24, 0x0a, 0x0e, 562 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x72, 0x65, 0x76, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x1d, 563 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x76, 0x4e, 564 0x65, 0x77, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x5f, 0x72, 0x65, 0x76, 0x5f, 565 0x6f, 0x6c, 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x73, 566 0x52, 0x65, 0x76, 0x4f, 0x6c, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x70, 0x65, 0x72, 0x6d, 0x73, 0x5f, 567 0x72, 0x65, 0x76, 0x5f, 0x6e, 0x65, 0x77, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 568 0x65, 0x72, 0x6d, 0x73, 0x52, 0x65, 0x76, 0x4e, 0x65, 0x77, 0x32, 0x69, 0x0a, 0x0a, 0x43, 0x68, 569 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x5b, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 570 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x23, 0x2e, 0x61, 0x75, 0x74, 571 0x68, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 572 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 573 0x24, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x4c, 574 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 575 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 576 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x75, 577 0x74, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 578 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 579 } 580 581 var ( 582 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescOnce sync.Once 583 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescData = file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDesc 584 ) 585 586 func file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescGZIP() []byte { 587 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescOnce.Do(func() { 588 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescData) 589 }) 590 return file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDescData 591 } 592 593 var file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 594 var file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_goTypes = []interface{}{ 595 (*ListChangeLogsRequest)(nil), // 0: auth.service.ListChangeLogsRequest 596 (*ListChangeLogsResponse)(nil), // 1: auth.service.ListChangeLogsResponse 597 (*AuthDBChange)(nil), // 2: auth.service.AuthDBChange 598 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp 599 } 600 var file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_depIdxs = []int32{ 601 2, // 0: auth.service.ListChangeLogsResponse.changes:type_name -> auth.service.AuthDBChange 602 3, // 1: auth.service.AuthDBChange.when:type_name -> google.protobuf.Timestamp 603 0, // 2: auth.service.ChangeLogs.ListChangeLogs:input_type -> auth.service.ListChangeLogsRequest 604 1, // 3: auth.service.ChangeLogs.ListChangeLogs:output_type -> auth.service.ListChangeLogsResponse 605 3, // [3:4] is the sub-list for method output_type 606 2, // [2:3] is the sub-list for method input_type 607 2, // [2:2] is the sub-list for extension type_name 608 2, // [2:2] is the sub-list for extension extendee 609 0, // [0:2] is the sub-list for field type_name 610 } 611 612 func init() { file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_init() } 613 func file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_init() { 614 if File_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto != nil { 615 return 616 } 617 if !protoimpl.UnsafeEnabled { 618 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 619 switch v := v.(*ListChangeLogsRequest); i { 620 case 0: 621 return &v.state 622 case 1: 623 return &v.sizeCache 624 case 2: 625 return &v.unknownFields 626 default: 627 return nil 628 } 629 } 630 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 631 switch v := v.(*ListChangeLogsResponse); i { 632 case 0: 633 return &v.state 634 case 1: 635 return &v.sizeCache 636 case 2: 637 return &v.unknownFields 638 default: 639 return nil 640 } 641 } 642 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 643 switch v := v.(*AuthDBChange); 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 } 655 type x struct{} 656 out := protoimpl.TypeBuilder{ 657 File: protoimpl.DescBuilder{ 658 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 659 RawDescriptor: file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDesc, 660 NumEnums: 0, 661 NumMessages: 3, 662 NumExtensions: 0, 663 NumServices: 1, 664 }, 665 GoTypes: file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_goTypes, 666 DependencyIndexes: file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_depIdxs, 667 MessageInfos: file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_msgTypes, 668 }.Build() 669 File_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto = out.File 670 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_rawDesc = nil 671 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_goTypes = nil 672 file_go_chromium_org_luci_auth_service_api_rpcpb_changelogs_proto_depIdxs = nil 673 }