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