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.api.v2.endpoint.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 GLB every so often. Report frequency is defined by :ref:`LoadStatsResponse.load_reporting_interval<envoy_api_field_service.load_stats.v2.LoadStatsResponse.load_reporting_interval>`. Stats per upstream region/zone and optionally per subzone. [#not-implemented-hide:] Not configuration. TBD how to doc proto APIs. [#next-free-field: 9]Protobuf type
envoy.api.v2.endpoint.UpstreamLocalityStats-
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.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()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Stats for multi-dimensional load balancing.Name of zone, region and optionally endpoint group these metrics were collected from.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 requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.The total number of requests that were issued by this Envoy 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.clone()static 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 requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.longThe total number of requests that were issued by this Envoy 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.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTotalErrorRequests(long value) The total number of requests that failed due to errors at the endpoint, aggregated over all endpoints in the locality.setTotalIssuedRequests(long value) The total number of requests that were issued by this Envoy 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.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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.api.v2.core.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
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.
-
getLoadMetricStatsList
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsListin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsCount
public int getLoadMetricStatsCount()Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsCountin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsin interfaceUpstreamLocalityStatsOrBuilder
-
setLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
setLoadMetricStats
public UpstreamLocalityStats.Builder setLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue) Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStats
public UpstreamLocalityStats.Builder addLoadMetricStats(EndpointLoadMetricStats.Builder builderForValue) Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStats
public UpstreamLocalityStats.Builder addLoadMetricStats(int index, EndpointLoadMetricStats.Builder builderForValue) Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
addAllLoadMetricStats
public UpstreamLocalityStats.Builder addAllLoadMetricStats(Iterable<? extends EndpointLoadMetricStats> values) Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
clearLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
removeLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
getLoadMetricStatsBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
getLoadMetricStatsOrBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderin interfaceUpstreamLocalityStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5;- Specified by:
getLoadMetricStatsOrBuilderListin interfaceUpstreamLocalityStatsOrBuilder
-
addLoadMetricStatsBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
addLoadMetricStatsBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.EndpointLoadMetricStats load_metric_stats = 5; -
getLoadMetricStatsBuilderList
Stats for multi-dimensional load balancing.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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_api_field_service.load_stats.v2.LoadStatsResponse.report_endpoint_granularity>`.
repeated .envoy.api.v2.endpoint.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>
-