-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathprivate.proto
38 lines (33 loc) · 1.15 KB
/
private.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
syntax = "proto3";
package grpc.federation.private;
import "google/protobuf/any.proto";
import "google/rpc/error_details.proto";
option go_package = "github.com/mercari/grpc-federation/grpc/federation/cel;cel";
// Error type information of the error variable used when evaluating CEL.
message Error {
int32 code = 1;
string message = 2;
repeated google.protobuf.Any details = 3;
repeated google.protobuf.Any custom_messages = 4;
repeated google.rpc.ErrorInfo error_info = 5;
repeated google.rpc.RetryInfo retry_info = 6;
repeated google.rpc.DebugInfo debug_info = 7;
repeated google.rpc.QuotaFailure quota_failures = 8;
repeated google.rpc.PreconditionFailure precondition_failures = 9;
repeated google.rpc.BadRequest bad_requests = 10;
repeated google.rpc.RequestInfo request_info = 11;
repeated google.rpc.ResourceInfo resource_info = 12;
repeated google.rpc.Help helps = 13;
repeated google.rpc.LocalizedMessage localized_messages = 14;
}
message EnumSelector {
bool cond = 1;
oneof true {
int32 true_value = 2;
EnumSelector true_selector = 3;
}
oneof false {
int32 false_value = 4;
EnumSelector false_selector = 5;
}
}