Class UpstreamLocalityStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpstreamLocalityStats.Builder>
com.google.protobuf.GeneratedMessage.Builder<UpstreamLocalityStats.Builder>
io.envoyproxy.envoy.config.endpoint.v3.UpstreamLocalityStats.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,UpstreamLocalityStatsOrBuilder
,Cloneable
- Enclosing class:
UpstreamLocalityStats
public static final class UpstreamLocalityStats.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpstreamLocalityStats.Builder>
implements UpstreamLocalityStatsOrBuilder
These are stats Envoy reports to the management server at a frequency defined by :ref:`LoadStatsResponse.load_reporting_interval<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.load_reporting_interval>`. Stats per upstream region/zone and optionally per subzone. [#next-free-field: 12]Protobuf type
envoy.config.endpoint.v3.UpstreamLocalityStats
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private List
<EndpointLoadMetricStats> private com.google.protobuf.RepeatedFieldBuilder
<EndpointLoadMetricStats, EndpointLoadMetricStats.Builder, EndpointLoadMetricStatsOrBuilder> private Locality
private com.google.protobuf.SingleFieldBuilder
<Locality, Locality.Builder, LocalityOrBuilder> private int
private long
private long
private long
private long
private long
private long
private long
private List
<UpstreamEndpointStats> private com.google.protobuf.RepeatedFieldBuilder
<UpstreamEndpointStats, UpstreamEndpointStats.Builder, UpstreamEndpointStatsOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllLoadMetricStats
(Iterable<? extends EndpointLoadMetricStats> values) Stats for multi-dimensional load balancing.addAllUpstreamEndpointStats
(Iterable<? extends UpstreamEndpointStats> values) Endpoint granularity stats information for this locality.addLoadMetricStats
(int index, EndpointLoadMetricStats value) Stats for multi-dimensional load balancing.addLoadMetricStats
(int index, EndpointLoadMetricStats.Builder builderForValue) Stats for multi-dimensional load balancing.Stats for multi-dimensional load balancing.addLoadMetricStats
(EndpointLoadMetricStats.Builder builderForValue) Stats for multi-dimensional load balancing.Stats for multi-dimensional load balancing.addLoadMetricStatsBuilder
(int index) Stats for multi-dimensional load balancing.addUpstreamEndpointStats
(int index, UpstreamEndpointStats value) Endpoint granularity stats information for this locality.addUpstreamEndpointStats
(int index, UpstreamEndpointStats.Builder builderForValue) Endpoint granularity stats information for this locality.Endpoint granularity stats information for this locality.addUpstreamEndpointStats
(UpstreamEndpointStats.Builder builderForValue) Endpoint granularity stats information for this locality.Endpoint granularity stats information for this locality.addUpstreamEndpointStatsBuilder
(int index) Endpoint granularity stats information for this locality.build()
private void
buildPartial0
(UpstreamLocalityStats result) private void
clear()
Stats for multi-dimensional load balancing.Name of zone, region and optionally endpoint group these metrics were collected from.[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.The total number of connections in an established state at the time of the report.The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.The total number of connection failures since the last report.The total number of requests that were issued by this Envoy since the last report.The total number of connections opened since the last report.The total number of unfinished requestsThe total number of requests successfully completed by the endpoints in the locality.Endpoint granularity stats information for this locality.private void
private void
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getLoadMetricStats
(int index) Stats for multi-dimensional load balancing.getLoadMetricStatsBuilder
(int index) Stats for multi-dimensional load balancing.Stats for multi-dimensional load balancing.int
Stats for multi-dimensional load balancing.private com.google.protobuf.RepeatedFieldBuilder
<EndpointLoadMetricStats, EndpointLoadMetricStats.Builder, EndpointLoadMetricStatsOrBuilder> Stats for multi-dimensional load balancing.getLoadMetricStatsOrBuilder
(int index) Stats for multi-dimensional load balancing.List
<? extends EndpointLoadMetricStatsOrBuilder> Stats for multi-dimensional load balancing.Name of zone, region and optionally endpoint group these metrics were collected from.Name of zone, region and optionally endpoint group these metrics were collected from.private com.google.protobuf.SingleFieldBuilder
<Locality, Locality.Builder, LocalityOrBuilder> Name of zone, region and optionally endpoint group these metrics were collected from.Name of zone, region and optionally endpoint group these metrics were collected from.int
[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.long
The total number of connections in an established state at the time of the report.long
The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.long
The total number of connection failures since the last report.long
The total number of requests that were issued by this Envoy since the last report.long
The total number of connections opened since the last report.long
The total number of unfinished requestslong
The total number of requests successfully completed by the endpoints in the locality.getUpstreamEndpointStats
(int index) Endpoint granularity stats information for this locality.getUpstreamEndpointStatsBuilder
(int index) Endpoint granularity stats information for this locality.Endpoint granularity stats information for this locality.int
Endpoint granularity stats information for this locality.private com.google.protobuf.RepeatedFieldBuilder
<UpstreamEndpointStats, UpstreamEndpointStats.Builder, UpstreamEndpointStatsOrBuilder> Endpoint granularity stats information for this locality.getUpstreamEndpointStatsOrBuilder
(int index) Endpoint granularity stats information for this locality.List
<? extends UpstreamEndpointStatsOrBuilder> Endpoint granularity stats information for this locality.boolean
Name of zone, region and optionally endpoint group these metrics were collected from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(UpstreamLocalityStats other) mergeLocality
(Locality value) Name of zone, region and optionally endpoint group these metrics were collected from.removeLoadMetricStats
(int index) Stats for multi-dimensional load balancing.removeUpstreamEndpointStats
(int index) Endpoint granularity stats information for this locality.setLoadMetricStats
(int index, EndpointLoadMetricStats value) Stats for multi-dimensional load balancing.setLoadMetricStats
(int index, EndpointLoadMetricStats.Builder builderForValue) Stats for multi-dimensional load balancing.setLocality
(Locality value) Name of zone, region and optionally endpoint group these metrics were collected from.setLocality
(Locality.Builder builderForValue) Name of zone, region and optionally endpoint group these metrics were collected from.setPriority
(int value) [#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.setTotalActiveConnections
(long value) The total number of connections in an established state at the time of the report.setTotalErrorRequests
(long value) The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.setTotalFailConnections
(long value) The total number of connection failures since the last report.setTotalIssuedRequests
(long value) The total number of requests that were issued by this Envoy since the last report.setTotalNewConnections
(long value) The total number of connections opened since the last report.setTotalRequestsInProgress
(long value) The total number of unfinished requestssetTotalSuccessfulRequests
(long value) The total number of requests successfully completed by the endpoints in the locality.setUpstreamEndpointStats
(int index, UpstreamEndpointStats value) Endpoint granularity stats information for this locality.setUpstreamEndpointStats
(int index, UpstreamEndpointStats.Builder builderForValue) Endpoint granularity stats information for this locality.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
locality_
-
localityBuilder_
private com.google.protobuf.SingleFieldBuilder<Locality,Locality.Builder, localityBuilder_LocalityOrBuilder> -
totalSuccessfulRequests_
private long totalSuccessfulRequests_ -
totalRequestsInProgress_
private long totalRequestsInProgress_ -
totalErrorRequests_
private long totalErrorRequests_ -
totalIssuedRequests_
private long totalIssuedRequests_ -
totalActiveConnections_
private long totalActiveConnections_ -
totalNewConnections_
private long totalNewConnections_ -
totalFailConnections_
private long totalFailConnections_ -
loadMetricStats_
-
loadMetricStatsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<EndpointLoadMetricStats,EndpointLoadMetricStats.Builder, loadMetricStatsBuilder_EndpointLoadMetricStatsOrBuilder> -
upstreamEndpointStats_
-
upstreamEndpointStatsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<UpstreamEndpointStats,UpstreamEndpointStats.Builder, upstreamEndpointStatsBuilder_UpstreamEndpointStatsOrBuilder> -
priority_
private int priority_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<UpstreamLocalityStats.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<UpstreamLocalityStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<UpstreamLocalityStats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpstreamLocalityStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<UpstreamLocalityStats.Builder>
-
mergeFrom
public UpstreamLocalityStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpstreamLocalityStats.Builder>
- Throws:
IOException
-
hasLocality
public boolean hasLocality()Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;
- Specified by:
hasLocality
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- Whether the locality field is set.
-
getLocality
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;
- Specified by:
getLocality
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- The locality.
-
setLocality
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;
-
setLocality
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;
-
mergeLocality
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;
-
clearLocality
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;
-
getLocalityBuilder
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;
-
getLocalityOrBuilder
Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;
- Specified by:
getLocalityOrBuilder
in interfaceUpstreamLocalityStatsOrBuilder
-
getLocalityFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Locality,Locality.Builder, getLocalityFieldBuilder()LocalityOrBuilder> Name of zone, region and optionally endpoint group these metrics were collected from. Zone and region names could be empty if unknown.
.envoy.config.core.v3.Locality locality = 1;
-
getTotalSuccessfulRequests
public long getTotalSuccessfulRequests()The total number of requests successfully completed by the endpoints in the locality.
uint64 total_successful_requests = 2;
- Specified by:
getTotalSuccessfulRequests
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- The totalSuccessfulRequests.
-
setTotalSuccessfulRequests
The total number of requests successfully completed by the endpoints in the locality.
uint64 total_successful_requests = 2;
- Parameters:
value
- The totalSuccessfulRequests to set.- Returns:
- This builder for chaining.
-
clearTotalSuccessfulRequests
The total number of requests successfully completed by the endpoints in the locality.
uint64 total_successful_requests = 2;
- Returns:
- This builder for chaining.
-
getTotalRequestsInProgress
public long getTotalRequestsInProgress()The total number of unfinished requests
uint64 total_requests_in_progress = 3;
- Specified by:
getTotalRequestsInProgress
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- The totalRequestsInProgress.
-
setTotalRequestsInProgress
The total number of unfinished requests
uint64 total_requests_in_progress = 3;
- Parameters:
value
- The totalRequestsInProgress to set.- Returns:
- This builder for chaining.
-
clearTotalRequestsInProgress
The total number of unfinished requests
uint64 total_requests_in_progress = 3;
- Returns:
- This builder for chaining.
-
getTotalErrorRequests
public long getTotalErrorRequests()The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.
uint64 total_error_requests = 4;
- Specified by:
getTotalErrorRequests
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- The totalErrorRequests.
-
setTotalErrorRequests
The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.
uint64 total_error_requests = 4;
- Parameters:
value
- The totalErrorRequests to set.- Returns:
- This builder for chaining.
-
clearTotalErrorRequests
The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.
uint64 total_error_requests = 4;
- Returns:
- This builder for chaining.
-
getTotalIssuedRequests
public long getTotalIssuedRequests()The total number of requests that were issued by this Envoy since the last report. This information is aggregated over all the upstream endpoints in the locality.
uint64 total_issued_requests = 8;
- Specified by:
getTotalIssuedRequests
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- The totalIssuedRequests.
-
setTotalIssuedRequests
The total number of requests that were issued by this Envoy since the last report. This information is aggregated over all the upstream endpoints in the locality.
uint64 total_issued_requests = 8;
- Parameters:
value
- The totalIssuedRequests to set.- Returns:
- This builder for chaining.
-
clearTotalIssuedRequests
The total number of requests that were issued by this Envoy since the last report. This information is aggregated over all the upstream endpoints in the locality.
uint64 total_issued_requests = 8;
- Returns:
- This builder for chaining.
-
getTotalActiveConnections
public long getTotalActiveConnections()The total number of connections in an established state at the time of the report. This field is aggregated over all the upstream endpoints in the locality. In Envoy, this information may be based on ``upstream_cx_active metric``. [#not-implemented-hide:]
uint64 total_active_connections = 9 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getTotalActiveConnections
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- The totalActiveConnections.
-
setTotalActiveConnections
The total number of connections in an established state at the time of the report. This field is aggregated over all the upstream endpoints in the locality. In Envoy, this information may be based on ``upstream_cx_active metric``. [#not-implemented-hide:]
uint64 total_active_connections = 9 [(.xds.annotations.v3.field_status) = { ... }
- Parameters:
value
- The totalActiveConnections to set.- Returns:
- This builder for chaining.
-
clearTotalActiveConnections
The total number of connections in an established state at the time of the report. This field is aggregated over all the upstream endpoints in the locality. In Envoy, this information may be based on ``upstream_cx_active metric``. [#not-implemented-hide:]
uint64 total_active_connections = 9 [(.xds.annotations.v3.field_status) = { ... }
- Returns:
- This builder for chaining.
-
getTotalNewConnections
public long getTotalNewConnections()The total number of connections opened since the last report. This field is aggregated over all the upstream endpoints in the locality. In Envoy, this information may be based on ``upstream_cx_total`` metric compared to itself between start and end of an interval, i.e. ``upstream_cx_total``(now) - ``upstream_cx_total``(now - load_report_interval). [#not-implemented-hide:]
uint64 total_new_connections = 10 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getTotalNewConnections
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- The totalNewConnections.
-
setTotalNewConnections
The total number of connections opened since the last report. This field is aggregated over all the upstream endpoints in the locality. In Envoy, this information may be based on ``upstream_cx_total`` metric compared to itself between start and end of an interval, i.e. ``upstream_cx_total``(now) - ``upstream_cx_total``(now - load_report_interval). [#not-implemented-hide:]
uint64 total_new_connections = 10 [(.xds.annotations.v3.field_status) = { ... }
- Parameters:
value
- The totalNewConnections to set.- Returns:
- This builder for chaining.
-
clearTotalNewConnections
The total number of connections opened since the last report. This field is aggregated over all the upstream endpoints in the locality. In Envoy, this information may be based on ``upstream_cx_total`` metric compared to itself between start and end of an interval, i.e. ``upstream_cx_total``(now) - ``upstream_cx_total``(now - load_report_interval). [#not-implemented-hide:]
uint64 total_new_connections = 10 [(.xds.annotations.v3.field_status) = { ... }
- Returns:
- This builder for chaining.
-
getTotalFailConnections
public long getTotalFailConnections()The total number of connection failures since the last report. This field is aggregated over all the upstream endpoints in the locality. In Envoy, this information may be based on ``upstream_cx_connect_fail`` metric compared to itself between start and end of an interval, i.e. ``upstream_cx_connect_fail``(now) - ``upstream_cx_connect_fail``(now - load_report_interval). [#not-implemented-hide:]
uint64 total_fail_connections = 11 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getTotalFailConnections
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- The totalFailConnections.
-
setTotalFailConnections
The total number of connection failures since the last report. This field is aggregated over all the upstream endpoints in the locality. In Envoy, this information may be based on ``upstream_cx_connect_fail`` metric compared to itself between start and end of an interval, i.e. ``upstream_cx_connect_fail``(now) - ``upstream_cx_connect_fail``(now - load_report_interval). [#not-implemented-hide:]
uint64 total_fail_connections = 11 [(.xds.annotations.v3.field_status) = { ... }
- Parameters:
value
- The totalFailConnections to set.- Returns:
- This builder for chaining.
-
clearTotalFailConnections
The total number of connection failures since the last report. This field is aggregated over all the upstream endpoints in the locality. In Envoy, this information may be based on ``upstream_cx_connect_fail`` metric compared to itself between start and end of an interval, i.e. ``upstream_cx_connect_fail``(now) - ``upstream_cx_connect_fail``(now - load_report_interval). [#not-implemented-hide:]
uint64 total_fail_connections = 11 [(.xds.annotations.v3.field_status) = { ... }
- Returns:
- This builder for chaining.
-
ensureLoadMetricStatsIsMutable
private void ensureLoadMetricStatsIsMutable() -
getLoadMetricStatsList
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStatsList
in interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsCount
public int getLoadMetricStatsCount()Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStatsCount
in interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStats
in interfaceUpstreamLocalityStatsOrBuilder
-
setLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
setLoadMetricStats
public UpstreamLocalityStats.Builder setLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue) Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
addLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
addLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
addLoadMetricStats
public UpstreamLocalityStats.Builder addLoadMetricStats(EndpointLoadMetricStats.Builder builderForValue) Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
addLoadMetricStats
public UpstreamLocalityStats.Builder addLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue) Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
addAllLoadMetricStats
public UpstreamLocalityStats.Builder addAllLoadMetricStats(Iterable<? extends EndpointLoadMetricStats> values) Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
clearLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
removeLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsOrBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStatsOrBuilder
in interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStatsOrBuilderList
in interfaceUpstreamLocalityStatsOrBuilder
-
addLoadMetricStatsBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
addLoadMetricStatsBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsBuilderList
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<EndpointLoadMetricStats,EndpointLoadMetricStats.Builder, getLoadMetricStatsFieldBuilder()EndpointLoadMetricStatsOrBuilder> -
ensureUpstreamEndpointStatsIsMutable
private void ensureUpstreamEndpointStatsIsMutable() -
getUpstreamEndpointStatsList
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
- Specified by:
getUpstreamEndpointStatsList
in interfaceUpstreamLocalityStatsOrBuilder
-
getUpstreamEndpointStatsCount
public int getUpstreamEndpointStatsCount()Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
- Specified by:
getUpstreamEndpointStatsCount
in interfaceUpstreamLocalityStatsOrBuilder
-
getUpstreamEndpointStats
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
- Specified by:
getUpstreamEndpointStats
in interfaceUpstreamLocalityStatsOrBuilder
-
setUpstreamEndpointStats
public UpstreamLocalityStats.Builder setUpstreamEndpointStats(int index, UpstreamEndpointStats value) Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
setUpstreamEndpointStats
public UpstreamLocalityStats.Builder setUpstreamEndpointStats(int index, UpstreamEndpointStats.Builder builderForValue) Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
addUpstreamEndpointStats
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
addUpstreamEndpointStats
public UpstreamLocalityStats.Builder addUpstreamEndpointStats(int index, UpstreamEndpointStats value) Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
addUpstreamEndpointStats
public UpstreamLocalityStats.Builder addUpstreamEndpointStats(UpstreamEndpointStats.Builder builderForValue) Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
addUpstreamEndpointStats
public UpstreamLocalityStats.Builder addUpstreamEndpointStats(int index, UpstreamEndpointStats.Builder builderForValue) Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
addAllUpstreamEndpointStats
public UpstreamLocalityStats.Builder addAllUpstreamEndpointStats(Iterable<? extends UpstreamEndpointStats> values) Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
clearUpstreamEndpointStats
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
removeUpstreamEndpointStats
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
getUpstreamEndpointStatsBuilder
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
getUpstreamEndpointStatsOrBuilder
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
- Specified by:
getUpstreamEndpointStatsOrBuilder
in interfaceUpstreamLocalityStatsOrBuilder
-
getUpstreamEndpointStatsOrBuilderList
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
- Specified by:
getUpstreamEndpointStatsOrBuilderList
in interfaceUpstreamLocalityStatsOrBuilder
-
addUpstreamEndpointStatsBuilder
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
addUpstreamEndpointStatsBuilder
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
getUpstreamEndpointStatsBuilderList
Endpoint granularity stats information for this locality. This information is populated if the Server requests it by setting :ref:`LoadStatsResponse.report_endpoint_granularity<envoy_v3_api_field_service.load_stats.v3.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.config.endpoint.v3.UpstreamEndpointStats upstream_endpoint_stats = 7;
-
getUpstreamEndpointStatsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<UpstreamEndpointStats,UpstreamEndpointStats.Builder, getUpstreamEndpointStatsFieldBuilder()UpstreamEndpointStatsOrBuilder> -
getPriority
public int getPriority()[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.
uint32 priority = 6;
- Specified by:
getPriority
in interfaceUpstreamLocalityStatsOrBuilder
- Returns:
- The priority.
-
setPriority
[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.
uint32 priority = 6;
- Parameters:
value
- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.
uint32 priority = 6;
- Returns:
- This builder for chaining.
-