Package gauge.messages
Class Spec.ProtoSpecResult
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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.GeneratedMessageV3 implements Spec.ProtoSpecResultOrBuilder
/ A proto object representing the result of Spec execution.
Protobuf typegauge.messages.ProtoSpecResult- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpec.ProtoSpecResult.Builder/ A proto object representing the result of Spec execution.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intERRORS_FIELD_NUMBERstatic intEXECUTIONTIME_FIELD_NUMBERstatic intFAILED_FIELD_NUMBERstatic intFAILEDDATATABLEROWS_FIELD_NUMBERstatic intPROTOSPEC_FIELD_NUMBERstatic intSCENARIOCOUNT_FIELD_NUMBERstatic intSCENARIOFAILEDCOUNT_FIELD_NUMBERstatic intSCENARIOSKIPPEDCOUNT_FIELD_NUMBERstatic intSKIPPED_FIELD_NUMBERstatic intSKIPPEDDATATABLEROWS_FIELD_NUMBERstatic intTIMESTAMP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Spec.ProtoSpecResultgetDefaultInstance()Spec.ProtoSpecResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Spec.ErrorgetErrors(int index)/ Holds parse, validation and skipped errors.intgetErrorsCount()/ Holds parse, validation and skipped errors.List<Spec.Error>getErrorsList()/ Holds parse, validation and skipped errors.Spec.ErrorOrBuildergetErrorsOrBuilder(int index)/ Holds parse, validation and skipped errors.List<? extends Spec.ErrorOrBuilder>getErrorsOrBuilderList()/ Holds parse, validation and skipped errors.longgetExecutionTime()/ Holds the time taken for executing the spec.booleangetFailed()/ Flag to indicate failureintgetFailedDataTableRows(int index)/ Holds the row numbers, which caused the execution to fail.intgetFailedDataTableRowsCount()/ Holds the row numbers, which caused the execution to fail.List<Integer>getFailedDataTableRowsList()/ Holds the row numbers, which caused the execution to fail.com.google.protobuf.Parser<Spec.ProtoSpecResult>getParserForType()Spec.ProtoSpecgetProtoSpec()/ Represents the corresponding SpecificationSpec.ProtoSpecOrBuildergetProtoSpecOrBuilder()/ Represents the corresponding SpecificationintgetScenarioCount()/ Holds the number of Scenarios executedintgetScenarioFailedCount()/ Holds the number of Scenarios failedintgetScenarioSkippedCount()/ Holds the number of Scenarios skippedintgetSerializedSize()booleangetSkipped()/ Flag to indicate if spec is skippedintgetSkippedDataTableRows(int index)/ Holds the row numbers, for which the execution skipped.intgetSkippedDataTableRowsCount()/ Holds the row numbers, for which the execution skipped.List<Integer>getSkippedDataTableRowsList()/ Holds the row numbers, for which the execution skipped.StringgetTimestamp()/ Holds the timestamp of event starting.com.google.protobuf.ByteStringgetTimestampBytes()/ Holds the timestamp of event starting.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasProtoSpec()/ Represents the corresponding Specificationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Spec.ProtoSpecResult.BuildernewBuilder()static Spec.ProtoSpecResult.BuildernewBuilder(Spec.ProtoSpecResult prototype)Spec.ProtoSpecResult.BuildernewBuilderForType()protected Spec.ProtoSpecResult.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.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()Spec.ProtoSpecResult.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PROTOSPEC_FIELD_NUMBER
public static final int PROTOSPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCENARIOCOUNT_FIELD_NUMBER
public static final int SCENARIOCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCENARIOFAILEDCOUNT_FIELD_NUMBER
public static final int SCENARIOFAILEDCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILED_FIELD_NUMBER
public static final int FAILED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILEDDATATABLEROWS_FIELD_NUMBER
public static final int FAILEDDATATABLEROWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXECUTIONTIME_FIELD_NUMBER
public static final int EXECUTIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKIPPED_FIELD_NUMBER
public static final int SKIPPED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCENARIOSKIPPEDCOUNT_FIELD_NUMBER
public static final int SCENARIOSKIPPEDCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKIPPEDDATATABLEROWS_FIELD_NUMBER
public static final int SKIPPEDDATATABLEROWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasProtoSpec
public boolean hasProtoSpec()
/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;- Specified by:
hasProtoSpecin interfaceSpec.ProtoSpecResultOrBuilder
-
getProtoSpec
public Spec.ProtoSpec getProtoSpec()
/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;- Specified by:
getProtoSpecin interfaceSpec.ProtoSpecResultOrBuilder
-
getProtoSpecOrBuilder
public Spec.ProtoSpecOrBuilder 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
-
getScenarioFailedCount
public int getScenarioFailedCount()
/ Holds the number of Scenarios failed
int32 scenarioFailedCount = 3;- Specified by:
getScenarioFailedCountin interfaceSpec.ProtoSpecResultOrBuilder
-
getFailed
public boolean getFailed()
/ Flag to indicate failure
bool failed = 4;- Specified by:
getFailedin interfaceSpec.ProtoSpecResultOrBuilder
-
getFailedDataTableRowsList
public List<Integer> getFailedDataTableRowsList()
/ Holds the row numbers, which caused the execution to fail.
repeated int32 failedDataTableRows = 5;- Specified by:
getFailedDataTableRowsListin interfaceSpec.ProtoSpecResultOrBuilder
-
getFailedDataTableRowsCount
public int getFailedDataTableRowsCount()
/ Holds the row numbers, which caused the execution to fail.
repeated int32 failedDataTableRows = 5;- Specified by:
getFailedDataTableRowsCountin interfaceSpec.ProtoSpecResultOrBuilder
-
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
-
getExecutionTime
public long getExecutionTime()
/ Holds the time taken for executing the spec.
int64 executionTime = 6;- Specified by:
getExecutionTimein interfaceSpec.ProtoSpecResultOrBuilder
-
getSkipped
public boolean getSkipped()
/ Flag to indicate if spec is skipped
bool skipped = 7;- Specified by:
getSkippedin interfaceSpec.ProtoSpecResultOrBuilder
-
getScenarioSkippedCount
public int getScenarioSkippedCount()
/ Holds the number of Scenarios skipped
int32 scenarioSkippedCount = 8;- Specified by:
getScenarioSkippedCountin interfaceSpec.ProtoSpecResultOrBuilder
-
getSkippedDataTableRowsList
public List<Integer> getSkippedDataTableRowsList()
/ Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;- Specified by:
getSkippedDataTableRowsListin interfaceSpec.ProtoSpecResultOrBuilder
-
getSkippedDataTableRowsCount
public int getSkippedDataTableRowsCount()
/ Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;- Specified by:
getSkippedDataTableRowsCountin interfaceSpec.ProtoSpecResultOrBuilder
-
getSkippedDataTableRows
public int getSkippedDataTableRows(int index)
/ Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;- Specified by:
getSkippedDataTableRowsin interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsList
public List<Spec.Error> getErrorsList()
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;- Specified by:
getErrorsListin interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsOrBuilderList
public List<? extends Spec.ErrorOrBuilder> 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
public Spec.Error getErrors(int index)
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;- Specified by:
getErrorsin interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsOrBuilder
public Spec.ErrorOrBuilder getErrorsOrBuilder(int index)
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;- Specified by:
getErrorsOrBuilderin interfaceSpec.ProtoSpecResultOrBuilder
-
getTimestamp
public String getTimestamp()
/ Holds the timestamp of event starting.
string timestamp = 11;- Specified by:
getTimestampin interfaceSpec.ProtoSpecResultOrBuilder
-
getTimestampBytes
public com.google.protobuf.ByteString getTimestampBytes()
/ Holds the timestamp of event starting.
string timestamp = 11;- Specified by:
getTimestampBytesin interfaceSpec.ProtoSpecResultOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Spec.ProtoSpecResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Spec.ProtoSpecResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-