Package org.mlflow.api.proto
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 TypeMethodDescriptionError message if test failedcom.google.protobuf.ByteStringError message if test failedResponse body if availablecom.google.protobuf.ByteStringResponse body if availableintHTTP response status code if availablebooleanWhether the test succeededbooleanError message if test failedbooleanResponse body if availablebooleanHTTP response status code if availablebooleanWhether the test succeededMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-