Debian Codegraph @

envoy/config/grpc_credential/v3/file_based_metadata.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/grpc_credential/v3/file_based_metadata.proto
6
7 package grpc_credentialv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
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 type FileBasedMetadataConfig struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 // Location or inline data of secret to use for authentication of the Google gRPC connection
31 // this secret will be attached to a header of the gRPC connection
32 SecretData *v3.DataSource `protobuf:"bytes,1,opt,name=secret_data,json=secretData,proto3" json:"secret_data,omitempty"`
33 // Metadata header key to use for sending the secret data
34 // if no header key is set, "authorization" header will be used
35 HeaderKey string `protobuf:"bytes,2,opt,name=header_key,json=headerKey,proto3" json:"header_key,omitempty"`
36 // Prefix to prepend to the secret in the metadata header
37 // if no prefix is set, the default is to use no prefix
38 HeaderPrefix string `protobuf:"bytes,3,opt,name=header_prefix,json=headerPrefix,proto3" json:"header_prefix,omitempty"`
39 }
40
41 func (x *FileBasedMetadataConfig) Reset() {
42 *x = FileBasedMetadataConfig{}
43 if protoimpl.UnsafeEnabled {
44 mi := &file_envoy_config_grpc_credential_v3_file_based_metadata_proto_msgTypes[0]
45 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
46 ms.StoreMessageInfo(mi)
47 }
48 }
49
50 func (x *FileBasedMetadataConfig) String() string {
51 return protoimpl.X.MessageStringOf(x)
52 }
53
54 func (*FileBasedMetadataConfig) ProtoMessage() {}
55
56 func (x *FileBasedMetadataConfig) ProtoReflect() protoreflect.Message {
57 mi := &file_envoy_config_grpc_credential_v3_file_based_metadata_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 FileBasedMetadataConfig.ProtoReflect.Descriptor instead.
69 func (*FileBasedMetadataConfig) Descriptor() ([]byte, []int) {
70 return file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDescGZIP(), []int{0}
71 }
72
73 func (x *FileBasedMetadataConfig) GetSecretData() *v3.DataSource {
74 if x != nil {
75 return x.SecretData
76 }
77 return nil
78 }
79
80 func (x *FileBasedMetadataConfig) GetHeaderKey() string {
81 if x != nil {
82 return x.HeaderKey
83 }
84 return ""
85 }
86
87 func (x *FileBasedMetadataConfig) GetHeaderPrefix() string {
88 if x != nil {
89 return x.HeaderPrefix
90 }
91 return ""
92 }
93
94 var File_envoy_config_grpc_credential_v3_file_based_metadata_proto protoreflect.FileDescriptor
95
96 var file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDesc = []byte{
97 0x0a, 0x39, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67,
98 0x72, 0x70, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2f, 0x76,
99 0x33, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x74,
100 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x65, 0x6e, 0x76,
101 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x63,
102 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e,
103 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f,
104 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x75,
105 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
106 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
107 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
108 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21,
109 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
110 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
111 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x65, 0x64, 0x4d,
112 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x49, 0x0a,
113 0x0b, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
114 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
115 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x53, 0x6f,
116 0x75, 0x72, 0x63, 0x65, 0x42, 0x06, 0xb8, 0xb7, 0x8b, 0xa4, 0x02, 0x01, 0x52, 0x0a, 0x73, 0x65,
117 0x63, 0x72, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x64,
118 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65,
119 0x61, 0x64, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x65,
120 0x72, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
121 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x3a, 0x43, 0x9a, 0xc5,
122 0x88, 0x1e, 0x3e, 0x0a, 0x3c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
123 0x67, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61,
124 0x6c, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x61,
125 0x73, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69,
126 0x67, 0x42, 0xab, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x2d, 0x69, 0x6f,
127 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
128 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x63, 0x72,
129 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x76, 0x33, 0x42, 0x16, 0x46, 0x69, 0x6c,
130 0x65, 0x42, 0x61, 0x73, 0x65, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x50, 0x72,
131 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x58, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
132 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d,
133 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e,
134 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f,
135 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2f, 0x76, 0x33, 0x3b, 0x67, 0x72,
136 0x70, 0x63, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x76, 0x33, 0x62,
137 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
138 }
139
140 var (
141 file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDescOnce sync.Once
142 file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDescData = file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDesc
143 )
144
145 func file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDescGZIP() []byte {
146 file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDescOnce.Do(func() {
147 file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDescData)
148 })
149 return file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDescData
150 }
151
152 var file_envoy_config_grpc_credential_v3_file_based_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
153 var file_envoy_config_grpc_credential_v3_file_based_metadata_proto_goTypes = []interface{}{
154 (*FileBasedMetadataConfig)(nil), // 0: envoy.config.grpc_credential.v3.FileBasedMetadataConfig
155 (*v3.DataSource)(nil), // 1: envoy.config.core.v3.DataSource
156 }
157 var file_envoy_config_grpc_credential_v3_file_based_metadata_proto_depIdxs = []int32{
158 1, // 0: envoy.config.grpc_credential.v3.FileBasedMetadataConfig.secret_data:type_name -> envoy.config.core.v3.DataSource
159 1, // [1:1] is the sub-list for method output_type
160 1, // [1:1] is the sub-list for method input_type
161 1, // [1:1] is the sub-list for extension type_name
162 1, // [1:1] is the sub-list for extension extendee
163 0, // [0:1] is the sub-list for field type_name
164 }
165
166 func init() { file_envoy_config_grpc_credential_v3_file_based_metadata_proto_init() }
167 func file_envoy_config_grpc_credential_v3_file_based_metadata_proto_init() {
168 if File_envoy_config_grpc_credential_v3_file_based_metadata_proto != nil {
169 return
170 }
171 if !protoimpl.UnsafeEnabled {
172 file_envoy_config_grpc_credential_v3_file_based_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
173 switch v := v.(*FileBasedMetadataConfig); i {
174 case 0:
175 return &v.state
176 case 1:
177 return &v.sizeCache
178 case 2:
179 return &v.unknownFields
180 default:
181 return nil
182 }
183 }
184 }
185 type x struct{}
186 out := protoimpl.TypeBuilder{
187 File: protoimpl.DescBuilder{
188 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
189 RawDescriptor: file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDesc,
190 NumEnums: 0,
191 NumMessages: 1,
192 NumExtensions: 0,
193 NumServices: 0,
194 },
195 GoTypes: file_envoy_config_grpc_credential_v3_file_based_metadata_proto_goTypes,
196 DependencyIndexes: file_envoy_config_grpc_credential_v3_file_based_metadata_proto_depIdxs,
197 MessageInfos: file_envoy_config_grpc_credential_v3_file_based_metadata_proto_msgTypes,
198 }.Build()
199 File_envoy_config_grpc_credential_v3_file_based_metadata_proto = out.File
200 file_envoy_config_grpc_credential_v3_file_based_metadata_proto_rawDesc = nil
201 file_envoy_config_grpc_credential_v3_file_based_metadata_proto_goTypes = nil
202 file_envoy_config_grpc_credential_v3_file_based_metadata_proto_depIdxs = nil
203 }