Class 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.GeneratedMessageV3
    implements Spec.ProtoExecutionResultOrBuilder
    / A proto object representing the result of an execution
     
    Protobuf type gauge.messages.ProtoExecutionResult
    See Also:
    Serialized Form
    • Field Detail

      • RECOVERABLEERROR_FIELD_NUMBER

        public static final int RECOVERABLEERROR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ERRORMESSAGE_FIELD_NUMBER

        public static final int ERRORMESSAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STACKTRACE_FIELD_NUMBER

        public static final int STACKTRACE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCREENSHOT_FIELD_NUMBER

        public static final int SCREENSHOT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXECUTIONTIME_FIELD_NUMBER

        public static final int EXECUTIONTIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FAILURESCREENSHOT_FIELD_NUMBER

        public static final int FAILURESCREENSHOT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCREENSHOTS_FIELD_NUMBER

        public static final int SCREENSHOTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FAILURESCREENSHOTFILE_FIELD_NUMBER

        public static final int FAILURESCREENSHOTFILE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCREENSHOTFILES_FIELD_NUMBER

        public static final int SCREENSHOTFILES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getScreenShot

        @Deprecated
        public com.google.protobuf.ByteString getScreenShot()
        Deprecated.
        / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
         
        bytes screenShot = 5 [deprecated = true];
        Specified by:
        getScreenShot in interface Spec.ProtoExecutionResultOrBuilder
      • getMessageList

        public com.google.protobuf.ProtocolStringList getMessageList()
        / Additional information at exec time to be available on reports
         
        repeated string message = 7;
        Specified by:
        getMessageList in interface Spec.ProtoExecutionResultOrBuilder
      • 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:
        getMessageBytes in interface Spec.ProtoExecutionResultOrBuilder
      • getErrorTypeValue

        public int getErrorTypeValue()
        / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
         
        .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8;
        Specified by:
        getErrorTypeValue in interface Spec.ProtoExecutionResultOrBuilder
      • getFailureScreenshot

        @Deprecated
        public com.google.protobuf.ByteString getFailureScreenshot()
        Deprecated.
        / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
         
        bytes failureScreenshot = 9 [deprecated = true];
        Specified by:
        getFailureScreenshot in interface Spec.ProtoExecutionResultOrBuilder
      • getScreenshotsList

        @Deprecated
        public List<com.google.protobuf.ByteString> getScreenshotsList()
        Deprecated.
        / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
         
        repeated bytes screenshots = 10 [deprecated = true];
        Specified by:
        getScreenshotsList in interface Spec.ProtoExecutionResultOrBuilder
      • getScreenshots

        @Deprecated
        public com.google.protobuf.ByteString getScreenshots​(int index)
        Deprecated.
        / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
         
        repeated bytes screenshots = 10 [deprecated = true];
        Specified by:
        getScreenshots in interface Spec.ProtoExecutionResultOrBuilder
      • getScreenshotFilesList

        public com.google.protobuf.ProtocolStringList getScreenshotFilesList()
        / Path to the screenshot files captured using Gauge screenshsot API.
         
        repeated string screenshotFiles = 12;
        Specified by:
        getScreenshotFilesList in interface Spec.ProtoExecutionResultOrBuilder
      • 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:
        getScreenshotFilesBytes in interface Spec.ProtoExecutionResultOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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
      • newBuilderForType

        public Spec.ProtoExecutionResult.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Spec.ProtoExecutionResult.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Spec.ProtoExecutionResult.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Spec.ProtoExecutionResult> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Spec.ProtoExecutionResult getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder