接口 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
-
方法概要
修饰符和类型方法说明$hide_from_docscom.google.protobuf.ByteString$hide_from_docs$hide_from_docscom.google.protobuf.ByteString$hide_from_docsintHTTP status code to use to abort the Http request.Percentage of requests to be aborted with the error code provided.Percentage of requests to be aborted with the error code provided.boolean$hide_from_docsboolean$hide_from_docsbooleanHTTP status code to use to abort the Http request.booleanPercentage of requests to be aborted with the error code provided.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
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
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
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()
-