接口 VirtualServiceOuterClass.HTTPFaultInjection.AbortOrBuilder

    • 方法详细资料

      • getHttpStatus

        int getHttpStatus()
         HTTP status code to use to abort the Http request.
         
        int32 http_status = 2 [(.google.api.field_behavior) = REQUIRED];
      • getGrpcStatus

        java.lang.String getGrpcStatus()
         $hide_from_docs
         
        string grpc_status = 3;
      • getGrpcStatusBytes

        com.google.protobuf.ByteString getGrpcStatusBytes()
         $hide_from_docs
         
        string grpc_status = 3;
      • getHttp2Error

        java.lang.String getHttp2Error()
         $hide_from_docs
         
        string http2_error = 4;
      • getHttp2ErrorBytes

        com.google.protobuf.ByteString getHttp2ErrorBytes()
         $hide_from_docs
         
        string http2_error = 4;
      • hasPercentage

        boolean hasPercentage()
         Percentage of requests to be aborted with the error code provided.
         
        .istio.networking.v1alpha3.Percent percentage = 5;
      • getPercentage

        VirtualServiceOuterClass.Percent getPercentage()
         Percentage of requests to be aborted with the error code provided.
         
        .istio.networking.v1alpha3.Percent percentage = 5;
      • getPercentageOrBuilder

        VirtualServiceOuterClass.PercentOrBuilder getPercentageOrBuilder()
         Percentage of requests to be aborted with the error code provided.
         
        .istio.networking.v1alpha3.Percent percentage = 5;