Class Spec.ProtoStep

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

    public static final class Spec.ProtoStep
    extends com.google.protobuf.GeneratedMessageV3
    implements Spec.ProtoStepOrBuilder
    / A proto object representing a Step
     
    Protobuf type gauge.messages.ProtoStep
    See Also:
    Serialized Form
    • Field Detail

      • ACTUALTEXT_FIELD_NUMBER

        public static final int ACTUALTEXT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARSEDTEXT_FIELD_NUMBER

        public static final int PARSEDTEXT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STEPEXECUTIONRESULT_FIELD_NUMBER

        public static final int STEPEXECUTIONRESULT_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
      • 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
      • getActualText

        public String getActualText()
        / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
         
        string actualText = 1;
        Specified by:
        getActualText in interface Spec.ProtoStepOrBuilder
      • getActualTextBytes

        public com.google.protobuf.ByteString getActualTextBytes()
        / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
         
        string actualText = 1;
        Specified by:
        getActualTextBytes in interface Spec.ProtoStepOrBuilder
      • getParsedText

        public String getParsedText()
        / Contains the parsed text of the Step. This will have placeholders for the parameters.
         
        string parsedText = 2;
        Specified by:
        getParsedText in interface Spec.ProtoStepOrBuilder
      • getParsedTextBytes

        public com.google.protobuf.ByteString getParsedTextBytes()
        / Contains the parsed text of the Step. This will have placeholders for the parameters.
         
        string parsedText = 2;
        Specified by:
        getParsedTextBytes in interface Spec.ProtoStepOrBuilder
      • getFragmentsCount

        public int getFragmentsCount()
        / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
         
        repeated .gauge.messages.Fragment fragments = 3;
        Specified by:
        getFragmentsCount in interface Spec.ProtoStepOrBuilder
      • getFragments

        public Spec.Fragment getFragments​(int index)
        / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
         
        repeated .gauge.messages.Fragment fragments = 3;
        Specified by:
        getFragments in interface Spec.ProtoStepOrBuilder
      • hasStepExecutionResult

        public boolean hasStepExecutionResult()
        / Holds the result from the execution.
         
        .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4;
        Specified by:
        hasStepExecutionResult in interface Spec.ProtoStepOrBuilder
      • getPreHookMessagesList

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

        public int getPreHookMessagesCount()
        / Additional information at pre hook exec time to be available on reports
         
        repeated string preHookMessages = 5;
        Specified by:
        getPreHookMessagesCount in interface Spec.ProtoStepOrBuilder
      • getPreHookMessages

        public String getPreHookMessages​(int index)
        / Additional information at pre hook exec time to be available on reports
         
        repeated string preHookMessages = 5;
        Specified by:
        getPreHookMessages in interface Spec.ProtoStepOrBuilder
      • getPreHookMessagesBytes

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

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

        public int getPostHookMessagesCount()
        / Additional information at post hook exec time to be available on reports
         
        repeated string postHookMessages = 6;
        Specified by:
        getPostHookMessagesCount in interface Spec.ProtoStepOrBuilder
      • getPostHookMessages

        public String getPostHookMessages​(int index)
        / Additional information at post hook exec time to be available on reports
         
        repeated string postHookMessages = 6;
        Specified by:
        getPostHookMessages in interface Spec.ProtoStepOrBuilder
      • getPostHookMessagesBytes

        public com.google.protobuf.ByteString getPostHookMessagesBytes​(int index)
        / Additional information at post hook exec time to be available on reports
         
        repeated string postHookMessages = 6;
        Specified by:
        getPostHookMessagesBytes in interface Spec.ProtoStepOrBuilder
      • 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 = 7 [deprecated = true];
        Specified by:
        getPreHookScreenshotsList in interface Spec.ProtoStepOrBuilder
      • getPreHookScreenshotsCount

        @Deprecated
        public int getPreHookScreenshotsCount()
        Deprecated.
        / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
         
        repeated bytes preHookScreenshots = 7 [deprecated = true];
        Specified by:
        getPreHookScreenshotsCount in interface Spec.ProtoStepOrBuilder
      • 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 = 7 [deprecated = true];
        Specified by:
        getPreHookScreenshots in interface Spec.ProtoStepOrBuilder
      • 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 = 8 [deprecated = true];
        Specified by:
        getPostHookScreenshotsList in interface Spec.ProtoStepOrBuilder
      • getPostHookScreenshotsCount

        @Deprecated
        public int getPostHookScreenshotsCount()
        Deprecated.
        / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
         
        repeated bytes postHookScreenshots = 8 [deprecated = true];
        Specified by:
        getPostHookScreenshotsCount in interface Spec.ProtoStepOrBuilder
      • 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 = 8 [deprecated = true];
        Specified by:
        getPostHookScreenshots in interface Spec.ProtoStepOrBuilder
      • getPreHookScreenshotFilesList

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

        public int getPreHookScreenshotFilesCount()
        / Screenshots captured on pre hook exec time to be available on reports
         
        repeated string preHookScreenshotFiles = 9;
        Specified by:
        getPreHookScreenshotFilesCount in interface Spec.ProtoStepOrBuilder
      • getPreHookScreenshotFiles

        public String getPreHookScreenshotFiles​(int index)
        / Screenshots captured on pre hook exec time to be available on reports
         
        repeated string preHookScreenshotFiles = 9;
        Specified by:
        getPreHookScreenshotFiles in interface Spec.ProtoStepOrBuilder
      • getPreHookScreenshotFilesBytes

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

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

        public int getPostHookScreenshotFilesCount()
        / Screenshots captured on post hook exec time to be available on reports
         
        repeated string postHookScreenshotFiles = 10;
        Specified by:
        getPostHookScreenshotFilesCount in interface Spec.ProtoStepOrBuilder
      • getPostHookScreenshotFiles

        public String getPostHookScreenshotFiles​(int index)
        / Screenshots captured on post hook exec time to be available on reports
         
        repeated string postHookScreenshotFiles = 10;
        Specified by:
        getPostHookScreenshotFiles in interface Spec.ProtoStepOrBuilder
      • getPostHookScreenshotFilesBytes

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

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

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

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

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

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

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

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

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

        public static Spec.ProtoStep getDefaultInstance()
      • parser

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

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