Debian Codegraph @

go/xds/annotations/v3/security.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.10
4 // protoc v5.29.3
5 // source: xds/annotations/v3/security.proto
6
7 package v3
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 descriptorpb "google.golang.org/protobuf/types/descriptorpb"
13 reflect "reflect"
14 sync "sync"
15 unsafe "unsafe"
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 FieldSecurityAnnotation struct {
26 state protoimpl.MessageState `protogen:"open.v1"`
27 ConfigureForUntrustedDownstream bool `protobuf:"varint,1,opt,name=configure_for_untrusted_downstream,json=configureForUntrustedDownstream,proto3" json:"configure_for_untrusted_downstream,omitempty"`
28 ConfigureForUntrustedUpstream bool `protobuf:"varint,2,opt,name=configure_for_untrusted_upstream,json=configureForUntrustedUpstream,proto3" json:"configure_for_untrusted_upstream,omitempty"`
29 unknownFields protoimpl.UnknownFields
30 sizeCache protoimpl.SizeCache
31 }
32
33 func (x *FieldSecurityAnnotation) Reset() {
34 *x = FieldSecurityAnnotation{}
35 mi := &file_xds_annotations_v3_security_proto_msgTypes[0]
36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
37 ms.StoreMessageInfo(mi)
38 }
39
40 func (x *FieldSecurityAnnotation) String() string {
41 return protoimpl.X.MessageStringOf(x)
42 }
43
44 func (*FieldSecurityAnnotation) ProtoMessage() {}
45
46 func (x *FieldSecurityAnnotation) ProtoReflect() protoreflect.Message {
47 mi := &file_xds_annotations_v3_security_proto_msgTypes[0]
48 if x != nil {
49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
50 if ms.LoadMessageInfo() == nil {
51 ms.StoreMessageInfo(mi)
52 }
53 return ms
54 }
55 return mi.MessageOf(x)
56 }
57
58 // Deprecated: Use FieldSecurityAnnotation.ProtoReflect.Descriptor instead.
59 func (*FieldSecurityAnnotation) Descriptor() ([]byte, []int) {
60 return file_xds_annotations_v3_security_proto_rawDescGZIP(), []int{0}
61 }
62
63 func (x *FieldSecurityAnnotation) GetConfigureForUntrustedDownstream() bool {
64 if x != nil {
65 return x.ConfigureForUntrustedDownstream
66 }
67 return false
68 }
69
70 func (x *FieldSecurityAnnotation) GetConfigureForUntrustedUpstream() bool {
71 if x != nil {
72 return x.ConfigureForUntrustedUpstream
73 }
74 return false
75 }
76
77 var file_xds_annotations_v3_security_proto_extTypes = []protoimpl.ExtensionInfo{
78 {
79 ExtendedType: (*descriptorpb.FieldOptions)(nil),
80 ExtensionType: (*FieldSecurityAnnotation)(nil),
81 Field: 99044135,
82 Name: "xds.annotations.v3.security",
83 Tag: "bytes,99044135,opt,name=security",
84 Filename: "xds/annotations/v3/security.proto",
85 },
86 }
87
88 // Extension fields to descriptorpb.FieldOptions.
89 var (
90 // optional xds.annotations.v3.FieldSecurityAnnotation security = 99044135;
91 E_Security = &file_xds_annotations_v3_security_proto_extTypes[0]
92 )
93
94 var File_xds_annotations_v3_security_proto protoreflect.FileDescriptor
95
96 const file_xds_annotations_v3_security_proto_rawDesc = "" +
97 "\n" +
98 "!xds/annotations/v3/security.proto\x12\x12xds.annotations.v3\x1a\x1fxds/annotations/v3/status.proto\x1a google/protobuf/descriptor.proto\"\xaf\x01\n" +
99 "\x17FieldSecurityAnnotation\x12K\n" +
100 "\"configure_for_untrusted_downstream\x18\x01 \x01(\bR\x1fconfigureForUntrustedDownstream\x12G\n" +
101 " configure_for_untrusted_upstream\x18\x02 \x01(\bR\x1dconfigureForUntrustedUpstream:i\n" +
102 "\bsecurity\x12\x1d.google.protobuf.FieldOptions\x18\xa7\x96\x9d/ \x01(\v2+.xds.annotations.v3.FieldSecurityAnnotationR\bsecurityB3\xd2Ƥ\xe1\x06\x02\b\x01Z)github.com/cncf/xds/go/xds/annotations/v3b\x06proto3"
103
104 var (
105 file_xds_annotations_v3_security_proto_rawDescOnce sync.Once
106 file_xds_annotations_v3_security_proto_rawDescData []byte
107 )
108
109 func file_xds_annotations_v3_security_proto_rawDescGZIP() []byte {
110 file_xds_annotations_v3_security_proto_rawDescOnce.Do(func() {
111 file_xds_annotations_v3_security_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_xds_annotations_v3_security_proto_rawDesc), len(file_xds_annotations_v3_security_proto_rawDesc)))
112 })
113 return file_xds_annotations_v3_security_proto_rawDescData
114 }
115
116 var file_xds_annotations_v3_security_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
117 var file_xds_annotations_v3_security_proto_goTypes = []any{
118 (*FieldSecurityAnnotation)(nil), // 0: xds.annotations.v3.FieldSecurityAnnotation
119 (*descriptorpb.FieldOptions)(nil), // 1: google.protobuf.FieldOptions
120 }
121 var file_xds_annotations_v3_security_proto_depIdxs = []int32{
122 1, // 0: xds.annotations.v3.security:extendee -> google.protobuf.FieldOptions
123 0, // 1: xds.annotations.v3.security:type_name -> xds.annotations.v3.FieldSecurityAnnotation
124 2, // [2:2] is the sub-list for method output_type
125 2, // [2:2] is the sub-list for method input_type
126 1, // [1:2] is the sub-list for extension type_name
127 0, // [0:1] is the sub-list for extension extendee
128 0, // [0:0] is the sub-list for field type_name
129 }
130
131 func init() { file_xds_annotations_v3_security_proto_init() }
132 func file_xds_annotations_v3_security_proto_init() {
133 if File_xds_annotations_v3_security_proto != nil {
134 return
135 }
136 file_xds_annotations_v3_status_proto_init()
137 type x struct{}
138 out := protoimpl.TypeBuilder{
139 File: protoimpl.DescBuilder{
140 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
141 RawDescriptor: unsafe.Slice(unsafe.StringData(file_xds_annotations_v3_security_proto_rawDesc), len(file_xds_annotations_v3_security_proto_rawDesc)),
142 NumEnums: 0,
143 NumMessages: 1,
144 NumExtensions: 1,
145 NumServices: 0,
146 },
147 GoTypes: file_xds_annotations_v3_security_proto_goTypes,
148 DependencyIndexes: file_xds_annotations_v3_security_proto_depIdxs,
149 MessageInfos: file_xds_annotations_v3_security_proto_msgTypes,
150 ExtensionInfos: file_xds_annotations_v3_security_proto_extTypes,
151 }.Build()
152 File_xds_annotations_v3_security_proto = out.File
153 file_xds_annotations_v3_security_proto_goTypes = nil
154 file_xds_annotations_v3_security_proto_depIdxs = nil
155 }