| 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/open_telemetry/v3/logs_service.proto |
| 6 |
|
| 7 |
package open_telemetryv3 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/udpa/annotations" |
| 11 |
v31 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" |
| 12 |
v3 "github.com/envoyproxy/go-control-plane/envoy/extensions/access_loggers/grpc/v3" |
| 13 |
_ "github.com/envoyproxy/protoc-gen-validate/validate" |
| 14 |
v1 "go.opentelemetry.io/proto/otlp/common/v1" |
| 15 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 16 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 17 |
reflect "reflect" |
| 18 |
sync "sync" |
| 19 |
) |
| 20 |
|
| 21 |
const ( |
| 22 |
// Verify that this generated code is sufficiently up-to-date. |
| 23 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 24 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 25 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 26 |
) |
| 27 |
|
| 28 |
// Configuration for the built-in “envoy.access_loggers.open_telemetry“ |
| 29 |
// :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>`. This configuration will |
| 30 |
// populate `opentelemetry.proto.collector.v1.logs.ExportLogsServiceRequest.resource_logs <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/collector/logs/v1/logs_service.proto>`_. |
| 31 |
// In addition, the request start time is set in the dedicated field. |
| 32 |
// [#extension: envoy.access_loggers.open_telemetry] |
| 33 |
// [#next-free-field: 8] |
| 34 |
type OpenTelemetryAccessLogConfig struct { |
| 35 |
state protoimpl.MessageState |
| 36 |
sizeCache protoimpl.SizeCache |
| 37 |
unknownFields protoimpl.UnknownFields |
| 38 |
|
| 39 |
// [#comment:TODO(itamarkam): add 'filter_state_objects_to_log' to logs.] |
| 40 |
CommonConfig *v3.CommonGrpcAccessLogConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"` |
| 41 |
// If specified, Envoy will not generate built-in resource labels |
| 42 |
// like “log_name“, “zone_name“, “cluster_name“, “node_name“. |
| 43 |
DisableBuiltinLabels bool `protobuf:"varint,5,opt,name=disable_builtin_labels,json=disableBuiltinLabels,proto3" json:"disable_builtin_labels,omitempty"` |
| 44 |
// OpenTelemetry `Resource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto#L51>`_ |
| 45 |
// attributes are filled with Envoy node info. |
| 46 |
// Example: “resource_attributes { values { key: "region" value { string_value: "cn-north-7" } } }“. |
| 47 |
ResourceAttributes *v1.KeyValueList `protobuf:"bytes,4,opt,name=resource_attributes,json=resourceAttributes,proto3" json:"resource_attributes,omitempty"` |
| 48 |
// OpenTelemetry `LogResource <https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto>`_ |
| 49 |
// fields, following `Envoy access logging formatting <https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage>`_. |
| 50 |
// |
| 51 |
// See 'body' in the LogResource proto for more details. |
| 52 |
// Example: “body { string_value: "%PROTOCOL%" }“. |
| 53 |
Body *v1.AnyValue `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` |
| 54 |
// See 'attributes' in the LogResource proto for more details. |
| 55 |
// Example: “attributes { values { key: "user_agent" value { string_value: "%REQ(USER-AGENT)%" } } }“. |
| 56 |
Attributes *v1.KeyValueList `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"` |
| 57 |
// Optional. Additional prefix to use on OpenTelemetry access logger stats. If empty, the stats will be rooted at |
| 58 |
// “access_logs.open_telemetry_access_log.“. If non-empty, stats will be rooted at |
| 59 |
// “access_logs.open_telemetry_access_log.<stat_prefix>.“. |
| 60 |
StatPrefix string `protobuf:"bytes,6,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` |
| 61 |
// Specifies a collection of Formatter plugins that can be called from the access log configuration. |
| 62 |
// See the formatters extensions documentation for details. |
| 63 |
// [#extension-category: envoy.formatter] |
| 64 |
Formatters []*v31.TypedExtensionConfig `protobuf:"bytes,7,rep,name=formatters,proto3" json:"formatters,omitempty"` |
| 65 |
} |
| 66 |
|
| 67 |
func (x *OpenTelemetryAccessLogConfig) Reset() { |
| 68 |
*x = OpenTelemetryAccessLogConfig{} |
| 69 |
if protoimpl.UnsafeEnabled { |
| 70 |
mi := &file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_msgTypes[0] |
| 71 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 72 |
ms.StoreMessageInfo(mi) |
| 73 |
} |
| 74 |
} |
| 75 |
|
| 76 |
func (x *OpenTelemetryAccessLogConfig) String() string { |
| 77 |
return protoimpl.X.MessageStringOf(x) |
| 78 |
} |
| 79 |
|
| 80 |
func (*OpenTelemetryAccessLogConfig) ProtoMessage() {} |
| 81 |
|
| 82 |
func (x *OpenTelemetryAccessLogConfig) ProtoReflect() protoreflect.Message { |
| 83 |
mi := &file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_msgTypes[0] |
| 84 |
if protoimpl.UnsafeEnabled && x != nil { |
| 85 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 86 |
if ms.LoadMessageInfo() == nil { |
| 87 |
ms.StoreMessageInfo(mi) |
| 88 |
} |
| 89 |
return ms |
| 90 |
} |
| 91 |
return mi.MessageOf(x) |
| 92 |
} |
| 93 |
|
| 94 |
// Deprecated: Use OpenTelemetryAccessLogConfig.ProtoReflect.Descriptor instead. |
| 95 |
func (*OpenTelemetryAccessLogConfig) Descriptor() ([]byte, []int) { |
| 96 |
return file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDescGZIP(), []int{0} |
| 97 |
} |
| 98 |
|
| 99 |
func (x *OpenTelemetryAccessLogConfig) GetCommonConfig() *v3.CommonGrpcAccessLogConfig { |
| 100 |
if x != nil { |
| 101 |
return x.CommonConfig |
| 102 |
} |
| 103 |
return nil |
| 104 |
} |
| 105 |
|
| 106 |
func (x *OpenTelemetryAccessLogConfig) GetDisableBuiltinLabels() bool { |
| 107 |
if x != nil { |
| 108 |
return x.DisableBuiltinLabels |
| 109 |
} |
| 110 |
return false |
| 111 |
} |
| 112 |
|
| 113 |
func (x *OpenTelemetryAccessLogConfig) GetResourceAttributes() *v1.KeyValueList { |
| 114 |
if x != nil { |
| 115 |
return x.ResourceAttributes |
| 116 |
} |
| 117 |
return nil |
| 118 |
} |
| 119 |
|
| 120 |
func (x *OpenTelemetryAccessLogConfig) GetBody() *v1.AnyValue { |
| 121 |
if x != nil { |
| 122 |
return x.Body |
| 123 |
} |
| 124 |
return nil |
| 125 |
} |
| 126 |
|
| 127 |
func (x *OpenTelemetryAccessLogConfig) GetAttributes() *v1.KeyValueList { |
| 128 |
if x != nil { |
| 129 |
return x.Attributes |
| 130 |
} |
| 131 |
return nil |
| 132 |
} |
| 133 |
|
| 134 |
func (x *OpenTelemetryAccessLogConfig) GetStatPrefix() string { |
| 135 |
if x != nil { |
| 136 |
return x.StatPrefix |
| 137 |
} |
| 138 |
return "" |
| 139 |
} |
| 140 |
|
| 141 |
func (x *OpenTelemetryAccessLogConfig) GetFormatters() []*v31.TypedExtensionConfig { |
| 142 |
if x != nil { |
| 143 |
return x.Formatters |
| 144 |
} |
| 145 |
return nil |
| 146 |
} |
| 147 |
|
| 148 |
var File_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto protoreflect.FileDescriptor |
| 149 |
|
| 150 |
var file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDesc = []byte{ |
| 151 |
0x0a, 0x44, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, |
| 152 |
0x6e, 0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, |
| 153 |
0x73, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, |
| 154 |
0x2f, 0x76, 0x33, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 155 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, |
| 156 |
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, |
| 157 |
0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x65, 0x6c, |
| 158 |
0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 0x79, |
| 159 |
0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, |
| 160 |
0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 161 |
0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, |
| 162 |
0x73, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x73, |
| 163 |
0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, |
| 164 |
0x74, 0x6f, 0x1a, 0x2a, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, |
| 165 |
0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, |
| 166 |
0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, |
| 167 |
0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 168 |
0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, |
| 169 |
0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, |
| 170 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x04, 0x0a, 0x1c, 0x4f, 0x70, 0x65, 0x6e, 0x54, |
| 171 |
0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, |
| 172 |
0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x71, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, |
| 173 |
0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, |
| 174 |
0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, |
| 175 |
0x73, 0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x73, |
| 176 |
0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x47, |
| 177 |
0x72, 0x70, 0x63, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, |
| 178 |
0x69, 0x67, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0c, 0x63, 0x6f, |
| 179 |
0x6d, 0x6d, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x69, |
| 180 |
0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x5f, 0x6c, 0x61, |
| 181 |
0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x64, 0x69, 0x73, 0x61, |
| 182 |
0x62, 0x6c, 0x65, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, |
| 183 |
0x12, 0x5c, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x74, 0x74, |
| 184 |
0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, |
| 185 |
0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, |
| 186 |
0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, |
| 187 |
0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x12, 0x72, 0x65, 0x73, 0x6f, |
| 188 |
0x75, 0x72, 0x63, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x3b, |
| 189 |
0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, |
| 190 |
0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, |
| 191 |
0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x79, |
| 192 |
0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x4b, 0x0a, 0x0a, 0x61, |
| 193 |
0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 194 |
0x2b, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, |
| 195 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, |
| 196 |
0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0a, 0x61, 0x74, |
| 197 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, |
| 198 |
0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, |
| 199 |
0x74, 0x61, 0x74, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x4a, 0x0a, 0x0a, 0x66, 0x6f, 0x72, |
| 200 |
0x6d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, |
| 201 |
0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, |
| 202 |
0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, |
| 203 |
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x6d, 0x61, |
| 204 |
0x74, 0x74, 0x65, 0x72, 0x73, 0x42, 0xc8, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, |
| 205 |
0x0a, 0x3f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, |
| 206 |
0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, |
| 207 |
0x2e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2e, |
| 208 |
0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x76, |
| 209 |
0x33, 0x42, 0x10, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, |
| 210 |
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x69, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, |
| 211 |
0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, |
| 212 |
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, |
| 213 |
0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, |
| 214 |
0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x73, 0x2f, 0x6f, 0x70, |
| 215 |
0x65, 0x6e, 0x5f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x33, 0x3b, |
| 216 |
0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x76, 0x33, |
| 217 |
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 218 |
} |
| 219 |
|
| 220 |
var ( |
| 221 |
file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDescOnce sync.Once |
| 222 |
file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDescData = file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDesc |
| 223 |
) |
| 224 |
|
| 225 |
func file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDescGZIP() []byte { |
| 226 |
file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDescOnce.Do(func() { |
| 227 |
file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDescData) |
| 228 |
}) |
| 229 |
return file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDescData |
| 230 |
} |
| 231 |
|
| 232 |
var file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 233 |
var file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_goTypes = []interface{}{ |
| 234 |
(*OpenTelemetryAccessLogConfig)(nil), // 0: envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig |
| 235 |
(*v3.CommonGrpcAccessLogConfig)(nil), // 1: envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig |
| 236 |
(*v1.KeyValueList)(nil), // 2: opentelemetry.proto.common.v1.KeyValueList |
| 237 |
(*v1.AnyValue)(nil), // 3: opentelemetry.proto.common.v1.AnyValue |
| 238 |
(*v31.TypedExtensionConfig)(nil), // 4: envoy.config.core.v3.TypedExtensionConfig |
| 239 |
} |
| 240 |
var file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_depIdxs = []int32{ |
| 241 |
1, // 0: envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.common_config:type_name -> envoy.extensions.access_loggers.grpc.v3.CommonGrpcAccessLogConfig |
| 242 |
2, // 1: envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.resource_attributes:type_name -> opentelemetry.proto.common.v1.KeyValueList |
| 243 |
3, // 2: envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.body:type_name -> opentelemetry.proto.common.v1.AnyValue |
| 244 |
2, // 3: envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.attributes:type_name -> opentelemetry.proto.common.v1.KeyValueList |
| 245 |
4, // 4: envoy.extensions.access_loggers.open_telemetry.v3.OpenTelemetryAccessLogConfig.formatters:type_name -> envoy.config.core.v3.TypedExtensionConfig |
| 246 |
5, // [5:5] is the sub-list for method output_type |
| 247 |
5, // [5:5] is the sub-list for method input_type |
| 248 |
5, // [5:5] is the sub-list for extension type_name |
| 249 |
5, // [5:5] is the sub-list for extension extendee |
| 250 |
0, // [0:5] is the sub-list for field type_name |
| 251 |
} |
| 252 |
|
| 253 |
func init() { file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_init() } |
| 254 |
func file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_init() { |
| 255 |
if File_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto != nil { |
| 256 |
return |
| 257 |
} |
| 258 |
if !protoimpl.UnsafeEnabled { |
| 259 |
file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 260 |
switch v := v.(*OpenTelemetryAccessLogConfig); i { |
| 261 |
case 0: |
| 262 |
return &v.state |
| 263 |
case 1: |
| 264 |
return &v.sizeCache |
| 265 |
case 2: |
| 266 |
return &v.unknownFields |
| 267 |
default: |
| 268 |
return nil |
| 269 |
} |
| 270 |
} |
| 271 |
} |
| 272 |
type x struct{} |
| 273 |
out := protoimpl.TypeBuilder{ |
| 274 |
File: protoimpl.DescBuilder{ |
| 275 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 276 |
RawDescriptor: file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDesc, |
| 277 |
NumEnums: 0, |
| 278 |
NumMessages: 1, |
| 279 |
NumExtensions: 0, |
| 280 |
NumServices: 0, |
| 281 |
}, |
| 282 |
GoTypes: file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_goTypes, |
| 283 |
DependencyIndexes: file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_depIdxs, |
| 284 |
MessageInfos: file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_msgTypes, |
| 285 |
}.Build() |
| 286 |
File_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto = out.File |
| 287 |
file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_rawDesc = nil |
| 288 |
file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_goTypes = nil |
| 289 |
file_envoy_extensions_access_loggers_open_telemetry_v3_logs_service_proto_depIdxs = nil |
| 290 |
} |