Class Spec.ProtoHookFailure

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gauge.messages.Spec.ProtoHookFailure
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Spec.ProtoHookFailureOrBuilder, Serializable
Enclosing class:
Spec

public static final class Spec.ProtoHookFailure extends com.google.protobuf.GeneratedMessage implements Spec.ProtoHookFailureOrBuilder
 / A proto object representing a pre-hook failure.
 / Used to hold failure information for before_suite, before_spec, before_scenario and before_spec hooks.
 
Protobuf type gauge.messages.ProtoHookFailure
See Also:
  • Field Details

    • STACKTRACE_FIELD_NUMBER

      public static final int STACKTRACE_FIELD_NUMBER
      See Also:
    • ERRORMESSAGE_FIELD_NUMBER

      public static final int ERRORMESSAGE_FIELD_NUMBER
      See Also:
    • SCREENSHOT_FIELD_NUMBER

      public static final int SCREENSHOT_FIELD_NUMBER
      See Also:
    • TABLEROWINDEX_FIELD_NUMBER

      public static final int TABLEROWINDEX_FIELD_NUMBER
      See Also:
    • FAILURESCREENSHOT_FIELD_NUMBER

      public static final int FAILURESCREENSHOT_FIELD_NUMBER
      See Also:
    • FAILURESCREENSHOTFILE_FIELD_NUMBER

      public static final int FAILURESCREENSHOTFILE_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
    • getStackTrace

      public String getStackTrace()
       / Stacktrace from the failure
       
      string stackTrace = 1;
      Specified by:
      getStackTrace in interface Spec.ProtoHookFailureOrBuilder
      Returns:
      The stackTrace.
    • getStackTraceBytes

      public com.google.protobuf.ByteString getStackTraceBytes()
       / Stacktrace from the failure
       
      string stackTrace = 1;
      Specified by:
      getStackTraceBytes in interface Spec.ProtoHookFailureOrBuilder
      Returns:
      The bytes for stackTrace.
    • getErrorMessage

      public String getErrorMessage()
       / Error message from the failure
       
      string errorMessage = 2;
      Specified by:
      getErrorMessage in interface Spec.ProtoHookFailureOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
       / Error message from the failure
       
      string errorMessage = 2;
      Specified by:
      getErrorMessageBytes in interface Spec.ProtoHookFailureOrBuilder
      Returns:
      The bytes for errorMessage.
    • getScreenShot

      @Deprecated public com.google.protobuf.ByteString getScreenShot()
      Deprecated.
      gauge.messages.ProtoHookFailure.screenShot is deprecated. See spec.proto;l=325
       / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
       
      bytes screenShot = 3 [deprecated = true];
      Specified by:
      getScreenShot in interface Spec.ProtoHookFailureOrBuilder
      Returns:
      The screenShot.
    • getTableRowIndex

      public int getTableRowIndex()
       / Contains table row index corresponding to datatable rows
       
      int32 tableRowIndex = 4;
      Specified by:
      getTableRowIndex in interface Spec.ProtoHookFailureOrBuilder
      Returns:
      The tableRowIndex.
    • getFailureScreenshot

      @Deprecated public com.google.protobuf.ByteString getFailureScreenshot()
      Deprecated.
      gauge.messages.ProtoHookFailure.failureScreenshot is deprecated. See spec.proto;l=329
       / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
       
      bytes failureScreenshot = 5 [deprecated = true];
      Specified by:
      getFailureScreenshot in interface Spec.ProtoHookFailureOrBuilder
      Returns:
      The failureScreenshot.
    • getFailureScreenshotFile

      public String getFailureScreenshotFile()
       / Path to the screenshot file captured at the time of failure.
       
      string failureScreenshotFile = 6;
      Specified by:
      getFailureScreenshotFile in interface Spec.ProtoHookFailureOrBuilder
      Returns:
      The failureScreenshotFile.
    • getFailureScreenshotFileBytes

      public com.google.protobuf.ByteString getFailureScreenshotFileBytes()
       / Path to the screenshot file captured at the time of failure.
       
      string failureScreenshotFile = 6;
      Specified by:
      getFailureScreenshotFileBytes in interface Spec.ProtoHookFailureOrBuilder
      Returns:
      The bytes for failureScreenshotFile.
    • 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.ProtoHookFailure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoHookFailure parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoHookFailure parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoHookFailure 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.ProtoHookFailure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoHookFailure parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Spec.ProtoHookFailure parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static Spec.ProtoHookFailure parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Spec.ProtoHookFailure parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

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

      public static Spec.ProtoHookFailure.Builder newBuilder(Spec.ProtoHookFailure prototype)
    • toBuilder

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

      protected Spec.ProtoHookFailure.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Spec.ProtoHookFailure getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Spec.ProtoHookFailure> parser()
    • getParserForType

      public com.google.protobuf.Parser<Spec.ProtoHookFailure> 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.ProtoHookFailure getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder