Class UpstreamLocalityStats.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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: 9]
Protobuf typeenvoy.config.endpoint.v3.UpstreamLocalityStats
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpstreamLocalityStats.BuilderaddAllLoadMetricStats(Iterable<? extends EndpointLoadMetricStats> values)Stats for multi-dimensional load balancing.UpstreamLocalityStats.BuilderaddAllUpstreamEndpointStats(Iterable<? extends UpstreamEndpointStats> values)Endpoint granularity stats information for this locality.UpstreamLocalityStats.BuilderaddLoadMetricStats(int index, EndpointLoadMetricStats value)Stats for multi-dimensional load balancing.UpstreamLocalityStats.BuilderaddLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue)Stats for multi-dimensional load balancing.UpstreamLocalityStats.BuilderaddLoadMetricStats(EndpointLoadMetricStats value)Stats for multi-dimensional load balancing.UpstreamLocalityStats.BuilderaddLoadMetricStats(EndpointLoadMetricStats.Builder builderForValue)Stats for multi-dimensional load balancing.EndpointLoadMetricStats.BuilderaddLoadMetricStatsBuilder()Stats for multi-dimensional load balancing.EndpointLoadMetricStats.BuilderaddLoadMetricStatsBuilder(int index)Stats for multi-dimensional load balancing.UpstreamLocalityStats.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpstreamLocalityStats.BuilderaddUpstreamEndpointStats(int index, UpstreamEndpointStats value)Endpoint granularity stats information for this locality.UpstreamLocalityStats.BuilderaddUpstreamEndpointStats(int index, UpstreamEndpointStats.Builder builderForValue)Endpoint granularity stats information for this locality.UpstreamLocalityStats.BuilderaddUpstreamEndpointStats(UpstreamEndpointStats value)Endpoint granularity stats information for this locality.UpstreamLocalityStats.BuilderaddUpstreamEndpointStats(UpstreamEndpointStats.Builder builderForValue)Endpoint granularity stats information for this locality.UpstreamEndpointStats.BuilderaddUpstreamEndpointStatsBuilder()Endpoint granularity stats information for this locality.UpstreamEndpointStats.BuilderaddUpstreamEndpointStatsBuilder(int index)Endpoint granularity stats information for this locality.UpstreamLocalityStatsbuild()UpstreamLocalityStatsbuildPartial()UpstreamLocalityStats.Builderclear()UpstreamLocalityStats.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UpstreamLocalityStats.BuilderclearLoadMetricStats()Stats for multi-dimensional load balancing.UpstreamLocalityStats.BuilderclearLocality()Name of zone, region and optionally endpoint group these metrics were collected from.UpstreamLocalityStats.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UpstreamLocalityStats.BuilderclearPriority()[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.UpstreamLocalityStats.BuilderclearTotalErrorRequests()The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.UpstreamLocalityStats.BuilderclearTotalIssuedRequests()The total number of requests that were issued by this Envoy since the last report.UpstreamLocalityStats.BuilderclearTotalRequestsInProgress()The total number of unfinished requestsUpstreamLocalityStats.BuilderclearTotalSuccessfulRequests()The total number of requests successfully completed by the endpoints in the locality.UpstreamLocalityStats.BuilderclearUpstreamEndpointStats()Endpoint granularity stats information for this locality.UpstreamLocalityStats.Builderclone()UpstreamLocalityStatsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()EndpointLoadMetricStatsgetLoadMetricStats(int index)Stats for multi-dimensional load balancing.EndpointLoadMetricStats.BuildergetLoadMetricStatsBuilder(int index)Stats for multi-dimensional load balancing.List<EndpointLoadMetricStats.Builder>getLoadMetricStatsBuilderList()Stats for multi-dimensional load balancing.intgetLoadMetricStatsCount()Stats for multi-dimensional load balancing.List<EndpointLoadMetricStats>getLoadMetricStatsList()Stats for multi-dimensional load balancing.EndpointLoadMetricStatsOrBuildergetLoadMetricStatsOrBuilder(int index)Stats for multi-dimensional load balancing.List<? extends EndpointLoadMetricStatsOrBuilder>getLoadMetricStatsOrBuilderList()Stats for multi-dimensional load balancing.LocalitygetLocality()Name of zone, region and optionally endpoint group these metrics were collected from.Locality.BuildergetLocalityBuilder()Name of zone, region and optionally endpoint group these metrics were collected from.LocalityOrBuildergetLocalityOrBuilder()Name of zone, region and optionally endpoint group these metrics were collected from.intgetPriority()[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.longgetTotalErrorRequests()The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.longgetTotalIssuedRequests()The total number of requests that were issued by this Envoy since the last report.longgetTotalRequestsInProgress()The total number of unfinished requestslonggetTotalSuccessfulRequests()The total number of requests successfully completed by the endpoints in the locality.UpstreamEndpointStatsgetUpstreamEndpointStats(int index)Endpoint granularity stats information for this locality.UpstreamEndpointStats.BuildergetUpstreamEndpointStatsBuilder(int index)Endpoint granularity stats information for this locality.List<UpstreamEndpointStats.Builder>getUpstreamEndpointStatsBuilderList()Endpoint granularity stats information for this locality.intgetUpstreamEndpointStatsCount()Endpoint granularity stats information for this locality.List<UpstreamEndpointStats>getUpstreamEndpointStatsList()Endpoint granularity stats information for this locality.UpstreamEndpointStatsOrBuildergetUpstreamEndpointStatsOrBuilder(int index)Endpoint granularity stats information for this locality.List<? extends UpstreamEndpointStatsOrBuilder>getUpstreamEndpointStatsOrBuilderList()Endpoint granularity stats information for this locality.booleanhasLocality()Name of zone, region and optionally endpoint group these metrics were collected from.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UpstreamLocalityStats.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UpstreamLocalityStats.BuildermergeFrom(com.google.protobuf.Message other)UpstreamLocalityStats.BuildermergeFrom(UpstreamLocalityStats other)UpstreamLocalityStats.BuildermergeLocality(Locality value)Name of zone, region and optionally endpoint group these metrics were collected from.UpstreamLocalityStats.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpstreamLocalityStats.BuilderremoveLoadMetricStats(int index)Stats for multi-dimensional load balancing.UpstreamLocalityStats.BuilderremoveUpstreamEndpointStats(int index)Endpoint granularity stats information for this locality.UpstreamLocalityStats.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UpstreamLocalityStats.BuildersetLoadMetricStats(int index, EndpointLoadMetricStats value)Stats for multi-dimensional load balancing.UpstreamLocalityStats.BuildersetLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue)Stats for multi-dimensional load balancing.UpstreamLocalityStats.BuildersetLocality(Locality value)Name of zone, region and optionally endpoint group these metrics were collected from.UpstreamLocalityStats.BuildersetLocality(Locality.Builder builderForValue)Name of zone, region and optionally endpoint group these metrics were collected from.UpstreamLocalityStats.BuildersetPriority(int value)[#not-implemented-hide:] The priority of the endpoint group these metrics were collected from.UpstreamLocalityStats.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UpstreamLocalityStats.BuildersetTotalErrorRequests(long value)The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.UpstreamLocalityStats.BuildersetTotalIssuedRequests(long value)The total number of requests that were issued by this Envoy since the last report.UpstreamLocalityStats.BuildersetTotalRequestsInProgress(long value)The total number of unfinished requestsUpstreamLocalityStats.BuildersetTotalSuccessfulRequests(long value)The total number of requests successfully completed by the endpoints in the locality.UpstreamLocalityStats.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UpstreamLocalityStats.BuildersetUpstreamEndpointStats(int index, UpstreamEndpointStats value)Endpoint granularity stats information for this locality.UpstreamLocalityStats.BuildersetUpstreamEndpointStats(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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
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
public 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
public UpstreamLocalityStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UpstreamLocalityStats build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UpstreamLocalityStats buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UpstreamLocalityStats.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
public UpstreamLocalityStats.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpstreamLocalityStats.Builder>
-
mergeFrom
public UpstreamLocalityStats.Builder mergeFrom(UpstreamLocalityStats other)
-
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
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:
getLocalityin 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:
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
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:
getTotalRequestsInProgressin 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:
getTotalErrorRequestsin 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:
getTotalIssuedRequestsin 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.
-
getLoadMetricStatsList
public List<EndpointLoadMetricStats> 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
public EndpointLoadMetricStats getLoadMetricStats(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsin 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(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:
getLoadMetricStatsOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
public List<? extends EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsOrBuilderList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderListin 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 List<EndpointLoadMetricStats.Builder> getLoadMetricStatsBuilderList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getUpstreamEndpointStatsList
public 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:
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
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:
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
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(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:
getUpstreamEndpointStatsOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
getUpstreamEndpointStatsOrBuilderList
public 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:
getUpstreamEndpointStatsOrBuilderListin 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 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;
-
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
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.
-
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>
-
-