-
Notifications
You must be signed in to change notification settings - Fork 1
/
value_type.pb.go
115 lines (104 loc) · 4.25 KB
/
value_type.pb.go
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: policy/v1beta1/value_type.proto
package v1beta1
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import strconv "strconv"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// ValueType describes the types that values in the Istio system can take. These
// are used to describe the type of Attributes at run time, describe the type of
// the result of evaluating an expression, and to describe the runtime type of
// fields of other descriptors.
type ValueType int32
const (
// Invalid, default value.
VALUE_TYPE_UNSPECIFIED ValueType = 0
// An undiscriminated variable-length string.
STRING ValueType = 1
// An undiscriminated 64-bit signed integer.
INT64 ValueType = 2
// An undiscriminated 64-bit floating-point value.
DOUBLE ValueType = 3
// An undiscriminated boolean value.
BOOL ValueType = 4
// A point in time.
TIMESTAMP ValueType = 5
// An IP address.
IP_ADDRESS ValueType = 6
// An email address.
EMAIL_ADDRESS ValueType = 7
// A URI.
URI ValueType = 8
// A DNS name.
DNS_NAME ValueType = 9
// A span between two points in time.
DURATION ValueType = 10
// A map string -> string, typically used by headers.
STRING_MAP ValueType = 11
)
var ValueType_name = map[int32]string{
0: "VALUE_TYPE_UNSPECIFIED",
1: "STRING",
2: "INT64",
3: "DOUBLE",
4: "BOOL",
5: "TIMESTAMP",
6: "IP_ADDRESS",
7: "EMAIL_ADDRESS",
8: "URI",
9: "DNS_NAME",
10: "DURATION",
11: "STRING_MAP",
}
var ValueType_value = map[string]int32{
"VALUE_TYPE_UNSPECIFIED": 0,
"STRING": 1,
"INT64": 2,
"DOUBLE": 3,
"BOOL": 4,
"TIMESTAMP": 5,
"IP_ADDRESS": 6,
"EMAIL_ADDRESS": 7,
"URI": 8,
"DNS_NAME": 9,
"DURATION": 10,
"STRING_MAP": 11,
}
func (ValueType) EnumDescriptor() ([]byte, []int) { return fileDescriptorValueType, []int{0} }
func init() {
proto.RegisterEnum("istio.policy.v1beta1.ValueType", ValueType_name, ValueType_value)
}
func (x ValueType) String() string {
s, ok := ValueType_name[int32(x)]
if ok {
return s
}
return strconv.Itoa(int(x))
}
func init() { proto.RegisterFile("policy/v1beta1/value_type.proto", fileDescriptorValueType) }
var fileDescriptorValueType = []byte{
// 302 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0x3f, 0x4b, 0xc3, 0x40,
0x18, 0x87, 0x73, 0xf6, 0x6f, 0x5e, 0xad, 0x9c, 0x87, 0x38, 0x28, 0x9c, 0xbb, 0x43, 0x43, 0x51,
0xdc, 0xaf, 0xe6, 0x94, 0x83, 0xe4, 0x12, 0x72, 0x97, 0x82, 0x2e, 0x47, 0x2b, 0x19, 0x02, 0x85,
0x04, 0x8d, 0x85, 0x6e, 0x7e, 0x04, 0x3f, 0x86, 0xdf, 0xc1, 0x2f, 0xe0, 0xd8, 0xd1, 0xd1, 0x9e,
0x8b, 0x63, 0x3f, 0x82, 0xa4, 0x11, 0xc1, 0xf1, 0x7d, 0x78, 0x78, 0xf9, 0xf1, 0xc0, 0x69, 0x59,
0xcc, 0xf3, 0xfb, 0xa5, 0xb7, 0x18, 0xcd, 0xb2, 0x6a, 0x3a, 0xf2, 0x16, 0xd3, 0xf9, 0x53, 0x66,
0xaa, 0x65, 0x99, 0x0d, 0xcb, 0x87, 0xa2, 0x2a, 0xc8, 0x61, 0xfe, 0x58, 0xe5, 0xc5,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