public static interface Fault.FaultAbortOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Fault.FaultAbort.ErrorTypeCase |
getErrorTypeCase() |
int |
getHttpStatus()
HTTP status code to use to abort the HTTP request.
|
int |
getPercent()
Deprecated.
|
PercentOuterClass.FractionalPercent |
getPercentage()
The percentage of requests/operations/connections that will be aborted with the error code
provided.
|
PercentOuterClass.FractionalPercentOrBuilder |
getPercentageOrBuilder()
The percentage of requests/operations/connections that will be aborted with the error code
provided.
|
boolean |
hasPercentage()
The percentage of requests/operations/connections that will be aborted with the error code
provided.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof@Deprecated int getPercent()
An integer between 0-100 indicating the percentage of requests/operations/connections that will be aborted with the error code provided. .. attention:: Use of integer `percent` value is deprecated. Use fractional `percentage` field instead.
uint32 percent = 1 [deprecated = true, (.validate.rules) = { ... }int getHttpStatus()
HTTP status code to use to abort the HTTP request.
uint32 http_status = 2 [(.validate.rules) = { ... }boolean hasPercentage()
The percentage of requests/operations/connections that will be aborted with the error code provided.
.envoy.type.FractionalPercent percentage = 3;PercentOuterClass.FractionalPercent getPercentage()
The percentage of requests/operations/connections that will be aborted with the error code provided.
.envoy.type.FractionalPercent percentage = 3;PercentOuterClass.FractionalPercentOrBuilder getPercentageOrBuilder()
The percentage of requests/operations/connections that will be aborted with the error code provided.
.envoy.type.FractionalPercent percentage = 3;Fault.FaultAbort.ErrorTypeCase getErrorTypeCase()
Copyright © 2018 The Envoy Project. All rights reserved.