1
2
3
4
5
6
7 package envoy_config_trace_v3
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 v3 "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v3"
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
22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25 )
26
27
28
29 const _ = proto.ProtoPackageIsVersion4
30
31
32 type TraceServiceConfig struct {
33 state protoimpl.MessageState
34 sizeCache protoimpl.SizeCache
35 unknownFields protoimpl.UnknownFields
36
37
38 GrpcService *v3.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
39 }
40
41 func (x *TraceServiceConfig) Reset() {
42 *x = TraceServiceConfig{}
43 if protoimpl.UnsafeEnabled {
44 mi := &file_envoy_config_trace_v3_service_proto_msgTypes[0]
45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
46 ms.StoreMessageInfo(mi)
47 }
48 }
49
50 func (x *TraceServiceConfig) String() string {
51 return protoimpl.X.MessageStringOf(x)
52 }
53
54 func (*TraceServiceConfig) ProtoMessage() {}
55
56 func (x *TraceServiceConfig) ProtoReflect() protoreflect.Message {
57 mi := &file_envoy_config_trace_v3_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
69 func (*TraceServiceConfig) Descriptor() ([]byte, []int) {
70 return file_envoy_config_trace_v3_service_proto_rawDescGZIP(), []int{0}
71 }
72
73 func (x *TraceServiceConfig) GetGrpcService() *v3.GrpcService {
74 if x != nil {
75 return x.GrpcService
76 }
77 return nil
78 }
79
80 var File_envoy_config_trace_v3_service_proto protoreflect.FileDescriptor
81
82 var file_envoy_config_trace_v3_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, 0x33, 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, 0x33, 0x1a, 0x27, 0x65, 0x6e,
87 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f,
88 0x76, 0x33, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
89 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
90 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
91 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
92 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e,
93 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
94 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
95 0x22, 0x95, 0x01, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
96 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4e, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f,
97 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
98 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72,
99 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
100 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x67, 0x72, 0x70, 0x63,
101 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x2f, 0x9a, 0xc5, 0x88, 0x1e, 0x2a, 0x0a, 0x28,
102 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61,
103 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69,
104 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x3d, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65,
105 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
106 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x42,
107 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba,
108 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
109 }
110
111 var (
112 file_envoy_config_trace_v3_service_proto_rawDescOnce sync.Once
113 file_envoy_config_trace_v3_service_proto_rawDescData = file_envoy_config_trace_v3_service_proto_rawDesc
114 )
115
116 func file_envoy_config_trace_v3_service_proto_rawDescGZIP() []byte {
117 file_envoy_config_trace_v3_service_proto_rawDescOnce.Do(func() {
118 file_envoy_config_trace_v3_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_service_proto_rawDescData)
119 })
120 return file_envoy_config_trace_v3_service_proto_rawDescData
121 }
122
123 var file_envoy_config_trace_v3_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
124 var file_envoy_config_trace_v3_service_proto_goTypes = []interface{}{
125 (*TraceServiceConfig)(nil),
126 (*v3.GrpcService)(nil),
127 }
128 var file_envoy_config_trace_v3_service_proto_depIdxs = []int32{
129 1,
130 1,
131 1,
132 1,
133 1,
134 0,
135 }
136
137 func init() { file_envoy_config_trace_v3_service_proto_init() }
138 func file_envoy_config_trace_v3_service_proto_init() {
139 if File_envoy_config_trace_v3_service_proto != nil {
140 return
141 }
142 if !protoimpl.UnsafeEnabled {
143 file_envoy_config_trace_v3_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
144 switch v := v.(*TraceServiceConfig); i {
145 case 0:
146 return &v.state
147 case 1:
148 return &v.sizeCache
149 case 2:
150 return &v.unknownFields
151 default:
152 return nil
153 }
154 }
155 }
156 type x struct{}
157 out := protoimpl.TypeBuilder{
158 File: protoimpl.DescBuilder{
159 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
160 RawDescriptor: file_envoy_config_trace_v3_service_proto_rawDesc,
161 NumEnums: 0,
162 NumMessages: 1,
163 NumExtensions: 0,
164 NumServices: 0,
165 },
166 GoTypes: file_envoy_config_trace_v3_service_proto_goTypes,
167 DependencyIndexes: file_envoy_config_trace_v3_service_proto_depIdxs,
168 MessageInfos: file_envoy_config_trace_v3_service_proto_msgTypes,
169 }.Build()
170 File_envoy_config_trace_v3_service_proto = out.File
171 file_envoy_config_trace_v3_service_proto_rawDesc = nil
172 file_envoy_config_trace_v3_service_proto_goTypes = nil
173 file_envoy_config_trace_v3_service_proto_depIdxs = nil
174 }
175
View as plain text