Class Spec.ProtoExecutionResult.Builder

    • Method Detail

      • 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.Builder<Spec.ProtoExecutionResult.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.GeneratedMessageV3.Builder<Spec.ProtoExecutionResult.Builder>
      • getDefaultInstanceForType

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

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

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

        public Spec.ProtoExecutionResult.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoExecutionResult.Builder>
      • isInitialized

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

        public Spec.ProtoExecutionResult.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.ProtoExecutionResult.Builder>
        Throws:
        IOException
      • setRecoverableError

        public Spec.ProtoExecutionResult.Builder setRecoverableError​(boolean value)
        / Flag to indicate if the error is recoverable from.
         
        bool recoverableError = 2;
      • clearRecoverableError

        public Spec.ProtoExecutionResult.Builder clearRecoverableError()
        / Flag to indicate if the error is recoverable from.
         
        bool recoverableError = 2;
      • setErrorMessageBytes

        public Spec.ProtoExecutionResult.Builder setErrorMessageBytes​(com.google.protobuf.ByteString value)
        / The actual error message.
         
        string errorMessage = 3;
      • setStackTraceBytes

        public Spec.ProtoExecutionResult.Builder setStackTraceBytes​(com.google.protobuf.ByteString value)
        / Stacktrace of the error
         
        string stackTrace = 4;
      • 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
      • setScreenShot

        @Deprecated
        public Spec.ProtoExecutionResult.Builder setScreenShot​(com.google.protobuf.ByteString value)
        Deprecated.
        / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
         
        bytes screenShot = 5 [deprecated = true];
      • clearScreenShot

        @Deprecated
        public Spec.ProtoExecutionResult.Builder clearScreenShot()
        Deprecated.
        / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
         
        bytes screenShot = 5 [deprecated = true];
      • setExecutionTime

        public Spec.ProtoExecutionResult.Builder setExecutionTime​(long value)
        / Holds the time taken for executing this scenario.
         
        int64 executionTime = 6;
      • 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
      • clearMessage

        public Spec.ProtoExecutionResult.Builder clearMessage()
        / Additional information at exec time to be available on reports
         
        repeated string message = 7;
      • addMessageBytes

        public Spec.ProtoExecutionResult.Builder addMessageBytes​(com.google.protobuf.ByteString value)
        / Additional information at exec time to be available on reports
         
        repeated string message = 7;
      • 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
      • setErrorTypeValue

        public Spec.ProtoExecutionResult.Builder setErrorTypeValue​(int value)
        / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
         
        .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8;
      • clearErrorType

        public Spec.ProtoExecutionResult.Builder clearErrorType()
        / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
         
        .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8;
      • 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
      • setFailureScreenshot

        @Deprecated
        public Spec.ProtoExecutionResult.Builder setFailureScreenshot​(com.google.protobuf.ByteString value)
        Deprecated.
        / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
         
        bytes failureScreenshot = 9 [deprecated = true];
      • clearFailureScreenshot

        @Deprecated
        public Spec.ProtoExecutionResult.Builder clearFailureScreenshot()
        Deprecated.
        / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
         
        bytes failureScreenshot = 9 [deprecated = true];
      • 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
      • setScreenshots

        @Deprecated
        public Spec.ProtoExecutionResult.Builder setScreenshots​(int index,
                                                                com.google.protobuf.ByteString value)
        Deprecated.
        / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
         
        repeated bytes screenshots = 10 [deprecated = true];
      • addScreenshots

        @Deprecated
        public Spec.ProtoExecutionResult.Builder addScreenshots​(com.google.protobuf.ByteString value)
        Deprecated.
        / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
         
        repeated bytes screenshots = 10 [deprecated = true];
      • addAllScreenshots

        @Deprecated
        public Spec.ProtoExecutionResult.Builder addAllScreenshots​(Iterable<? extends com.google.protobuf.ByteString> values)
        Deprecated.
        / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
         
        repeated bytes screenshots = 10 [deprecated = true];
      • clearScreenshots

        @Deprecated
        public Spec.ProtoExecutionResult.Builder clearScreenshots()
        Deprecated.
        / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
         
        repeated bytes screenshots = 10 [deprecated = true];
      • setFailureScreenshotFile

        public Spec.ProtoExecutionResult.Builder setFailureScreenshotFile​(String value)
        / Path to the screenshot file captured at the time of failure.
         
        string failureScreenshotFile = 11;
      • clearFailureScreenshotFile

        public Spec.ProtoExecutionResult.Builder clearFailureScreenshotFile()
        / Path to the screenshot file captured at the time of failure.
         
        string failureScreenshotFile = 11;
      • setFailureScreenshotFileBytes

        public Spec.ProtoExecutionResult.Builder setFailureScreenshotFileBytes​(com.google.protobuf.ByteString value)
        / Path to the screenshot file captured at the time of failure.
         
        string failureScreenshotFile = 11;
      • 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
      • setScreenshotFiles

        public Spec.ProtoExecutionResult.Builder setScreenshotFiles​(int index,
                                                                    String value)
        / Path to the screenshot files captured using Gauge screenshsot API.
         
        repeated string screenshotFiles = 12;
      • addScreenshotFiles

        public Spec.ProtoExecutionResult.Builder addScreenshotFiles​(String value)
        / Path to the screenshot files captured using Gauge screenshsot API.
         
        repeated string screenshotFiles = 12;
      • clearScreenshotFiles

        public Spec.ProtoExecutionResult.Builder clearScreenshotFiles()
        / Path to the screenshot files captured using Gauge screenshsot API.
         
        repeated string screenshotFiles = 12;
      • addScreenshotFilesBytes

        public Spec.ProtoExecutionResult.Builder addScreenshotFilesBytes​(com.google.protobuf.ByteString value)
        / Path to the screenshot files captured using Gauge screenshsot API.
         
        repeated string screenshotFiles = 12;
      • setUnknownFields

        public final Spec.ProtoExecutionResult.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoExecutionResult.Builder>
      • mergeUnknownFields

        public final Spec.ProtoExecutionResult.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoExecutionResult.Builder>