Class Spec.ProtoStep

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gauge.messages.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.GeneratedMessage implements Spec.ProtoStepOrBuilder
 / A proto object representing a Step
 
Protobuf type gauge.messages.ProtoStep
See Also:
  • Field Details

    • ACTUALTEXT_FIELD_NUMBER

      public static final int ACTUALTEXT_FIELD_NUMBER
      See Also:
    • PARSEDTEXT_FIELD_NUMBER

      public static final int PARSEDTEXT_FIELD_NUMBER
      See Also:
    • FRAGMENTS_FIELD_NUMBER

      public static final int FRAGMENTS_FIELD_NUMBER
      See Also:
    • STEPEXECUTIONRESULT_FIELD_NUMBER

      public static final int STEPEXECUTIONRESULT_FIELD_NUMBER
      See Also:
    • PREHOOKMESSAGES_FIELD_NUMBER

      public static final int PREHOOKMESSAGES_FIELD_NUMBER
      See Also:
    • POSTHOOKMESSAGES_FIELD_NUMBER

      public static final int POSTHOOKMESSAGES_FIELD_NUMBER
      See Also:
    • PREHOOKSCREENSHOTS_FIELD_NUMBER

      public static final int PREHOOKSCREENSHOTS_FIELD_NUMBER
      See Also:
    • POSTHOOKSCREENSHOTS_FIELD_NUMBER

      public static final int POSTHOOKSCREENSHOTS_FIELD_NUMBER
      See Also:
    • PREHOOKSCREENSHOTFILES_FIELD_NUMBER

      public static final int PREHOOKSCREENSHOTFILES_FIELD_NUMBER
      See Also:
    • POSTHOOKSCREENSHOTFILES_FIELD_NUMBER

      public static final int POSTHOOKSCREENSHOTFILES_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
    • 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
      Returns:
      The actualText.
    • 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
      Returns:
      The bytes for actualText.
    • 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
      Returns:
      The parsedText.
    • 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
      Returns:
      The bytes for parsedText.
    • getFragmentsList

      public List<Spec.Fragment> getFragmentsList()
       / 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:
      getFragmentsList in interface Spec.ProtoStepOrBuilder
    • getFragmentsOrBuilderList

      public List<? extends Spec.FragmentOrBuilder> getFragmentsOrBuilderList()
       / 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:
      getFragmentsOrBuilderList 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
    • getFragmentsOrBuilder

      public Spec.FragmentOrBuilder getFragmentsOrBuilder(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:
      getFragmentsOrBuilder 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
      Returns:
      Whether the stepExecutionResult field is set.
    • getStepExecutionResult

      public Spec.ProtoStepExecutionResult getStepExecutionResult()
       / Holds the result from the execution.
       
      .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4;
      Specified by:
      getStepExecutionResult in interface Spec.ProtoStepOrBuilder
      Returns:
      The stepExecutionResult.
    • getStepExecutionResultOrBuilder

      public Spec.ProtoStepExecutionResultOrBuilder getStepExecutionResultOrBuilder()
       / Holds the result from the execution.
       
      .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4;
      Specified by:
      getStepExecutionResultOrBuilder 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
      Returns:
      A list containing the preHookMessages.
    • 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
      Returns:
      The count of preHookMessages.
    • 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
      Parameters:
      index - The index of the element to return.
      Returns:
      The preHookMessages at the given index.
    • 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
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the preHookMessages at the given index.
    • 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
      Returns:
      A list containing the postHookMessages.
    • 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
      Returns:
      The count of postHookMessages.
    • 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
      Parameters:
      index - The index of the element to return.
      Returns:
      The postHookMessages at the given index.
    • 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
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the postHookMessages at the given index.
    • getPreHookScreenshotsList

      @Deprecated public List<com.google.protobuf.ByteString> getPreHookScreenshotsList()
      Deprecated.
      gauge.messages.ProtoStep.preHookScreenshots is deprecated. See spec.proto;l=185
       / [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
      Returns:
      A list containing the preHookScreenshots.
    • getPreHookScreenshotsCount

      @Deprecated public int getPreHookScreenshotsCount()
      Deprecated.
      gauge.messages.ProtoStep.preHookScreenshots is deprecated. See spec.proto;l=185
       / [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
      Returns:
      The count of preHookScreenshots.
    • getPreHookScreenshots

      @Deprecated public com.google.protobuf.ByteString getPreHookScreenshots(int index)
      Deprecated.
      gauge.messages.ProtoStep.preHookScreenshots is deprecated. See spec.proto;l=185
       / [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
      Parameters:
      index - The index of the element to return.
      Returns:
      The preHookScreenshots at the given index.
    • getPostHookScreenshotsList

      @Deprecated public List<com.google.protobuf.ByteString> getPostHookScreenshotsList()
      Deprecated.
      gauge.messages.ProtoStep.postHookScreenshots is deprecated. See spec.proto;l=187
       / [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
      Returns:
      A list containing the postHookScreenshots.
    • getPostHookScreenshotsCount

      @Deprecated public int getPostHookScreenshotsCount()
      Deprecated.
      gauge.messages.ProtoStep.postHookScreenshots is deprecated. See spec.proto;l=187
       / [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
      Returns:
      The count of postHookScreenshots.
    • getPostHookScreenshots

      @Deprecated public com.google.protobuf.ByteString getPostHookScreenshots(int index)
      Deprecated.
      gauge.messages.ProtoStep.postHookScreenshots is deprecated. See spec.proto;l=187
       / [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
      Parameters:
      index - The index of the element to return.
      Returns:
      The postHookScreenshots at the given index.
    • 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
      Returns:
      A list containing the preHookScreenshotFiles.
    • 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
      Returns:
      The count of preHookScreenshotFiles.
    • 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
      Parameters:
      index - The index of the element to return.
      Returns:
      The preHookScreenshotFiles at the given index.
    • 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
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the preHookScreenshotFiles at the given index.
    • 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
      Returns:
      A list containing the postHookScreenshotFiles.
    • 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
      Returns:
      The count of postHookScreenshotFiles.
    • 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
      Parameters:
      index - The index of the element to return.
      Returns:
      The postHookScreenshotFiles at the given index.
    • 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
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the postHookScreenshotFiles at the given index.
    • 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.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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

      public static Spec.ProtoStep parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • 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
    • newBuilder

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

      public static Spec.ProtoStep.Builder newBuilder(Spec.ProtoStep prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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