Debian Codegraph @

envoy/config/core/v3/grpc_method_list.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/core/v3/grpc_method_list.proto
6
7 package corev3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 // A list of gRPC methods which can be used as an allowlist, for example.
26 type GrpcMethodList struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 Services []*GrpcMethodList_Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
32 }
33
34 func (x *GrpcMethodList) Reset() {
35 *x = GrpcMethodList{}
36 if protoimpl.UnsafeEnabled {
37 mi := &file_envoy_config_core_v3_grpc_method_list_proto_msgTypes[0]
38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39 ms.StoreMessageInfo(mi)
40 }
41 }
42
43 func (x *GrpcMethodList) String() string {
44 return protoimpl.X.MessageStringOf(x)
45 }
46
47 func (*GrpcMethodList) ProtoMessage() {}
48
49 func (x *GrpcMethodList) ProtoReflect() protoreflect.Message {
50 mi := &file_envoy_config_core_v3_grpc_method_list_proto_msgTypes[0]
51 if protoimpl.UnsafeEnabled && x != nil {
52 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
53 if ms.LoadMessageInfo() == nil {
54 ms.StoreMessageInfo(mi)
55 }
56 return ms
57 }
58 return mi.MessageOf(x)
59 }
60
61 // Deprecated: Use GrpcMethodList.ProtoReflect.Descriptor instead.
62 func (*GrpcMethodList) Descriptor() ([]byte, []int) {
63 return file_envoy_config_core_v3_grpc_method_list_proto_rawDescGZIP(), []int{0}
64 }
65
66 func (x *GrpcMethodList) GetServices() []*GrpcMethodList_Service {
67 if x != nil {
68 return x.Services
69 }
70 return nil
71 }
72
73 type GrpcMethodList_Service struct {
74 state protoimpl.MessageState
75 sizeCache protoimpl.SizeCache
76 unknownFields protoimpl.UnknownFields
77
78 // The name of the gRPC service.
79 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
80 // The names of the gRPC methods in this service.
81 MethodNames []string `protobuf:"bytes,2,rep,name=method_names,json=methodNames,proto3" json:"method_names,omitempty"`
82 }
83
84 func (x *GrpcMethodList_Service) Reset() {
85 *x = GrpcMethodList_Service{}
86 if protoimpl.UnsafeEnabled {
87 mi := &file_envoy_config_core_v3_grpc_method_list_proto_msgTypes[1]
88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
89 ms.StoreMessageInfo(mi)
90 }
91 }
92
93 func (x *GrpcMethodList_Service) String() string {
94 return protoimpl.X.MessageStringOf(x)
95 }
96
97 func (*GrpcMethodList_Service) ProtoMessage() {}
98
99 func (x *GrpcMethodList_Service) ProtoReflect() protoreflect.Message {
100 mi := &file_envoy_config_core_v3_grpc_method_list_proto_msgTypes[1]
101 if protoimpl.UnsafeEnabled && x != nil {
102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
103 if ms.LoadMessageInfo() == nil {
104 ms.StoreMessageInfo(mi)
105 }
106 return ms
107 }
108 return mi.MessageOf(x)
109 }
110
111 // Deprecated: Use GrpcMethodList_Service.ProtoReflect.Descriptor instead.
112 func (*GrpcMethodList_Service) Descriptor() ([]byte, []int) {
113 return file_envoy_config_core_v3_grpc_method_list_proto_rawDescGZIP(), []int{0, 0}
114 }
115
116 func (x *GrpcMethodList_Service) GetName() string {
117 if x != nil {
118 return x.Name
119 }
120 return ""
121 }
122
123 func (x *GrpcMethodList_Service) GetMethodNames() []string {
124 if x != nil {
125 return x.MethodNames
126 }
127 return nil
128 }
129
130 var File_envoy_config_core_v3_grpc_method_list_proto protoreflect.FileDescriptor
131
132 var file_envoy_config_core_v3_grpc_method_list_proto_rawDesc = []byte{
133 0x0a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
134 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x74, 0x68,
135 0x6f, 0x64, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x65,
136 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65,
137 0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
138 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
139 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
140 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
141 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
142 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a,
143 0x02, 0x0a, 0x0e, 0x47, 0x72, 0x70, 0x63, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4c, 0x69, 0x73,
144 0x74, 0x12, 0x48, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20,
145 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
146 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x4d,
147 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
148 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x84, 0x01, 0x0a, 0x07,
149 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
150 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04,
151 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6e,
152 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92,
153 0x01, 0x02, 0x08, 0x01, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65,
154 0x73, 0x3a, 0x2f, 0x9a, 0xc5, 0x88, 0x1e, 0x2a, 0x0a, 0x28, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
155 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70, 0x63,
156 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69,
157 0x63, 0x65, 0x3a, 0x27, 0x9a, 0xc5, 0x88, 0x1e, 0x22, 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79,
158 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x47, 0x72, 0x70,
159 0x63, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x87, 0x01, 0xba, 0x80,
160 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x22, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
161 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
162 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x13, 0x47, 0x72, 0x70, 0x63,
163 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
164 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e,
165 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74,
166 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f,
167 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x3b, 0x63,
168 0x6f, 0x72, 0x65, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
169 }
170
171 var (
172 file_envoy_config_core_v3_grpc_method_list_proto_rawDescOnce sync.Once
173 file_envoy_config_core_v3_grpc_method_list_proto_rawDescData = file_envoy_config_core_v3_grpc_method_list_proto_rawDesc
174 )
175
176 func file_envoy_config_core_v3_grpc_method_list_proto_rawDescGZIP() []byte {
177 file_envoy_config_core_v3_grpc_method_list_proto_rawDescOnce.Do(func() {
178 file_envoy_config_core_v3_grpc_method_list_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_core_v3_grpc_method_list_proto_rawDescData)
179 })
180 return file_envoy_config_core_v3_grpc_method_list_proto_rawDescData
181 }
182
183 var file_envoy_config_core_v3_grpc_method_list_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
184 var file_envoy_config_core_v3_grpc_method_list_proto_goTypes = []interface{}{
185 (*GrpcMethodList)(nil), // 0: envoy.config.core.v3.GrpcMethodList
186 (*GrpcMethodList_Service)(nil), // 1: envoy.config.core.v3.GrpcMethodList.Service
187 }
188 var file_envoy_config_core_v3_grpc_method_list_proto_depIdxs = []int32{
189 1, // 0: envoy.config.core.v3.GrpcMethodList.services:type_name -> envoy.config.core.v3.GrpcMethodList.Service
190 1, // [1:1] is the sub-list for method output_type
191 1, // [1:1] is the sub-list for method input_type
192 1, // [1:1] is the sub-list for extension type_name
193 1, // [1:1] is the sub-list for extension extendee
194 0, // [0:1] is the sub-list for field type_name
195 }
196
197 func init() { file_envoy_config_core_v3_grpc_method_list_proto_init() }
198 func file_envoy_config_core_v3_grpc_method_list_proto_init() {
199 if File_envoy_config_core_v3_grpc_method_list_proto != nil {
200 return
201 }
202 if !protoimpl.UnsafeEnabled {
203 file_envoy_config_core_v3_grpc_method_list_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
204 switch v := v.(*GrpcMethodList); i {
205 case 0:
206 return &v.state
207 case 1:
208 return &v.sizeCache
209 case 2:
210 return &v.unknownFields
211 default:
212 return nil
213 }
214 }
215 file_envoy_config_core_v3_grpc_method_list_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
216 switch v := v.(*GrpcMethodList_Service); i {
217 case 0:
218 return &v.state
219 case 1:
220 return &v.sizeCache
221 case 2:
222 return &v.unknownFields
223 default:
224 return nil
225 }
226 }
227 }
228 type x struct{}
229 out := protoimpl.TypeBuilder{
230 File: protoimpl.DescBuilder{
231 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
232 RawDescriptor: file_envoy_config_core_v3_grpc_method_list_proto_rawDesc,
233 NumEnums: 0,
234 NumMessages: 2,
235 NumExtensions: 0,
236 NumServices: 0,
237 },
238 GoTypes: file_envoy_config_core_v3_grpc_method_list_proto_goTypes,
239 DependencyIndexes: file_envoy_config_core_v3_grpc_method_list_proto_depIdxs,
240 MessageInfos: file_envoy_config_core_v3_grpc_method_list_proto_msgTypes,
241 }.Build()
242 File_envoy_config_core_v3_grpc_method_list_proto = out.File
243 file_envoy_config_core_v3_grpc_method_list_proto_rawDesc = nil
244 file_envoy_config_core_v3_grpc_method_list_proto_goTypes = nil
245 file_envoy_config_core_v3_grpc_method_list_proto_depIdxs = nil
246 }