Debian Codegraph @

envoy/service/redis_auth/v3/redis_external_auth.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/service/redis_auth/v3/redis_external_auth.proto
6
7 package redis_authv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 status "google.golang.org/genproto/googleapis/rpc/status"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 type RedisProxyExternalAuthRequest struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 // Username, if applicable. Otherwise, empty.
32 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
33 // Password sent with the AUTH command.
34 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
35 }
36
37 func (x *RedisProxyExternalAuthRequest) Reset() {
38 *x = RedisProxyExternalAuthRequest{}
39 if protoimpl.UnsafeEnabled {
40 mi := &file_envoy_service_redis_auth_v3_redis_external_auth_proto_msgTypes[0]
41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42 ms.StoreMessageInfo(mi)
43 }
44 }
45
46 func (x *RedisProxyExternalAuthRequest) String() string {
47 return protoimpl.X.MessageStringOf(x)
48 }
49
50 func (*RedisProxyExternalAuthRequest) ProtoMessage() {}
51
52 func (x *RedisProxyExternalAuthRequest) ProtoReflect() protoreflect.Message {
53 mi := &file_envoy_service_redis_auth_v3_redis_external_auth_proto_msgTypes[0]
54 if protoimpl.UnsafeEnabled && x != nil {
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 if ms.LoadMessageInfo() == nil {
57 ms.StoreMessageInfo(mi)
58 }
59 return ms
60 }
61 return mi.MessageOf(x)
62 }
63
64 // Deprecated: Use RedisProxyExternalAuthRequest.ProtoReflect.Descriptor instead.
65 func (*RedisProxyExternalAuthRequest) Descriptor() ([]byte, []int) {
66 return file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDescGZIP(), []int{0}
67 }
68
69 func (x *RedisProxyExternalAuthRequest) GetUsername() string {
70 if x != nil {
71 return x.Username
72 }
73 return ""
74 }
75
76 func (x *RedisProxyExternalAuthRequest) GetPassword() string {
77 if x != nil {
78 return x.Password
79 }
80 return ""
81 }
82
83 type RedisProxyExternalAuthResponse struct {
84 state protoimpl.MessageState
85 sizeCache protoimpl.SizeCache
86 unknownFields protoimpl.UnknownFields
87
88 // Status of the authentication check.
89 Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
90 // Optional expiration time for the authentication.
91 // If set, the authentication will be valid until this time.
92 // If not set, the authentication will be valid indefinitely.
93 Expiration *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration,proto3" json:"expiration,omitempty"`
94 // Optional message to be sent back to the client.
95 Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
96 }
97
98 func (x *RedisProxyExternalAuthResponse) Reset() {
99 *x = RedisProxyExternalAuthResponse{}
100 if protoimpl.UnsafeEnabled {
101 mi := &file_envoy_service_redis_auth_v3_redis_external_auth_proto_msgTypes[1]
102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
103 ms.StoreMessageInfo(mi)
104 }
105 }
106
107 func (x *RedisProxyExternalAuthResponse) String() string {
108 return protoimpl.X.MessageStringOf(x)
109 }
110
111 func (*RedisProxyExternalAuthResponse) ProtoMessage() {}
112
113 func (x *RedisProxyExternalAuthResponse) ProtoReflect() protoreflect.Message {
114 mi := &file_envoy_service_redis_auth_v3_redis_external_auth_proto_msgTypes[1]
115 if protoimpl.UnsafeEnabled && x != nil {
116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
117 if ms.LoadMessageInfo() == nil {
118 ms.StoreMessageInfo(mi)
119 }
120 return ms
121 }
122 return mi.MessageOf(x)
123 }
124
125 // Deprecated: Use RedisProxyExternalAuthResponse.ProtoReflect.Descriptor instead.
126 func (*RedisProxyExternalAuthResponse) Descriptor() ([]byte, []int) {
127 return file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDescGZIP(), []int{1}
128 }
129
130 func (x *RedisProxyExternalAuthResponse) GetStatus() *status.Status {
131 if x != nil {
132 return x.Status
133 }
134 return nil
135 }
136
137 func (x *RedisProxyExternalAuthResponse) GetExpiration() *timestamppb.Timestamp {
138 if x != nil {
139 return x.Expiration
140 }
141 return nil
142 }
143
144 func (x *RedisProxyExternalAuthResponse) GetMessage() string {
145 if x != nil {
146 return x.Message
147 }
148 return ""
149 }
150
151 var File_envoy_service_redis_auth_v3_redis_external_auth_proto protoreflect.FileDescriptor
152
153 var file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDesc = []byte{
154 0x0a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
155 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x65,
156 0x64, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x75, 0x74,
157 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73,
158 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74,
159 0x68, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
160 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e,
161 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70,
162 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
163 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
164 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a,
165 0x1d, 0x52, 0x65, 0x64, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72,
166 0x6e, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
167 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
168 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61,
169 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61,
170 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0xa2, 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x64, 0x69, 0x73,
171 0x50, 0x72, 0x6f, 0x78, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x75, 0x74,
172 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61,
173 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
174 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
175 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3a, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74,
176 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
177 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
178 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f,
179 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01,
180 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xa4, 0x01, 0x0a, 0x16,
181 0x52, 0x65, 0x64, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e,
182 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x12, 0x89, 0x01, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x68, 0x65,
183 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
184 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x61, 0x75,
185 0x74, 0x68, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x78, 0x79,
186 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75,
187 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76,
188 0x69, 0x63, 0x65, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76,
189 0x33, 0x2e, 0x52, 0x65, 0x64, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x45, 0x78, 0x74, 0x65,
190 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
191 0x22, 0x00, 0x42, 0x9e, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x29, 0x69,
192 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
193 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x72, 0x65, 0x64, 0x69, 0x73,
194 0x5f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x42, 0x16, 0x52, 0x65, 0x64, 0x69, 0x73, 0x45,
195 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f,
196 0x50, 0x01, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65,
197 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e,
198 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79,
199 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x61,
200 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x3b, 0x72, 0x65, 0x64, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74,
201 0x68, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
202 }
203
204 var (
205 file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDescOnce sync.Once
206 file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDescData = file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDesc
207 )
208
209 func file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDescGZIP() []byte {
210 file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDescOnce.Do(func() {
211 file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDescData)
212 })
213 return file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDescData
214 }
215
216 var file_envoy_service_redis_auth_v3_redis_external_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
217 var file_envoy_service_redis_auth_v3_redis_external_auth_proto_goTypes = []interface{}{
218 (*RedisProxyExternalAuthRequest)(nil), // 0: envoy.service.redis_auth.v3.RedisProxyExternalAuthRequest
219 (*RedisProxyExternalAuthResponse)(nil), // 1: envoy.service.redis_auth.v3.RedisProxyExternalAuthResponse
220 (*status.Status)(nil), // 2: google.rpc.Status
221 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
222 }
223 var file_envoy_service_redis_auth_v3_redis_external_auth_proto_depIdxs = []int32{
224 2, // 0: envoy.service.redis_auth.v3.RedisProxyExternalAuthResponse.status:type_name -> google.rpc.Status
225 3, // 1: envoy.service.redis_auth.v3.RedisProxyExternalAuthResponse.expiration:type_name -> google.protobuf.Timestamp
226 0, // 2: envoy.service.redis_auth.v3.RedisProxyExternalAuth.Authenticate:input_type -> envoy.service.redis_auth.v3.RedisProxyExternalAuthRequest
227 1, // 3: envoy.service.redis_auth.v3.RedisProxyExternalAuth.Authenticate:output_type -> envoy.service.redis_auth.v3.RedisProxyExternalAuthResponse
228 3, // [3:4] is the sub-list for method output_type
229 2, // [2:3] is the sub-list for method input_type
230 2, // [2:2] is the sub-list for extension type_name
231 2, // [2:2] is the sub-list for extension extendee
232 0, // [0:2] is the sub-list for field type_name
233 }
234
235 func init() { file_envoy_service_redis_auth_v3_redis_external_auth_proto_init() }
236 func file_envoy_service_redis_auth_v3_redis_external_auth_proto_init() {
237 if File_envoy_service_redis_auth_v3_redis_external_auth_proto != nil {
238 return
239 }
240 if !protoimpl.UnsafeEnabled {
241 file_envoy_service_redis_auth_v3_redis_external_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
242 switch v := v.(*RedisProxyExternalAuthRequest); i {
243 case 0:
244 return &v.state
245 case 1:
246 return &v.sizeCache
247 case 2:
248 return &v.unknownFields
249 default:
250 return nil
251 }
252 }
253 file_envoy_service_redis_auth_v3_redis_external_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
254 switch v := v.(*RedisProxyExternalAuthResponse); i {
255 case 0:
256 return &v.state
257 case 1:
258 return &v.sizeCache
259 case 2:
260 return &v.unknownFields
261 default:
262 return nil
263 }
264 }
265 }
266 type x struct{}
267 out := protoimpl.TypeBuilder{
268 File: protoimpl.DescBuilder{
269 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
270 RawDescriptor: file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDesc,
271 NumEnums: 0,
272 NumMessages: 2,
273 NumExtensions: 0,
274 NumServices: 1,
275 },
276 GoTypes: file_envoy_service_redis_auth_v3_redis_external_auth_proto_goTypes,
277 DependencyIndexes: file_envoy_service_redis_auth_v3_redis_external_auth_proto_depIdxs,
278 MessageInfos: file_envoy_service_redis_auth_v3_redis_external_auth_proto_msgTypes,
279 }.Build()
280 File_envoy_service_redis_auth_v3_redis_external_auth_proto = out.File
281 file_envoy_service_redis_auth_v3_redis_external_auth_proto_rawDesc = nil
282 file_envoy_service_redis_auth_v3_redis_external_auth_proto_goTypes = nil
283 file_envoy_service_redis_auth_v3_redis_external_auth_proto_depIdxs = nil
284 }