1
2
3
4
5
6
7 package envoy_config_trace_v4alpha
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 v4alpha "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v4alpha"
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 *v4alpha.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_v4alpha_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_v4alpha_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_v4alpha_service_proto_rawDescGZIP(), []int{0}
71 }
72
73 func (x *TraceServiceConfig) GetGrpcService() *v4alpha.GrpcService {
74 if x != nil {
75 return x.GrpcService
76 }
77 return nil
78 }
79
80 var File_envoy_config_trace_v4alpha_service_proto protoreflect.FileDescriptor
81
82 var file_envoy_config_trace_v4alpha_service_proto_rawDesc = []byte{
83 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
84 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x73, 0x65, 0x72,
85 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x65, 0x6e, 0x76, 0x6f,
86 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
87 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f,
88 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68,
89 0x61, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70,
90 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
91 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
92 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
93 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67,
94 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
95 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
96 0x9a, 0x01, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
97 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x53, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73,
98 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65,
99 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
100 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72,
101 0x76, 0x69, 0x63, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0b,
102 0x67, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3a, 0x2f, 0x9a, 0xc5, 0x88,
103 0x1e, 0x2a, 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
104 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53,
105 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x42, 0x0a, 0x28,
106 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e,
107 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65,
108 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
109 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03,
110 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
111 }
112
113 var (
114 file_envoy_config_trace_v4alpha_service_proto_rawDescOnce sync.Once
115 file_envoy_config_trace_v4alpha_service_proto_rawDescData = file_envoy_config_trace_v4alpha_service_proto_rawDesc
116 )
117
118 func file_envoy_config_trace_v4alpha_service_proto_rawDescGZIP() []byte {
119 file_envoy_config_trace_v4alpha_service_proto_rawDescOnce.Do(func() {
120 file_envoy_config_trace_v4alpha_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v4alpha_service_proto_rawDescData)
121 })
122 return file_envoy_config_trace_v4alpha_service_proto_rawDescData
123 }
124
125 var file_envoy_config_trace_v4alpha_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
126 var file_envoy_config_trace_v4alpha_service_proto_goTypes = []interface{}{
127 (*TraceServiceConfig)(nil),
128 (*v4alpha.GrpcService)(nil),
129 }
130 var file_envoy_config_trace_v4alpha_service_proto_depIdxs = []int32{
131 1,
132 1,
133 1,
134 1,
135 1,
136 0,
137 }
138
139 func init() { file_envoy_config_trace_v4alpha_service_proto_init() }
140 func file_envoy_config_trace_v4alpha_service_proto_init() {
141 if File_envoy_config_trace_v4alpha_service_proto != nil {
142 return
143 }
144 if !protoimpl.UnsafeEnabled {
145 file_envoy_config_trace_v4alpha_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
146 switch v := v.(*TraceServiceConfig); i {
147 case 0:
148 return &v.state
149 case 1:
150 return &v.sizeCache
151 case 2:
152 return &v.unknownFields
153 default:
154 return nil
155 }
156 }
157 }
158 type x struct{}
159 out := protoimpl.TypeBuilder{
160 File: protoimpl.DescBuilder{
161 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
162 RawDescriptor: file_envoy_config_trace_v4alpha_service_proto_rawDesc,
163 NumEnums: 0,
164 NumMessages: 1,
165 NumExtensions: 0,
166 NumServices: 0,
167 },
168 GoTypes: file_envoy_config_trace_v4alpha_service_proto_goTypes,
169 DependencyIndexes: file_envoy_config_trace_v4alpha_service_proto_depIdxs,
170 MessageInfos: file_envoy_config_trace_v4alpha_service_proto_msgTypes,
171 }.Build()
172 File_envoy_config_trace_v4alpha_service_proto = out.File
173 file_envoy_config_trace_v4alpha_service_proto_rawDesc = nil
174 file_envoy_config_trace_v4alpha_service_proto_goTypes = nil
175 file_envoy_config_trace_v4alpha_service_proto_depIdxs = nil
176 }
177
View as plain text