接口 VirtualServiceOuterClass.HTTPFaultInjection.AbortOrBuilder

    • 方法详细资料

      • 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;