Interface Webhooks.WebhookTestResultOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getErrorMessage()
      Error message if test failed
      com.google.protobuf.ByteString getErrorMessageBytes()
      Error message if test failed
      java.lang.String getResponseBody()
      Response body if available
      com.google.protobuf.ByteString getResponseBodyBytes()
      Response body if available
      int getResponseStatus()
      HTTP response status code if available
      boolean getSuccess()
      Whether the test succeeded
      boolean hasErrorMessage()
      Error message if test failed
      boolean hasResponseBody()
      Response body if available
      boolean hasResponseStatus()
      HTTP response status code if available
      boolean hasSuccess()
      Whether the test succeeded
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasSuccess

        boolean hasSuccess()
         Whether the test succeeded
         
        optional bool success = 1;
        Returns:
        Whether the success field is set.
      • getSuccess

        boolean getSuccess()
         Whether the test succeeded
         
        optional bool success = 1;
        Returns:
        The success.
      • hasResponseStatus

        boolean hasResponseStatus()
         HTTP response status code if available
         
        optional int32 response_status = 2;
        Returns:
        Whether the responseStatus field is set.
      • getResponseStatus

        int getResponseStatus()
         HTTP response status code if available
         
        optional int32 response_status = 2;
        Returns:
        The responseStatus.
      • hasResponseBody

        boolean hasResponseBody()
         Response body if available
         
        optional string response_body = 3;
        Returns:
        Whether the responseBody field is set.
      • getResponseBody

        java.lang.String getResponseBody()
         Response body if available
         
        optional string response_body = 3;
        Returns:
        The responseBody.
      • getResponseBodyBytes

        com.google.protobuf.ByteString getResponseBodyBytes()
         Response body if available
         
        optional string response_body = 3;
        Returns:
        The bytes for responseBody.
      • hasErrorMessage

        boolean hasErrorMessage()
         Error message if test failed
         
        optional string error_message = 4;
        Returns:
        Whether the errorMessage field is set.
      • getErrorMessage

        java.lang.String getErrorMessage()
         Error message if test failed
         
        optional string error_message = 4;
        Returns:
        The errorMessage.
      • getErrorMessageBytes

        com.google.protobuf.ByteString getErrorMessageBytes()
         Error message if test failed
         
        optional string error_message = 4;
        Returns:
        The bytes for errorMessage.