| 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/service/load_stats/v3/lrs.proto |
| 6 |
|
| 7 |
package load_statsv3 |
| 8 |
|
| 9 |
import ( |
| 10 |
_ "github.com/cncf/xds/go/udpa/annotations" |
| 11 |
v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3" |
| 12 |
v31 "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3" |
| 13 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 14 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 15 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 16 |
reflect "reflect" |
| 17 |
sync "sync" |
| 18 |
) |
| 19 |
|
| 20 |
const ( |
| 21 |
// Verify that this generated code is sufficiently up-to-date. |
| 22 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 23 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 24 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 25 |
) |
| 26 |
|
| 27 |
// A load report Envoy sends to the management server. |
| 28 |
type LoadStatsRequest struct { |
| 29 |
state protoimpl.MessageState |
| 30 |
sizeCache protoimpl.SizeCache |
| 31 |
unknownFields protoimpl.UnknownFields |
| 32 |
|
| 33 |
// Node identifier for Envoy instance. |
| 34 |
Node *v3.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` |
| 35 |
// A list of load stats to report. |
| 36 |
ClusterStats []*v31.ClusterStats `protobuf:"bytes,2,rep,name=cluster_stats,json=clusterStats,proto3" json:"cluster_stats,omitempty"` |
| 37 |
} |
| 38 |
|
| 39 |
func (x *LoadStatsRequest) Reset() { |
| 40 |
*x = LoadStatsRequest{} |
| 41 |
if protoimpl.UnsafeEnabled { |
| 42 |
mi := &file_envoy_service_load_stats_v3_lrs_proto_msgTypes[0] |
| 43 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 44 |
ms.StoreMessageInfo(mi) |
| 45 |
} |
| 46 |
} |
| 47 |
|
| 48 |
func (x *LoadStatsRequest) String() string { |
| 49 |
return protoimpl.X.MessageStringOf(x) |
| 50 |
} |
| 51 |
|
| 52 |
func (*LoadStatsRequest) ProtoMessage() {} |
| 53 |
|
| 54 |
func (x *LoadStatsRequest) ProtoReflect() protoreflect.Message { |
| 55 |
mi := &file_envoy_service_load_stats_v3_lrs_proto_msgTypes[0] |
| 56 |
if protoimpl.UnsafeEnabled && x != nil { |
| 57 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 58 |
if ms.LoadMessageInfo() == nil { |
| 59 |
ms.StoreMessageInfo(mi) |
| 60 |
} |
| 61 |
return ms |
| 62 |
} |
| 63 |
return mi.MessageOf(x) |
| 64 |
} |
| 65 |
|
| 66 |
// Deprecated: Use LoadStatsRequest.ProtoReflect.Descriptor instead. |
| 67 |
func (*LoadStatsRequest) Descriptor() ([]byte, []int) { |
| 68 |
return file_envoy_service_load_stats_v3_lrs_proto_rawDescGZIP(), []int{0} |
| 69 |
} |
| 70 |
|
| 71 |
func (x *LoadStatsRequest) GetNode() *v3.Node { |
| 72 |
if x != nil { |
| 73 |
return x.Node |
| 74 |
} |
| 75 |
return nil |
| 76 |
} |
| 77 |
|
| 78 |
func (x *LoadStatsRequest) GetClusterStats() []*v31.ClusterStats { |
| 79 |
if x != nil { |
| 80 |
return x.ClusterStats |
| 81 |
} |
| 82 |
return nil |
| 83 |
} |
| 84 |
|
| 85 |
// The management server sends envoy a LoadStatsResponse with all clusters it |
| 86 |
// is interested in learning load stats about. |
| 87 |
type LoadStatsResponse struct { |
| 88 |
state protoimpl.MessageState |
| 89 |
sizeCache protoimpl.SizeCache |
| 90 |
unknownFields protoimpl.UnknownFields |
| 91 |
|
| 92 |
// Clusters to report stats for. |
| 93 |
// Not populated if “send_all_clusters“ is true. |
| 94 |
Clusters []string `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` |
| 95 |
// If true, the client should send all clusters it knows about. |
| 96 |
// Only clients that advertise the "envoy.lrs.supports_send_all_clusters" capability in their |
| 97 |
// :ref:`client_features<envoy_v3_api_field_config.core.v3.Node.client_features>` field will honor this field. |
| 98 |
SendAllClusters bool `protobuf:"varint,4,opt,name=send_all_clusters,json=sendAllClusters,proto3" json:"send_all_clusters,omitempty"` |
| 99 |
// The minimum interval of time to collect stats over. This is only a minimum for two reasons: |
| 100 |
// |
| 101 |
// 1. There may be some delay from when the timer fires until stats sampling occurs. |
| 102 |
// 2. For clusters that were already feature in the previous “LoadStatsResponse“, any traffic |
| 103 |
// that is observed in between the corresponding previous “LoadStatsRequest“ and this |
| 104 |
// “LoadStatsResponse“ will also be accumulated and billed to the cluster. This avoids a period |
| 105 |
// of inobservability that might otherwise exists between the messages. New clusters are not |
| 106 |
// subject to this consideration. |
| 107 |
LoadReportingInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=load_reporting_interval,json=loadReportingInterval,proto3" json:"load_reporting_interval,omitempty"` |
| 108 |
// Set to “true“ if the management server supports endpoint granularity |
| 109 |
// report. |
| 110 |
ReportEndpointGranularity bool `protobuf:"varint,3,opt,name=report_endpoint_granularity,json=reportEndpointGranularity,proto3" json:"report_endpoint_granularity,omitempty"` |
| 111 |
} |
| 112 |
|
| 113 |
func (x *LoadStatsResponse) Reset() { |
| 114 |
*x = LoadStatsResponse{} |
| 115 |
if protoimpl.UnsafeEnabled { |
| 116 |
mi := &file_envoy_service_load_stats_v3_lrs_proto_msgTypes[1] |
| 117 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 118 |
ms.StoreMessageInfo(mi) |
| 119 |
} |
| 120 |
} |
| 121 |
|
| 122 |
func (x *LoadStatsResponse) String() string { |
| 123 |
return protoimpl.X.MessageStringOf(x) |
| 124 |
} |
| 125 |
|
| 126 |
func (*LoadStatsResponse) ProtoMessage() {} |
| 127 |
|
| 128 |
func (x *LoadStatsResponse) ProtoReflect() protoreflect.Message { |
| 129 |
mi := &file_envoy_service_load_stats_v3_lrs_proto_msgTypes[1] |
| 130 |
if protoimpl.UnsafeEnabled && x != nil { |
| 131 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 132 |
if ms.LoadMessageInfo() == nil { |
| 133 |
ms.StoreMessageInfo(mi) |
| 134 |
} |
| 135 |
return ms |
| 136 |
} |
| 137 |
return mi.MessageOf(x) |
| 138 |
} |
| 139 |
|
| 140 |
// Deprecated: Use LoadStatsResponse.ProtoReflect.Descriptor instead. |
| 141 |
func (*LoadStatsResponse) Descriptor() ([]byte, []int) { |
| 142 |
return file_envoy_service_load_stats_v3_lrs_proto_rawDescGZIP(), []int{1} |
| 143 |
} |
| 144 |
|
| 145 |
func (x *LoadStatsResponse) GetClusters() []string { |
| 146 |
if x != nil { |
| 147 |
return x.Clusters |
| 148 |
} |
| 149 |
return nil |
| 150 |
} |
| 151 |
|
| 152 |
func (x *LoadStatsResponse) GetSendAllClusters() bool { |
| 153 |
if x != nil { |
| 154 |
return x.SendAllClusters |
| 155 |
} |
| 156 |
return false |
| 157 |
} |
| 158 |
|
| 159 |
func (x *LoadStatsResponse) GetLoadReportingInterval() *durationpb.Duration { |
| 160 |
if x != nil { |
| 161 |
return x.LoadReportingInterval |
| 162 |
} |
| 163 |
return nil |
| 164 |
} |
| 165 |
|
| 166 |
func (x *LoadStatsResponse) GetReportEndpointGranularity() bool { |
| 167 |
if x != nil { |
| 168 |
return x.ReportEndpointGranularity |
| 169 |
} |
| 170 |
return false |
| 171 |
} |
| 172 |
|
| 173 |
var File_envoy_service_load_stats_v3_lrs_proto protoreflect.FileDescriptor |
| 174 |
|
| 175 |
var file_envoy_service_load_stats_v3_lrs_proto_rawDesc = []byte{ |
| 176 |
0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, |
| 177 |
0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6c, 0x72, |
| 178 |
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, |
| 179 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, |
| 180 |
0x73, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, |
| 181 |
0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, |
| 182 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, |
| 183 |
0x66, 0x69, 0x67, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, |
| 184 |
0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 185 |
0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 186 |
0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 187 |
0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, |
| 188 |
0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 189 |
0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, |
| 190 |
0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, |
| 191 |
0x6f, 0x74, 0x6f, 0x22, 0xc4, 0x01, 0x0a, 0x10, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, |
| 192 |
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, |
| 193 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, |
| 194 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, |
| 195 |
0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x4b, 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, |
| 196 |
0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 197 |
0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, |
| 198 |
0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, |
| 199 |
0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, |
| 200 |
0x53, 0x74, 0x61, 0x74, 0x73, 0x3a, 0x33, 0x9a, 0xc5, 0x88, 0x1e, 0x2e, 0x0a, 0x2c, 0x65, 0x6e, |
| 201 |
0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6c, 0x6f, 0x61, 0x64, |
| 202 |
0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x74, |
| 203 |
0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa4, 0x02, 0x0a, 0x11, 0x4c, |
| 204 |
0x6f, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 205 |
0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, |
| 206 |
0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x11, |
| 207 |
0x73, 0x65, 0x6e, 0x64, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, |
| 208 |
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x65, 0x6e, 0x64, 0x41, 0x6c, 0x6c, |
| 209 |
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x51, 0x0a, 0x17, 0x6c, 0x6f, 0x61, 0x64, |
| 210 |
0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, |
| 211 |
0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 212 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, |
| 213 |
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x15, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, |
| 214 |
0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x3e, 0x0a, 0x1b, 0x72, |
| 215 |
0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x67, |
| 216 |
0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, |
| 217 |
0x52, 0x19, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, |
| 218 |
0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x34, 0x9a, 0xc5, 0x88, |
| 219 |
0x1e, 0x2f, 0x0a, 0x2d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 220 |
0x65, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, |
| 221 |
0x4c, 0x6f, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 222 |
0x65, 0x32, 0x8e, 0x01, 0x0a, 0x14, 0x4c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, |
| 223 |
0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x76, 0x0a, 0x0f, 0x53, 0x74, |
| 224 |
0x72, 0x65, 0x61, 0x6d, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2d, 0x2e, |
| 225 |
0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6c, 0x6f, |
| 226 |
0x61, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x61, 0x64, |
| 227 |
0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x65, |
| 228 |
0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6c, 0x6f, 0x61, |
| 229 |
0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, |
| 230 |
0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, |
| 231 |
0x30, 0x01, 0x42, 0x90, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x29, 0x69, |
| 232 |
0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, |
| 233 |
0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, |
| 234 |
0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x4c, 0x72, 0x73, 0x50, 0x72, 0x6f, |
| 235 |
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, |
| 236 |
0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, |
| 237 |
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, |
| 238 |
0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x6c, 0x6f, 0x61, 0x64, 0x5f, |
| 239 |
0x73, 0x74, 0x61, 0x74, 0x73, 0x2f, 0x76, 0x33, 0x3b, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x73, 0x74, |
| 240 |
0x61, 0x74, 0x73, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 241 |
} |
| 242 |
|
| 243 |
var ( |
| 244 |
file_envoy_service_load_stats_v3_lrs_proto_rawDescOnce sync.Once |
| 245 |
file_envoy_service_load_stats_v3_lrs_proto_rawDescData = file_envoy_service_load_stats_v3_lrs_proto_rawDesc |
| 246 |
) |
| 247 |
|
| 248 |
func file_envoy_service_load_stats_v3_lrs_proto_rawDescGZIP() []byte { |
| 249 |
file_envoy_service_load_stats_v3_lrs_proto_rawDescOnce.Do(func() { |
| 250 |
file_envoy_service_load_stats_v3_lrs_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_load_stats_v3_lrs_proto_rawDescData) |
| 251 |
}) |
| 252 |
return file_envoy_service_load_stats_v3_lrs_proto_rawDescData |
| 253 |
} |
| 254 |
|
| 255 |
var file_envoy_service_load_stats_v3_lrs_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 256 |
var file_envoy_service_load_stats_v3_lrs_proto_goTypes = []interface{}{ |
| 257 |
(*LoadStatsRequest)(nil), // 0: envoy.service.load_stats.v3.LoadStatsRequest |
| 258 |
(*LoadStatsResponse)(nil), // 1: envoy.service.load_stats.v3.LoadStatsResponse |
| 259 |
(*v3.Node)(nil), // 2: envoy.config.core.v3.Node |
| 260 |
(*v31.ClusterStats)(nil), // 3: envoy.config.endpoint.v3.ClusterStats |
| 261 |
(*durationpb.Duration)(nil), // 4: google.protobuf.Duration |
| 262 |
} |
| 263 |
var file_envoy_service_load_stats_v3_lrs_proto_depIdxs = []int32{ |
| 264 |
2, // 0: envoy.service.load_stats.v3.LoadStatsRequest.node:type_name -> envoy.config.core.v3.Node |
| 265 |
3, // 1: envoy.service.load_stats.v3.LoadStatsRequest.cluster_stats:type_name -> envoy.config.endpoint.v3.ClusterStats |
| 266 |
4, // 2: envoy.service.load_stats.v3.LoadStatsResponse.load_reporting_interval:type_name -> google.protobuf.Duration |
| 267 |
0, // 3: envoy.service.load_stats.v3.LoadReportingService.StreamLoadStats:input_type -> envoy.service.load_stats.v3.LoadStatsRequest |
| 268 |
1, // 4: envoy.service.load_stats.v3.LoadReportingService.StreamLoadStats:output_type -> envoy.service.load_stats.v3.LoadStatsResponse |
| 269 |
4, // [4:5] is the sub-list for method output_type |
| 270 |
3, // [3:4] is the sub-list for method input_type |
| 271 |
3, // [3:3] is the sub-list for extension type_name |
| 272 |
3, // [3:3] is the sub-list for extension extendee |
| 273 |
0, // [0:3] is the sub-list for field type_name |
| 274 |
} |
| 275 |
|
| 276 |
func init() { file_envoy_service_load_stats_v3_lrs_proto_init() } |
| 277 |
func file_envoy_service_load_stats_v3_lrs_proto_init() { |
| 278 |
if File_envoy_service_load_stats_v3_lrs_proto != nil { |
| 279 |
return |
| 280 |
} |
| 281 |
if !protoimpl.UnsafeEnabled { |
| 282 |
file_envoy_service_load_stats_v3_lrs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 283 |
switch v := v.(*LoadStatsRequest); i { |
| 284 |
case 0: |
| 285 |
return &v.state |
| 286 |
case 1: |
| 287 |
return &v.sizeCache |
| 288 |
case 2: |
| 289 |
return &v.unknownFields |
| 290 |
default: |
| 291 |
return nil |
| 292 |
} |
| 293 |
} |
| 294 |
file_envoy_service_load_stats_v3_lrs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 295 |
switch v := v.(*LoadStatsResponse); i { |
| 296 |
case 0: |
| 297 |
return &v.state |
| 298 |
case 1: |
| 299 |
return &v.sizeCache |
| 300 |
case 2: |
| 301 |
return &v.unknownFields |
| 302 |
default: |
| 303 |
return nil |
| 304 |
} |
| 305 |
} |
| 306 |
} |
| 307 |
type x struct{} |
| 308 |
out := protoimpl.TypeBuilder{ |
| 309 |
File: protoimpl.DescBuilder{ |
| 310 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 311 |
RawDescriptor: file_envoy_service_load_stats_v3_lrs_proto_rawDesc, |
| 312 |
NumEnums: 0, |
| 313 |
NumMessages: 2, |
| 314 |
NumExtensions: 0, |
| 315 |
NumServices: 1, |
| 316 |
}, |
| 317 |
GoTypes: file_envoy_service_load_stats_v3_lrs_proto_goTypes, |
| 318 |
DependencyIndexes: file_envoy_service_load_stats_v3_lrs_proto_depIdxs, |
| 319 |
MessageInfos: file_envoy_service_load_stats_v3_lrs_proto_msgTypes, |
| 320 |
}.Build() |
| 321 |
File_envoy_service_load_stats_v3_lrs_proto = out.File |
| 322 |
file_envoy_service_load_stats_v3_lrs_proto_rawDesc = nil |
| 323 |
file_envoy_service_load_stats_v3_lrs_proto_goTypes = nil |
| 324 |
file_envoy_service_load_stats_v3_lrs_proto_depIdxs = nil |
| 325 |
} |