Package gauge.messages
Interface Spec.ProtoSpecResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Spec.ProtoSpecResult,Spec.ProtoSpecResult.Builder
- Enclosing class:
- Spec
public static interface Spec.ProtoSpecResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetErrors(int index) / Holds parse, validation and skipped errors.int/ Holds parse, validation and skipped errors./ Holds parse, validation and skipped errors.getErrorsOrBuilder(int index) / Holds parse, validation and skipped errors.List<? extends Spec.ErrorOrBuilder>/ Holds parse, validation and skipped errors.long/ Holds the time taken for executing the spec.boolean/ Flag to indicate failureintgetFailedDataTableRows(int index) / Holds the row numbers, which caused the execution to fail.int/ Holds the row numbers, which caused the execution to fail./ Holds the row numbers, which caused the execution to fail./ Represents the corresponding Specification/ Represents the corresponding Specificationint/ Holds the number of Scenarios executedint/ Holds the number of Scenarios failedint/ Holds the number of Scenarios skippedboolean/ Flag to indicate if spec is skippedintgetSkippedDataTableRows(int index) / Holds the row numbers, for which the execution skipped.int/ Holds the row numbers, for which the execution skipped./ Holds the row numbers, for which the execution skipped./ Holds the timestamp of event starting.com.google.protobuf.ByteString/ Holds the timestamp of event starting.boolean/ Represents the corresponding SpecificationMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasProtoSpec
boolean hasProtoSpec()/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;- Returns:
- Whether the protoSpec field is set.
-
getProtoSpec
Spec.ProtoSpec getProtoSpec()/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;- Returns:
- The protoSpec.
-
getProtoSpecOrBuilder
Spec.ProtoSpecOrBuilder getProtoSpecOrBuilder()/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1; -
getScenarioCount
int getScenarioCount()/ Holds the number of Scenarios executed
int32 scenarioCount = 2;- Returns:
- The scenarioCount.
-
getScenarioFailedCount
int getScenarioFailedCount()/ Holds the number of Scenarios failed
int32 scenarioFailedCount = 3;- Returns:
- The scenarioFailedCount.
-
getFailed
boolean getFailed()/ Flag to indicate failure
bool failed = 4;- Returns:
- The failed.
-
getFailedDataTableRowsList
/ Holds the row numbers, which caused the execution to fail.
repeated int32 failedDataTableRows = 5;- Returns:
- A list containing the failedDataTableRows.
-
getFailedDataTableRowsCount
int getFailedDataTableRowsCount()/ Holds the row numbers, which caused the execution to fail.
repeated int32 failedDataTableRows = 5;- Returns:
- The count of failedDataTableRows.
-
getFailedDataTableRows
int getFailedDataTableRows(int index) / Holds the row numbers, which caused the execution to fail.
repeated int32 failedDataTableRows = 5;- Parameters:
index- The index of the element to return.- Returns:
- The failedDataTableRows at the given index.
-
getExecutionTime
long getExecutionTime()/ Holds the time taken for executing the spec.
int64 executionTime = 6;- Returns:
- The executionTime.
-
getSkipped
boolean getSkipped()/ Flag to indicate if spec is skipped
bool skipped = 7;- Returns:
- The skipped.
-
getScenarioSkippedCount
int getScenarioSkippedCount()/ Holds the number of Scenarios skipped
int32 scenarioSkippedCount = 8;- Returns:
- The scenarioSkippedCount.
-
getSkippedDataTableRowsList
/ Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;- Returns:
- A list containing the skippedDataTableRows.
-
getSkippedDataTableRowsCount
int getSkippedDataTableRowsCount()/ Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;- Returns:
- The count of skippedDataTableRows.
-
getSkippedDataTableRows
int getSkippedDataTableRows(int index) / Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;- Parameters:
index- The index of the element to return.- Returns:
- The skippedDataTableRows at the given index.
-
getErrorsList
List<Spec.Error> getErrorsList()/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10; -
getErrors
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10; -
getErrorsCount
int getErrorsCount()/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10; -
getErrorsOrBuilderList
List<? extends Spec.ErrorOrBuilder> getErrorsOrBuilderList()/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10; -
getErrorsOrBuilder
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10; -
getTimestamp
String getTimestamp()/ Holds the timestamp of event starting.
string timestamp = 11;- Returns:
- The timestamp.
-
getTimestampBytes
com.google.protobuf.ByteString getTimestampBytes()/ Holds the timestamp of event starting.
string timestamp = 11;- Returns:
- The bytes for timestamp.
-