Package gauge.messages
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class/ A proto object representing the result of Spec execution.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Spec.ProtoSpecResultstatic final com.google.protobuf.Descriptors.DescriptorgetErrors(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.com.google.protobuf.Parser<Spec.ProtoSpecResult>/ 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 skippedintboolean/ 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.inthashCode()boolean/ Represents the corresponding Specificationprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Spec.ProtoSpecResult.Builderstatic Spec.ProtoSpecResult.BuildernewBuilder(Spec.ProtoSpecResult prototype) protected Spec.ProtoSpecResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Spec.ProtoSpecResultparseDelimitedFrom(InputStream input) static Spec.ProtoSpecResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoSpecResultparseFrom(byte[] data) static Spec.ProtoSpecResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoSpecResultparseFrom(com.google.protobuf.ByteString data) static Spec.ProtoSpecResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoSpecResultparseFrom(com.google.protobuf.CodedInputStream input) static Spec.ProtoSpecResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoSpecResultparseFrom(InputStream input) static Spec.ProtoSpecResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoSpecResultparseFrom(ByteBuffer data) static Spec.ProtoSpecResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Spec.ProtoSpecResult>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasProtoSpec
public boolean hasProtoSpec()/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;- Specified by:
hasProtoSpecin interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- Whether the protoSpec field is set.
-
getProtoSpec
/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;- Specified by:
getProtoSpecin interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- The protoSpec.
-
getProtoSpecOrBuilder
/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;- Specified by:
getProtoSpecOrBuilderin interfaceSpec.ProtoSpecResultOrBuilder
-
getScenarioCount
public int getScenarioCount()/ Holds the number of Scenarios executed
int32 scenarioCount = 2;- Specified by:
getScenarioCountin interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- The scenarioCount.
-
getScenarioFailedCount
public int getScenarioFailedCount()/ Holds the number of Scenarios failed
int32 scenarioFailedCount = 3;- Specified by:
getScenarioFailedCountin interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- The scenarioFailedCount.
-
getFailed
public boolean getFailed()/ Flag to indicate failure
bool failed = 4;- Specified by:
getFailedin interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- The failed.
-
getFailedDataTableRowsList
/ Holds the row numbers, which caused the execution to fail.
repeated int32 failedDataTableRows = 5;- Specified by:
getFailedDataTableRowsListin interfaceSpec.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:
getFailedDataTableRowsCountin interfaceSpec.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:
getFailedDataTableRowsin interfaceSpec.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:
getExecutionTimein interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- The executionTime.
-
getSkipped
public boolean getSkipped()/ Flag to indicate if spec is skipped
bool skipped = 7;- Specified by:
getSkippedin interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- The skipped.
-
getScenarioSkippedCount
public int getScenarioSkippedCount()/ Holds the number of Scenarios skipped
int32 scenarioSkippedCount = 8;- Specified by:
getScenarioSkippedCountin interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- The scenarioSkippedCount.
-
getSkippedDataTableRowsList
/ Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;- Specified by:
getSkippedDataTableRowsListin interfaceSpec.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:
getSkippedDataTableRowsCountin interfaceSpec.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:
getSkippedDataTableRowsin interfaceSpec.ProtoSpecResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The skippedDataTableRows at the given index.
-
getErrorsList
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;- Specified by:
getErrorsListin interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsOrBuilderList
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;- Specified by:
getErrorsOrBuilderListin interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsCount
public int getErrorsCount()/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;- Specified by:
getErrorsCountin interfaceSpec.ProtoSpecResultOrBuilder
-
getErrors
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;- Specified by:
getErrorsin interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsOrBuilder
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;- Specified by:
getErrorsOrBuilderin interfaceSpec.ProtoSpecResultOrBuilder
-
getTimestamp
/ Holds the timestamp of event starting.
string timestamp = 11;- Specified by:
getTimestampin interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- The timestamp.
-
getTimestampBytes
public com.google.protobuf.ByteString getTimestampBytes()/ Holds the timestamp of event starting.
string timestamp = 11;- Specified by:
getTimestampBytesin interfaceSpec.ProtoSpecResultOrBuilder- Returns:
- The bytes for timestamp.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Spec.ProtoSpecResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Spec.ProtoSpecResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-