| 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/stat_sinks/open_telemetry/v3/open_telemetry.proto |
| 6 |
|
| 7 |
package open_telemetryv3 |
| 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 |
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" |
| 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 |
// [#next-free-field: 7] |
| 28 |
type SinkConfig struct { |
| 29 |
state protoimpl.MessageState |
| 30 |
sizeCache protoimpl.SizeCache |
| 31 |
unknownFields protoimpl.UnknownFields |
| 32 |
|
| 33 |
// Types that are assignable to ProtocolSpecifier: |
| 34 |
// |
| 35 |
// *SinkConfig_GrpcService |
| 36 |
ProtocolSpecifier isSinkConfig_ProtocolSpecifier `protobuf_oneof:"protocol_specifier"` |
| 37 |
// If set to true, counters will be emitted as deltas, and the OTLP message will have |
| 38 |
// “AGGREGATION_TEMPORALITY_DELTA“ set as AggregationTemporality. |
| 39 |
ReportCountersAsDeltas bool `protobuf:"varint,2,opt,name=report_counters_as_deltas,json=reportCountersAsDeltas,proto3" json:"report_counters_as_deltas,omitempty"` |
| 40 |
// If set to true, histograms will be emitted as deltas, and the OTLP message will have |
| 41 |
// “AGGREGATION_TEMPORALITY_DELTA“ set as AggregationTemporality. |
| 42 |
ReportHistogramsAsDeltas bool `protobuf:"varint,3,opt,name=report_histograms_as_deltas,json=reportHistogramsAsDeltas,proto3" json:"report_histograms_as_deltas,omitempty"` |
| 43 |
// If set to true, metrics will have their tags emitted as OTLP attributes, which may |
| 44 |
// contain values used by the tag extractor or additional tags added during stats creation. |
| 45 |
// Otherwise, no attributes will be associated with the export message. Default value is true. |
| 46 |
EmitTagsAsAttributes *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=emit_tags_as_attributes,json=emitTagsAsAttributes,proto3" json:"emit_tags_as_attributes,omitempty"` |
| 47 |
// If set to true, metric names will be represented as the tag extracted name instead |
| 48 |
// of the full metric name. Default value is true. |
| 49 |
UseTagExtractedName *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=use_tag_extracted_name,json=useTagExtractedName,proto3" json:"use_tag_extracted_name,omitempty"` |
| 50 |
// If set, emitted stats names will be prepended with a prefix, so full stat name will be |
| 51 |
// <prefix>.<stats_name>. For example, if the stat name is "foo.bar" and prefix is |
| 52 |
// "pre", the full stat name will be "pre.foo.bar". If this field is not set, there is no |
| 53 |
// prefix added. According to the example, the full stat name will remain "foo.bar". |
| 54 |
Prefix string `protobuf:"bytes,6,opt,name=prefix,proto3" json:"prefix,omitempty"` |
| 55 |
} |
| 56 |
|
| 57 |
func (x *SinkConfig) Reset() { |
| 58 |
*x = SinkConfig{} |
| 59 |
if protoimpl.UnsafeEnabled { |
| 60 |
mi := &file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_msgTypes[0] |
| 61 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 62 |
ms.StoreMessageInfo(mi) |
| 63 |
} |
| 64 |
} |
| 65 |
|
| 66 |
func (x *SinkConfig) String() string { |
| 67 |
return protoimpl.X.MessageStringOf(x) |
| 68 |
} |
| 69 |
|
| 70 |
func (*SinkConfig) ProtoMessage() {} |
| 71 |
|
| 72 |
func (x *SinkConfig) ProtoReflect() protoreflect.Message { |
| 73 |
mi := &file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_msgTypes[0] |
| 74 |
if protoimpl.UnsafeEnabled && x != nil { |
| 75 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 76 |
if ms.LoadMessageInfo() == nil { |
| 77 |
ms.StoreMessageInfo(mi) |
| 78 |
} |
| 79 |
return ms |
| 80 |
} |
| 81 |
return mi.MessageOf(x) |
| 82 |
} |
| 83 |
|
| 84 |
// Deprecated: Use SinkConfig.ProtoReflect.Descriptor instead. |
| 85 |
func (*SinkConfig) Descriptor() ([]byte, []int) { |
| 86 |
return file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDescGZIP(), []int{0} |
| 87 |
} |
| 88 |
|
| 89 |
func (m *SinkConfig) GetProtocolSpecifier() isSinkConfig_ProtocolSpecifier { |
| 90 |
if m != nil { |
| 91 |
return m.ProtocolSpecifier |
| 92 |
} |
| 93 |
return nil |
| 94 |
} |
| 95 |
|
| 96 |
func (x *SinkConfig) GetGrpcService() *v3.GrpcService { |
| 97 |
if x, ok := x.GetProtocolSpecifier().(*SinkConfig_GrpcService); ok { |
| 98 |
return x.GrpcService |
| 99 |
} |
| 100 |
return nil |
| 101 |
} |
| 102 |
|
| 103 |
func (x *SinkConfig) GetReportCountersAsDeltas() bool { |
| 104 |
if x != nil { |
| 105 |
return x.ReportCountersAsDeltas |
| 106 |
} |
| 107 |
return false |
| 108 |
} |
| 109 |
|
| 110 |
func (x *SinkConfig) GetReportHistogramsAsDeltas() bool { |
| 111 |
if x != nil { |
| 112 |
return x.ReportHistogramsAsDeltas |
| 113 |
} |
| 114 |
return false |
| 115 |
} |
| 116 |
|
| 117 |
func (x *SinkConfig) GetEmitTagsAsAttributes() *wrapperspb.BoolValue { |
| 118 |
if x != nil { |
| 119 |
return x.EmitTagsAsAttributes |
| 120 |
} |
| 121 |
return nil |
| 122 |
} |
| 123 |
|
| 124 |
func (x *SinkConfig) GetUseTagExtractedName() *wrapperspb.BoolValue { |
| 125 |
if x != nil { |
| 126 |
return x.UseTagExtractedName |
| 127 |
} |
| 128 |
return nil |
| 129 |
} |
| 130 |
|
| 131 |
func (x *SinkConfig) GetPrefix() string { |
| 132 |
if x != nil { |
| 133 |
return x.Prefix |
| 134 |
} |
| 135 |
return "" |
| 136 |
} |
| 137 |
|
| 138 |
type isSinkConfig_ProtocolSpecifier interface { |
| 139 |
isSinkConfig_ProtocolSpecifier() |
| 140 |
} |
| 141 |
|
| 142 |
type SinkConfig_GrpcService struct { |
| 143 |
// The upstream gRPC cluster that implements the OTLP/gRPC collector. |
| 144 |
GrpcService *v3.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3,oneof"` |
| 145 |
} |
| 146 |
|
| 147 |
func (*SinkConfig_GrpcService) isSinkConfig_ProtocolSpecifier() {} |
| 148 |
|
| 149 |
var File_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto protoreflect.FileDescriptor |
| 150 |
|
| 151 |
var file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDesc = []byte{ |
| 152 |
0x0a, 0x42, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, |
| 153 |
0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x2f, 0x6f, 0x70, |
| 154 |
0x65, 0x6e, 0x5f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x33, 0x2f, |
| 155 |
0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, |
| 156 |
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, |
| 157 |
0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x6b, |
| 158 |
0x73, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, |
| 159 |
0x2e, 0x76, 0x33, 0x1a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 160 |
0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, |
| 161 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, |
| 162 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, |
| 163 |
0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, |
| 164 |
0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, |
| 165 |
0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, |
| 166 |
0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, |
| 167 |
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x03, 0x0a, 0x0a, 0x53, 0x69, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, |
| 168 |
0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, |
| 169 |
0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, |
| 170 |
0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, |
| 171 |
0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, |
| 172 |
0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x67, 0x72, 0x70, 0x63, 0x53, 0x65, |
| 173 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x19, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, |
| 174 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x5f, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x6c, 0x74, |
| 175 |
0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, |
| 176 |
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x41, 0x73, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x73, |
| 177 |
0x12, 0x3d, 0x0a, 0x1b, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, |
| 178 |
0x67, 0x72, 0x61, 0x6d, 0x73, 0x5f, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x18, |
| 179 |
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x69, 0x73, |
| 180 |
0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x73, 0x41, 0x73, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x12, |
| 181 |
0x51, 0x0a, 0x17, 0x65, 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x5f, 0x61, 0x73, 0x5f, |
| 182 |
0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, |
| 183 |
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 184 |
0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x14, 0x65, 0x6d, |
| 185 |
0x69, 0x74, 0x54, 0x61, 0x67, 0x73, 0x41, 0x73, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, |
| 186 |
0x65, 0x73, 0x12, 0x4f, 0x0a, 0x16, 0x75, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x65, 0x78, |
| 187 |
0x74, 0x72, 0x61, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, |
| 188 |
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 189 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x13, |
| 190 |
0x75, 0x73, 0x65, 0x54, 0x61, 0x67, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x65, 0x64, 0x4e, |
| 191 |
0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x06, 0x20, |
| 192 |
0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x19, 0x0a, 0x12, 0x70, |
| 193 |
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, |
| 194 |
0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0xc2, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, |
| 195 |
0x02, 0x0a, 0x3b, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, |
| 196 |
0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, |
| 197 |
0x73, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x2e, 0x6f, 0x70, 0x65, |
| 198 |
0x6e, 0x5f, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x33, 0x42, 0x12, |
| 199 |
0x4f, 0x70, 0x65, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, |
| 200 |
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x65, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, |
| 201 |
0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, |
| 202 |
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, |
| 203 |
0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, |
| 204 |
0x61, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x6b, 0x73, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x74, 0x65, |
| 205 |
0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x33, 0x3b, 0x6f, 0x70, 0x65, 0x6e, 0x5f, |
| 206 |
0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, |
| 207 |
0x74, 0x6f, 0x33, |
| 208 |
} |
| 209 |
|
| 210 |
var ( |
| 211 |
file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDescOnce sync.Once |
| 212 |
file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDescData = file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDesc |
| 213 |
) |
| 214 |
|
| 215 |
func file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDescGZIP() []byte { |
| 216 |
file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDescOnce.Do(func() { |
| 217 |
file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDescData) |
| 218 |
}) |
| 219 |
return file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDescData |
| 220 |
} |
| 221 |
|
| 222 |
var file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 223 |
var file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_goTypes = []interface{}{ |
| 224 |
(*SinkConfig)(nil), // 0: envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig |
| 225 |
(*v3.GrpcService)(nil), // 1: envoy.config.core.v3.GrpcService |
| 226 |
(*wrapperspb.BoolValue)(nil), // 2: google.protobuf.BoolValue |
| 227 |
} |
| 228 |
var file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_depIdxs = []int32{ |
| 229 |
1, // 0: envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.grpc_service:type_name -> envoy.config.core.v3.GrpcService |
| 230 |
2, // 1: envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.emit_tags_as_attributes:type_name -> google.protobuf.BoolValue |
| 231 |
2, // 2: envoy.extensions.stat_sinks.open_telemetry.v3.SinkConfig.use_tag_extracted_name:type_name -> google.protobuf.BoolValue |
| 232 |
3, // [3:3] is the sub-list for method output_type |
| 233 |
3, // [3:3] is the sub-list for method input_type |
| 234 |
3, // [3:3] is the sub-list for extension type_name |
| 235 |
3, // [3:3] is the sub-list for extension extendee |
| 236 |
0, // [0:3] is the sub-list for field type_name |
| 237 |
} |
| 238 |
|
| 239 |
func init() { file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_init() } |
| 240 |
func file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_init() { |
| 241 |
if File_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto != nil { |
| 242 |
return |
| 243 |
} |
| 244 |
if !protoimpl.UnsafeEnabled { |
| 245 |
file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 246 |
switch v := v.(*SinkConfig); i { |
| 247 |
case 0: |
| 248 |
return &v.state |
| 249 |
case 1: |
| 250 |
return &v.sizeCache |
| 251 |
case 2: |
| 252 |
return &v.unknownFields |
| 253 |
default: |
| 254 |
return nil |
| 255 |
} |
| 256 |
} |
| 257 |
} |
| 258 |
file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_msgTypes[0].OneofWrappers = []interface{}{ |
| 259 |
(*SinkConfig_GrpcService)(nil), |
| 260 |
} |
| 261 |
type x struct{} |
| 262 |
out := protoimpl.TypeBuilder{ |
| 263 |
File: protoimpl.DescBuilder{ |
| 264 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 265 |
RawDescriptor: file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDesc, |
| 266 |
NumEnums: 0, |
| 267 |
NumMessages: 1, |
| 268 |
NumExtensions: 0, |
| 269 |
NumServices: 0, |
| 270 |
}, |
| 271 |
GoTypes: file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_goTypes, |
| 272 |
DependencyIndexes: file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_depIdxs, |
| 273 |
MessageInfos: file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_msgTypes, |
| 274 |
}.Build() |
| 275 |
File_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto = out.File |
| 276 |
file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_rawDesc = nil |
| 277 |
file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_goTypes = nil |
| 278 |
file_envoy_extensions_stat_sinks_open_telemetry_v3_open_telemetry_proto_depIdxs = nil |
| 279 |
} |