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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getErrorMessage()
Error message if test failedcom.google.protobuf.ByteString
getErrorMessageBytes()
Error message if test failedjava.lang.String
getResponseBody()
Response body if availablecom.google.protobuf.ByteString
getResponseBodyBytes()
Response body if availableint
getResponseStatus()
HTTP response status code if availableboolean
getSuccess()
Whether the test succeededboolean
hasErrorMessage()
Error message if test failedboolean
hasResponseBody()
Response body if availableboolean
hasResponseStatus()
HTTP response status code if availableboolean
hasSuccess()
Whether the test succeeded-
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.
-
-