Debian Codegraph @

go/xds/type/matcher/v3/domain.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/type/matcher/v3/domain.proto
6
7 package v3
8
9 import (
10 _ "github.com/cncf/xds/go/xds/annotations/v3"
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 unsafe "unsafe"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 type ServerNameMatcher struct {
27 state protoimpl.MessageState `protogen:"open.v1"`
28 DomainMatchers []*ServerNameMatcher_DomainMatcher `protobuf:"bytes,1,rep,name=domain_matchers,json=domainMatchers,proto3" json:"domain_matchers,omitempty"`
29 unknownFields protoimpl.UnknownFields
30 sizeCache protoimpl.SizeCache
31 }
32
33 func (x *ServerNameMatcher) Reset() {
34 *x = ServerNameMatcher{}
35 mi := &file_xds_type_matcher_v3_domain_proto_msgTypes[0]
36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
37 ms.StoreMessageInfo(mi)
38 }
39
40 func (x *ServerNameMatcher) String() string {
41 return protoimpl.X.MessageStringOf(x)
42 }
43
44 func (*ServerNameMatcher) ProtoMessage() {}
45
46 func (x *ServerNameMatcher) ProtoReflect() protoreflect.Message {
47 mi := &file_xds_type_matcher_v3_domain_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 ServerNameMatcher.ProtoReflect.Descriptor instead.
59 func (*ServerNameMatcher) Descriptor() ([]byte, []int) {
60 return file_xds_type_matcher_v3_domain_proto_rawDescGZIP(), []int{0}
61 }
62
63 func (x *ServerNameMatcher) GetDomainMatchers() []*ServerNameMatcher_DomainMatcher {
64 if x != nil {
65 return x.DomainMatchers
66 }
67 return nil
68 }
69
70 type ServerNameMatcher_DomainMatcher struct {
71 state protoimpl.MessageState `protogen:"open.v1"`
72 Domains []string `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
73 OnMatch *Matcher_OnMatch `protobuf:"bytes,2,opt,name=on_match,json=onMatch,proto3" json:"on_match,omitempty"`
74 unknownFields protoimpl.UnknownFields
75 sizeCache protoimpl.SizeCache
76 }
77
78 func (x *ServerNameMatcher_DomainMatcher) Reset() {
79 *x = ServerNameMatcher_DomainMatcher{}
80 mi := &file_xds_type_matcher_v3_domain_proto_msgTypes[1]
81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
82 ms.StoreMessageInfo(mi)
83 }
84
85 func (x *ServerNameMatcher_DomainMatcher) String() string {
86 return protoimpl.X.MessageStringOf(x)
87 }
88
89 func (*ServerNameMatcher_DomainMatcher) ProtoMessage() {}
90
91 func (x *ServerNameMatcher_DomainMatcher) ProtoReflect() protoreflect.Message {
92 mi := &file_xds_type_matcher_v3_domain_proto_msgTypes[1]
93 if x != nil {
94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
95 if ms.LoadMessageInfo() == nil {
96 ms.StoreMessageInfo(mi)
97 }
98 return ms
99 }
100 return mi.MessageOf(x)
101 }
102
103 // Deprecated: Use ServerNameMatcher_DomainMatcher.ProtoReflect.Descriptor instead.
104 func (*ServerNameMatcher_DomainMatcher) Descriptor() ([]byte, []int) {
105 return file_xds_type_matcher_v3_domain_proto_rawDescGZIP(), []int{0, 0}
106 }
107
108 func (x *ServerNameMatcher_DomainMatcher) GetDomains() []string {
109 if x != nil {
110 return x.Domains
111 }
112 return nil
113 }
114
115 func (x *ServerNameMatcher_DomainMatcher) GetOnMatch() *Matcher_OnMatch {
116 if x != nil {
117 return x.OnMatch
118 }
119 return nil
120 }
121
122 var File_xds_type_matcher_v3_domain_proto protoreflect.FileDescriptor
123
124 const file_xds_type_matcher_v3_domain_proto_rawDesc = "" +
125 "\n" +
126 " xds/type/matcher/v3/domain.proto\x12\x13xds.type.matcher.v3\x1a\x1fxds/annotations/v3/status.proto\x1a!xds/type/matcher/v3/matcher.proto\x1a\x17validate/validate.proto\"\xe8\x01\n" +
127 "\x11ServerNameMatcher\x12]\n" +
128 "\x0fdomain_matchers\x18\x01 \x03(\v24.xds.type.matcher.v3.ServerNameMatcher.DomainMatcherR\x0edomainMatchers\x1at\n" +
129 "\rDomainMatcher\x12\"\n" +
130 "\adomains\x18\x01 \x03(\tB\b\xfaB\x05\x92\x01\x02\b\x01R\adomains\x12?\n" +
131 "\bon_match\x18\x02 \x01(\v2$.xds.type.matcher.v3.Matcher.OnMatchR\aonMatchBn\xd2Ƥ\xe1\x06\x02\b\x01\n" +
132 "\x1ecom.github.xds.type.matcher.v3B\x16ServerNameMatcherProtoP\x01Z*github.com/cncf/xds/go/xds/type/matcher/v3b\x06proto3"
133
134 var (
135 file_xds_type_matcher_v3_domain_proto_rawDescOnce sync.Once
136 file_xds_type_matcher_v3_domain_proto_rawDescData []byte
137 )
138
139 func file_xds_type_matcher_v3_domain_proto_rawDescGZIP() []byte {
140 file_xds_type_matcher_v3_domain_proto_rawDescOnce.Do(func() {
141 file_xds_type_matcher_v3_domain_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_xds_type_matcher_v3_domain_proto_rawDesc), len(file_xds_type_matcher_v3_domain_proto_rawDesc)))
142 })
143 return file_xds_type_matcher_v3_domain_proto_rawDescData
144 }
145
146 var file_xds_type_matcher_v3_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
147 var file_xds_type_matcher_v3_domain_proto_goTypes = []any{
148 (*ServerNameMatcher)(nil), // 0: xds.type.matcher.v3.ServerNameMatcher
149 (*ServerNameMatcher_DomainMatcher)(nil), // 1: xds.type.matcher.v3.ServerNameMatcher.DomainMatcher
150 (*Matcher_OnMatch)(nil), // 2: xds.type.matcher.v3.Matcher.OnMatch
151 }
152 var file_xds_type_matcher_v3_domain_proto_depIdxs = []int32{
153 1, // 0: xds.type.matcher.v3.ServerNameMatcher.domain_matchers:type_name -> xds.type.matcher.v3.ServerNameMatcher.DomainMatcher
154 2, // 1: xds.type.matcher.v3.ServerNameMatcher.DomainMatcher.on_match:type_name -> xds.type.matcher.v3.Matcher.OnMatch
155 2, // [2:2] is the sub-list for method output_type
156 2, // [2:2] is the sub-list for method input_type
157 2, // [2:2] is the sub-list for extension type_name
158 2, // [2:2] is the sub-list for extension extendee
159 0, // [0:2] is the sub-list for field type_name
160 }
161
162 func init() { file_xds_type_matcher_v3_domain_proto_init() }
163 func file_xds_type_matcher_v3_domain_proto_init() {
164 if File_xds_type_matcher_v3_domain_proto != nil {
165 return
166 }
167 file_xds_type_matcher_v3_matcher_proto_init()
168 type x struct{}
169 out := protoimpl.TypeBuilder{
170 File: protoimpl.DescBuilder{
171 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
172 RawDescriptor: unsafe.Slice(unsafe.StringData(file_xds_type_matcher_v3_domain_proto_rawDesc), len(file_xds_type_matcher_v3_domain_proto_rawDesc)),
173 NumEnums: 0,
174 NumMessages: 2,
175 NumExtensions: 0,
176 NumServices: 0,
177 },
178 GoTypes: file_xds_type_matcher_v3_domain_proto_goTypes,
179 DependencyIndexes: file_xds_type_matcher_v3_domain_proto_depIdxs,
180 MessageInfos: file_xds_type_matcher_v3_domain_proto_msgTypes,
181 }.Build()
182 File_xds_type_matcher_v3_domain_proto = out.File
183 file_xds_type_matcher_v3_domain_proto_goTypes = nil
184 file_xds_type_matcher_v3_domain_proto_depIdxs = nil
185 }