Interface UpstreamEndpointStatsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpstreamEndpointStats
,UpstreamEndpointStats.Builder
public interface UpstreamEndpointStatsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Address
getAddress()
Upstream host address.AddressOrBuilder
getAddressOrBuilder()
Upstream host address.EndpointLoadMetricStats
getLoadMetricStats(int index)
Stats for multi-dimensional load balancing.int
getLoadMetricStatsCount()
Stats for multi-dimensional load balancing.java.util.List<EndpointLoadMetricStats>
getLoadMetricStatsList()
Stats for multi-dimensional load balancing.EndpointLoadMetricStatsOrBuilder
getLoadMetricStatsOrBuilder(int index)
Stats for multi-dimensional load balancing.java.util.List<? extends EndpointLoadMetricStatsOrBuilder>
getLoadMetricStatsOrBuilderList()
Stats for multi-dimensional load balancing.com.google.protobuf.Struct
getMetadata()
Opaque and implementation dependent metadata of the endpoint.com.google.protobuf.StructOrBuilder
getMetadataOrBuilder()
Opaque and implementation dependent metadata of the endpoint.long
getTotalErrorRequests()
The total number of requests that failed due to errors at the endpoint.long
getTotalIssuedRequests()
The total number of requests that were issued to this endpoint since the last report.long
getTotalRequestsInProgress()
The total number of unfinished requests for this endpoint.long
getTotalSuccessfulRequests()
The total number of requests successfully completed by the endpoints in the locality.boolean
hasAddress()
Upstream host address.boolean
hasMetadata()
Opaque and implementation dependent metadata of the endpoint.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAddress
boolean hasAddress()
Upstream host address.
.envoy.config.core.v3.Address address = 1;
- Returns:
- Whether the address field is set.
-
getAddress
Address getAddress()
Upstream host address.
.envoy.config.core.v3.Address address = 1;
- Returns:
- The address.
-
getAddressOrBuilder
AddressOrBuilder getAddressOrBuilder()
Upstream host address.
.envoy.config.core.v3.Address address = 1;
-
hasMetadata
boolean hasMetadata()
Opaque and implementation dependent metadata of the endpoint. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 6;
- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()
Opaque and implementation dependent metadata of the endpoint. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 6;
- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
Opaque and implementation dependent metadata of the endpoint. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 6;
-
getTotalSuccessfulRequests
long getTotalSuccessfulRequests()
The total number of requests successfully completed by the endpoints in the locality. These include non-5xx responses for HTTP, where errors originate at the client and the endpoint responded successfully. For gRPC, the grpc-status values are those not covered by total_error_requests below.
uint64 total_successful_requests = 2;
- Returns:
- The totalSuccessfulRequests.
-
getTotalRequestsInProgress
long getTotalRequestsInProgress()
The total number of unfinished requests for this endpoint.
uint64 total_requests_in_progress = 3;
- Returns:
- The totalRequestsInProgress.
-
getTotalErrorRequests
long getTotalErrorRequests()
The total number of requests that failed due to errors at the endpoint. For HTTP these are responses with 5xx status codes and for gRPC the grpc-status values: - DeadlineExceeded - Unimplemented - Internal - Unavailable - Unknown - DataLoss
uint64 total_error_requests = 4;
- Returns:
- The totalErrorRequests.
-
getTotalIssuedRequests
long getTotalIssuedRequests()
The total number of requests that were issued to this endpoint since the last report. A single TCP connection, HTTP or gRPC request or stream is counted as one request.
uint64 total_issued_requests = 7;
- Returns:
- The totalIssuedRequests.
-
getLoadMetricStatsList
java.util.List<EndpointLoadMetricStats> getLoadMetricStatsList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStats
EndpointLoadMetricStats getLoadMetricStats(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsCount
int getLoadMetricStatsCount()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsOrBuilderList
java.util.List<? extends EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsOrBuilderList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsOrBuilder
EndpointLoadMetricStatsOrBuilder getLoadMetricStatsOrBuilder(int index)
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
-