| 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/access_loggers/stream/v3/stream.proto |
| 6 |
|
| 7 |
package streamv3 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/udpa/annotations" |
| 11 |
v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" |
| 12 |
_ "github.com/envoyproxy/protoc-gen-validate/validate" |
| 13 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 14 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 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 |
// Custom configuration for an :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>` |
| 27 |
// that writes log entries directly to the operating system's standard output. |
| 28 |
// [#extension: envoy.access_loggers.stdout] |
| 29 |
type StdoutAccessLog struct { |
| 30 |
state protoimpl.MessageState |
| 31 |
sizeCache protoimpl.SizeCache |
| 32 |
unknownFields protoimpl.UnknownFields |
| 33 |
|
| 34 |
// Types that are assignable to AccessLogFormat: |
| 35 |
// |
| 36 |
// *StdoutAccessLog_LogFormat |
| 37 |
AccessLogFormat isStdoutAccessLog_AccessLogFormat `protobuf_oneof:"access_log_format"` |
| 38 |
} |
| 39 |
|
| 40 |
func (x *StdoutAccessLog) Reset() { |
| 41 |
*x = StdoutAccessLog{} |
| 42 |
if protoimpl.UnsafeEnabled { |
| 43 |
mi := &file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes[0] |
| 44 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 45 |
ms.StoreMessageInfo(mi) |
| 46 |
} |
| 47 |
} |
| 48 |
|
| 49 |
func (x *StdoutAccessLog) String() string { |
| 50 |
return protoimpl.X.MessageStringOf(x) |
| 51 |
} |
| 52 |
|
| 53 |
func (*StdoutAccessLog) ProtoMessage() {} |
| 54 |
|
| 55 |
func (x *StdoutAccessLog) ProtoReflect() protoreflect.Message { |
| 56 |
mi := &file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes[0] |
| 57 |
if protoimpl.UnsafeEnabled && x != nil { |
| 58 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 59 |
if ms.LoadMessageInfo() == nil { |
| 60 |
ms.StoreMessageInfo(mi) |
| 61 |
} |
| 62 |
return ms |
| 63 |
} |
| 64 |
return mi.MessageOf(x) |
| 65 |
} |
| 66 |
|
| 67 |
// Deprecated: Use StdoutAccessLog.ProtoReflect.Descriptor instead. |
| 68 |
func (*StdoutAccessLog) Descriptor() ([]byte, []int) { |
| 69 |
return file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDescGZIP(), []int{0} |
| 70 |
} |
| 71 |
|
| 72 |
func (m *StdoutAccessLog) GetAccessLogFormat() isStdoutAccessLog_AccessLogFormat { |
| 73 |
if m != nil { |
| 74 |
return m.AccessLogFormat |
| 75 |
} |
| 76 |
return nil |
| 77 |
} |
| 78 |
|
| 79 |
func (x *StdoutAccessLog) GetLogFormat() *v3.SubstitutionFormatString { |
| 80 |
if x, ok := x.GetAccessLogFormat().(*StdoutAccessLog_LogFormat); ok { |
| 81 |
return x.LogFormat |
| 82 |
} |
| 83 |
return nil |
| 84 |
} |
| 85 |
|
| 86 |
type isStdoutAccessLog_AccessLogFormat interface { |
| 87 |
isStdoutAccessLog_AccessLogFormat() |
| 88 |
} |
| 89 |
|
| 90 |
type StdoutAccessLog_LogFormat struct { |
| 91 |
// Configuration to form access log data and format. |
| 92 |
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
| 93 |
LogFormat *v3.SubstitutionFormatString `protobuf:"bytes,1,opt,name=log_format,json=logFormat,proto3,oneof"` |
| 94 |
} |
| 95 |
|
| 96 |
func (*StdoutAccessLog_LogFormat) isStdoutAccessLog_AccessLogFormat() {} |
| 97 |
|
| 98 |
// Custom configuration for an :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>` |
| 99 |
// that writes log entries directly to the operating system's standard error. |
| 100 |
// [#extension: envoy.access_loggers.stderr] |
| 101 |
type StderrAccessLog struct { |
| 102 |
state protoimpl.MessageState |
| 103 |
sizeCache protoimpl.SizeCache |
| 104 |
unknownFields protoimpl.UnknownFields |
| 105 |
|
| 106 |
// Types that are assignable to AccessLogFormat: |
| 107 |
// |
| 108 |
// *StderrAccessLog_LogFormat |
| 109 |
AccessLogFormat isStderrAccessLog_AccessLogFormat `protobuf_oneof:"access_log_format"` |
| 110 |
} |
| 111 |
|
| 112 |
func (x *StderrAccessLog) Reset() { |
| 113 |
*x = StderrAccessLog{} |
| 114 |
if protoimpl.UnsafeEnabled { |
| 115 |
mi := &file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes[1] |
| 116 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 117 |
ms.StoreMessageInfo(mi) |
| 118 |
} |
| 119 |
} |
| 120 |
|
| 121 |
func (x *StderrAccessLog) String() string { |
| 122 |
return protoimpl.X.MessageStringOf(x) |
| 123 |
} |
| 124 |
|
| 125 |
func (*StderrAccessLog) ProtoMessage() {} |
| 126 |
|
| 127 |
func (x *StderrAccessLog) ProtoReflect() protoreflect.Message { |
| 128 |
mi := &file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes[1] |
| 129 |
if protoimpl.UnsafeEnabled && x != nil { |
| 130 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 131 |
if ms.LoadMessageInfo() == nil { |
| 132 |
ms.StoreMessageInfo(mi) |
| 133 |
} |
| 134 |
return ms |
| 135 |
} |
| 136 |
return mi.MessageOf(x) |
| 137 |
} |
| 138 |
|
| 139 |
// Deprecated: Use StderrAccessLog.ProtoReflect.Descriptor instead. |
| 140 |
func (*StderrAccessLog) Descriptor() ([]byte, []int) { |
| 141 |
return file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDescGZIP(), []int{1} |
| 142 |
} |
| 143 |
|
| 144 |
func (m *StderrAccessLog) GetAccessLogFormat() isStderrAccessLog_AccessLogFormat { |
| 145 |
if m != nil { |
| 146 |
return m.AccessLogFormat |
| 147 |
} |
| 148 |
return nil |
| 149 |
} |
| 150 |
|
| 151 |
func (x *StderrAccessLog) GetLogFormat() *v3.SubstitutionFormatString { |
| 152 |
if x, ok := x.GetAccessLogFormat().(*StderrAccessLog_LogFormat); ok { |
| 153 |
return x.LogFormat |
| 154 |
} |
| 155 |
return nil |
| 156 |
} |
| 157 |
|
| 158 |
type isStderrAccessLog_AccessLogFormat interface { |
| 159 |
isStderrAccessLog_AccessLogFormat() |
| 160 |
} |
| 161 |
|
| 162 |
type StderrAccessLog_LogFormat struct { |
| 163 |
// Configuration to form access log data and format. |
| 164 |
// If not specified, use :ref:`default format <config_access_log_default_format>`. |
| 165 |
LogFormat *v3.SubstitutionFormatString `protobuf:"bytes,1,opt,name=log_format,json=logFormat,proto3,oneof"` |
| 166 |
} |
| 167 |
|
| 168 |
func (*StderrAccessLog_LogFormat) isStderrAccessLog_AccessLogFormat() {} |
| 169 |
|
| 170 |
var File_envoy_extensions_access_loggers_stream_v3_stream_proto protoreflect.FileDescriptor |
| 171 |
|
| 172 |
var file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDesc = []byte{ |
| 173 |
0x0a, 0x36, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, |
| 174 |
0x6e, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, |
| 175 |
0x73, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x74, 0x72, 0x65, |
| 176 |
0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, |
| 177 |
0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, |
| 178 |
0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, |
| 179 |
0x2e, 0x76, 0x33, 0x1a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 180 |
0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x69, |
| 181 |
0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x5f, 0x73, 0x74, |
| 182 |
0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, |
| 183 |
0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, |
| 184 |
0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, |
| 185 |
0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 186 |
0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x41, 0x63, 0x63, |
| 187 |
0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x12, 0x59, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x6f, |
| 188 |
0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6e, 0x76, |
| 189 |
0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, |
| 190 |
0x33, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, |
| 191 |
0x72, 0x6d, 0x61, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, |
| 192 |
0x01, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x61, |
| 193 |
0x74, 0x42, 0x13, 0x0a, 0x11, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, |
| 194 |
0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x81, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x64, 0x65, 0x72, |
| 195 |
0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x12, 0x59, 0x0a, 0x0a, 0x6c, 0x6f, |
| 196 |
0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, |
| 197 |
0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, |
| 198 |
0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x69, 0x74, 0x75, 0x74, 0x69, |
| 199 |
0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x08, |
| 200 |
0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x46, |
| 201 |
0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x13, 0x0a, 0x11, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, |
| 202 |
0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0xab, 0x01, 0xba, 0x80, 0xc8, |
| 203 |
0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x37, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, |
| 204 |
0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, |
| 205 |
0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, |
| 206 |
0x67, 0x65, 0x72, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x76, 0x33, 0x42, 0x0b, |
| 207 |
0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x59, 0x67, |
| 208 |
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, |
| 209 |
0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, |
| 210 |
0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, |
| 211 |
0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, |
| 212 |
0x67, 0x67, 0x65, 0x72, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2f, 0x76, 0x33, 0x3b, |
| 213 |
0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 214 |
} |
| 215 |
|
| 216 |
var ( |
| 217 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDescOnce sync.Once |
| 218 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDescData = file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDesc |
| 219 |
) |
| 220 |
|
| 221 |
func file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDescGZIP() []byte { |
| 222 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDescOnce.Do(func() { |
| 223 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDescData) |
| 224 |
}) |
| 225 |
return file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDescData |
| 226 |
} |
| 227 |
|
| 228 |
var file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 229 |
var file_envoy_extensions_access_loggers_stream_v3_stream_proto_goTypes = []interface{}{ |
| 230 |
(*StdoutAccessLog)(nil), // 0: envoy.extensions.access_loggers.stream.v3.StdoutAccessLog |
| 231 |
(*StderrAccessLog)(nil), // 1: envoy.extensions.access_loggers.stream.v3.StderrAccessLog |
| 232 |
(*v3.SubstitutionFormatString)(nil), // 2: envoy.config.core.v3.SubstitutionFormatString |
| 233 |
} |
| 234 |
var file_envoy_extensions_access_loggers_stream_v3_stream_proto_depIdxs = []int32{ |
| 235 |
2, // 0: envoy.extensions.access_loggers.stream.v3.StdoutAccessLog.log_format:type_name -> envoy.config.core.v3.SubstitutionFormatString |
| 236 |
2, // 1: envoy.extensions.access_loggers.stream.v3.StderrAccessLog.log_format:type_name -> envoy.config.core.v3.SubstitutionFormatString |
| 237 |
2, // [2:2] is the sub-list for method output_type |
| 238 |
2, // [2:2] is the sub-list for method input_type |
| 239 |
2, // [2:2] is the sub-list for extension type_name |
| 240 |
2, // [2:2] is the sub-list for extension extendee |
| 241 |
0, // [0:2] is the sub-list for field type_name |
| 242 |
} |
| 243 |
|
| 244 |
func init() { file_envoy_extensions_access_loggers_stream_v3_stream_proto_init() } |
| 245 |
func file_envoy_extensions_access_loggers_stream_v3_stream_proto_init() { |
| 246 |
if File_envoy_extensions_access_loggers_stream_v3_stream_proto != nil { |
| 247 |
return |
| 248 |
} |
| 249 |
if !protoimpl.UnsafeEnabled { |
| 250 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 251 |
switch v := v.(*StdoutAccessLog); i { |
| 252 |
case 0: |
| 253 |
return &v.state |
| 254 |
case 1: |
| 255 |
return &v.sizeCache |
| 256 |
case 2: |
| 257 |
return &v.unknownFields |
| 258 |
default: |
| 259 |
return nil |
| 260 |
} |
| 261 |
} |
| 262 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 263 |
switch v := v.(*StderrAccessLog); i { |
| 264 |
case 0: |
| 265 |
return &v.state |
| 266 |
case 1: |
| 267 |
return &v.sizeCache |
| 268 |
case 2: |
| 269 |
return &v.unknownFields |
| 270 |
default: |
| 271 |
return nil |
| 272 |
} |
| 273 |
} |
| 274 |
} |
| 275 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes[0].OneofWrappers = []interface{}{ |
| 276 |
(*StdoutAccessLog_LogFormat)(nil), |
| 277 |
} |
| 278 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| 279 |
(*StderrAccessLog_LogFormat)(nil), |
| 280 |
} |
| 281 |
type x struct{} |
| 282 |
out := protoimpl.TypeBuilder{ |
| 283 |
File: protoimpl.DescBuilder{ |
| 284 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 285 |
RawDescriptor: file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDesc, |
| 286 |
NumEnums: 0, |
| 287 |
NumMessages: 2, |
| 288 |
NumExtensions: 0, |
| 289 |
NumServices: 0, |
| 290 |
}, |
| 291 |
GoTypes: file_envoy_extensions_access_loggers_stream_v3_stream_proto_goTypes, |
| 292 |
DependencyIndexes: file_envoy_extensions_access_loggers_stream_v3_stream_proto_depIdxs, |
| 293 |
MessageInfos: file_envoy_extensions_access_loggers_stream_v3_stream_proto_msgTypes, |
| 294 |
}.Build() |
| 295 |
File_envoy_extensions_access_loggers_stream_v3_stream_proto = out.File |
| 296 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_rawDesc = nil |
| 297 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_goTypes = nil |
| 298 |
file_envoy_extensions_access_loggers_stream_v3_stream_proto_depIdxs = nil |
| 299 |
} |