Class Spec.ProtoHookFailure.Builder

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

public static final class Spec.ProtoHookFailure.Builder extends com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoHookFailure.Builder> 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
  • 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.Builder<Spec.ProtoHookFailure.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoHookFailure.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoHookFailure.Builder>
    • getDefaultInstanceForType

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

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

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

      public Spec.ProtoHookFailure.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Spec.ProtoHookFailure.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoHookFailure.Builder>
    • mergeFrom

      public Spec.ProtoHookFailure.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Spec.ProtoHookFailure.Builder>
      Throws:
      IOException
    • 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.
    • setStackTrace

      public Spec.ProtoHookFailure.Builder setStackTrace(String value)
       / Stacktrace from the failure
       
      string stackTrace = 1;
      Parameters:
      value - The stackTrace to set.
      Returns:
      This builder for chaining.
    • clearStackTrace

      public Spec.ProtoHookFailure.Builder clearStackTrace()
       / Stacktrace from the failure
       
      string stackTrace = 1;
      Returns:
      This builder for chaining.
    • setStackTraceBytes

      public Spec.ProtoHookFailure.Builder setStackTraceBytes(com.google.protobuf.ByteString value)
       / Stacktrace from the failure
       
      string stackTrace = 1;
      Parameters:
      value - The bytes for stackTrace to set.
      Returns:
      This builder for chaining.
    • 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.
    • setErrorMessage

      public Spec.ProtoHookFailure.Builder setErrorMessage(String value)
       / Error message from the failure
       
      string errorMessage = 2;
      Parameters:
      value - The errorMessage to set.
      Returns:
      This builder for chaining.
    • clearErrorMessage

      public Spec.ProtoHookFailure.Builder clearErrorMessage()
       / Error message from the failure
       
      string errorMessage = 2;
      Returns:
      This builder for chaining.
    • setErrorMessageBytes

      public Spec.ProtoHookFailure.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
       / Error message from the failure
       
      string errorMessage = 2;
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.
    • 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.
    • setScreenShot

      @Deprecated public Spec.ProtoHookFailure.Builder setScreenShot(com.google.protobuf.ByteString value)
      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];
      Parameters:
      value - The screenShot to set.
      Returns:
      This builder for chaining.
    • clearScreenShot

      @Deprecated public Spec.ProtoHookFailure.Builder clearScreenShot()
      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];
      Returns:
      This builder for chaining.
    • 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.
    • setTableRowIndex

      public Spec.ProtoHookFailure.Builder setTableRowIndex(int value)
       / Contains table row index corresponding to datatable rows
       
      int32 tableRowIndex = 4;
      Parameters:
      value - The tableRowIndex to set.
      Returns:
      This builder for chaining.
    • clearTableRowIndex

      public Spec.ProtoHookFailure.Builder clearTableRowIndex()
       / Contains table row index corresponding to datatable rows
       
      int32 tableRowIndex = 4;
      Returns:
      This builder for chaining.
    • 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.
    • setFailureScreenshot

      @Deprecated public Spec.ProtoHookFailure.Builder setFailureScreenshot(com.google.protobuf.ByteString value)
      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];
      Parameters:
      value - The failureScreenshot to set.
      Returns:
      This builder for chaining.
    • clearFailureScreenshot

      @Deprecated public Spec.ProtoHookFailure.Builder clearFailureScreenshot()
      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];
      Returns:
      This builder for chaining.
    • 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.
    • setFailureScreenshotFile

      public Spec.ProtoHookFailure.Builder setFailureScreenshotFile(String value)
       / Path to the screenshot file captured at the time of failure.
       
      string failureScreenshotFile = 6;
      Parameters:
      value - The failureScreenshotFile to set.
      Returns:
      This builder for chaining.
    • clearFailureScreenshotFile

      public Spec.ProtoHookFailure.Builder clearFailureScreenshotFile()
       / Path to the screenshot file captured at the time of failure.
       
      string failureScreenshotFile = 6;
      Returns:
      This builder for chaining.
    • setFailureScreenshotFileBytes

      public Spec.ProtoHookFailure.Builder setFailureScreenshotFileBytes(com.google.protobuf.ByteString value)
       / Path to the screenshot file captured at the time of failure.
       
      string failureScreenshotFile = 6;
      Parameters:
      value - The bytes for failureScreenshotFile to set.
      Returns:
      This builder for chaining.