gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/config/trace/v2alpha/xray.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/v2alpha/xray.proto
     6  
     7  package envoy_config_trace_v2alpha
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	core "gitee.com/ks-custle/core-gm/go-control-plane/envoy/api/v2/core"
    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  type XRayConfig struct {
    32  	state         protoimpl.MessageState
    33  	sizeCache     protoimpl.SizeCache
    34  	unknownFields protoimpl.UnknownFields
    35  
    36  	// The UDP endpoint of the X-Ray Daemon where the spans will be sent.
    37  	// If this value is not set, the default value of 127.0.0.1:2000 will be used.
    38  	DaemonEndpoint *core.SocketAddress `protobuf:"bytes,1,opt,name=daemon_endpoint,json=daemonEndpoint,proto3" json:"daemon_endpoint,omitempty"`
    39  	// The name of the X-Ray segment.
    40  	SegmentName string `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"`
    41  	// The location of a local custom sampling rules JSON file.
    42  	// For an example of the sampling rules see:
    43  	// `X-Ray SDK documentation
    44  	// <https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-sampling>`_
    45  	SamplingRuleManifest *core.DataSource `protobuf:"bytes,3,opt,name=sampling_rule_manifest,json=samplingRuleManifest,proto3" json:"sampling_rule_manifest,omitempty"`
    46  }
    47  
    48  func (x *XRayConfig) Reset() {
    49  	*x = XRayConfig{}
    50  	if protoimpl.UnsafeEnabled {
    51  		mi := &file_envoy_config_trace_v2alpha_xray_proto_msgTypes[0]
    52  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    53  		ms.StoreMessageInfo(mi)
    54  	}
    55  }
    56  
    57  func (x *XRayConfig) String() string {
    58  	return protoimpl.X.MessageStringOf(x)
    59  }
    60  
    61  func (*XRayConfig) ProtoMessage() {}
    62  
    63  func (x *XRayConfig) ProtoReflect() protoreflect.Message {
    64  	mi := &file_envoy_config_trace_v2alpha_xray_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 XRayConfig.ProtoReflect.Descriptor instead.
    76  func (*XRayConfig) Descriptor() ([]byte, []int) {
    77  	return file_envoy_config_trace_v2alpha_xray_proto_rawDescGZIP(), []int{0}
    78  }
    79  
    80  func (x *XRayConfig) GetDaemonEndpoint() *core.SocketAddress {
    81  	if x != nil {
    82  		return x.DaemonEndpoint
    83  	}
    84  	return nil
    85  }
    86  
    87  func (x *XRayConfig) GetSegmentName() string {
    88  	if x != nil {
    89  		return x.SegmentName
    90  	}
    91  	return ""
    92  }
    93  
    94  func (x *XRayConfig) GetSamplingRuleManifest() *core.DataSource {
    95  	if x != nil {
    96  		return x.SamplingRuleManifest
    97  	}
    98  	return nil
    99  }
   100  
   101  var File_envoy_config_trace_v2alpha_xray_proto protoreflect.FileDescriptor
   102  
   103  var file_envoy_config_trace_v2alpha_xray_proto_rawDesc = []byte{
   104  	0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
   105  	0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x78, 0x72, 0x61,
   106  	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
   107  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c,
   108  	0x70, 0x68, 0x61, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
   109  	0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70,
   110  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f,
   111  	0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   112  	0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   113  	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   114  	0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
   115  	0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x01, 0x0a, 0x0a, 0x58,
   116  	0x52, 0x61, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x49, 0x0a, 0x0f, 0x64, 0x61, 0x65,
   117  	0x6d, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
   118  	0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
   119  	0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64,
   120  	0x72, 0x65, 0x73, 0x73, 0x52, 0x0e, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x45, 0x6e, 0x64, 0x70,
   121  	0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x0c, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
   122  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72,
   123  	0x02, 0x10, 0x01, 0x52, 0x0b, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65,
   124  	0x12, 0x53, 0x0a, 0x16, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c,
   125  	0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
   126  	0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e,
   127  	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52,
   128  	0x14, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x4d, 0x61, 0x6e,
   129  	0x69, 0x66, 0x65, 0x73, 0x74, 0x42, 0x3f, 0x0a, 0x28, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   130  	0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
   131  	0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68,
   132  	0x61, 0x42, 0x09, 0x58, 0x72, 0x61, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80,
   133  	0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   134  }
   135  
   136  var (
   137  	file_envoy_config_trace_v2alpha_xray_proto_rawDescOnce sync.Once
   138  	file_envoy_config_trace_v2alpha_xray_proto_rawDescData = file_envoy_config_trace_v2alpha_xray_proto_rawDesc
   139  )
   140  
   141  func file_envoy_config_trace_v2alpha_xray_proto_rawDescGZIP() []byte {
   142  	file_envoy_config_trace_v2alpha_xray_proto_rawDescOnce.Do(func() {
   143  		file_envoy_config_trace_v2alpha_xray_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v2alpha_xray_proto_rawDescData)
   144  	})
   145  	return file_envoy_config_trace_v2alpha_xray_proto_rawDescData
   146  }
   147  
   148  var file_envoy_config_trace_v2alpha_xray_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   149  var file_envoy_config_trace_v2alpha_xray_proto_goTypes = []interface{}{
   150  	(*XRayConfig)(nil),         // 0: envoy.config.trace.v2alpha.XRayConfig
   151  	(*core.SocketAddress)(nil), // 1: envoy.api.v2.core.SocketAddress
   152  	(*core.DataSource)(nil),    // 2: envoy.api.v2.core.DataSource
   153  }
   154  var file_envoy_config_trace_v2alpha_xray_proto_depIdxs = []int32{
   155  	1, // 0: envoy.config.trace.v2alpha.XRayConfig.daemon_endpoint:type_name -> envoy.api.v2.core.SocketAddress
   156  	2, // 1: envoy.config.trace.v2alpha.XRayConfig.sampling_rule_manifest:type_name -> envoy.api.v2.core.DataSource
   157  	2, // [2:2] is the sub-list for method output_type
   158  	2, // [2:2] is the sub-list for method input_type
   159  	2, // [2:2] is the sub-list for extension type_name
   160  	2, // [2:2] is the sub-list for extension extendee
   161  	0, // [0:2] is the sub-list for field type_name
   162  }
   163  
   164  func init() { file_envoy_config_trace_v2alpha_xray_proto_init() }
   165  func file_envoy_config_trace_v2alpha_xray_proto_init() {
   166  	if File_envoy_config_trace_v2alpha_xray_proto != nil {
   167  		return
   168  	}
   169  	if !protoimpl.UnsafeEnabled {
   170  		file_envoy_config_trace_v2alpha_xray_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   171  			switch v := v.(*XRayConfig); i {
   172  			case 0:
   173  				return &v.state
   174  			case 1:
   175  				return &v.sizeCache
   176  			case 2:
   177  				return &v.unknownFields
   178  			default:
   179  				return nil
   180  			}
   181  		}
   182  	}
   183  	type x struct{}
   184  	out := protoimpl.TypeBuilder{
   185  		File: protoimpl.DescBuilder{
   186  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   187  			RawDescriptor: file_envoy_config_trace_v2alpha_xray_proto_rawDesc,
   188  			NumEnums:      0,
   189  			NumMessages:   1,
   190  			NumExtensions: 0,
   191  			NumServices:   0,
   192  		},
   193  		GoTypes:           file_envoy_config_trace_v2alpha_xray_proto_goTypes,
   194  		DependencyIndexes: file_envoy_config_trace_v2alpha_xray_proto_depIdxs,
   195  		MessageInfos:      file_envoy_config_trace_v2alpha_xray_proto_msgTypes,
   196  	}.Build()
   197  	File_envoy_config_trace_v2alpha_xray_proto = out.File
   198  	file_envoy_config_trace_v2alpha_xray_proto_rawDesc = nil
   199  	file_envoy_config_trace_v2alpha_xray_proto_goTypes = nil
   200  	file_envoy_config_trace_v2alpha_xray_proto_depIdxs = nil
   201  }