接口 VirtualServiceOuterClass.HTTPFaultInjection.AbortOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
VirtualServiceOuterClass.HTTPFaultInjection.Abort,VirtualServiceOuterClass.HTTPFaultInjection.Abort.Builder
public static interface VirtualServiceOuterClass.HTTPFaultInjection.AbortOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 VirtualServiceOuterClass.HTTPFaultInjection.Abort.ErrorTypeCasegetErrorTypeCase()java.lang.StringgetGrpcStatus()$hide_from_docscom.google.protobuf.ByteStringgetGrpcStatusBytes()$hide_from_docsjava.lang.StringgetHttp2Error()$hide_from_docscom.google.protobuf.ByteStringgetHttp2ErrorBytes()$hide_from_docsintgetHttpStatus()HTTP status code to use to abort the Http request.VirtualServiceOuterClass.PercentgetPercentage()Percentage of requests to be aborted with the error code provided.VirtualServiceOuterClass.PercentOrBuildergetPercentageOrBuilder()Percentage of requests to be aborted with the error code provided.booleanhasGrpcStatus()$hide_from_docsbooleanhasHttp2Error()$hide_from_docsbooleanhasHttpStatus()HTTP status code to use to abort the Http request.booleanhasPercentage()Percentage of requests to be aborted with the error code provided.
-
-
-
方法详细资料
-
hasHttpStatus
boolean hasHttpStatus()
HTTP status code to use to abort the Http request.
int32 http_status = 2 [(.google.api.field_behavior) = REQUIRED];- 返回:
- Whether the httpStatus field is set.
-
getHttpStatus
int getHttpStatus()
HTTP status code to use to abort the Http request.
int32 http_status = 2 [(.google.api.field_behavior) = REQUIRED];- 返回:
- The httpStatus.
-
hasGrpcStatus
boolean hasGrpcStatus()
$hide_from_docs
string grpc_status = 3;- 返回:
- Whether the grpcStatus field is set.
-
getGrpcStatus
java.lang.String getGrpcStatus()
$hide_from_docs
string grpc_status = 3;- 返回:
- The grpcStatus.
-
getGrpcStatusBytes
com.google.protobuf.ByteString getGrpcStatusBytes()
$hide_from_docs
string grpc_status = 3;- 返回:
- The bytes for grpcStatus.
-
hasHttp2Error
boolean hasHttp2Error()
$hide_from_docs
string http2_error = 4;- 返回:
- Whether the http2Error field is set.
-
getHttp2Error
java.lang.String getHttp2Error()
$hide_from_docs
string http2_error = 4;- 返回:
- The http2Error.
-
getHttp2ErrorBytes
com.google.protobuf.ByteString getHttp2ErrorBytes()
$hide_from_docs
string http2_error = 4;- 返回:
- The bytes for http2Error.
-
hasPercentage
boolean hasPercentage()
Percentage of requests to be aborted with the error code provided.
.istio.networking.v1alpha3.Percent percentage = 5;- 返回:
- Whether the percentage field is set.
-
getPercentage
VirtualServiceOuterClass.Percent getPercentage()
Percentage of requests to be aborted with the error code provided.
.istio.networking.v1alpha3.Percent percentage = 5;- 返回:
- The percentage.
-
getPercentageOrBuilder
VirtualServiceOuterClass.PercentOrBuilder getPercentageOrBuilder()
Percentage of requests to be aborted with the error code provided.
.istio.networking.v1alpha3.Percent percentage = 5;
-
getErrorTypeCase
VirtualServiceOuterClass.HTTPFaultInjection.Abort.ErrorTypeCase getErrorTypeCase()
-
-