github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/type/matcher/node.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/type/matcher/node.proto 6 7 package envoy_type_matcher 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 proto "github.com/golang/protobuf/proto" 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 // This is a compile-time assertion that a sufficiently up-to-date version 26 // of the legacy proto package is being used. 27 const _ = proto.ProtoPackageIsVersion4 28 29 // Specifies the way to match a Node. 30 // The match follows AND semantics. 31 type NodeMatcher struct { 32 state protoimpl.MessageState 33 sizeCache protoimpl.SizeCache 34 unknownFields protoimpl.UnknownFields 35 36 // Specifies match criteria on the node id. 37 NodeId *StringMatcher `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 38 // Specifies match criteria on the node metadata. 39 NodeMetadatas []*StructMatcher `protobuf:"bytes,2,rep,name=node_metadatas,json=nodeMetadatas,proto3" json:"node_metadatas,omitempty"` 40 } 41 42 func (x *NodeMatcher) Reset() { 43 *x = NodeMatcher{} 44 if protoimpl.UnsafeEnabled { 45 mi := &file_envoy_type_matcher_node_proto_msgTypes[0] 46 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 47 ms.StoreMessageInfo(mi) 48 } 49 } 50 51 func (x *NodeMatcher) String() string { 52 return protoimpl.X.MessageStringOf(x) 53 } 54 55 func (*NodeMatcher) ProtoMessage() {} 56 57 func (x *NodeMatcher) ProtoReflect() protoreflect.Message { 58 mi := &file_envoy_type_matcher_node_proto_msgTypes[0] 59 if protoimpl.UnsafeEnabled && x != nil { 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 if ms.LoadMessageInfo() == nil { 62 ms.StoreMessageInfo(mi) 63 } 64 return ms 65 } 66 return mi.MessageOf(x) 67 } 68 69 // Deprecated: Use NodeMatcher.ProtoReflect.Descriptor instead. 70 func (*NodeMatcher) Descriptor() ([]byte, []int) { 71 return file_envoy_type_matcher_node_proto_rawDescGZIP(), []int{0} 72 } 73 74 func (x *NodeMatcher) GetNodeId() *StringMatcher { 75 if x != nil { 76 return x.NodeId 77 } 78 return nil 79 } 80 81 func (x *NodeMatcher) GetNodeMetadatas() []*StructMatcher { 82 if x != nil { 83 return x.NodeMetadatas 84 } 85 return nil 86 } 87 88 var File_envoy_type_matcher_node_proto protoreflect.FileDescriptor 89 90 var file_envoy_type_matcher_node_proto_rawDesc = []byte{ 91 0x0a, 0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 92 0x63, 0x68, 0x65, 0x72, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 93 0x12, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 94 0x68, 0x65, 0x72, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 95 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 96 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 97 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 98 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 99 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 100 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x01, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x61, 0x74, 101 0x63, 0x68, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 102 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 103 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 104 0x67, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 105 0x12, 0x48, 0x0a, 0x0e, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 106 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 107 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x53, 0x74, 108 0x72, 0x75, 0x63, 0x74, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 109 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x73, 0x42, 0x37, 0x0a, 0x20, 0x69, 0x6f, 110 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 111 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x42, 0x09, 112 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 113 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 114 } 115 116 var ( 117 file_envoy_type_matcher_node_proto_rawDescOnce sync.Once 118 file_envoy_type_matcher_node_proto_rawDescData = file_envoy_type_matcher_node_proto_rawDesc 119 ) 120 121 func file_envoy_type_matcher_node_proto_rawDescGZIP() []byte { 122 file_envoy_type_matcher_node_proto_rawDescOnce.Do(func() { 123 file_envoy_type_matcher_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_matcher_node_proto_rawDescData) 124 }) 125 return file_envoy_type_matcher_node_proto_rawDescData 126 } 127 128 var file_envoy_type_matcher_node_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 129 var file_envoy_type_matcher_node_proto_goTypes = []interface{}{ 130 (*NodeMatcher)(nil), // 0: envoy.type.matcher.NodeMatcher 131 (*StringMatcher)(nil), // 1: envoy.type.matcher.StringMatcher 132 (*StructMatcher)(nil), // 2: envoy.type.matcher.StructMatcher 133 } 134 var file_envoy_type_matcher_node_proto_depIdxs = []int32{ 135 1, // 0: envoy.type.matcher.NodeMatcher.node_id:type_name -> envoy.type.matcher.StringMatcher 136 2, // 1: envoy.type.matcher.NodeMatcher.node_metadatas:type_name -> envoy.type.matcher.StructMatcher 137 2, // [2:2] is the sub-list for method output_type 138 2, // [2:2] is the sub-list for method input_type 139 2, // [2:2] is the sub-list for extension type_name 140 2, // [2:2] is the sub-list for extension extendee 141 0, // [0:2] is the sub-list for field type_name 142 } 143 144 func init() { file_envoy_type_matcher_node_proto_init() } 145 func file_envoy_type_matcher_node_proto_init() { 146 if File_envoy_type_matcher_node_proto != nil { 147 return 148 } 149 file_envoy_type_matcher_string_proto_init() 150 file_envoy_type_matcher_struct_proto_init() 151 if !protoimpl.UnsafeEnabled { 152 file_envoy_type_matcher_node_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 153 switch v := v.(*NodeMatcher); i { 154 case 0: 155 return &v.state 156 case 1: 157 return &v.sizeCache 158 case 2: 159 return &v.unknownFields 160 default: 161 return nil 162 } 163 } 164 } 165 type x struct{} 166 out := protoimpl.TypeBuilder{ 167 File: protoimpl.DescBuilder{ 168 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 169 RawDescriptor: file_envoy_type_matcher_node_proto_rawDesc, 170 NumEnums: 0, 171 NumMessages: 1, 172 NumExtensions: 0, 173 NumServices: 0, 174 }, 175 GoTypes: file_envoy_type_matcher_node_proto_goTypes, 176 DependencyIndexes: file_envoy_type_matcher_node_proto_depIdxs, 177 MessageInfos: file_envoy_type_matcher_node_proto_msgTypes, 178 }.Build() 179 File_envoy_type_matcher_node_proto = out.File 180 file_envoy_type_matcher_node_proto_rawDesc = nil 181 file_envoy_type_matcher_node_proto_goTypes = nil 182 file_envoy_type_matcher_node_proto_depIdxs = nil 183 }