Class UpstreamLocalityStats.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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
,java.lang.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 typeenvoy.config.endpoint.v3.UpstreamLocalityStats
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private java.util.List<EndpointLoadMetricStats>
loadMetricStats_
private com.google.protobuf.RepeatedFieldBuilder<EndpointLoadMetricStats,EndpointLoadMetricStats.Builder,EndpointLoadMetricStatsOrBuilder>
loadMetricStatsBuilder_
private Locality
locality_
private com.google.protobuf.SingleFieldBuilder<Locality,Locality.Builder,LocalityOrBuilder>
localityBuilder_
private int
priority_
private long
totalActiveConnections_
private long
totalErrorRequests_
private long
totalFailConnections_
private long
totalIssuedRequests_
private long
totalNewConnections_
private long
totalRequestsInProgress_
private long
totalSuccessfulRequests_
private java.util.List<UpstreamEndpointStats>
upstreamEndpointStats_
private com.google.protobuf.RepeatedFieldBuilder<UpstreamEndpointStats,UpstreamEndpointStats.Builder,UpstreamEndpointStatsOrBuilder>
upstreamEndpointStatsBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpstreamLocalityStats.Builder
addAllLoadMetricStats(java.lang.Iterable<? extends EndpointLoadMetricStats> values)
Stats for multi-dimensional load balancing.UpstreamLocalityStats.Builder
addAllUpstreamEndpointStats(java.lang.Iterable<? extends UpstreamEndpointStats> values)
Endpoint granularity stats information for this locality.UpstreamLocalityStats.Builder
addLoadMetricStats(int index, EndpointLoadMetricStats value)
Stats for multi-dimensional load balancing.UpstreamLocalityStats.Builder
addLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue)
Stats for multi-dimensional load balancing.UpstreamLocalityStats.Builder
addLoadMetricStats(EndpointLoadMetricStats value)
Stats for multi-dimensional load balancing.UpstreamLocalityStats.Builder
addLoadMetricStats(EndpointLoadMetricStats.Builder builderForValue)
Stats for multi-dimensional load balancing.EndpointLoadMetricStats.Builder
addLoadMetricStatsBuilder()
Stats for multi-dimensional load balancing.EndpointLoadMetricStats.Builder
addLoadMetricStatsBuilder(int index)
Stats for multi-dimensional load balancing.UpstreamLocalityStats.Builder
addUpstreamEndpointStats(int index, UpstreamEndpointStats value)
Endpoint granularity stats information for this locality.UpstreamLocalityStats.Builder
addUpstreamEndpointStats(int index, UpstreamEndpointStats.Builder builderForValue)
Endpoint granularity stats information for this locality.UpstreamLocalityStats.Builder
addUpstreamEndpointStats(UpstreamEndpointStats value)
Endpoint granularity stats information for this locality.UpstreamLocalityStats.Builder
addUpstreamEndpointStats(UpstreamEndpointStats.Builder builderForValue)
Endpoint granularity stats information for this locality.UpstreamEndpointStats.Builder
addUpstreamEndpointStatsBuilder()
Endpoint granularity stats information for this locality.UpstreamEndpointStats.Builder
addUpstreamEndpointStatsBuilder(int index)
Endpoint granularity stats information for this locality.UpstreamLocalityStats
build()
UpstreamLocalityStats
buildPartial()
private void
buildPartial0(UpstreamLocalityStats result)
private void
buildPartialRepeatedFields(UpstreamLocalityStats result)
UpstreamLocalityStats.Builder
clear()
UpstreamLocalityStats.Builder
clearLoadMetricStats()
Stats for multi-dimensional load balancing.UpstreamLocalityStats.Builder
clearLocality()
Name of zone, region and optionally endpoint group these metrics were collected from.UpstreamLocalityStats.Builder
clearPriority()
[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.UpstreamLocalityStats.Builder
clearTotalActiveConnections()
The total number of connections in an established state at the time of the report.UpstreamLocalityStats.Builder
clearTotalErrorRequests()
The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.UpstreamLocalityStats.Builder
clearTotalFailConnections()
The total number of connection failures since the last report.UpstreamLocalityStats.Builder
clearTotalIssuedRequests()
The total number of requests that were issued by this Envoy since the last report.UpstreamLocalityStats.Builder
clearTotalNewConnections()
The total number of connections opened since the last report.UpstreamLocalityStats.Builder
clearTotalRequestsInProgress()
The total number of unfinished requestsUpstreamLocalityStats.Builder
clearTotalSuccessfulRequests()
The total number of requests successfully completed by the endpoints in the locality.UpstreamLocalityStats.Builder
clearUpstreamEndpointStats()
Endpoint granularity stats information for this locality.private void
ensureLoadMetricStatsIsMutable()
private void
ensureUpstreamEndpointStatsIsMutable()
UpstreamLocalityStats
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
EndpointLoadMetricStats
getLoadMetricStats(int index)
Stats for multi-dimensional load balancing.EndpointLoadMetricStats.Builder
getLoadMetricStatsBuilder(int index)
Stats for multi-dimensional load balancing.java.util.List<EndpointLoadMetricStats.Builder>
getLoadMetricStatsBuilderList()
Stats for multi-dimensional load balancing.int
getLoadMetricStatsCount()
Stats for multi-dimensional load balancing.private com.google.protobuf.RepeatedFieldBuilder<EndpointLoadMetricStats,EndpointLoadMetricStats.Builder,EndpointLoadMetricStatsOrBuilder>
getLoadMetricStatsFieldBuilder()
java.util.List<EndpointLoadMetricStats>
getLoadMetricStatsList()
Stats for multi-dimensional load balancing.EndpointLoadMetricStatsOrBuilder
getLoadMetricStatsOrBuilder(int index)
Stats for multi-dimensional load balancing.java.util.List<? extends EndpointLoadMetricStatsOrBuilder>
getLoadMetricStatsOrBuilderList()
Stats for multi-dimensional load balancing.Locality
getLocality()
Name of zone, region and optionally endpoint group these metrics were collected from.Locality.Builder
getLocalityBuilder()
Name of zone, region and optionally endpoint group these metrics were collected from.private com.google.protobuf.SingleFieldBuilder<Locality,Locality.Builder,LocalityOrBuilder>
getLocalityFieldBuilder()
Name of zone, region and optionally endpoint group these metrics were collected from.LocalityOrBuilder
getLocalityOrBuilder()
Name of zone, region and optionally endpoint group these metrics were collected from.int
getPriority()
[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.long
getTotalActiveConnections()
The total number of connections in an established state at the time of the report.long
getTotalErrorRequests()
The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.long
getTotalFailConnections()
The total number of connection failures since the last report.long
getTotalIssuedRequests()
The total number of requests that were issued by this Envoy since the last report.long
getTotalNewConnections()
The total number of connections opened since the last report.long
getTotalRequestsInProgress()
The total number of unfinished requestslong
getTotalSuccessfulRequests()
The total number of requests successfully completed by the endpoints in the locality.UpstreamEndpointStats
getUpstreamEndpointStats(int index)
Endpoint granularity stats information for this locality.UpstreamEndpointStats.Builder
getUpstreamEndpointStatsBuilder(int index)
Endpoint granularity stats information for this locality.java.util.List<UpstreamEndpointStats.Builder>
getUpstreamEndpointStatsBuilderList()
Endpoint granularity stats information for this locality.int
getUpstreamEndpointStatsCount()
Endpoint granularity stats information for this locality.private com.google.protobuf.RepeatedFieldBuilder<UpstreamEndpointStats,UpstreamEndpointStats.Builder,UpstreamEndpointStatsOrBuilder>
getUpstreamEndpointStatsFieldBuilder()
java.util.List<UpstreamEndpointStats>
getUpstreamEndpointStatsList()
Endpoint granularity stats information for this locality.UpstreamEndpointStatsOrBuilder
getUpstreamEndpointStatsOrBuilder(int index)
Endpoint granularity stats information for this locality.java.util.List<? extends UpstreamEndpointStatsOrBuilder>
getUpstreamEndpointStatsOrBuilderList()
Endpoint granularity stats information for this locality.boolean
hasLocality()
Name of zone, region and optionally endpoint group these metrics were collected from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
UpstreamLocalityStats.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UpstreamLocalityStats.Builder
mergeFrom(com.google.protobuf.Message other)
UpstreamLocalityStats.Builder
mergeFrom(UpstreamLocalityStats other)
UpstreamLocalityStats.Builder
mergeLocality(Locality value)
Name of zone, region and optionally endpoint group these metrics were collected from.UpstreamLocalityStats.Builder
removeLoadMetricStats(int index)
Stats for multi-dimensional load balancing.UpstreamLocalityStats.Builder
removeUpstreamEndpointStats(int index)
Endpoint granularity stats information for this locality.UpstreamLocalityStats.Builder
setLoadMetricStats(int index, EndpointLoadMetricStats value)
Stats for multi-dimensional load balancing.UpstreamLocalityStats.Builder
setLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue)
Stats for multi-dimensional load balancing.UpstreamLocalityStats.Builder
setLocality(Locality value)
Name of zone, region and optionally endpoint group these metrics were collected from.UpstreamLocalityStats.Builder
setLocality(Locality.Builder builderForValue)
Name of zone, region and optionally endpoint group these metrics were collected from.UpstreamLocalityStats.Builder
setPriority(int value)
[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.UpstreamLocalityStats.Builder
setTotalActiveConnections(long value)
The total number of connections in an established state at the time of the report.UpstreamLocalityStats.Builder
setTotalErrorRequests(long value)
The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.UpstreamLocalityStats.Builder
setTotalFailConnections(long value)
The total number of connection failures since the last report.UpstreamLocalityStats.Builder
setTotalIssuedRequests(long value)
The total number of requests that were issued by this Envoy since the last report.UpstreamLocalityStats.Builder
setTotalNewConnections(long value)
The total number of connections opened since the last report.UpstreamLocalityStats.Builder
setTotalRequestsInProgress(long value)
The total number of unfinished requestsUpstreamLocalityStats.Builder
setTotalSuccessfulRequests(long value)
The total number of requests successfully completed by the endpoints in the locality.UpstreamLocalityStats.Builder
setUpstreamEndpointStats(int index, UpstreamEndpointStats value)
Endpoint granularity stats information for this locality.UpstreamLocalityStats.Builder
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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
locality_
private Locality locality_
-
localityBuilder_
private com.google.protobuf.SingleFieldBuilder<Locality,Locality.Builder,LocalityOrBuilder> localityBuilder_
-
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_
private java.util.List<EndpointLoadMetricStats> loadMetricStats_
-
loadMetricStatsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<EndpointLoadMetricStats,EndpointLoadMetricStats.Builder,EndpointLoadMetricStatsOrBuilder> loadMetricStatsBuilder_
-
upstreamEndpointStats_
private java.util.List<UpstreamEndpointStats> upstreamEndpointStats_
-
upstreamEndpointStatsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<UpstreamEndpointStats,UpstreamEndpointStats.Builder,UpstreamEndpointStatsOrBuilder> upstreamEndpointStatsBuilder_
-
priority_
private int priority_
-
-
Method Detail
-
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
public UpstreamLocalityStats.Builder 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
public UpstreamLocalityStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpstreamLocalityStats build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpstreamLocalityStats buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(UpstreamLocalityStats result)
-
buildPartial0
private void buildPartial0(UpstreamLocalityStats result)
-
mergeFrom
public UpstreamLocalityStats.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UpstreamLocalityStats.Builder>
-
mergeFrom
public UpstreamLocalityStats.Builder mergeFrom(UpstreamLocalityStats other)
-
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 java.io.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:
java.io.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
public Locality 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
public UpstreamLocalityStats.Builder setLocality(Locality value)
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
public UpstreamLocalityStats.Builder setLocality(Locality.Builder builderForValue)
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
public UpstreamLocalityStats.Builder mergeLocality(Locality value)
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
public UpstreamLocalityStats.Builder 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
public Locality.Builder 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
public LocalityOrBuilder 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,LocalityOrBuilder> getLocalityFieldBuilder()
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
public UpstreamLocalityStats.Builder setTotalSuccessfulRequests(long value)
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
public UpstreamLocalityStats.Builder 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
public UpstreamLocalityStats.Builder setTotalRequestsInProgress(long value)
The total number of unfinished requests
uint64 total_requests_in_progress = 3;
- Parameters:
value
- The totalRequestsInProgress to set.- Returns:
- This builder for chaining.
-
clearTotalRequestsInProgress
public UpstreamLocalityStats.Builder 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
public UpstreamLocalityStats.Builder setTotalErrorRequests(long value)
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
public UpstreamLocalityStats.Builder 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
public UpstreamLocalityStats.Builder setTotalIssuedRequests(long value)
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
public UpstreamLocalityStats.Builder 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
public UpstreamLocalityStats.Builder setTotalActiveConnections(long value)
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
public UpstreamLocalityStats.Builder 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
public UpstreamLocalityStats.Builder setTotalNewConnections(long value)
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
public UpstreamLocalityStats.Builder 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
public UpstreamLocalityStats.Builder setTotalFailConnections(long value)
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
public UpstreamLocalityStats.Builder 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
public java.util.List<EndpointLoadMetricStats> 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
public EndpointLoadMetricStats getLoadMetricStats(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStats
in interfaceUpstreamLocalityStatsOrBuilder
-
setLoadMetricStats
public UpstreamLocalityStats.Builder setLoadMetricStats(int index, EndpointLoadMetricStats value)
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
public UpstreamLocalityStats.Builder addLoadMetricStats(EndpointLoadMetricStats value)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
addLoadMetricStats
public UpstreamLocalityStats.Builder addLoadMetricStats(int index, EndpointLoadMetricStats value)
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(java.lang.Iterable<? extends EndpointLoadMetricStats> values)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
clearLoadMetricStats
public UpstreamLocalityStats.Builder clearLoadMetricStats()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
removeLoadMetricStats
public UpstreamLocalityStats.Builder removeLoadMetricStats(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsBuilder
public EndpointLoadMetricStats.Builder getLoadMetricStatsBuilder(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsOrBuilder
public EndpointLoadMetricStatsOrBuilder getLoadMetricStatsOrBuilder(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStatsOrBuilder
in interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
public java.util.List<? extends EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsOrBuilderList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStatsOrBuilderList
in interfaceUpstreamLocalityStatsOrBuilder
-
addLoadMetricStatsBuilder
public EndpointLoadMetricStats.Builder addLoadMetricStatsBuilder()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
addLoadMetricStatsBuilder
public EndpointLoadMetricStats.Builder addLoadMetricStatsBuilder(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsBuilderList
public java.util.List<EndpointLoadMetricStats.Builder> 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,EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsFieldBuilder()
-
ensureUpstreamEndpointStatsIsMutable
private void ensureUpstreamEndpointStatsIsMutable()
-
getUpstreamEndpointStatsList
public java.util.List<UpstreamEndpointStats> 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
public UpstreamEndpointStats getUpstreamEndpointStats(int index)
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
public UpstreamLocalityStats.Builder addUpstreamEndpointStats(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(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(java.lang.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
public UpstreamLocalityStats.Builder 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
public UpstreamLocalityStats.Builder removeUpstreamEndpointStats(int index)
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
public UpstreamEndpointStats.Builder getUpstreamEndpointStatsBuilder(int index)
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
public UpstreamEndpointStatsOrBuilder getUpstreamEndpointStatsOrBuilder(int index)
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
public java.util.List<? extends UpstreamEndpointStatsOrBuilder> 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
public UpstreamEndpointStats.Builder 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
public UpstreamEndpointStats.Builder addUpstreamEndpointStatsBuilder(int index)
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
public java.util.List<UpstreamEndpointStats.Builder> 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,UpstreamEndpointStatsOrBuilder> getUpstreamEndpointStatsFieldBuilder()
-
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
public UpstreamLocalityStats.Builder setPriority(int value)
[#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
public UpstreamLocalityStats.Builder clearPriority()
[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.
uint32 priority = 6;
- Returns:
- This builder for chaining.
-
-