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
Modifier and TypeMethodDescriptionint
gRPC status code to use to abort the gRPC request.Fault aborts are controlled via an HTTP header (if applicable).Fault aborts are controlled via an HTTP header (if applicable).int
HTTP status code to use to abort the HTTP request.The percentage of requests/operations/connections that will be aborted with the error code provided.The percentage of requests/operations/connections that will be aborted with the error code provided.boolean
gRPC status code to use to abort the gRPC request.boolean
Fault aborts are controlled via an HTTP header (if applicable).boolean
HTTP status code to use to abort the HTTP request.boolean
The percentage of requests/operations/connections that will be aborted with the error code provided.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-
hasGrpcStatus
boolean hasGrpcStatus()gRPC status code to use to abort the gRPC request.
uint32 grpc_status = 5;
- Returns:
- Whether the grpcStatus field is set.
-
getGrpcStatus
int getGrpcStatus()gRPC status code to use to abort the gRPC request.
uint32 grpc_status = 5;
- Returns:
- The grpcStatus.
-
hasHeaderAbort
boolean hasHeaderAbort()Fault aborts are controlled via an HTTP header (if applicable).
.envoy.extensions.filters.http.fault.v3.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.extensions.filters.http.fault.v3.FaultAbort.HeaderAbort header_abort = 4;
- Returns:
- The headerAbort.
-
getHeaderAbortOrBuilder
FaultAbort.HeaderAbortOrBuilder getHeaderAbortOrBuilder()Fault aborts are controlled via an HTTP header (if applicable).
.envoy.extensions.filters.http.fault.v3.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.v3.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.v3.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.v3.FractionalPercent percentage = 3;
-
getErrorTypeCase
FaultAbort.ErrorTypeCase getErrorTypeCase()
-