Class Spec.ProtoStepExecutionResult

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gauge.messages.Spec.ProtoStepExecutionResult
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Spec.ProtoStepExecutionResultOrBuilder, Serializable
Enclosing class:
Spec

public static final class Spec.ProtoStepExecutionResult extends com.google.protobuf.GeneratedMessage implements Spec.ProtoStepExecutionResultOrBuilder
 / A proto object representing Step Execution result
 
Protobuf type gauge.messages.ProtoStepExecutionResult
See Also:
  • Field Details

    • EXECUTIONRESULT_FIELD_NUMBER

      public static final int EXECUTIONRESULT_FIELD_NUMBER
      See Also:
    • PREHOOKFAILURE_FIELD_NUMBER

      public static final int PREHOOKFAILURE_FIELD_NUMBER
      See Also:
    • POSTHOOKFAILURE_FIELD_NUMBER

      public static final int POSTHOOKFAILURE_FIELD_NUMBER
      See Also:
    • SKIPPED_FIELD_NUMBER

      public static final int SKIPPED_FIELD_NUMBER
      See Also:
    • SKIPPEDREASON_FIELD_NUMBER

      public static final int SKIPPEDREASON_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
    • hasExecutionResult

      public boolean hasExecutionResult()
       / The actual result of the execution
       
      .gauge.messages.ProtoExecutionResult executionResult = 1;
      Specified by:
      hasExecutionResult in interface Spec.ProtoStepExecutionResultOrBuilder
      Returns:
      Whether the executionResult field is set.
    • getExecutionResult

      public Spec.ProtoExecutionResult getExecutionResult()
       / The actual result of the execution
       
      .gauge.messages.ProtoExecutionResult executionResult = 1;
      Specified by:
      getExecutionResult in interface Spec.ProtoStepExecutionResultOrBuilder
      Returns:
      The executionResult.
    • getExecutionResultOrBuilder

      public Spec.ProtoExecutionResultOrBuilder getExecutionResultOrBuilder()
       / The actual result of the execution
       
      .gauge.messages.ProtoExecutionResult executionResult = 1;
      Specified by:
      getExecutionResultOrBuilder in interface Spec.ProtoStepExecutionResultOrBuilder
    • hasPreHookFailure

      public boolean hasPreHookFailure()
       / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       
      .gauge.messages.ProtoHookFailure preHookFailure = 2;
      Specified by:
      hasPreHookFailure in interface Spec.ProtoStepExecutionResultOrBuilder
      Returns:
      Whether the preHookFailure field is set.
    • getPreHookFailure

      public Spec.ProtoHookFailure getPreHookFailure()
       / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       
      .gauge.messages.ProtoHookFailure preHookFailure = 2;
      Specified by:
      getPreHookFailure in interface Spec.ProtoStepExecutionResultOrBuilder
      Returns:
      The preHookFailure.
    • getPreHookFailureOrBuilder

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

      public boolean hasPostHookFailure()
       / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       
      .gauge.messages.ProtoHookFailure postHookFailure = 3;
      Specified by:
      hasPostHookFailure in interface Spec.ProtoStepExecutionResultOrBuilder
      Returns:
      Whether the postHookFailure field is set.
    • getPostHookFailure

      public Spec.ProtoHookFailure getPostHookFailure()
       / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       
      .gauge.messages.ProtoHookFailure postHookFailure = 3;
      Specified by:
      getPostHookFailure in interface Spec.ProtoStepExecutionResultOrBuilder
      Returns:
      The postHookFailure.
    • getPostHookFailureOrBuilder

      public Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder()
       / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       
      .gauge.messages.ProtoHookFailure postHookFailure = 3;
      Specified by:
      getPostHookFailureOrBuilder in interface Spec.ProtoStepExecutionResultOrBuilder
    • getSkipped

      public boolean getSkipped()
      bool skipped = 4;
      Specified by:
      getSkipped in interface Spec.ProtoStepExecutionResultOrBuilder
      Returns:
      The skipped.
    • getSkippedReason

      public String getSkippedReason()
      string skippedReason = 5;
      Specified by:
      getSkippedReason in interface Spec.ProtoStepExecutionResultOrBuilder
      Returns:
      The skippedReason.
    • getSkippedReasonBytes

      public com.google.protobuf.ByteString getSkippedReasonBytes()
      string skippedReason = 5;
      Specified by:
      getSkippedReasonBytes in interface Spec.ProtoStepExecutionResultOrBuilder
      Returns:
      The bytes for skippedReason.
    • 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.ProtoStepExecutionResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static Spec.ProtoStepExecutionResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

      public static Spec.ProtoStepExecutionResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Spec.ProtoStepExecutionResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Spec.ProtoStepExecutionResult getDefaultInstance()
    • parser

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

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