gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/config/trace/v2/dynamic_ot.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/config/trace/v2/dynamic_ot.proto 6 7 package envoy_config_trace_v2 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/envoyproxy/protoc-gen-validate/validate" 12 proto "github.com/golang/protobuf/proto" 13 _struct "github.com/golang/protobuf/ptypes/struct" 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 // DynamicOtConfig is used to dynamically load a tracer from a shared library 32 // that implements the `OpenTracing dynamic loading API 33 // <https://github.com/opentracing/opentracing-cpp>`_. 34 // [#extension: envoy.tracers.dynamic_ot] 35 type DynamicOtConfig struct { 36 state protoimpl.MessageState 37 sizeCache protoimpl.SizeCache 38 unknownFields protoimpl.UnknownFields 39 40 // Dynamic library implementing the `OpenTracing API 41 // <https://github.com/opentracing/opentracing-cpp>`_. 42 Library string `protobuf:"bytes,1,opt,name=library,proto3" json:"library,omitempty"` 43 // The configuration to use when creating a tracer from the given dynamic 44 // library. 45 Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` 46 } 47 48 func (x *DynamicOtConfig) Reset() { 49 *x = DynamicOtConfig{} 50 if protoimpl.UnsafeEnabled { 51 mi := &file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes[0] 52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 53 ms.StoreMessageInfo(mi) 54 } 55 } 56 57 func (x *DynamicOtConfig) String() string { 58 return protoimpl.X.MessageStringOf(x) 59 } 60 61 func (*DynamicOtConfig) ProtoMessage() {} 62 63 func (x *DynamicOtConfig) ProtoReflect() protoreflect.Message { 64 mi := &file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes[0] 65 if protoimpl.UnsafeEnabled && x != nil { 66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 67 if ms.LoadMessageInfo() == nil { 68 ms.StoreMessageInfo(mi) 69 } 70 return ms 71 } 72 return mi.MessageOf(x) 73 } 74 75 // Deprecated: Use DynamicOtConfig.ProtoReflect.Descriptor instead. 76 func (*DynamicOtConfig) Descriptor() ([]byte, []int) { 77 return file_envoy_config_trace_v2_dynamic_ot_proto_rawDescGZIP(), []int{0} 78 } 79 80 func (x *DynamicOtConfig) GetLibrary() string { 81 if x != nil { 82 return x.Library 83 } 84 return "" 85 } 86 87 func (x *DynamicOtConfig) GetConfig() *_struct.Struct { 88 if x != nil { 89 return x.Config 90 } 91 return nil 92 } 93 94 var File_envoy_config_trace_v2_dynamic_ot_proto protoreflect.FileDescriptor 95 96 var file_envoy_config_trace_v2_dynamic_ot_proto_rawDesc = []byte{ 97 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 98 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 99 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 100 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x1a, 101 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 102 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 103 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 104 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 105 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 106 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x65, 0x0a, 0x0f, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 107 0x4f, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x07, 0x6c, 0x69, 0x62, 0x72, 108 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 109 0x20, 0x01, 0x52, 0x07, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x2f, 0x0a, 0x06, 0x63, 110 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 111 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 112 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x3f, 0x0a, 0x23, 113 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 114 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 115 0x2e, 0x76, 0x32, 0x42, 0x0e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4f, 0x74, 0x50, 0x72, 116 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 117 0x72, 0x6f, 0x74, 0x6f, 0x33, 118 } 119 120 var ( 121 file_envoy_config_trace_v2_dynamic_ot_proto_rawDescOnce sync.Once 122 file_envoy_config_trace_v2_dynamic_ot_proto_rawDescData = file_envoy_config_trace_v2_dynamic_ot_proto_rawDesc 123 ) 124 125 func file_envoy_config_trace_v2_dynamic_ot_proto_rawDescGZIP() []byte { 126 file_envoy_config_trace_v2_dynamic_ot_proto_rawDescOnce.Do(func() { 127 file_envoy_config_trace_v2_dynamic_ot_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v2_dynamic_ot_proto_rawDescData) 128 }) 129 return file_envoy_config_trace_v2_dynamic_ot_proto_rawDescData 130 } 131 132 var file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 133 var file_envoy_config_trace_v2_dynamic_ot_proto_goTypes = []interface{}{ 134 (*DynamicOtConfig)(nil), // 0: envoy.config.trace.v2.DynamicOtConfig 135 (*_struct.Struct)(nil), // 1: google.protobuf.Struct 136 } 137 var file_envoy_config_trace_v2_dynamic_ot_proto_depIdxs = []int32{ 138 1, // 0: envoy.config.trace.v2.DynamicOtConfig.config:type_name -> google.protobuf.Struct 139 1, // [1:1] is the sub-list for method output_type 140 1, // [1:1] is the sub-list for method input_type 141 1, // [1:1] is the sub-list for extension type_name 142 1, // [1:1] is the sub-list for extension extendee 143 0, // [0:1] is the sub-list for field type_name 144 } 145 146 func init() { file_envoy_config_trace_v2_dynamic_ot_proto_init() } 147 func file_envoy_config_trace_v2_dynamic_ot_proto_init() { 148 if File_envoy_config_trace_v2_dynamic_ot_proto != nil { 149 return 150 } 151 if !protoimpl.UnsafeEnabled { 152 file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 153 switch v := v.(*DynamicOtConfig); i { 154 case 0: 155 return &v.state 156 case 1: 157 return &v.sizeCache 158 case 2: 159 return &v.unknownFields 160 default: 161 return nil 162 } 163 } 164 } 165 type x struct{} 166 out := protoimpl.TypeBuilder{ 167 File: protoimpl.DescBuilder{ 168 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 169 RawDescriptor: file_envoy_config_trace_v2_dynamic_ot_proto_rawDesc, 170 NumEnums: 0, 171 NumMessages: 1, 172 NumExtensions: 0, 173 NumServices: 0, 174 }, 175 GoTypes: file_envoy_config_trace_v2_dynamic_ot_proto_goTypes, 176 DependencyIndexes: file_envoy_config_trace_v2_dynamic_ot_proto_depIdxs, 177 MessageInfos: file_envoy_config_trace_v2_dynamic_ot_proto_msgTypes, 178 }.Build() 179 File_envoy_config_trace_v2_dynamic_ot_proto = out.File 180 file_envoy_config_trace_v2_dynamic_ot_proto_rawDesc = nil 181 file_envoy_config_trace_v2_dynamic_ot_proto_goTypes = nil 182 file_envoy_config_trace_v2_dynamic_ot_proto_depIdxs = nil 183 }