1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// 	protoc-gen-go v1.25.0
4// 	protoc        v3.14.0
5// source: envoy/config/trace/v2/service.proto
6
7package envoy_config_trace_v2
8
9import (
10	_ "github.com/cncf/xds/go/udpa/annotations"
11	core "github.com/envoyproxy/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
20const (
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.
29const _ = proto.ProtoPackageIsVersion4
30
31// Configuration structure.
32type TraceServiceConfig struct {
33	state         protoimpl.MessageState
34	sizeCache     protoimpl.SizeCache
35	unknownFields protoimpl.UnknownFields
36
37	// The upstream gRPC cluster that hosts the metrics service.
38	GrpcService *core.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
39}
40
41func (x *TraceServiceConfig) Reset() {
42	*x = TraceServiceConfig{}
43	if protoimpl.UnsafeEnabled {
44		mi := &file_envoy_config_trace_v2_service_proto_msgTypes[0]
45		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
46		ms.StoreMessageInfo(mi)
47	}
48}
49
50func (x *TraceServiceConfig) String() string {
51	return protoimpl.X.MessageStringOf(x)
52}
53
54func (*TraceServiceConfig) ProtoMessage() {}
55
56func (x *TraceServiceConfig) ProtoReflect() protoreflect.Message {
57	mi := &file_envoy_config_trace_v2_service_proto_msgTypes[0]
58	if protoimpl.UnsafeEnabled && x != nil {
59		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60		if ms.LoadMessageInfo() == nil {
61			ms.StoreMessageInfo(mi)
62		}
63		return ms
64	}
65	return mi.MessageOf(x)
66}
67
68// Deprecated: Use TraceServiceConfig.ProtoReflect.Descriptor instead.
69func (*TraceServiceConfig) Descriptor() ([]byte, []int) {
70	return file_envoy_config_trace_v2_service_proto_rawDescGZIP(), []int{0}
71}
72
73func (x *TraceServiceConfig) GetGrpcService() *core.GrpcService {
74	if x != nil {
75		return x.GrpcService
76	}
77	return nil
78}
79
80var File_envoy_config_trace_v2_service_proto protoreflect.FileDescriptor
81
82var file_envoy_config_trace_v2_service_proto_rawDesc = []byte{
83	0x0a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
84	0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
85	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
86	0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x1a, 0x24, 0x65, 0x6e,
87	0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f,
88	0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
89	0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
90	0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
91	0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
92	0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x61, 0x0a, 0x12, 0x54, 0x72,
93	0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
94	0x12, 0x4b, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
95	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61,
96	0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53,
97	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01,
98	0x52, 0x0b, 0x67, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x3d, 0x0a,
99	0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
100	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63,
101	0x65, 0x2e, 0x76, 0x32, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f,
102	0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72,
103	0x6f, 0x74, 0x6f, 0x33,
104}
105
106var (
107	file_envoy_config_trace_v2_service_proto_rawDescOnce sync.Once
108	file_envoy_config_trace_v2_service_proto_rawDescData = file_envoy_config_trace_v2_service_proto_rawDesc
109)
110
111func file_envoy_config_trace_v2_service_proto_rawDescGZIP() []byte {
112	file_envoy_config_trace_v2_service_proto_rawDescOnce.Do(func() {
113		file_envoy_config_trace_v2_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v2_service_proto_rawDescData)
114	})
115	return file_envoy_config_trace_v2_service_proto_rawDescData
116}
117
118var file_envoy_config_trace_v2_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
119var file_envoy_config_trace_v2_service_proto_goTypes = []interface{}{
120	(*TraceServiceConfig)(nil), // 0: envoy.config.trace.v2.TraceServiceConfig
121	(*core.GrpcService)(nil),   // 1: envoy.api.v2.core.GrpcService
122}
123var file_envoy_config_trace_v2_service_proto_depIdxs = []int32{
124	1, // 0: envoy.config.trace.v2.TraceServiceConfig.grpc_service:type_name -> envoy.api.v2.core.GrpcService
125	1, // [1:1] is the sub-list for method output_type
126	1, // [1:1] is the sub-list for method input_type
127	1, // [1:1] is the sub-list for extension type_name
128	1, // [1:1] is the sub-list for extension extendee
129	0, // [0:1] is the sub-list for field type_name
130}
131
132func init() { file_envoy_config_trace_v2_service_proto_init() }
133func file_envoy_config_trace_v2_service_proto_init() {
134	if File_envoy_config_trace_v2_service_proto != nil {
135		return
136	}
137	if !protoimpl.UnsafeEnabled {
138		file_envoy_config_trace_v2_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
139			switch v := v.(*TraceServiceConfig); i {
140			case 0:
141				return &v.state
142			case 1:
143				return &v.sizeCache
144			case 2:
145				return &v.unknownFields
146			default:
147				return nil
148			}
149		}
150	}
151	type x struct{}
152	out := protoimpl.TypeBuilder{
153		File: protoimpl.DescBuilder{
154			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
155			RawDescriptor: file_envoy_config_trace_v2_service_proto_rawDesc,
156			NumEnums:      0,
157			NumMessages:   1,
158			NumExtensions: 0,
159			NumServices:   0,
160		},
161		GoTypes:           file_envoy_config_trace_v2_service_proto_goTypes,
162		DependencyIndexes: file_envoy_config_trace_v2_service_proto_depIdxs,
163		MessageInfos:      file_envoy_config_trace_v2_service_proto_msgTypes,
164	}.Build()
165	File_envoy_config_trace_v2_service_proto = out.File
166	file_envoy_config_trace_v2_service_proto_rawDesc = nil
167	file_envoy_config_trace_v2_service_proto_goTypes = nil
168	file_envoy_config_trace_v2_service_proto_depIdxs = nil
169}
170