Debian Codegraph @

envoy/config/core/v3/http_service.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/http_service.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 // HTTP service configuration.
26 type HttpService struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 // The service's HTTP URI. For example:
32 //
33 // .. code-block:: yaml
34 //
35 // http_uri:
36 // uri: https://www.myserviceapi.com/v1/data
37 // cluster: www.myserviceapi.com|443
38 HttpUri *HttpUri `protobuf:"bytes,1,opt,name=http_uri,json=httpUri,proto3" json:"http_uri,omitempty"`
39 // Specifies a list of HTTP headers that should be added to each request
40 // handled by this virtual host.
41 RequestHeadersToAdd []*HeaderValueOption `protobuf:"bytes,2,rep,name=request_headers_to_add,json=requestHeadersToAdd,proto3" json:"request_headers_to_add,omitempty"`
42 }
43
44 func (x *HttpService) Reset() {
45 *x = HttpService{}
46 if protoimpl.UnsafeEnabled {
47 mi := &file_envoy_config_core_v3_http_service_proto_msgTypes[0]
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 ms.StoreMessageInfo(mi)
50 }
51 }
52
53 func (x *HttpService) String() string {
54 return protoimpl.X.MessageStringOf(x)
55 }
56
57 func (*HttpService) ProtoMessage() {}
58
59 func (x *HttpService) ProtoReflect() protoreflect.Message {
60 mi := &file_envoy_config_core_v3_http_service_proto_msgTypes[0]
61 if protoimpl.UnsafeEnabled && x != nil {
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 if ms.LoadMessageInfo() == nil {
64 ms.StoreMessageInfo(mi)
65 }
66 return ms
67 }
68 return mi.MessageOf(x)
69 }
70
71 // Deprecated: Use HttpService.ProtoReflect.Descriptor instead.
72 func (*HttpService) Descriptor() ([]byte, []int) {
73 return file_envoy_config_core_v3_http_service_proto_rawDescGZIP(), []int{0}
74 }
75
76 func (x *HttpService) GetHttpUri() *HttpUri {
77 if x != nil {
78 return x.HttpUri
79 }
80 return nil
81 }
82
83 func (x *HttpService) GetRequestHeadersToAdd() []*HeaderValueOption {
84 if x != nil {
85 return x.RequestHeadersToAdd
86 }
87 return nil
88 }
89
90 var File_envoy_config_core_v3_http_service_proto protoreflect.FileDescriptor
91
92 var file_envoy_config_core_v3_http_service_proto_rawDesc = []byte{
93 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
94 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x73, 0x65, 0x72, 0x76,
95 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79,
96 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a,
97 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f,
98 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
99 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
100 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x75, 0x72, 0x69, 0x2e,
101 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
102 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70,
103 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
104 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x01,
105 0x0a, 0x0b, 0x48, 0x74, 0x74, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x38, 0x0a,
106 0x08, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
107 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
108 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x55, 0x72, 0x69, 0x52, 0x07,
109 0x68, 0x74, 0x74, 0x70, 0x55, 0x72, 0x69, 0x12, 0x67, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65,
110 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64,
111 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
112 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x48,
113 0x65, 0x61, 0x64, 0x65, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
114 0x42, 0x09, 0xfa, 0x42, 0x06, 0x92, 0x01, 0x03, 0x10, 0xe8, 0x07, 0x52, 0x13, 0x72, 0x65, 0x71,
115 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x64, 0x64,
116 0x42, 0x84, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x22, 0x69, 0x6f, 0x2e,
117 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
118 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42,
119 0x10, 0x48, 0x74, 0x74, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74,
120 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
121 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f,
122 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f,
123 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33,
124 0x3b, 0x63, 0x6f, 0x72, 0x65, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
125 }
126
127 var (
128 file_envoy_config_core_v3_http_service_proto_rawDescOnce sync.Once
129 file_envoy_config_core_v3_http_service_proto_rawDescData = file_envoy_config_core_v3_http_service_proto_rawDesc
130 )
131
132 func file_envoy_config_core_v3_http_service_proto_rawDescGZIP() []byte {
133 file_envoy_config_core_v3_http_service_proto_rawDescOnce.Do(func() {
134 file_envoy_config_core_v3_http_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_core_v3_http_service_proto_rawDescData)
135 })
136 return file_envoy_config_core_v3_http_service_proto_rawDescData
137 }
138
139 var file_envoy_config_core_v3_http_service_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
140 var file_envoy_config_core_v3_http_service_proto_goTypes = []interface{}{
141 (*HttpService)(nil), // 0: envoy.config.core.v3.HttpService
142 (*HttpUri)(nil), // 1: envoy.config.core.v3.HttpUri
143 (*HeaderValueOption)(nil), // 2: envoy.config.core.v3.HeaderValueOption
144 }
145 var file_envoy_config_core_v3_http_service_proto_depIdxs = []int32{
146 1, // 0: envoy.config.core.v3.HttpService.http_uri:type_name -> envoy.config.core.v3.HttpUri
147 2, // 1: envoy.config.core.v3.HttpService.request_headers_to_add:type_name -> envoy.config.core.v3.HeaderValueOption
148 2, // [2:2] is the sub-list for method output_type
149 2, // [2:2] is the sub-list for method input_type
150 2, // [2:2] is the sub-list for extension type_name
151 2, // [2:2] is the sub-list for extension extendee
152 0, // [0:2] is the sub-list for field type_name
153 }
154
155 func init() { file_envoy_config_core_v3_http_service_proto_init() }
156 func file_envoy_config_core_v3_http_service_proto_init() {
157 if File_envoy_config_core_v3_http_service_proto != nil {
158 return
159 }
160 file_envoy_config_core_v3_base_proto_init()
161 file_envoy_config_core_v3_http_uri_proto_init()
162 if !protoimpl.UnsafeEnabled {
163 file_envoy_config_core_v3_http_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
164 switch v := v.(*HttpService); i {
165 case 0:
166 return &v.state
167 case 1:
168 return &v.sizeCache
169 case 2:
170 return &v.unknownFields
171 default:
172 return nil
173 }
174 }
175 }
176 type x struct{}
177 out := protoimpl.TypeBuilder{
178 File: protoimpl.DescBuilder{
179 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
180 RawDescriptor: file_envoy_config_core_v3_http_service_proto_rawDesc,
181 NumEnums: 0,
182 NumMessages: 1,
183 NumExtensions: 0,
184 NumServices: 0,
185 },
186 GoTypes: file_envoy_config_core_v3_http_service_proto_goTypes,
187 DependencyIndexes: file_envoy_config_core_v3_http_service_proto_depIdxs,
188 MessageInfos: file_envoy_config_core_v3_http_service_proto_msgTypes,
189 }.Build()
190 File_envoy_config_core_v3_http_service_proto = out.File
191 file_envoy_config_core_v3_http_service_proto_rawDesc = nil
192 file_envoy_config_core_v3_http_service_proto_goTypes = nil
193 file_envoy_config_core_v3_http_service_proto_depIdxs = nil
194 }