-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
number.proto
32 lines (23 loc) · 1000 Bytes
/
number.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
syntax = "proto3";
package envoy.type.matcher.v3;
import "envoy/type/v3/range.proto";
import "udpa/annotations/status.proto";
import "udpa/annotations/versioning.proto";
import "validate/validate.proto";
option java_package = "io.envoyproxy.envoy.type.matcher.v3";
option java_outer_classname = "NumberProto";
option java_multiple_files = true;
option (udpa.annotations.file_status).package_version_status = ACTIVE;
// [#protodoc-title: Number matcher]
// Specifies the way to match a double value.
message DoubleMatcher {
option (udpa.annotations.versioning).previous_message_type = "envoy.type.matcher.DoubleMatcher";
oneof match_pattern {
option (validate.required) = true;
// If specified, the input double value must be in the range specified here.
// Note: The range is using half-open interval semantics [start, end).
type.v3.DoubleRange range = 1;
// If specified, the input double value must be equal to the value specified here.
double exact = 2;
}
}