Package gauge.messages
Class Spec.ProtoExecutionResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gauge.messages.Spec.ProtoExecutionResult
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Spec.ProtoExecutionResultOrBuilder,Serializable
- Enclosing class:
- Spec
public static final class Spec.ProtoExecutionResult
extends com.google.protobuf.GeneratedMessage
implements Spec.ProtoExecutionResultOrBuilder
/ A proto object representing the result of an executionProtobuf type
gauge.messages.ProtoExecutionResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class/ A proto object representing the result of an executionstatic enumProtobuf enumgauge.messages.ProtoExecutionResult.ErrorTypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Spec.ProtoExecutionResultstatic final com.google.protobuf.Descriptors.Descriptor/ 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 reportscom.google.protobuf.ProtocolStringList/ Additional information at exec time to be available on reportscom.google.protobuf.Parser<Spec.ProtoExecutionResult>boolean/ 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.com.google.protobuf.ProtocolStringList/ 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.intboolean/ Flag to indicate skipping of the scenario execution/ Stacktrace of the errorcom.google.protobuf.ByteString/ Stacktrace of the errorinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Spec.ProtoExecutionResult prototype) protected Spec.ProtoExecutionResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Spec.ProtoExecutionResultparseDelimitedFrom(InputStream input) static Spec.ProtoExecutionResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoExecutionResultparseFrom(byte[] data) static Spec.ProtoExecutionResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoExecutionResultparseFrom(com.google.protobuf.ByteString data) static Spec.ProtoExecutionResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoExecutionResultparseFrom(com.google.protobuf.CodedInputStream input) static Spec.ProtoExecutionResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoExecutionResultparseFrom(InputStream input) static Spec.ProtoExecutionResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoExecutionResultparseFrom(ByteBuffer data) static Spec.ProtoExecutionResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Spec.ProtoExecutionResult>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FAILED_FIELD_NUMBER
public static final int FAILED_FIELD_NUMBER- See Also:
-
RECOVERABLEERROR_FIELD_NUMBER
public static final int RECOVERABLEERROR_FIELD_NUMBER- See Also:
-
ERRORMESSAGE_FIELD_NUMBER
public static final int ERRORMESSAGE_FIELD_NUMBER- See Also:
-
STACKTRACE_FIELD_NUMBER
public static final int STACKTRACE_FIELD_NUMBER- See Also:
-
SCREENSHOT_FIELD_NUMBER
public static final int SCREENSHOT_FIELD_NUMBER- See Also:
-
EXECUTIONTIME_FIELD_NUMBER
public static final int EXECUTIONTIME_FIELD_NUMBER- See Also:
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
ERRORTYPE_FIELD_NUMBER
public static final int ERRORTYPE_FIELD_NUMBER- See Also:
-
FAILURESCREENSHOT_FIELD_NUMBER
public static final int FAILURESCREENSHOT_FIELD_NUMBER- See Also:
-
SCREENSHOTS_FIELD_NUMBER
public static final int SCREENSHOTS_FIELD_NUMBER- See Also:
-
FAILURESCREENSHOTFILE_FIELD_NUMBER
public static final int FAILURESCREENSHOTFILE_FIELD_NUMBER- See Also:
-
SCREENSHOTFILES_FIELD_NUMBER
public static final int SCREENSHOTFILES_FIELD_NUMBER- See Also:
-
SKIPSCENARIO_FIELD_NUMBER
public static final int SKIPSCENARIO_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getFailed
public boolean getFailed()/ Flag to indicate failure
bool failed = 1;- Specified by:
getFailedin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The failed.
-
getRecoverableError
public boolean getRecoverableError()/ Flag to indicate if the error is recoverable from.
bool recoverableError = 2;- Specified by:
getRecoverableErrorin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The recoverableError.
-
getErrorMessage
/ The actual error message.
string errorMessage = 3;- Specified by:
getErrorMessagein interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()/ The actual error message.
string errorMessage = 3;- Specified by:
getErrorMessageBytesin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The bytes for errorMessage.
-
getStackTrace
/ Stacktrace of the error
string stackTrace = 4;- Specified by:
getStackTracein interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The stackTrace.
-
getStackTraceBytes
public com.google.protobuf.ByteString getStackTraceBytes()/ Stacktrace of the error
string stackTrace = 4;- Specified by:
getStackTraceBytesin interfaceSpec.ProtoExecutionResultOrBuilder- 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];- Specified by:
getScreenShotin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The screenShot.
-
getExecutionTime
public long getExecutionTime()/ Holds the time taken for executing this scenario.
int64 executionTime = 6;- Specified by:
getExecutionTimein interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The executionTime.
-
getMessageList
public com.google.protobuf.ProtocolStringList getMessageList()/ Additional information at exec time to be available on reports
repeated string message = 7;- Specified by:
getMessageListin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- A list containing the message.
-
getMessageCount
public int getMessageCount()/ Additional information at exec time to be available on reports
repeated string message = 7;- Specified by:
getMessageCountin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The count of message.
-
getMessage
/ Additional information at exec time to be available on reports
repeated string message = 7;- Specified by:
getMessagein interfaceSpec.ProtoExecutionResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The message at the given index.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes(int index) / Additional information at exec time to be available on reports
repeated string message = 7;- Specified by:
getMessageBytesin interfaceSpec.ProtoExecutionResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the message at the given index.
-
getErrorTypeValue
public int getErrorTypeValue()/ Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
.gauge.messages.ProtoExecutionResult.ErrorType errorType = 8;- Specified by:
getErrorTypeValuein interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The enum numeric value on the wire for errorType.
-
getErrorType
/ Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
.gauge.messages.ProtoExecutionResult.ErrorType errorType = 8;- Specified by:
getErrorTypein interfaceSpec.ProtoExecutionResultOrBuilder- 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];- Specified by:
getFailureScreenshotin interfaceSpec.ProtoExecutionResultOrBuilder- 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];- Specified by:
getScreenshotsListin interfaceSpec.ProtoExecutionResultOrBuilder- 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];- Specified by:
getScreenshotsCountin interfaceSpec.ProtoExecutionResultOrBuilder- 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];- Specified by:
getScreenshotsin interfaceSpec.ProtoExecutionResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The screenshots at the given index.
-
getFailureScreenshotFile
/ Path to the screenshot file captured at the time of failure.
string failureScreenshotFile = 11;- Specified by:
getFailureScreenshotFilein interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The failureScreenshotFile.
-
getFailureScreenshotFileBytes
public com.google.protobuf.ByteString getFailureScreenshotFileBytes()/ Path to the screenshot file captured at the time of failure.
string failureScreenshotFile = 11;- Specified by:
getFailureScreenshotFileBytesin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The bytes for failureScreenshotFile.
-
getScreenshotFilesList
public com.google.protobuf.ProtocolStringList getScreenshotFilesList()/ Path to the screenshot files captured using Gauge screenshsot API.
repeated string screenshotFiles = 12;- Specified by:
getScreenshotFilesListin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- A list containing the screenshotFiles.
-
getScreenshotFilesCount
public int getScreenshotFilesCount()/ Path to the screenshot files captured using Gauge screenshsot API.
repeated string screenshotFiles = 12;- Specified by:
getScreenshotFilesCountin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The count of screenshotFiles.
-
getScreenshotFiles
/ Path to the screenshot files captured using Gauge screenshsot API.
repeated string screenshotFiles = 12;- Specified by:
getScreenshotFilesin interfaceSpec.ProtoExecutionResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The screenshotFiles at the given index.
-
getScreenshotFilesBytes
public com.google.protobuf.ByteString getScreenshotFilesBytes(int index) / Path to the screenshot files captured using Gauge screenshsot API.
repeated string screenshotFiles = 12;- Specified by:
getScreenshotFilesBytesin interfaceSpec.ProtoExecutionResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the screenshotFiles at the given index.
-
getSkipScenario
public boolean getSkipScenario()/ Flag to indicate skipping of the scenario execution
bool skipScenario = 13;- Specified by:
getSkipScenarioin interfaceSpec.ProtoExecutionResultOrBuilder- Returns:
- The skipScenario.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Spec.ProtoExecutionResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.ProtoExecutionResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.ProtoExecutionResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.ProtoExecutionResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.ProtoExecutionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.ProtoExecutionResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Spec.ProtoExecutionResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Spec.ProtoExecutionResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Spec.ProtoExecutionResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Spec.ProtoExecutionResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Spec.ProtoExecutionResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-