Class UpstreamEndpointStats

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.endpoint.v3.UpstreamEndpointStats
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UpstreamEndpointStatsOrBuilder, Serializable

public final class UpstreamEndpointStats extends com.google.protobuf.GeneratedMessage implements UpstreamEndpointStatsOrBuilder
 [#next-free-field: 8]
 
Protobuf type envoy.config.endpoint.v3.UpstreamEndpointStats
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bitField0_

      private int bitField0_
    • ADDRESS_FIELD_NUMBER

      public static final int ADDRESS_FIELD_NUMBER
      See Also:
    • address_

      private Address address_
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • metadata_

      private com.google.protobuf.Struct metadata_
    • TOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER

      public static final int TOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER
      See Also:
    • totalSuccessfulRequests_

      private long totalSuccessfulRequests_
    • TOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBER

      public static final int TOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBER
      See Also:
    • totalRequestsInProgress_

      private long totalRequestsInProgress_
    • TOTAL_ERROR_REQUESTS_FIELD_NUMBER

      public static final int TOTAL_ERROR_REQUESTS_FIELD_NUMBER
      See Also:
    • totalErrorRequests_

      private long totalErrorRequests_
    • TOTAL_ISSUED_REQUESTS_FIELD_NUMBER

      public static final int TOTAL_ISSUED_REQUESTS_FIELD_NUMBER
      See Also:
    • totalIssuedRequests_

      private long totalIssuedRequests_
    • LOAD_METRIC_STATS_FIELD_NUMBER

      public static final int LOAD_METRIC_STATS_FIELD_NUMBER
      See Also:
    • loadMetricStats_

      private List<EndpointLoadMetricStats> loadMetricStats_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final UpstreamEndpointStats DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<UpstreamEndpointStats> PARSER
  • Constructor Details

    • UpstreamEndpointStats

      private UpstreamEndpointStats(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • UpstreamEndpointStats

      private UpstreamEndpointStats()
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasAddress

      public boolean hasAddress()
       Upstream host address.
       
      .envoy.config.core.v3.Address address = 1;
      Specified by:
      hasAddress in interface UpstreamEndpointStatsOrBuilder
      Returns:
      Whether the address field is set.
    • getAddress

      public Address getAddress()
       Upstream host address.
       
      .envoy.config.core.v3.Address address = 1;
      Specified by:
      getAddress in interface UpstreamEndpointStatsOrBuilder
      Returns:
      The address.
    • getAddressOrBuilder

      public AddressOrBuilder getAddressOrBuilder()
       Upstream host address.
       
      .envoy.config.core.v3.Address address = 1;
      Specified by:
      getAddressOrBuilder in interface UpstreamEndpointStatsOrBuilder
    • hasMetadata

      public boolean hasMetadata()
       Opaque and implementation dependent metadata of the
       endpoint. Envoy will pass this directly to the management server.
       
      .google.protobuf.Struct metadata = 6;
      Specified by:
      hasMetadata in interface UpstreamEndpointStatsOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public 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;
      Specified by:
      getMetadata in interface UpstreamEndpointStatsOrBuilder
      Returns:
      The metadata.
    • getMetadataOrBuilder

      public 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;
      Specified by:
      getMetadataOrBuilder in interface UpstreamEndpointStatsOrBuilder
    • getTotalSuccessfulRequests

      public 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;
      Specified by:
      getTotalSuccessfulRequests in interface UpstreamEndpointStatsOrBuilder
      Returns:
      The totalSuccessfulRequests.
    • getTotalRequestsInProgress

      public long getTotalRequestsInProgress()
       The total number of unfinished requests for this endpoint.
       
      uint64 total_requests_in_progress = 3;
      Specified by:
      getTotalRequestsInProgress in interface UpstreamEndpointStatsOrBuilder
      Returns:
      The totalRequestsInProgress.
    • getTotalErrorRequests

      public 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;
      Specified by:
      getTotalErrorRequests in interface UpstreamEndpointStatsOrBuilder
      Returns:
      The totalErrorRequests.
    • getTotalIssuedRequests

      public 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;
      Specified by:
      getTotalIssuedRequests in interface UpstreamEndpointStatsOrBuilder
      Returns:
      The totalIssuedRequests.
    • getLoadMetricStatsList

      public List<EndpointLoadMetricStats> getLoadMetricStatsList()
       Stats for multi-dimensional load balancing.
       
      repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
      Specified by:
      getLoadMetricStatsList in interface UpstreamEndpointStatsOrBuilder
    • getLoadMetricStatsOrBuilderList

      public List<? extends EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsOrBuilderList()
       Stats for multi-dimensional load balancing.
       
      repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
      Specified by:
      getLoadMetricStatsOrBuilderList in interface UpstreamEndpointStatsOrBuilder
    • getLoadMetricStatsCount

      public int getLoadMetricStatsCount()
       Stats for multi-dimensional load balancing.
       
      repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
      Specified by:
      getLoadMetricStatsCount in interface UpstreamEndpointStatsOrBuilder
    • getLoadMetricStats

      public EndpointLoadMetricStats getLoadMetricStats(int index)
       Stats for multi-dimensional load balancing.
       
      repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
      Specified by:
      getLoadMetricStats in interface UpstreamEndpointStatsOrBuilder
    • getLoadMetricStatsOrBuilder

      public EndpointLoadMetricStatsOrBuilder getLoadMetricStatsOrBuilder(int index)
       Stats for multi-dimensional load balancing.
       
      repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
      Specified by:
      getLoadMetricStatsOrBuilder in interface UpstreamEndpointStatsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UpstreamEndpointStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpstreamEndpointStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpstreamEndpointStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpstreamEndpointStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpstreamEndpointStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpstreamEndpointStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpstreamEndpointStats parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpstreamEndpointStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpstreamEndpointStats parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpstreamEndpointStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpstreamEndpointStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpstreamEndpointStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UpstreamEndpointStats.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UpstreamEndpointStats.Builder newBuilder()
    • newBuilder

      public static UpstreamEndpointStats.Builder newBuilder(UpstreamEndpointStats prototype)
    • toBuilder

      public UpstreamEndpointStats.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpstreamEndpointStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UpstreamEndpointStats getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpstreamEndpointStats> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpstreamEndpointStats> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public UpstreamEndpointStats getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder