Class Spec.ProtoSuiteResult

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Spec.ProtoSuiteResultOrBuilder, Serializable
    Enclosing class:
    Spec

    public static final class Spec.ProtoSuiteResult
    extends com.google.protobuf.GeneratedMessageV3
    implements Spec.ProtoSuiteResultOrBuilder
    / A proto object representing the result of entire Suite execution.
     
    Protobuf type gauge.messages.ProtoSuiteResult
    See Also:
    Serialized Form
    • Field Detail

      • SPECRESULTS_FIELD_NUMBER

        public static final int SPECRESULTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PREHOOKFAILURE_FIELD_NUMBER

        public static final int PREHOOKFAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POSTHOOKFAILURE_FIELD_NUMBER

        public static final int POSTHOOKFAILURE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPECSFAILEDCOUNT_FIELD_NUMBER

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

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

        public static final int SUCCESSRATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENVIRONMENT_FIELD_NUMBER

        public static final int ENVIRONMENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROJECTNAME_FIELD_NUMBER

        public static final int PROJECTNAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPECSSKIPPEDCOUNT_FIELD_NUMBER

        public static final int SPECSSKIPPEDCOUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PREHOOKMESSAGES_FIELD_NUMBER

        public static final int PREHOOKMESSAGES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POSTHOOKMESSAGES_FIELD_NUMBER

        public static final int POSTHOOKMESSAGES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PREHOOKMESSAGE_FIELD_NUMBER

        public static final int PREHOOKMESSAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POSTHOOKMESSAGE_FIELD_NUMBER

        public static final int POSTHOOKMESSAGE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PREHOOKSCREENSHOTS_FIELD_NUMBER

        public static final int PREHOOKSCREENSHOTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POSTHOOKSCREENSHOTS_FIELD_NUMBER

        public static final int POSTHOOKSCREENSHOTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PREHOOKSCREENSHOTFILES_FIELD_NUMBER

        public static final int PREHOOKSCREENSHOTFILES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • POSTHOOKSCREENSHOTFILES_FIELD_NUMBER

        public static final int POSTHOOKSCREENSHOTFILES_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
      • hasPreHookFailure

        public boolean hasPreHookFailure()
        / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
         
        .gauge.messages.ProtoHookFailure preHookFailure = 2;
        Specified by:
        hasPreHookFailure in interface Spec.ProtoSuiteResultOrBuilder
      • hasPostHookFailure

        public boolean hasPostHookFailure()
        / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
         
        .gauge.messages.ProtoHookFailure postHookFailure = 3;
        Specified by:
        hasPostHookFailure in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookMessagesList

        public com.google.protobuf.ProtocolStringList getPreHookMessagesList()
        / Additional information at pre hook exec time to be available on reports
         
        repeated string preHookMessages = 13;
        Specified by:
        getPreHookMessagesList in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookMessagesBytes

        public com.google.protobuf.ByteString getPreHookMessagesBytes​(int index)
        / Additional information at pre hook exec time to be available on reports
         
        repeated string preHookMessages = 13;
        Specified by:
        getPreHookMessagesBytes in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookMessagesList

        public com.google.protobuf.ProtocolStringList getPostHookMessagesList()
        / Additional information at post hook exec time to be available on reports
         
        repeated string postHookMessages = 14;
        Specified by:
        getPostHookMessagesList in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookMessagesBytes

        public com.google.protobuf.ByteString getPostHookMessagesBytes​(int index)
        / Additional information at post hook exec time to be available on reports
         
        repeated string postHookMessages = 14;
        Specified by:
        getPostHookMessagesBytes in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookMessageList

        @Deprecated
        public com.google.protobuf.ProtocolStringList getPreHookMessageList()
        Deprecated.
        / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
         
        repeated string preHookMessage = 15 [deprecated = true];
        Specified by:
        getPreHookMessageList in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookMessageCount

        @Deprecated
        public int getPreHookMessageCount()
        Deprecated.
        / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
         
        repeated string preHookMessage = 15 [deprecated = true];
        Specified by:
        getPreHookMessageCount in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookMessage

        @Deprecated
        public String getPreHookMessage​(int index)
        Deprecated.
        / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
         
        repeated string preHookMessage = 15 [deprecated = true];
        Specified by:
        getPreHookMessage in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookMessageBytes

        @Deprecated
        public com.google.protobuf.ByteString getPreHookMessageBytes​(int index)
        Deprecated.
        / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
         
        repeated string preHookMessage = 15 [deprecated = true];
        Specified by:
        getPreHookMessageBytes in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookMessageList

        @Deprecated
        public com.google.protobuf.ProtocolStringList getPostHookMessageList()
        Deprecated.
        / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
         
        repeated string postHookMessage = 16 [deprecated = true];
        Specified by:
        getPostHookMessageList in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookMessageCount

        @Deprecated
        public int getPostHookMessageCount()
        Deprecated.
        / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
         
        repeated string postHookMessage = 16 [deprecated = true];
        Specified by:
        getPostHookMessageCount in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookMessage

        @Deprecated
        public String getPostHookMessage​(int index)
        Deprecated.
        / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
         
        repeated string postHookMessage = 16 [deprecated = true];
        Specified by:
        getPostHookMessage in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookMessageBytes

        @Deprecated
        public com.google.protobuf.ByteString getPostHookMessageBytes​(int index)
        Deprecated.
        / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
         
        repeated string postHookMessage = 16 [deprecated = true];
        Specified by:
        getPostHookMessageBytes in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookScreenshotsList

        @Deprecated
        public List<com.google.protobuf.ByteString> getPreHookScreenshotsList()
        Deprecated.
        / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
         
        repeated bytes preHookScreenshots = 17 [deprecated = true];
        Specified by:
        getPreHookScreenshotsList in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookScreenshotsCount

        @Deprecated
        public int getPreHookScreenshotsCount()
        Deprecated.
        / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
         
        repeated bytes preHookScreenshots = 17 [deprecated = true];
        Specified by:
        getPreHookScreenshotsCount in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookScreenshots

        @Deprecated
        public com.google.protobuf.ByteString getPreHookScreenshots​(int index)
        Deprecated.
        / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
         
        repeated bytes preHookScreenshots = 17 [deprecated = true];
        Specified by:
        getPreHookScreenshots in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookScreenshotsList

        @Deprecated
        public List<com.google.protobuf.ByteString> getPostHookScreenshotsList()
        Deprecated.
        / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
         
        repeated bytes postHookScreenshots = 18 [deprecated = true];
        Specified by:
        getPostHookScreenshotsList in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookScreenshotsCount

        @Deprecated
        public int getPostHookScreenshotsCount()
        Deprecated.
        / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
         
        repeated bytes postHookScreenshots = 18 [deprecated = true];
        Specified by:
        getPostHookScreenshotsCount in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookScreenshots

        @Deprecated
        public com.google.protobuf.ByteString getPostHookScreenshots​(int index)
        Deprecated.
        / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
         
        repeated bytes postHookScreenshots = 18 [deprecated = true];
        Specified by:
        getPostHookScreenshots in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookScreenshotFilesList

        public com.google.protobuf.ProtocolStringList getPreHookScreenshotFilesList()
        / Screenshots captured on pre hook exec time to be available on reports
         
        repeated string preHookScreenshotFiles = 21;
        Specified by:
        getPreHookScreenshotFilesList in interface Spec.ProtoSuiteResultOrBuilder
      • getPreHookScreenshotFilesBytes

        public com.google.protobuf.ByteString getPreHookScreenshotFilesBytes​(int index)
        / Screenshots captured on pre hook exec time to be available on reports
         
        repeated string preHookScreenshotFiles = 21;
        Specified by:
        getPreHookScreenshotFilesBytes in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookScreenshotFilesList

        public com.google.protobuf.ProtocolStringList getPostHookScreenshotFilesList()
        / Screenshots captured on post hook exec time to be available on reports
         
        repeated string postHookScreenshotFiles = 22;
        Specified by:
        getPostHookScreenshotFilesList in interface Spec.ProtoSuiteResultOrBuilder
      • getPostHookScreenshotFilesBytes

        public com.google.protobuf.ByteString getPostHookScreenshotFilesBytes​(int index)
        / Screenshots captured on post hook exec time to be available on reports
         
        repeated string postHookScreenshotFiles = 22;
        Specified by:
        getPostHookScreenshotFilesBytes in interface Spec.ProtoSuiteResultOrBuilder
      • 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.ProtoSuiteResult parseFrom​(ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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