Class Spec.ProtoSpecResult

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

public static final class Spec.ProtoSpecResult extends com.google.protobuf.GeneratedMessage implements Spec.ProtoSpecResultOrBuilder
 / A proto object representing the result of Spec execution.
 
Protobuf type gauge.messages.ProtoSpecResult
See Also:
  • Field Details

    • PROTOSPEC_FIELD_NUMBER

      public static final int PROTOSPEC_FIELD_NUMBER
      See Also:
    • SCENARIOCOUNT_FIELD_NUMBER

      public static final int SCENARIOCOUNT_FIELD_NUMBER
      See Also:
    • SCENARIOFAILEDCOUNT_FIELD_NUMBER

      public static final int SCENARIOFAILEDCOUNT_FIELD_NUMBER
      See Also:
    • FAILED_FIELD_NUMBER

      public static final int FAILED_FIELD_NUMBER
      See Also:
    • FAILEDDATATABLEROWS_FIELD_NUMBER

      public static final int FAILEDDATATABLEROWS_FIELD_NUMBER
      See Also:
    • EXECUTIONTIME_FIELD_NUMBER

      public static final int EXECUTIONTIME_FIELD_NUMBER
      See Also:
    • SKIPPED_FIELD_NUMBER

      public static final int SKIPPED_FIELD_NUMBER
      See Also:
    • SCENARIOSKIPPEDCOUNT_FIELD_NUMBER

      public static final int SCENARIOSKIPPEDCOUNT_FIELD_NUMBER
      See Also:
    • SKIPPEDDATATABLEROWS_FIELD_NUMBER

      public static final int SKIPPEDDATATABLEROWS_FIELD_NUMBER
      See Also:
    • ERRORS_FIELD_NUMBER

      public static final int ERRORS_FIELD_NUMBER
      See Also:
    • TIMESTAMP_FIELD_NUMBER

      public static final int TIMESTAMP_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
    • hasProtoSpec

      public boolean hasProtoSpec()
       / Represents the corresponding Specification
       
      .gauge.messages.ProtoSpec protoSpec = 1;
      Specified by:
      hasProtoSpec in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      Whether the protoSpec field is set.
    • getProtoSpec

      public Spec.ProtoSpec getProtoSpec()
       / Represents the corresponding Specification
       
      .gauge.messages.ProtoSpec protoSpec = 1;
      Specified by:
      getProtoSpec in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The protoSpec.
    • getProtoSpecOrBuilder

      public Spec.ProtoSpecOrBuilder getProtoSpecOrBuilder()
       / Represents the corresponding Specification
       
      .gauge.messages.ProtoSpec protoSpec = 1;
      Specified by:
      getProtoSpecOrBuilder in interface Spec.ProtoSpecResultOrBuilder
    • getScenarioCount

      public int getScenarioCount()
       / Holds the number of Scenarios executed
       
      int32 scenarioCount = 2;
      Specified by:
      getScenarioCount in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The scenarioCount.
    • getScenarioFailedCount

      public int getScenarioFailedCount()
       / Holds the number of Scenarios failed
       
      int32 scenarioFailedCount = 3;
      Specified by:
      getScenarioFailedCount in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The scenarioFailedCount.
    • getFailed

      public boolean getFailed()
       / Flag to indicate failure
       
      bool failed = 4;
      Specified by:
      getFailed in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The failed.
    • getFailedDataTableRowsList

      public List<Integer> getFailedDataTableRowsList()
       / Holds the row numbers, which caused the execution to fail.
       
      repeated int32 failedDataTableRows = 5;
      Specified by:
      getFailedDataTableRowsList in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      A list containing the failedDataTableRows.
    • getFailedDataTableRowsCount

      public int getFailedDataTableRowsCount()
       / Holds the row numbers, which caused the execution to fail.
       
      repeated int32 failedDataTableRows = 5;
      Specified by:
      getFailedDataTableRowsCount in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The count of failedDataTableRows.
    • getFailedDataTableRows

      public int getFailedDataTableRows(int index)
       / Holds the row numbers, which caused the execution to fail.
       
      repeated int32 failedDataTableRows = 5;
      Specified by:
      getFailedDataTableRows in interface Spec.ProtoSpecResultOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The failedDataTableRows at the given index.
    • getExecutionTime

      public long getExecutionTime()
       / Holds the time taken for executing the spec.
       
      int64 executionTime = 6;
      Specified by:
      getExecutionTime in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The executionTime.
    • getSkipped

      public boolean getSkipped()
       / Flag to indicate if spec is skipped
       
      bool skipped = 7;
      Specified by:
      getSkipped in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The skipped.
    • getScenarioSkippedCount

      public int getScenarioSkippedCount()
       / Holds the number of Scenarios skipped
       
      int32 scenarioSkippedCount = 8;
      Specified by:
      getScenarioSkippedCount in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The scenarioSkippedCount.
    • getSkippedDataTableRowsList

      public List<Integer> getSkippedDataTableRowsList()
       / Holds the row numbers, for which the execution skipped.
       
      repeated int32 skippedDataTableRows = 9;
      Specified by:
      getSkippedDataTableRowsList in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      A list containing the skippedDataTableRows.
    • getSkippedDataTableRowsCount

      public int getSkippedDataTableRowsCount()
       / Holds the row numbers, for which the execution skipped.
       
      repeated int32 skippedDataTableRows = 9;
      Specified by:
      getSkippedDataTableRowsCount in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The count of skippedDataTableRows.
    • getSkippedDataTableRows

      public int getSkippedDataTableRows(int index)
       / Holds the row numbers, for which the execution skipped.
       
      repeated int32 skippedDataTableRows = 9;
      Specified by:
      getSkippedDataTableRows in interface Spec.ProtoSpecResultOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The skippedDataTableRows at the given index.
    • getErrorsList

      public List<Spec.Error> getErrorsList()
       / Holds parse, validation and skipped errors.
       
      repeated .gauge.messages.Error errors = 10;
      Specified by:
      getErrorsList in interface Spec.ProtoSpecResultOrBuilder
    • getErrorsOrBuilderList

      public List<? extends Spec.ErrorOrBuilder> getErrorsOrBuilderList()
       / Holds parse, validation and skipped errors.
       
      repeated .gauge.messages.Error errors = 10;
      Specified by:
      getErrorsOrBuilderList in interface Spec.ProtoSpecResultOrBuilder
    • getErrorsCount

      public int getErrorsCount()
       / Holds parse, validation and skipped errors.
       
      repeated .gauge.messages.Error errors = 10;
      Specified by:
      getErrorsCount in interface Spec.ProtoSpecResultOrBuilder
    • getErrors

      public Spec.Error getErrors(int index)
       / Holds parse, validation and skipped errors.
       
      repeated .gauge.messages.Error errors = 10;
      Specified by:
      getErrors in interface Spec.ProtoSpecResultOrBuilder
    • getErrorsOrBuilder

      public Spec.ErrorOrBuilder getErrorsOrBuilder(int index)
       / Holds parse, validation and skipped errors.
       
      repeated .gauge.messages.Error errors = 10;
      Specified by:
      getErrorsOrBuilder in interface Spec.ProtoSpecResultOrBuilder
    • getTimestamp

      public String getTimestamp()
       / Holds the timestamp of event starting.
       
      string timestamp = 11;
      Specified by:
      getTimestamp in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The timestamp.
    • getTimestampBytes

      public com.google.protobuf.ByteString getTimestampBytes()
       / Holds the timestamp of event starting.
       
      string timestamp = 11;
      Specified by:
      getTimestampBytes in interface Spec.ProtoSpecResultOrBuilder
      Returns:
      The bytes for timestamp.
    • 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.ProtoSpecResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Spec.ProtoSpecResult.Builder newBuilder(Spec.ProtoSpecResult prototype)
    • toBuilder

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

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

      public static Spec.ProtoSpecResult getDefaultInstance()
    • parser

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

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