gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/extensions/clusters/aggregate/v3/cluster.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/extensions/clusters/aggregate/v3/cluster.proto 6 7 package envoy_extensions_clusters_aggregate_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/envoyproxy/protoc-gen-validate/validate" 12 proto "github.com/golang/protobuf/proto" 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 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 // This is a compile-time assertion that a sufficiently up-to-date version 27 // of the legacy proto package is being used. 28 const _ = proto.ProtoPackageIsVersion4 29 30 // Configuration for the aggregate cluster. See the :ref:`architecture overview 31 // <arch_overview_aggregate_cluster>` for more information. 32 // [#extension: envoy.clusters.aggregate] 33 type ClusterConfig struct { 34 state protoimpl.MessageState 35 sizeCache protoimpl.SizeCache 36 unknownFields protoimpl.UnknownFields 37 38 // Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they 39 // appear in this list. 40 Clusters []string `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` 41 } 42 43 func (x *ClusterConfig) Reset() { 44 *x = ClusterConfig{} 45 if protoimpl.UnsafeEnabled { 46 mi := &file_envoy_extensions_clusters_aggregate_v3_cluster_proto_msgTypes[0] 47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 48 ms.StoreMessageInfo(mi) 49 } 50 } 51 52 func (x *ClusterConfig) String() string { 53 return protoimpl.X.MessageStringOf(x) 54 } 55 56 func (*ClusterConfig) ProtoMessage() {} 57 58 func (x *ClusterConfig) ProtoReflect() protoreflect.Message { 59 mi := &file_envoy_extensions_clusters_aggregate_v3_cluster_proto_msgTypes[0] 60 if protoimpl.UnsafeEnabled && x != nil { 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 if ms.LoadMessageInfo() == nil { 63 ms.StoreMessageInfo(mi) 64 } 65 return ms 66 } 67 return mi.MessageOf(x) 68 } 69 70 // Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead. 71 func (*ClusterConfig) Descriptor() ([]byte, []int) { 72 return file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDescGZIP(), []int{0} 73 } 74 75 func (x *ClusterConfig) GetClusters() []string { 76 if x != nil { 77 return x.Clusters 78 } 79 return nil 80 } 81 82 var File_envoy_extensions_clusters_aggregate_v3_cluster_proto protoreflect.FileDescriptor 83 84 var file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDesc = []byte{ 85 0x0a, 0x34, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 86 0x6e, 0x73, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x61, 0x67, 0x67, 0x72, 87 0x65, 0x67, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 88 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 89 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 90 0x73, 0x2e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1d, 91 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 92 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 93 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 94 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 95 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 96 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x0d, 0x43, 0x6c, 0x75, 97 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x63, 0x6c, 98 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x08, 0xfa, 0x42, 99 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 100 0x3a, 0x3b, 0x9a, 0xc5, 0x88, 0x1e, 0x36, 0x0a, 0x34, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 101 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x61, 0x67, 102 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 103 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x4e, 0x0a, 104 0x34, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 105 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 106 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 107 0x74, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 108 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 109 0x72, 0x6f, 0x74, 0x6f, 0x33, 110 } 111 112 var ( 113 file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDescOnce sync.Once 114 file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDescData = file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDesc 115 ) 116 117 func file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDescGZIP() []byte { 118 file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDescOnce.Do(func() { 119 file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDescData) 120 }) 121 return file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDescData 122 } 123 124 var file_envoy_extensions_clusters_aggregate_v3_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 125 var file_envoy_extensions_clusters_aggregate_v3_cluster_proto_goTypes = []interface{}{ 126 (*ClusterConfig)(nil), // 0: envoy.extensions.clusters.aggregate.v3.ClusterConfig 127 } 128 var file_envoy_extensions_clusters_aggregate_v3_cluster_proto_depIdxs = []int32{ 129 0, // [0:0] is the sub-list for method output_type 130 0, // [0:0] is the sub-list for method input_type 131 0, // [0:0] is the sub-list for extension type_name 132 0, // [0:0] is the sub-list for extension extendee 133 0, // [0:0] is the sub-list for field type_name 134 } 135 136 func init() { file_envoy_extensions_clusters_aggregate_v3_cluster_proto_init() } 137 func file_envoy_extensions_clusters_aggregate_v3_cluster_proto_init() { 138 if File_envoy_extensions_clusters_aggregate_v3_cluster_proto != nil { 139 return 140 } 141 if !protoimpl.UnsafeEnabled { 142 file_envoy_extensions_clusters_aggregate_v3_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 143 switch v := v.(*ClusterConfig); i { 144 case 0: 145 return &v.state 146 case 1: 147 return &v.sizeCache 148 case 2: 149 return &v.unknownFields 150 default: 151 return nil 152 } 153 } 154 } 155 type x struct{} 156 out := protoimpl.TypeBuilder{ 157 File: protoimpl.DescBuilder{ 158 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 159 RawDescriptor: file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDesc, 160 NumEnums: 0, 161 NumMessages: 1, 162 NumExtensions: 0, 163 NumServices: 0, 164 }, 165 GoTypes: file_envoy_extensions_clusters_aggregate_v3_cluster_proto_goTypes, 166 DependencyIndexes: file_envoy_extensions_clusters_aggregate_v3_cluster_proto_depIdxs, 167 MessageInfos: file_envoy_extensions_clusters_aggregate_v3_cluster_proto_msgTypes, 168 }.Build() 169 File_envoy_extensions_clusters_aggregate_v3_cluster_proto = out.File 170 file_envoy_extensions_clusters_aggregate_v3_cluster_proto_rawDesc = nil 171 file_envoy_extensions_clusters_aggregate_v3_cluster_proto_goTypes = nil 172 file_envoy_extensions_clusters_aggregate_v3_cluster_proto_depIdxs = nil 173 }