Interface Webhooks.WebhookTestResultOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Webhooks.WebhookTestResult, Webhooks.WebhookTestResult.Builder
Enclosing class:
Webhooks

public static interface Webhooks.WebhookTestResultOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Error message if test failed
    com.google.protobuf.ByteString
    Error message if test failed
    Response body if available
    com.google.protobuf.ByteString
    Response body if available
    int
    HTTP response status code if available
    boolean
    Whether the test succeeded
    boolean
    Error message if test failed
    boolean
    Response body if available
    boolean
    HTTP response status code if available
    boolean
    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 Details

    • 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

      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

      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.