1
2
3
4
5
6
7 package redisv2
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 )
16
17 const (
18
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 type Redis struct {
25 state protoimpl.MessageState
26 sizeCache protoimpl.SizeCache
27 unknownFields protoimpl.UnknownFields
28
29
30
31
32
33 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
34 }
35
36 func (x *Redis) Reset() {
37 *x = Redis{}
38 if protoimpl.UnsafeEnabled {
39 mi := &file_envoy_config_health_checker_redis_v2_redis_proto_msgTypes[0]
40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41 ms.StoreMessageInfo(mi)
42 }
43 }
44
45 func (x *Redis) String() string {
46 return protoimpl.X.MessageStringOf(x)
47 }
48
49 func (*Redis) ProtoMessage() {}
50
51 func (x *Redis) ProtoReflect() protoreflect.Message {
52 mi := &file_envoy_config_health_checker_redis_v2_redis_proto_msgTypes[0]
53 if protoimpl.UnsafeEnabled && x != nil {
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 if ms.LoadMessageInfo() == nil {
56 ms.StoreMessageInfo(mi)
57 }
58 return ms
59 }
60 return mi.MessageOf(x)
61 }
62
63
64 func (*Redis) Descriptor() ([]byte, []int) {
65 return file_envoy_config_health_checker_redis_v2_redis_proto_rawDescGZIP(), []int{0}
66 }
67
68 func (x *Redis) GetKey() string {
69 if x != nil {
70 return x.Key
71 }
72 return ""
73 }
74
75 var File_envoy_config_health_checker_redis_v2_redis_proto protoreflect.FileDescriptor
76
77 var file_envoy_config_health_checker_redis_v2_redis_proto_rawDesc = []byte{
78 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x68,
79 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x72, 0x65,
80 0x64, 0x69, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f,
81 0x74, 0x6f, 0x12, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
82 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e,
83 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61,
84 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75,
85 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x19, 0x0a, 0x05, 0x52, 0x65, 0x64, 0x69, 0x73,
86 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
87 0x65, 0x79, 0x42, 0x9f, 0x01, 0x0a, 0x32, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
88 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
89 0x67, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72,
90 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x32, 0x42, 0x0a, 0x52, 0x65, 0x64, 0x69, 0x73,
91 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
92 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67,
93 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f,
94 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x68, 0x65, 0x61,
95 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x72, 0x65, 0x64, 0x69,
96 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x65, 0x64, 0x69, 0x73, 0x76, 0x32, 0xba, 0x80, 0xc8, 0xd1,
97 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
98 }
99
100 var (
101 file_envoy_config_health_checker_redis_v2_redis_proto_rawDescOnce sync.Once
102 file_envoy_config_health_checker_redis_v2_redis_proto_rawDescData = file_envoy_config_health_checker_redis_v2_redis_proto_rawDesc
103 )
104
105 func file_envoy_config_health_checker_redis_v2_redis_proto_rawDescGZIP() []byte {
106 file_envoy_config_health_checker_redis_v2_redis_proto_rawDescOnce.Do(func() {
107 file_envoy_config_health_checker_redis_v2_redis_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_health_checker_redis_v2_redis_proto_rawDescData)
108 })
109 return file_envoy_config_health_checker_redis_v2_redis_proto_rawDescData
110 }
111
112 var file_envoy_config_health_checker_redis_v2_redis_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
113 var file_envoy_config_health_checker_redis_v2_redis_proto_goTypes = []interface{}{
114 (*Redis)(nil),
115 }
116 var file_envoy_config_health_checker_redis_v2_redis_proto_depIdxs = []int32{
117 0,
118 0,
119 0,
120 0,
121 0,
122 }
123
124 func init() { file_envoy_config_health_checker_redis_v2_redis_proto_init() }
125 func file_envoy_config_health_checker_redis_v2_redis_proto_init() {
126 if File_envoy_config_health_checker_redis_v2_redis_proto != nil {
127 return
128 }
129 if !protoimpl.UnsafeEnabled {
130 file_envoy_config_health_checker_redis_v2_redis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
131 switch v := v.(*Redis); i {
132 case 0:
133 return &v.state
134 case 1:
135 return &v.sizeCache
136 case 2:
137 return &v.unknownFields
138 default:
139 return nil
140 }
141 }
142 }
143 type x struct{}
144 out := protoimpl.TypeBuilder{
145 File: protoimpl.DescBuilder{
146 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
147 RawDescriptor: file_envoy_config_health_checker_redis_v2_redis_proto_rawDesc,
148 NumEnums: 0,
149 NumMessages: 1,
150 NumExtensions: 0,
151 NumServices: 0,
152 },
153 GoTypes: file_envoy_config_health_checker_redis_v2_redis_proto_goTypes,
154 DependencyIndexes: file_envoy_config_health_checker_redis_v2_redis_proto_depIdxs,
155 MessageInfos: file_envoy_config_health_checker_redis_v2_redis_proto_msgTypes,
156 }.Build()
157 File_envoy_config_health_checker_redis_v2_redis_proto = out.File
158 file_envoy_config_health_checker_redis_v2_redis_proto_rawDesc = nil
159 file_envoy_config_health_checker_redis_v2_redis_proto_goTypes = nil
160 file_envoy_config_health_checker_redis_v2_redis_proto_depIdxs = nil
161 }
162
View as plain text