接口 VirtualServiceOuterClass.HTTPFaultInjection.AbortOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
VirtualServiceOuterClass.HTTPFaultInjection.Abort, VirtualServiceOuterClass.HTTPFaultInjection.Abort.Builder
封闭类:
VirtualServiceOuterClass.HTTPFaultInjection

public static interface VirtualServiceOuterClass.HTTPFaultInjection.AbortOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法详细资料

    • 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

       Percentage of requests to be aborted with the error code provided.
       
      .istio.networking.v1alpha3.Percent percentage = 5;
      返回:
      The percentage.
    • getPercentageOrBuilder

       Percentage of requests to be aborted with the error code provided.
       
      .istio.networking.v1alpha3.Percent percentage = 5;
    • getErrorTypeCase