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
,java.io.Serializable
public final class UpstreamEndpointStats extends com.google.protobuf.GeneratedMessage implements UpstreamEndpointStatsOrBuilder
[#next-free-field: 8]
Protobuf typeenvoy.config.endpoint.v3.UpstreamEndpointStats
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpstreamEndpointStats.Builder
[#next-free-field: 8]-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private Address
address_
static int
ADDRESS_FIELD_NUMBER
private int
bitField0_
private static UpstreamEndpointStats
DEFAULT_INSTANCE
static int
LOAD_METRIC_STATS_FIELD_NUMBER
private java.util.List<EndpointLoadMetricStats>
loadMetricStats_
private byte
memoizedIsInitialized
private com.google.protobuf.Struct
metadata_
static int
METADATA_FIELD_NUMBER
private static com.google.protobuf.Parser<UpstreamEndpointStats>
PARSER
private static long
serialVersionUID
static int
TOTAL_ERROR_REQUESTS_FIELD_NUMBER
static int
TOTAL_ISSUED_REQUESTS_FIELD_NUMBER
static int
TOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBER
static int
TOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER
private long
totalErrorRequests_
private long
totalIssuedRequests_
private long
totalRequestsInProgress_
private long
totalSuccessfulRequests_
-
Constructor Summary
Constructors Modifier Constructor Description private
UpstreamEndpointStats()
private
UpstreamEndpointStats(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Address
getAddress()
Upstream host address.AddressOrBuilder
getAddressOrBuilder()
Upstream host address.static UpstreamEndpointStats
getDefaultInstance()
UpstreamEndpointStats
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.com.google.protobuf.Parser<UpstreamEndpointStats>
getParserForType()
int
getSerializedSize()
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.int
hashCode()
boolean
hasMetadata()
Opaque and implementation dependent metadata of the endpoint.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static UpstreamEndpointStats.Builder
newBuilder()
static UpstreamEndpointStats.Builder
newBuilder(UpstreamEndpointStats prototype)
UpstreamEndpointStats.Builder
newBuilderForType()
protected UpstreamEndpointStats.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static UpstreamEndpointStats
parseDelimitedFrom(java.io.InputStream input)
static UpstreamEndpointStats
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpstreamEndpointStats
parseFrom(byte[] data)
static UpstreamEndpointStats
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpstreamEndpointStats
parseFrom(com.google.protobuf.ByteString data)
static UpstreamEndpointStats
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpstreamEndpointStats
parseFrom(com.google.protobuf.CodedInputStream input)
static UpstreamEndpointStats
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpstreamEndpointStats
parseFrom(java.io.InputStream input)
static UpstreamEndpointStats
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UpstreamEndpointStats
parseFrom(java.nio.ByteBuffer data)
static UpstreamEndpointStats
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<UpstreamEndpointStats>
parser()
UpstreamEndpointStats.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
address_
private Address address_
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
metadata_
private com.google.protobuf.Struct metadata_
-
TOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER
public static final int TOTAL_SUCCESSFUL_REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
totalSuccessfulRequests_
private long totalSuccessfulRequests_
-
TOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBER
public static final int TOTAL_REQUESTS_IN_PROGRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
totalRequestsInProgress_
private long totalRequestsInProgress_
-
TOTAL_ERROR_REQUESTS_FIELD_NUMBER
public static final int TOTAL_ERROR_REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
totalErrorRequests_
private long totalErrorRequests_
-
TOTAL_ISSUED_REQUESTS_FIELD_NUMBER
public static final int TOTAL_ISSUED_REQUESTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
totalIssuedRequests_
private long totalIssuedRequests_
-
LOAD_METRIC_STATS_FIELD_NUMBER
public static final int LOAD_METRIC_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
loadMetricStats_
private java.util.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
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasAddress
public boolean hasAddress()
Upstream host address.
.envoy.config.core.v3.Address address = 1;
- Specified by:
hasAddress
in interfaceUpstreamEndpointStatsOrBuilder
- 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 interfaceUpstreamEndpointStatsOrBuilder
- Returns:
- The address.
-
getAddressOrBuilder
public AddressOrBuilder getAddressOrBuilder()
Upstream host address.
.envoy.config.core.v3.Address address = 1;
- Specified by:
getAddressOrBuilder
in interfaceUpstreamEndpointStatsOrBuilder
-
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 interfaceUpstreamEndpointStatsOrBuilder
- 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 interfaceUpstreamEndpointStatsOrBuilder
- 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 interfaceUpstreamEndpointStatsOrBuilder
-
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 interfaceUpstreamEndpointStatsOrBuilder
- 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 interfaceUpstreamEndpointStatsOrBuilder
- 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 interfaceUpstreamEndpointStatsOrBuilder
- 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 interfaceUpstreamEndpointStatsOrBuilder
- Returns:
- The totalIssuedRequests.
-
getLoadMetricStatsList
public java.util.List<EndpointLoadMetricStats> getLoadMetricStatsList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStatsList
in interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStatsOrBuilderList
public java.util.List<? extends EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsOrBuilderList()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStatsOrBuilderList
in interfaceUpstreamEndpointStatsOrBuilder
-
getLoadMetricStatsCount
public int getLoadMetricStatsCount()
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
- Specified by:
getLoadMetricStatsCount
in interfaceUpstreamEndpointStatsOrBuilder
-
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 interfaceUpstreamEndpointStatsOrBuilder
-
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 interfaceUpstreamEndpointStatsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpstreamEndpointStats parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpstreamEndpointStats parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UpstreamEndpointStats parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static UpstreamEndpointStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static UpstreamEndpointStats parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UpstreamEndpointStats parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UpstreamEndpointStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public UpstreamEndpointStats.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.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 interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpstreamEndpointStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public UpstreamEndpointStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-