Debian Codegraph @

envoy/extensions/load_balancing_policies/cluster_provided/v3/cluster_provided.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/extensions/load_balancing_policies/cluster_provided/v3/cluster_provided.proto
6
7 package cluster_providedv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 // The cluster provided load balancing policy allows cluster to specify its own load balancing.
25 // If this extension is configured, the target cluster must provide load balancer when the cluster
26 // is created.
27 //
28 // .. note::
29 //
30 // Cluster provided load balancing policy could not be used as sub-policy of other hierarchical
31 // load balancing policies, such as subset load balancing policy.
32 type ClusterProvided struct {
33 state protoimpl.MessageState
34 sizeCache protoimpl.SizeCache
35 unknownFields protoimpl.UnknownFields
36 }
37
38 func (x *ClusterProvided) Reset() {
39 *x = ClusterProvided{}
40 if protoimpl.UnsafeEnabled {
41 mi := &file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44 }
45 }
46
47 func (x *ClusterProvided) String() string {
48 return protoimpl.X.MessageStringOf(x)
49 }
50
51 func (*ClusterProvided) ProtoMessage() {}
52
53 func (x *ClusterProvided) ProtoReflect() protoreflect.Message {
54 mi := &file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_msgTypes[0]
55 if protoimpl.UnsafeEnabled && x != nil {
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 if ms.LoadMessageInfo() == nil {
58 ms.StoreMessageInfo(mi)
59 }
60 return ms
61 }
62 return mi.MessageOf(x)
63 }
64
65 // Deprecated: Use ClusterProvided.ProtoReflect.Descriptor instead.
66 func (*ClusterProvided) Descriptor() ([]byte, []int) {
67 return file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDescGZIP(), []int{0}
68 }
69
70 var File_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto protoreflect.FileDescriptor
71
72 var file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDesc = []byte{
73 0x0a, 0x53, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
74 0x6e, 0x73, 0x2f, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e,
75 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74,
76 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x2f, 0x76, 0x33, 0x2f, 0x63,
77 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x2e,
78 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74,
79 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c,
80 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e,
81 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64,
82 0x2e, 0x76, 0x33, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
83 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
84 0x74, 0x6f, 0x22, 0x11, 0x0a, 0x0f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f,
85 0x76, 0x69, 0x64, 0x65, 0x64, 0x42, 0xe4, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02,
86 0x0a, 0x4a, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
87 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
88 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f,
89 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x2e, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
90 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x2e, 0x76, 0x33, 0x42, 0x14, 0x43, 0x6c,
91 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x50, 0x72, 0x6f,
92 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x76, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
93 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63,
94 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76,
95 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6c, 0x6f,
96 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c,
97 0x69, 0x63, 0x69, 0x65, 0x73, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x72,
98 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
99 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72,
100 0x6f, 0x74, 0x6f, 0x33,
101 }
102
103 var (
104 file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDescOnce sync.Once
105 file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDescData = file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDesc
106 )
107
108 func file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDescGZIP() []byte {
109 file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDescOnce.Do(func() {
110 file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDescData)
111 })
112 return file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDescData
113 }
114
115 var file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
116 var file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_goTypes = []interface{}{
117 (*ClusterProvided)(nil), // 0: envoy.extensions.load_balancing_policies.cluster_provided.v3.ClusterProvided
118 }
119 var file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_depIdxs = []int32{
120 0, // [0:0] is the sub-list for method output_type
121 0, // [0:0] is the sub-list for method input_type
122 0, // [0:0] is the sub-list for extension type_name
123 0, // [0:0] is the sub-list for extension extendee
124 0, // [0:0] is the sub-list for field type_name
125 }
126
127 func init() {
128 file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_init()
129 }
130 func file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_init() {
131 if File_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto != nil {
132 return
133 }
134 if !protoimpl.UnsafeEnabled {
135 file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
136 switch v := v.(*ClusterProvided); i {
137 case 0:
138 return &v.state
139 case 1:
140 return &v.sizeCache
141 case 2:
142 return &v.unknownFields
143 default:
144 return nil
145 }
146 }
147 }
148 type x struct{}
149 out := protoimpl.TypeBuilder{
150 File: protoimpl.DescBuilder{
151 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
152 RawDescriptor: file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDesc,
153 NumEnums: 0,
154 NumMessages: 1,
155 NumExtensions: 0,
156 NumServices: 0,
157 },
158 GoTypes: file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_goTypes,
159 DependencyIndexes: file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_depIdxs,
160 MessageInfos: file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_msgTypes,
161 }.Build()
162 File_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto = out.File
163 file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_rawDesc = nil
164 file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_goTypes = nil
165 file_envoy_extensions_load_balancing_policies_cluster_provided_v3_cluster_provided_proto_depIdxs = nil
166 }