github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/config/trace/v3/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/v3/dynamic_ot.proto 6 7 package envoy_config_trace_v3 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_v3_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_v3_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_v3_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_v3_dynamic_ot_proto protoreflect.FileDescriptor 95 96 var file_envoy_config_trace_v3_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, 0x33, 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, 0x33, 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, 0x1e, 0x75, 103 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 104 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 105 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 106 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 107 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 108 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 109 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 110 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x0f, 0x44, 0x79, 0x6e, 111 0x61, 0x6d, 0x69, 0x63, 0x4f, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x07, 112 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 113 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x07, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 114 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 115 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 116 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 117 0x3a, 0x2c, 0x9a, 0xc5, 0x88, 0x1e, 0x27, 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 118 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x44, 119 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4f, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x72, 120 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 121 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 122 0x63, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4f, 0x74, 123 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x2d, 0x12, 0x2b, 0x65, 124 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 125 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2e, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 126 0x6f, 0x74, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 127 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 128 } 129 130 var ( 131 file_envoy_config_trace_v3_dynamic_ot_proto_rawDescOnce sync.Once 132 file_envoy_config_trace_v3_dynamic_ot_proto_rawDescData = file_envoy_config_trace_v3_dynamic_ot_proto_rawDesc 133 ) 134 135 func file_envoy_config_trace_v3_dynamic_ot_proto_rawDescGZIP() []byte { 136 file_envoy_config_trace_v3_dynamic_ot_proto_rawDescOnce.Do(func() { 137 file_envoy_config_trace_v3_dynamic_ot_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_dynamic_ot_proto_rawDescData) 138 }) 139 return file_envoy_config_trace_v3_dynamic_ot_proto_rawDescData 140 } 141 142 var file_envoy_config_trace_v3_dynamic_ot_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 143 var file_envoy_config_trace_v3_dynamic_ot_proto_goTypes = []interface{}{ 144 (*DynamicOtConfig)(nil), // 0: envoy.config.trace.v3.DynamicOtConfig 145 (*_struct.Struct)(nil), // 1: google.protobuf.Struct 146 } 147 var file_envoy_config_trace_v3_dynamic_ot_proto_depIdxs = []int32{ 148 1, // 0: envoy.config.trace.v3.DynamicOtConfig.config:type_name -> google.protobuf.Struct 149 1, // [1:1] is the sub-list for method output_type 150 1, // [1:1] is the sub-list for method input_type 151 1, // [1:1] is the sub-list for extension type_name 152 1, // [1:1] is the sub-list for extension extendee 153 0, // [0:1] is the sub-list for field type_name 154 } 155 156 func init() { file_envoy_config_trace_v3_dynamic_ot_proto_init() } 157 func file_envoy_config_trace_v3_dynamic_ot_proto_init() { 158 if File_envoy_config_trace_v3_dynamic_ot_proto != nil { 159 return 160 } 161 if !protoimpl.UnsafeEnabled { 162 file_envoy_config_trace_v3_dynamic_ot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 163 switch v := v.(*DynamicOtConfig); i { 164 case 0: 165 return &v.state 166 case 1: 167 return &v.sizeCache 168 case 2: 169 return &v.unknownFields 170 default: 171 return nil 172 } 173 } 174 } 175 type x struct{} 176 out := protoimpl.TypeBuilder{ 177 File: protoimpl.DescBuilder{ 178 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 179 RawDescriptor: file_envoy_config_trace_v3_dynamic_ot_proto_rawDesc, 180 NumEnums: 0, 181 NumMessages: 1, 182 NumExtensions: 0, 183 NumServices: 0, 184 }, 185 GoTypes: file_envoy_config_trace_v3_dynamic_ot_proto_goTypes, 186 DependencyIndexes: file_envoy_config_trace_v3_dynamic_ot_proto_depIdxs, 187 MessageInfos: file_envoy_config_trace_v3_dynamic_ot_proto_msgTypes, 188 }.Build() 189 File_envoy_config_trace_v3_dynamic_ot_proto = out.File 190 file_envoy_config_trace_v3_dynamic_ot_proto_rawDesc = nil 191 file_envoy_config_trace_v3_dynamic_ot_proto_goTypes = nil 192 file_envoy_config_trace_v3_dynamic_ot_proto_depIdxs = nil 193 }