Interface FaultAbortOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FaultAbort,FaultAbort.Builder
public interface FaultAbortOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FaultAbort.ErrorTypeCasegetErrorTypeCase()FaultAbort.HeaderAbortgetHeaderAbort()Fault aborts are controlled via an HTTP header (if applicable).FaultAbort.HeaderAbortOrBuildergetHeaderAbortOrBuilder()Fault aborts are controlled via an HTTP header (if applicable).intgetHttpStatus()HTTP status code to use to abort the HTTP request.FractionalPercentgetPercentage()The percentage of requests/operations/connections that will be aborted with the error code provided.FractionalPercentOrBuildergetPercentageOrBuilder()The percentage of requests/operations/connections that will be aborted with the error code provided.booleanhasHeaderAbort()Fault aborts are controlled via an HTTP header (if applicable).booleanhasHttpStatus()HTTP status code to use to abort the HTTP request.booleanhasPercentage()The percentage of requests/operations/connections that will be aborted with the error code provided.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHttpStatus
boolean hasHttpStatus()
HTTP status code to use to abort the HTTP request.
uint32 http_status = 2 [(.validate.rules) = { ... }- Returns:
- Whether the httpStatus field is set.
-
getHttpStatus
int getHttpStatus()
HTTP status code to use to abort the HTTP request.
uint32 http_status = 2 [(.validate.rules) = { ... }- Returns:
- The httpStatus.
-
hasHeaderAbort
boolean hasHeaderAbort()
Fault aborts are controlled via an HTTP header (if applicable).
.envoy.config.filter.http.fault.v2.FaultAbort.HeaderAbort header_abort = 4;- Returns:
- Whether the headerAbort field is set.
-
getHeaderAbort
FaultAbort.HeaderAbort getHeaderAbort()
Fault aborts are controlled via an HTTP header (if applicable).
.envoy.config.filter.http.fault.v2.FaultAbort.HeaderAbort header_abort = 4;- Returns:
- The headerAbort.
-
getHeaderAbortOrBuilder
FaultAbort.HeaderAbortOrBuilder getHeaderAbortOrBuilder()
Fault aborts are controlled via an HTTP header (if applicable).
.envoy.config.filter.http.fault.v2.FaultAbort.HeaderAbort header_abort = 4;
-
hasPercentage
boolean hasPercentage()
The percentage of requests/operations/connections that will be aborted with the error code provided.
.envoy.type.FractionalPercent percentage = 3;- Returns:
- Whether the percentage field is set.
-
getPercentage
FractionalPercent getPercentage()
The percentage of requests/operations/connections that will be aborted with the error code provided.
.envoy.type.FractionalPercent percentage = 3;- Returns:
- The percentage.
-
getPercentageOrBuilder
FractionalPercentOrBuilder getPercentageOrBuilder()
The percentage of requests/operations/connections that will be aborted with the error code provided.
.envoy.type.FractionalPercent percentage = 3;
-
getErrorTypeCase
FaultAbort.ErrorTypeCase getErrorTypeCase()
-
-