Debian Codegraph @

envoy/extensions/health_checkers/redis/v3/redis.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/extensions/health_checkers/redis/v3/redis.proto
6
7 package redisv3
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 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
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 // If set, optionally perform “EXISTS <key>“ instead of “PING“. A return value
30 // from Redis of 0 (does not exist) is considered a passing healthcheck. A return value other
31 // than 0 is considered a failure. This allows the user to mark a Redis instance for maintenance
32 // by setting the specified key to any value and waiting for traffic to drain.
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_extensions_health_checkers_redis_v3_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_extensions_health_checkers_redis_v3_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 // Deprecated: Use Redis.ProtoReflect.Descriptor instead.
64 func (*Redis) Descriptor() ([]byte, []int) {
65 return file_envoy_extensions_health_checkers_redis_v3_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_extensions_health_checkers_redis_v3_redis_proto protoreflect.FileDescriptor
76
77 var file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDesc = []byte{
78 0x0a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
79 0x6e, 0x73, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65,
80 0x72, 0x73, 0x2f, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65, 0x64, 0x69,
81 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65,
82 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68,
83 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e,
84 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
85 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
86 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
87 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70,
88 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x05, 0x52, 0x65, 0x64, 0x69, 0x73, 0x12, 0x10, 0x0a,
89 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x3a,
90 0x31, 0x9a, 0xc5, 0x88, 0x1e, 0x2c, 0x0a, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
91 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63,
92 0x6b, 0x65, 0x72, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x64,
93 0x69, 0x73, 0x42, 0xa9, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x37, 0x69,
94 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
95 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x68, 0x65,
96 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x73, 0x2e, 0x72, 0x65,
97 0x64, 0x69, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x52, 0x65, 0x64, 0x69, 0x73, 0x50, 0x72, 0x6f,
98 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
99 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63,
100 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76,
101 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x68, 0x65,
102 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x73, 0x2f, 0x72, 0x65,
103 0x64, 0x69, 0x73, 0x2f, 0x76, 0x33, 0x3b, 0x72, 0x65, 0x64, 0x69, 0x73, 0x76, 0x33, 0x62, 0x06,
104 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
105 }
106
107 var (
108 file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDescOnce sync.Once
109 file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDescData = file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDesc
110 )
111
112 func file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDescGZIP() []byte {
113 file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDescOnce.Do(func() {
114 file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDescData)
115 })
116 return file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDescData
117 }
118
119 var file_envoy_extensions_health_checkers_redis_v3_redis_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
120 var file_envoy_extensions_health_checkers_redis_v3_redis_proto_goTypes = []interface{}{
121 (*Redis)(nil), // 0: envoy.extensions.health_checkers.redis.v3.Redis
122 }
123 var file_envoy_extensions_health_checkers_redis_v3_redis_proto_depIdxs = []int32{
124 0, // [0:0] is the sub-list for method output_type
125 0, // [0:0] is the sub-list for method input_type
126 0, // [0:0] is the sub-list for extension type_name
127 0, // [0:0] is the sub-list for extension extendee
128 0, // [0:0] is the sub-list for field type_name
129 }
130
131 func init() { file_envoy_extensions_health_checkers_redis_v3_redis_proto_init() }
132 func file_envoy_extensions_health_checkers_redis_v3_redis_proto_init() {
133 if File_envoy_extensions_health_checkers_redis_v3_redis_proto != nil {
134 return
135 }
136 if !protoimpl.UnsafeEnabled {
137 file_envoy_extensions_health_checkers_redis_v3_redis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
138 switch v := v.(*Redis); i {
139 case 0:
140 return &v.state
141 case 1:
142 return &v.sizeCache
143 case 2:
144 return &v.unknownFields
145 default:
146 return nil
147 }
148 }
149 }
150 type x struct{}
151 out := protoimpl.TypeBuilder{
152 File: protoimpl.DescBuilder{
153 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
154 RawDescriptor: file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDesc,
155 NumEnums: 0,
156 NumMessages: 1,
157 NumExtensions: 0,
158 NumServices: 0,
159 },
160 GoTypes: file_envoy_extensions_health_checkers_redis_v3_redis_proto_goTypes,
161 DependencyIndexes: file_envoy_extensions_health_checkers_redis_v3_redis_proto_depIdxs,
162 MessageInfos: file_envoy_extensions_health_checkers_redis_v3_redis_proto_msgTypes,
163 }.Build()
164 File_envoy_extensions_health_checkers_redis_v3_redis_proto = out.File
165 file_envoy_extensions_health_checkers_redis_v3_redis_proto_rawDesc = nil
166 file_envoy_extensions_health_checkers_redis_v3_redis_proto_goTypes = nil
167 file_envoy_extensions_health_checkers_redis_v3_redis_proto_depIdxs = nil
168 }