go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/internal/gae/remote_api/remote_api.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v3.21.7 5 // source: go.chromium.org/luci/server/internal/gae/remote_api/remote_api.proto 6 7 package remote_api 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type RpcError_ErrorCode int32 24 25 const ( 26 RpcError_UNKNOWN RpcError_ErrorCode = 0 27 RpcError_CALL_NOT_FOUND RpcError_ErrorCode = 1 28 RpcError_PARSE_ERROR RpcError_ErrorCode = 2 29 RpcError_SECURITY_VIOLATION RpcError_ErrorCode = 3 30 RpcError_OVER_QUOTA RpcError_ErrorCode = 4 31 RpcError_REQUEST_TOO_LARGE RpcError_ErrorCode = 5 32 RpcError_CAPABILITY_DISABLED RpcError_ErrorCode = 6 33 RpcError_FEATURE_DISABLED RpcError_ErrorCode = 7 34 RpcError_BAD_REQUEST RpcError_ErrorCode = 8 35 RpcError_RESPONSE_TOO_LARGE RpcError_ErrorCode = 9 36 RpcError_CANCELLED RpcError_ErrorCode = 10 37 RpcError_REPLAY_ERROR RpcError_ErrorCode = 11 38 RpcError_DEADLINE_EXCEEDED RpcError_ErrorCode = 12 39 ) 40 41 // Enum value maps for RpcError_ErrorCode. 42 var ( 43 RpcError_ErrorCode_name = map[int32]string{ 44 0: "UNKNOWN", 45 1: "CALL_NOT_FOUND", 46 2: "PARSE_ERROR", 47 3: "SECURITY_VIOLATION", 48 4: "OVER_QUOTA", 49 5: "REQUEST_TOO_LARGE", 50 6: "CAPABILITY_DISABLED", 51 7: "FEATURE_DISABLED", 52 8: "BAD_REQUEST", 53 9: "RESPONSE_TOO_LARGE", 54 10: "CANCELLED", 55 11: "REPLAY_ERROR", 56 12: "DEADLINE_EXCEEDED", 57 } 58 RpcError_ErrorCode_value = map[string]int32{ 59 "UNKNOWN": 0, 60 "CALL_NOT_FOUND": 1, 61 "PARSE_ERROR": 2, 62 "SECURITY_VIOLATION": 3, 63 "OVER_QUOTA": 4, 64 "REQUEST_TOO_LARGE": 5, 65 "CAPABILITY_DISABLED": 6, 66 "FEATURE_DISABLED": 7, 67 "BAD_REQUEST": 8, 68 "RESPONSE_TOO_LARGE": 9, 69 "CANCELLED": 10, 70 "REPLAY_ERROR": 11, 71 "DEADLINE_EXCEEDED": 12, 72 } 73 ) 74 75 func (x RpcError_ErrorCode) Enum() *RpcError_ErrorCode { 76 p := new(RpcError_ErrorCode) 77 *p = x 78 return p 79 } 80 81 func (x RpcError_ErrorCode) String() string { 82 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 83 } 84 85 func (RpcError_ErrorCode) Descriptor() protoreflect.EnumDescriptor { 86 return file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_enumTypes[0].Descriptor() 87 } 88 89 func (RpcError_ErrorCode) Type() protoreflect.EnumType { 90 return &file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_enumTypes[0] 91 } 92 93 func (x RpcError_ErrorCode) Number() protoreflect.EnumNumber { 94 return protoreflect.EnumNumber(x) 95 } 96 97 // Deprecated: Do not use. 98 func (x *RpcError_ErrorCode) UnmarshalJSON(b []byte) error { 99 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 100 if err != nil { 101 return err 102 } 103 *x = RpcError_ErrorCode(num) 104 return nil 105 } 106 107 // Deprecated: Use RpcError_ErrorCode.Descriptor instead. 108 func (RpcError_ErrorCode) EnumDescriptor() ([]byte, []int) { 109 return file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescGZIP(), []int{2, 0} 110 } 111 112 type Request struct { 113 state protoimpl.MessageState 114 sizeCache protoimpl.SizeCache 115 unknownFields protoimpl.UnknownFields 116 117 ServiceName *string `protobuf:"bytes,2,req,name=service_name,json=serviceName" json:"service_name,omitempty"` 118 Method *string `protobuf:"bytes,3,req,name=method" json:"method,omitempty"` 119 Request []byte `protobuf:"bytes,4,req,name=request" json:"request,omitempty"` 120 RequestId *string `protobuf:"bytes,5,opt,name=request_id,json=requestId" json:"request_id,omitempty"` 121 } 122 123 func (x *Request) Reset() { 124 *x = Request{} 125 if protoimpl.UnsafeEnabled { 126 mi := &file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[0] 127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 128 ms.StoreMessageInfo(mi) 129 } 130 } 131 132 func (x *Request) String() string { 133 return protoimpl.X.MessageStringOf(x) 134 } 135 136 func (*Request) ProtoMessage() {} 137 138 func (x *Request) ProtoReflect() protoreflect.Message { 139 mi := &file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[0] 140 if protoimpl.UnsafeEnabled && x != nil { 141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 142 if ms.LoadMessageInfo() == nil { 143 ms.StoreMessageInfo(mi) 144 } 145 return ms 146 } 147 return mi.MessageOf(x) 148 } 149 150 // Deprecated: Use Request.ProtoReflect.Descriptor instead. 151 func (*Request) Descriptor() ([]byte, []int) { 152 return file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescGZIP(), []int{0} 153 } 154 155 func (x *Request) GetServiceName() string { 156 if x != nil && x.ServiceName != nil { 157 return *x.ServiceName 158 } 159 return "" 160 } 161 162 func (x *Request) GetMethod() string { 163 if x != nil && x.Method != nil { 164 return *x.Method 165 } 166 return "" 167 } 168 169 func (x *Request) GetRequest() []byte { 170 if x != nil { 171 return x.Request 172 } 173 return nil 174 } 175 176 func (x *Request) GetRequestId() string { 177 if x != nil && x.RequestId != nil { 178 return *x.RequestId 179 } 180 return "" 181 } 182 183 type ApplicationError struct { 184 state protoimpl.MessageState 185 sizeCache protoimpl.SizeCache 186 unknownFields protoimpl.UnknownFields 187 188 Code *int32 `protobuf:"varint,1,req,name=code" json:"code,omitempty"` 189 Detail *string `protobuf:"bytes,2,req,name=detail" json:"detail,omitempty"` 190 } 191 192 func (x *ApplicationError) Reset() { 193 *x = ApplicationError{} 194 if protoimpl.UnsafeEnabled { 195 mi := &file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[1] 196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 197 ms.StoreMessageInfo(mi) 198 } 199 } 200 201 func (x *ApplicationError) String() string { 202 return protoimpl.X.MessageStringOf(x) 203 } 204 205 func (*ApplicationError) ProtoMessage() {} 206 207 func (x *ApplicationError) ProtoReflect() protoreflect.Message { 208 mi := &file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[1] 209 if protoimpl.UnsafeEnabled && x != nil { 210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 211 if ms.LoadMessageInfo() == nil { 212 ms.StoreMessageInfo(mi) 213 } 214 return ms 215 } 216 return mi.MessageOf(x) 217 } 218 219 // Deprecated: Use ApplicationError.ProtoReflect.Descriptor instead. 220 func (*ApplicationError) Descriptor() ([]byte, []int) { 221 return file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescGZIP(), []int{1} 222 } 223 224 func (x *ApplicationError) GetCode() int32 { 225 if x != nil && x.Code != nil { 226 return *x.Code 227 } 228 return 0 229 } 230 231 func (x *ApplicationError) GetDetail() string { 232 if x != nil && x.Detail != nil { 233 return *x.Detail 234 } 235 return "" 236 } 237 238 type RpcError struct { 239 state protoimpl.MessageState 240 sizeCache protoimpl.SizeCache 241 unknownFields protoimpl.UnknownFields 242 243 Code *int32 `protobuf:"varint,1,req,name=code" json:"code,omitempty"` 244 Detail *string `protobuf:"bytes,2,opt,name=detail" json:"detail,omitempty"` 245 } 246 247 func (x *RpcError) Reset() { 248 *x = RpcError{} 249 if protoimpl.UnsafeEnabled { 250 mi := &file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[2] 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 ms.StoreMessageInfo(mi) 253 } 254 } 255 256 func (x *RpcError) String() string { 257 return protoimpl.X.MessageStringOf(x) 258 } 259 260 func (*RpcError) ProtoMessage() {} 261 262 func (x *RpcError) ProtoReflect() protoreflect.Message { 263 mi := &file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[2] 264 if protoimpl.UnsafeEnabled && x != nil { 265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 266 if ms.LoadMessageInfo() == nil { 267 ms.StoreMessageInfo(mi) 268 } 269 return ms 270 } 271 return mi.MessageOf(x) 272 } 273 274 // Deprecated: Use RpcError.ProtoReflect.Descriptor instead. 275 func (*RpcError) Descriptor() ([]byte, []int) { 276 return file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescGZIP(), []int{2} 277 } 278 279 func (x *RpcError) GetCode() int32 { 280 if x != nil && x.Code != nil { 281 return *x.Code 282 } 283 return 0 284 } 285 286 func (x *RpcError) GetDetail() string { 287 if x != nil && x.Detail != nil { 288 return *x.Detail 289 } 290 return "" 291 } 292 293 type Response struct { 294 state protoimpl.MessageState 295 sizeCache protoimpl.SizeCache 296 unknownFields protoimpl.UnknownFields 297 298 Response []byte `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"` 299 Exception []byte `protobuf:"bytes,2,opt,name=exception" json:"exception,omitempty"` 300 ApplicationError *ApplicationError `protobuf:"bytes,3,opt,name=application_error,json=applicationError" json:"application_error,omitempty"` 301 JavaException []byte `protobuf:"bytes,4,opt,name=java_exception,json=javaException" json:"java_exception,omitempty"` 302 RpcError *RpcError `protobuf:"bytes,5,opt,name=rpc_error,json=rpcError" json:"rpc_error,omitempty"` 303 } 304 305 func (x *Response) Reset() { 306 *x = Response{} 307 if protoimpl.UnsafeEnabled { 308 mi := &file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[3] 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 310 ms.StoreMessageInfo(mi) 311 } 312 } 313 314 func (x *Response) String() string { 315 return protoimpl.X.MessageStringOf(x) 316 } 317 318 func (*Response) ProtoMessage() {} 319 320 func (x *Response) ProtoReflect() protoreflect.Message { 321 mi := &file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[3] 322 if protoimpl.UnsafeEnabled && x != nil { 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 324 if ms.LoadMessageInfo() == nil { 325 ms.StoreMessageInfo(mi) 326 } 327 return ms 328 } 329 return mi.MessageOf(x) 330 } 331 332 // Deprecated: Use Response.ProtoReflect.Descriptor instead. 333 func (*Response) Descriptor() ([]byte, []int) { 334 return file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescGZIP(), []int{3} 335 } 336 337 func (x *Response) GetResponse() []byte { 338 if x != nil { 339 return x.Response 340 } 341 return nil 342 } 343 344 func (x *Response) GetException() []byte { 345 if x != nil { 346 return x.Exception 347 } 348 return nil 349 } 350 351 func (x *Response) GetApplicationError() *ApplicationError { 352 if x != nil { 353 return x.ApplicationError 354 } 355 return nil 356 } 357 358 func (x *Response) GetJavaException() []byte { 359 if x != nil { 360 return x.JavaException 361 } 362 return nil 363 } 364 365 func (x *Response) GetRpcError() *RpcError { 366 if x != nil { 367 return x.RpcError 368 } 369 return nil 370 } 371 372 var File_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto protoreflect.FileDescriptor 373 374 var file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDesc = []byte{ 375 0x0a, 0x44, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 376 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x69, 0x6e, 377 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x61, 0x65, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 378 0x65, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x70, 0x69, 379 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x69, 0x6e, 0x74, 380 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x70, 0x69, 381 0x22, 0x7d, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 382 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 383 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 384 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 385 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 386 0x74, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 387 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 388 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 389 0x3e, 0x0a, 0x10, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 390 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 391 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 392 0x6c, 0x18, 0x02, 0x20, 0x02, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 393 0xc5, 0x02, 0x0a, 0x08, 0x52, 0x70, 0x63, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 394 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 395 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 396 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x8c, 0x02, 0x0a, 0x09, 0x45, 0x72, 0x72, 397 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 398 0x4e, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x41, 0x4c, 0x4c, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 399 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x41, 0x52, 0x53, 0x45, 400 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45, 0x43, 0x55, 401 0x52, 0x49, 0x54, 0x59, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 402 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x10, 0x04, 403 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 404 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x41, 0x50, 0x41, 0x42, 405 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x06, 406 0x12, 0x14, 0x0a, 0x10, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 407 0x42, 0x4c, 0x45, 0x44, 0x10, 0x07, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x41, 0x44, 0x5f, 0x52, 0x45, 408 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x50, 0x4f, 409 0x4e, 0x53, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x09, 0x12, 410 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x10, 411 0x0a, 0x0c, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x59, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x0b, 412 0x12, 0x15, 0x0a, 0x11, 0x44, 0x45, 0x41, 0x44, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x45, 0x58, 0x43, 413 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x0c, 0x22, 0x85, 0x02, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 414 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 415 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 416 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 417 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x57, 418 0x0a, 0x11, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x72, 419 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6c, 0x75, 0x63, 0x69, 420 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 421 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 422 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 423 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6a, 0x61, 0x76, 0x61, 0x5f, 424 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 425 0x0d, 0x6a, 0x61, 0x76, 0x61, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 426 0x0a, 0x09, 0x72, 0x70, 0x63, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 427 0x0b, 0x32, 0x22, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 428 0x6c, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x70, 0x63, 429 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x08, 0x72, 0x70, 0x63, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 430 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 431 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x69, 432 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x67, 0x61, 0x65, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 433 0x74, 0x65, 0x5f, 0x61, 0x70, 0x69, 434 } 435 436 var ( 437 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescOnce sync.Once 438 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescData = file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDesc 439 ) 440 441 func file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescGZIP() []byte { 442 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescOnce.Do(func() { 443 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescData) 444 }) 445 return file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDescData 446 } 447 448 var file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 449 var file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 450 var file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_goTypes = []interface{}{ 451 (RpcError_ErrorCode)(0), // 0: luci.internal.remote_api.RpcError.ErrorCode 452 (*Request)(nil), // 1: luci.internal.remote_api.Request 453 (*ApplicationError)(nil), // 2: luci.internal.remote_api.ApplicationError 454 (*RpcError)(nil), // 3: luci.internal.remote_api.RpcError 455 (*Response)(nil), // 4: luci.internal.remote_api.Response 456 } 457 var file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_depIdxs = []int32{ 458 2, // 0: luci.internal.remote_api.Response.application_error:type_name -> luci.internal.remote_api.ApplicationError 459 3, // 1: luci.internal.remote_api.Response.rpc_error:type_name -> luci.internal.remote_api.RpcError 460 2, // [2:2] is the sub-list for method output_type 461 2, // [2:2] is the sub-list for method input_type 462 2, // [2:2] is the sub-list for extension type_name 463 2, // [2:2] is the sub-list for extension extendee 464 0, // [0:2] is the sub-list for field type_name 465 } 466 467 func init() { file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_init() } 468 func file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_init() { 469 if File_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto != nil { 470 return 471 } 472 if !protoimpl.UnsafeEnabled { 473 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 474 switch v := v.(*Request); i { 475 case 0: 476 return &v.state 477 case 1: 478 return &v.sizeCache 479 case 2: 480 return &v.unknownFields 481 default: 482 return nil 483 } 484 } 485 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 486 switch v := v.(*ApplicationError); i { 487 case 0: 488 return &v.state 489 case 1: 490 return &v.sizeCache 491 case 2: 492 return &v.unknownFields 493 default: 494 return nil 495 } 496 } 497 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 498 switch v := v.(*RpcError); i { 499 case 0: 500 return &v.state 501 case 1: 502 return &v.sizeCache 503 case 2: 504 return &v.unknownFields 505 default: 506 return nil 507 } 508 } 509 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 510 switch v := v.(*Response); i { 511 case 0: 512 return &v.state 513 case 1: 514 return &v.sizeCache 515 case 2: 516 return &v.unknownFields 517 default: 518 return nil 519 } 520 } 521 } 522 type x struct{} 523 out := protoimpl.TypeBuilder{ 524 File: protoimpl.DescBuilder{ 525 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 526 RawDescriptor: file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDesc, 527 NumEnums: 1, 528 NumMessages: 4, 529 NumExtensions: 0, 530 NumServices: 0, 531 }, 532 GoTypes: file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_goTypes, 533 DependencyIndexes: file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_depIdxs, 534 EnumInfos: file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_enumTypes, 535 MessageInfos: file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_msgTypes, 536 }.Build() 537 File_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto = out.File 538 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_rawDesc = nil 539 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_goTypes = nil 540 file_go_chromium_org_luci_server_internal_gae_remote_api_remote_api_proto_depIdxs = nil 541 }