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 intprivate List<EndpointLoadMetricStats> private com.google.protobuf.RepeatedFieldBuilder<EndpointLoadMetricStats, EndpointLoadMetricStats.Builder, EndpointLoadMetricStatsOrBuilder> private Localityprivate com.google.protobuf.SingleFieldBuilder<Locality, Locality.Builder, LocalityOrBuilder> private intprivate longprivate longprivate longprivate longprivate longprivate longprivate longprivate 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 voidbuildPartial0(UpstreamLocalityStats result) private voidclear()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 voidprivate voidstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLoadMetricStats(int index) Stats for multi-dimensional load balancing.getLoadMetricStatsBuilder(int index) Stats for multi-dimensional load balancing.Stats for multi-dimensional load balancing.intStats for multi-dimensional load balancing.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.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.longThe total number of connections in an established state at the time of the report.longThe total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.longThe total number of connection failures since the last report.longThe total number of requests that were issued by this Envoy since the last report.longThe total number of connections opened since the last report.longThe total number of unfinished requestslongThe 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.intEndpoint granularity stats information for this locality.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.booleanName of zone, region and optionally endpoint group these metrics were collected from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.RepeatedFieldBuilder<EndpointLoadMetricStats, EndpointLoadMetricStats.Builder, EndpointLoadMetricStatsOrBuilder> private com.google.protobuf.SingleFieldBuilder<Locality, Locality.Builder, LocalityOrBuilder> Name of zone, region and optionally endpoint group these metrics were collected from.private com.google.protobuf.RepeatedFieldBuilder<UpstreamEndpointStats, UpstreamEndpointStats.Builder, UpstreamEndpointStatsOrBuilder> final booleanprivate voidmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpstreamLocalityStats.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpstreamLocalityStats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpstreamLocalityStats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpstreamLocalityStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasLocalityin 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:
getLocalityin 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:
getLocalityOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
internalGetLocalityFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Locality,Locality.Builder, internalGetLocalityFieldBuilder()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:
getTotalSuccessfulRequestsin 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:
getTotalRequestsInProgressin 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:
getTotalErrorRequestsin 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:
getTotalIssuedRequestsin 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:
getTotalActiveConnectionsin 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:
getTotalNewConnectionsin 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:
getTotalFailConnectionsin 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:
getLoadMetricStatsListin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsCount
public int getLoadMetricStatsCount()Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsCountin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsin 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:
getLoadMetricStatsOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderListin 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; -
internalGetLoadMetricStatsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<EndpointLoadMetricStats,EndpointLoadMetricStats.Builder, internalGetLoadMetricStatsFieldBuilder()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:
getUpstreamEndpointStatsListin 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:
getUpstreamEndpointStatsCountin 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:
getUpstreamEndpointStatsin 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:
getUpstreamEndpointStatsOrBuilderin 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:
getUpstreamEndpointStatsOrBuilderListin 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; -
internalGetUpstreamEndpointStatsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<UpstreamEndpointStats,UpstreamEndpointStats.Builder, internalGetUpstreamEndpointStatsFieldBuilder()UpstreamEndpointStatsOrBuilder> -
getPriority
public int getPriority()[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.
uint32 priority = 6;- Specified by:
getPriorityin 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.
-