Class UpstreamLocalityStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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: 15]Protobuf type
envoy.config.endpoint.v3.UpstreamLocalityStats-
Method Summary
Modifier and TypeMethodDescriptionaddAllLoadMetricStats(Iterable<? extends EndpointLoadMetricStats> values) Named stats for multi-dimensional load balancing.addAllUpstreamEndpointStats(Iterable<? extends UpstreamEndpointStats> values) Endpoint granularity stats information for this locality.addLoadMetricStats(int index, EndpointLoadMetricStats value) Named stats for multi-dimensional load balancing.addLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue) Named stats for multi-dimensional load balancing.Named stats for multi-dimensional load balancing.addLoadMetricStats(EndpointLoadMetricStats.Builder builderForValue) Named stats for multi-dimensional load balancing.Named stats for multi-dimensional load balancing.addLoadMetricStatsBuilder(int index) Named stats for multi-dimensional load balancing.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) 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()clear()Blended application-defined utilization for multi-dimensional load balancing.CPU utilization stats for multi-dimensional load balancing.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Named stats for multi-dimensional load balancing.Name of zone, region and optionally endpoint group these metrics were collected from.Memory utilization for multi-dimensional load balancing.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) [#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 requests.The total number of requests successfully completed by the endpoints in the locality.Endpoint granularity stats information for this locality.clone()Blended application-defined utilization for multi-dimensional load balancing.Blended application-defined utilization for multi-dimensional load balancing.Blended application-defined utilization for multi-dimensional load balancing.CPU utilization stats for multi-dimensional load balancing.CPU utilization stats for multi-dimensional load balancing.CPU utilization stats for multi-dimensional load balancing.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLoadMetricStats(int index) Named stats for multi-dimensional load balancing.getLoadMetricStatsBuilder(int index) Named stats for multi-dimensional load balancing.Named stats for multi-dimensional load balancing.intNamed stats for multi-dimensional load balancing.Named stats for multi-dimensional load balancing.getLoadMetricStatsOrBuilder(int index) Named stats for multi-dimensional load balancing.List<? extends EndpointLoadMetricStatsOrBuilder>Named 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.Memory utilization for multi-dimensional load balancing.Memory utilization for multi-dimensional load balancing.Memory utilization for multi-dimensional load balancing.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 requests.longThe 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.booleanBlended application-defined utilization for multi-dimensional load balancing.booleanCPU utilization stats for multi-dimensional load balancing.booleanName of zone, region and optionally endpoint group these metrics were collected from.booleanMemory utilization for multi-dimensional load balancing.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanBlended application-defined utilization for multi-dimensional load balancing.CPU utilization stats for multi-dimensional load balancing.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.Memory utilization for multi-dimensional load balancing.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeLoadMetricStats(int index) Named stats for multi-dimensional load balancing.removeUpstreamEndpointStats(int index) Endpoint granularity stats information for this locality.Blended application-defined utilization for multi-dimensional load balancing.setApplicationUtilization(UnnamedEndpointLoadMetricStats.Builder builderForValue) Blended application-defined utilization for multi-dimensional load balancing.CPU utilization stats for multi-dimensional load balancing.setCpuUtilization(UnnamedEndpointLoadMetricStats.Builder builderForValue) CPU utilization stats for multi-dimensional load balancing.setLoadMetricStats(int index, EndpointLoadMetricStats value) Named stats for multi-dimensional load balancing.setLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue) Named 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.Memory utilization for multi-dimensional load balancing.setMemUtilization(UnnamedEndpointLoadMetricStats.Builder builderForValue) Memory utilization for multi-dimensional load balancing.setPriority(int value) [#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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 requests.setTotalSuccessfulRequests(long value) The total number of requests successfully completed by the endpoints in the locality.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamLocalityStats.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamLocalityStats.Builder>
-
setField
public UpstreamLocalityStats.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamLocalityStats.Builder>
-
clearField
public UpstreamLocalityStats.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamLocalityStats.Builder>
-
clearOneof
public UpstreamLocalityStats.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamLocalityStats.Builder>
-
setRepeatedField
public UpstreamLocalityStats.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamLocalityStats.Builder>
-
addRepeatedField
public UpstreamLocalityStats.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamLocalityStats.Builder>
-
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.GeneratedMessageV3.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
-
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. A request can be an HTTP request or a TCP connection for a TCP connection pool.
uint64 total_requests_in_progress = 3;- Specified by:
getTotalRequestsInProgressin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The totalRequestsInProgress.
-
setTotalRequestsInProgress
The total number of unfinished requests. A request can be an HTTP request or a TCP connection for a TCP connection pool.
uint64 total_requests_in_progress = 3;- Parameters:
value- The totalRequestsInProgress to set.- Returns:
- This builder for chaining.
-
clearTotalRequestsInProgress
The total number of unfinished requests. A request can be an HTTP request or a TCP connection for a TCP connection pool.
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. A request can be an HTTP request or a TCP connection for a TCP connection pool.
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. A request can be an HTTP request or a TCP connection for a TCP connection pool.
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. A request can be an HTTP request or a TCP connection for a TCP connection pool.
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.
-
hasCpuUtilization
public boolean hasCpuUtilization()CPU utilization stats for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats cpu_utilization = 12;- Specified by:
hasCpuUtilizationin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- Whether the cpuUtilization field is set.
-
getCpuUtilization
CPU utilization stats for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats cpu_utilization = 12;- Specified by:
getCpuUtilizationin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The cpuUtilization.
-
setCpuUtilization
CPU utilization stats for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats cpu_utilization = 12; -
setCpuUtilization
public UpstreamLocalityStats.Builder setCpuUtilization(UnnamedEndpointLoadMetricStats.Builder builderForValue) CPU utilization stats for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats cpu_utilization = 12; -
mergeCpuUtilization
CPU utilization stats for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats cpu_utilization = 12; -
clearCpuUtilization
CPU utilization stats for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats cpu_utilization = 12; -
getCpuUtilizationBuilder
CPU utilization stats for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats cpu_utilization = 12; -
getCpuUtilizationOrBuilder
CPU utilization stats for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats cpu_utilization = 12;- Specified by:
getCpuUtilizationOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
hasMemUtilization
public boolean hasMemUtilization()Memory utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats mem_utilization = 13;- Specified by:
hasMemUtilizationin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- Whether the memUtilization field is set.
-
getMemUtilization
Memory utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats mem_utilization = 13;- Specified by:
getMemUtilizationin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The memUtilization.
-
setMemUtilization
Memory utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats mem_utilization = 13; -
setMemUtilization
public UpstreamLocalityStats.Builder setMemUtilization(UnnamedEndpointLoadMetricStats.Builder builderForValue) Memory utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats mem_utilization = 13; -
mergeMemUtilization
Memory utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats mem_utilization = 13; -
clearMemUtilization
Memory utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats mem_utilization = 13; -
getMemUtilizationBuilder
Memory utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats mem_utilization = 13; -
getMemUtilizationOrBuilder
Memory utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats mem_utilization = 13;- Specified by:
getMemUtilizationOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
hasApplicationUtilization
public boolean hasApplicationUtilization()Blended application-defined utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats application_utilization = 14;- Specified by:
hasApplicationUtilizationin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- Whether the applicationUtilization field is set.
-
getApplicationUtilization
Blended application-defined utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats application_utilization = 14;- Specified by:
getApplicationUtilizationin interfaceUpstreamLocalityStatsOrBuilder- Returns:
- The applicationUtilization.
-
setApplicationUtilization
public UpstreamLocalityStats.Builder setApplicationUtilization(UnnamedEndpointLoadMetricStats value) Blended application-defined utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats application_utilization = 14; -
setApplicationUtilization
public UpstreamLocalityStats.Builder setApplicationUtilization(UnnamedEndpointLoadMetricStats.Builder builderForValue) Blended application-defined utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats application_utilization = 14; -
mergeApplicationUtilization
public UpstreamLocalityStats.Builder mergeApplicationUtilization(UnnamedEndpointLoadMetricStats value) Blended application-defined utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats application_utilization = 14; -
clearApplicationUtilization
Blended application-defined utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats application_utilization = 14; -
getApplicationUtilizationBuilder
Blended application-defined utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats application_utilization = 14; -
getApplicationUtilizationOrBuilder
Blended application-defined utilization for multi-dimensional load balancing. This typically comes from endpoint metrics reported via ORCA.
.envoy.config.endpoint.v3.UnnamedEndpointLoadMetricStats application_utilization = 14;- Specified by:
getApplicationUtilizationOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsList
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsListin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsCount
public int getLoadMetricStatsCount()Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsCountin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStats
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsin interfaceUpstreamLocalityStatsOrBuilder
-
setLoadMetricStats
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
setLoadMetricStats
public UpstreamLocalityStats.Builder setLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue) Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStats
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStats
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStats
public UpstreamLocalityStats.Builder addLoadMetricStats(EndpointLoadMetricStats.Builder builderForValue) Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStats
public UpstreamLocalityStats.Builder addLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue) Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
addAllLoadMetricStats
public UpstreamLocalityStats.Builder addAllLoadMetricStats(Iterable<? extends EndpointLoadMetricStats> values) Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
clearLoadMetricStats
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
removeLoadMetricStats
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
getLoadMetricStatsBuilder
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
getLoadMetricStatsOrBuilder
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderListin interfaceUpstreamLocalityStatsOrBuilder
-
addLoadMetricStatsBuilder
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStatsBuilder
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
getLoadMetricStatsBuilderList
Named stats for multi-dimensional load balancing. These typically come from endpoint metrics reported via ORCA.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5; -
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; -
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.
-
setUnknownFields
public final UpstreamLocalityStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamLocalityStats.Builder>
-
mergeUnknownFields
public final UpstreamLocalityStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpstreamLocalityStats.Builder>
-