Package gauge.messages
Interface Spec.ProtoExecutionResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Spec.ProtoExecutionResult,Spec.ProtoExecutionResult.Builder
- Enclosing class:
- Spec
public static interface Spec.ProtoExecutionResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription/ The actual error message.com.google.protobuf.ByteString/ The actual error message./ Type of the Error.int/ Type of the Error.long/ Holds the time taken for executing this scenario.boolean/ Flag to indicate failurecom.google.protobuf.ByteStringDeprecated.gauge.messages.ProtoExecutionResult.failureScreenshot is deprecated./ Path to the screenshot file captured at the time of failure.com.google.protobuf.ByteString/ Path to the screenshot file captured at the time of failure.getMessage(int index) / Additional information at exec time to be available on reportscom.google.protobuf.ByteStringgetMessageBytes(int index) / Additional information at exec time to be available on reportsint/ Additional information at exec time to be available on reports/ Additional information at exec time to be available on reportsboolean/ Flag to indicate if the error is recoverable from.com.google.protobuf.ByteStringDeprecated.gauge.messages.ProtoExecutionResult.screenShot is deprecated.getScreenshotFiles(int index) / Path to the screenshot files captured using Gauge screenshsot API.com.google.protobuf.ByteStringgetScreenshotFilesBytes(int index) / Path to the screenshot files captured using Gauge screenshsot API.int/ Path to the screenshot files captured using Gauge screenshsot API./ Path to the screenshot files captured using Gauge screenshsot API.com.google.protobuf.ByteStringgetScreenshots(int index) Deprecated.gauge.messages.ProtoExecutionResult.screenshots is deprecated.intDeprecated.gauge.messages.ProtoExecutionResult.screenshots is deprecated.List<com.google.protobuf.ByteString>Deprecated.gauge.messages.ProtoExecutionResult.screenshots is deprecated.boolean/ Flag to indicate skipping of the scenario execution/ Stacktrace of the errorcom.google.protobuf.ByteString/ Stacktrace of the errorMethods 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
-
getFailed
boolean getFailed()/ Flag to indicate failure
bool failed = 1;- Returns:
- The failed.
-
getRecoverableError
boolean getRecoverableError()/ Flag to indicate if the error is recoverable from.
bool recoverableError = 2;- Returns:
- The recoverableError.
-
getErrorMessage
String getErrorMessage()/ The actual error message.
string errorMessage = 3;- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()/ The actual error message.
string errorMessage = 3;- Returns:
- The bytes for errorMessage.
-
getStackTrace
String getStackTrace()/ Stacktrace of the error
string stackTrace = 4;- Returns:
- The stackTrace.
-
getStackTraceBytes
com.google.protobuf.ByteString getStackTraceBytes()/ Stacktrace of the error
string stackTrace = 4;- Returns:
- The bytes for stackTrace.
-
getScreenShot
Deprecated.gauge.messages.ProtoExecutionResult.screenShot is deprecated. See spec.proto;l=292/ [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
bytes screenShot = 5 [deprecated = true];- Returns:
- The screenShot.
-
getExecutionTime
long getExecutionTime()/ Holds the time taken for executing this scenario.
int64 executionTime = 6;- Returns:
- The executionTime.
-
getMessageList
/ Additional information at exec time to be available on reports
repeated string message = 7;- Returns:
- A list containing the message.
-
getMessageCount
int getMessageCount()/ Additional information at exec time to be available on reports
repeated string message = 7;- Returns:
- The count of message.
-
getMessage
/ Additional information at exec time to be available on reports
repeated string message = 7;- Parameters:
index- The index of the element to return.- Returns:
- The message at the given index.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes(int index) / Additional information at exec time to be available on reports
repeated string message = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the message at the given index.
-
getErrorTypeValue
int getErrorTypeValue()/ Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
.gauge.messages.ProtoExecutionResult.ErrorType errorType = 8;- Returns:
- The enum numeric value on the wire for errorType.
-
getErrorType
Spec.ProtoExecutionResult.ErrorType getErrorType()/ Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
.gauge.messages.ProtoExecutionResult.ErrorType errorType = 8;- Returns:
- The errorType.
-
getFailureScreenshot
Deprecated.gauge.messages.ProtoExecutionResult.failureScreenshot is deprecated. See spec.proto;l=306/ [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
bytes failureScreenshot = 9 [deprecated = true];- Returns:
- The failureScreenshot.
-
getScreenshotsList
Deprecated.gauge.messages.ProtoExecutionResult.screenshots is deprecated. See spec.proto;l=308/ [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
repeated bytes screenshots = 10 [deprecated = true];- Returns:
- A list containing the screenshots.
-
getScreenshotsCount
Deprecated.gauge.messages.ProtoExecutionResult.screenshots is deprecated. See spec.proto;l=308/ [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
repeated bytes screenshots = 10 [deprecated = true];- Returns:
- The count of screenshots.
-
getScreenshots
Deprecated.gauge.messages.ProtoExecutionResult.screenshots is deprecated. See spec.proto;l=308/ [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
repeated bytes screenshots = 10 [deprecated = true];- Parameters:
index- The index of the element to return.- Returns:
- The screenshots at the given index.
-
getFailureScreenshotFile
String getFailureScreenshotFile()/ Path to the screenshot file captured at the time of failure.
string failureScreenshotFile = 11;- Returns:
- The failureScreenshotFile.
-
getFailureScreenshotFileBytes
com.google.protobuf.ByteString getFailureScreenshotFileBytes()/ Path to the screenshot file captured at the time of failure.
string failureScreenshotFile = 11;- Returns:
- The bytes for failureScreenshotFile.
-
getScreenshotFilesList
/ Path to the screenshot files captured using Gauge screenshsot API.
repeated string screenshotFiles = 12;- Returns:
- A list containing the screenshotFiles.
-
getScreenshotFilesCount
int getScreenshotFilesCount()/ Path to the screenshot files captured using Gauge screenshsot API.
repeated string screenshotFiles = 12;- Returns:
- The count of screenshotFiles.
-
getScreenshotFiles
/ Path to the screenshot files captured using Gauge screenshsot API.
repeated string screenshotFiles = 12;- Parameters:
index- The index of the element to return.- Returns:
- The screenshotFiles at the given index.
-
getScreenshotFilesBytes
com.google.protobuf.ByteString getScreenshotFilesBytes(int index) / Path to the screenshot files captured using Gauge screenshsot API.
repeated string screenshotFiles = 12;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the screenshotFiles at the given index.
-
getSkipScenario
boolean getSkipScenario()/ Flag to indicate skipping of the scenario execution
bool skipScenario = 13;- Returns:
- The skipScenario.
-