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 execution
 
Protobuf type gauge.messages.ProtoExecutionResult
See Also:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getFailed

      public boolean getFailed()
       / Flag to indicate failure
       
      bool failed = 1;
      Specified by:
      getFailed in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The failed.
    • getRecoverableError

      public boolean getRecoverableError()
       / Flag to indicate if the error is recoverable from.
       
      bool recoverableError = 2;
      Specified by:
      getRecoverableError in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The recoverableError.
    • getErrorMessage

      public String getErrorMessage()
       / The actual error message.
       
      string errorMessage = 3;
      Specified by:
      getErrorMessage in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
       / The actual error message.
       
      string errorMessage = 3;
      Specified by:
      getErrorMessageBytes in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The bytes for errorMessage.
    • getStackTrace

      public String getStackTrace()
       / Stacktrace of the error
       
      string stackTrace = 4;
      Specified by:
      getStackTrace in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The stackTrace.
    • getStackTraceBytes

      public com.google.protobuf.ByteString getStackTraceBytes()
       / Stacktrace of the error
       
      string stackTrace = 4;
      Specified by:
      getStackTraceBytes in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The bytes for stackTrace.
    • getScreenShot

      @Deprecated public com.google.protobuf.ByteString 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:
      getScreenShot in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The screenShot.
    • getExecutionTime

      public long getExecutionTime()
       / Holds the time taken for executing this scenario.
       
      int64 executionTime = 6;
      Specified by:
      getExecutionTime in interface Spec.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:
      getMessageList in interface Spec.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:
      getMessageCount in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The count of message.
    • getMessage

      public String getMessage(int index)
       / Additional information at exec time to be available on reports
       
      repeated string message = 7;
      Specified by:
      getMessage in interface Spec.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:
      getMessageBytes in interface Spec.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:
      getErrorTypeValue in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The enum numeric value on the wire for errorType.
    • getErrorType

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

      @Deprecated public com.google.protobuf.ByteString 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:
      getFailureScreenshot in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The failureScreenshot.
    • getScreenshotsList

      @Deprecated public List<com.google.protobuf.ByteString> 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:
      getScreenshotsList in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      A list containing the screenshots.
    • getScreenshotsCount

      @Deprecated public int 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:
      getScreenshotsCount in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The count of screenshots.
    • getScreenshots

      @Deprecated public com.google.protobuf.ByteString getScreenshots(int index)
      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:
      getScreenshots in interface Spec.ProtoExecutionResultOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The screenshots at the given index.
    • getFailureScreenshotFile

      public String getFailureScreenshotFile()
       / Path to the screenshot file captured at the time of failure.
       
      string failureScreenshotFile = 11;
      Specified by:
      getFailureScreenshotFile in interface Spec.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:
      getFailureScreenshotFileBytes in interface Spec.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:
      getScreenshotFilesList in interface Spec.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:
      getScreenshotFilesCount in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The count of screenshotFiles.
    • getScreenshotFiles

      public String getScreenshotFiles(int index)
       / Path to the screenshot files captured using Gauge screenshsot API.
       
      repeated string screenshotFiles = 12;
      Specified by:
      getScreenshotFiles in interface Spec.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:
      getScreenshotFilesBytes in interface Spec.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:
      getSkipScenario in interface Spec.ProtoExecutionResultOrBuilder
      Returns:
      The skipScenario.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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
    • parseFrom

      public static Spec.ProtoExecutionResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Spec.ProtoExecutionResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Spec.ProtoExecutionResult parseDelimitedFrom(InputStream input) throws IOException
      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

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

      public static Spec.ProtoExecutionResult.Builder newBuilder()
    • newBuilder

      public static Spec.ProtoExecutionResult.Builder newBuilder(Spec.ProtoExecutionResult prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Spec.ProtoExecutionResult getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Spec.ProtoExecutionResult> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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