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 class
Spec.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 int
ERRORS_FIELD_NUMBER
static int
EXECUTIONTIME_FIELD_NUMBER
static int
FAILED_FIELD_NUMBER
static int
FAILEDDATATABLEROWS_FIELD_NUMBER
static int
PROTOSPEC_FIELD_NUMBER
static int
SCENARIOCOUNT_FIELD_NUMBER
static int
SCENARIOFAILEDCOUNT_FIELD_NUMBER
static int
SCENARIOSKIPPEDCOUNT_FIELD_NUMBER
static int
SKIPPED_FIELD_NUMBER
static int
SKIPPEDDATATABLEROWS_FIELD_NUMBER
static int
TIMESTAMP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Spec.ProtoSpecResult
getDefaultInstance()
Spec.ProtoSpecResult
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Spec.Error
getErrors(int index)
/ Holds parse, validation and skipped errors.int
getErrorsCount()
/ Holds parse, validation and skipped errors.List<Spec.Error>
getErrorsList()
/ Holds parse, validation and skipped errors.Spec.ErrorOrBuilder
getErrorsOrBuilder(int index)
/ Holds parse, validation and skipped errors.List<? extends Spec.ErrorOrBuilder>
getErrorsOrBuilderList()
/ Holds parse, validation and skipped errors.long
getExecutionTime()
/ Holds the time taken for executing the spec.boolean
getFailed()
/ Flag to indicate failureint
getFailedDataTableRows(int index)
/ Holds the row numbers, which caused the execution to fail.int
getFailedDataTableRowsCount()
/ 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.ProtoSpec
getProtoSpec()
/ Represents the corresponding SpecificationSpec.ProtoSpecOrBuilder
getProtoSpecOrBuilder()
/ Represents the corresponding Specificationint
getScenarioCount()
/ Holds the number of Scenarios executedint
getScenarioFailedCount()
/ Holds the number of Scenarios failedint
getScenarioSkippedCount()
/ Holds the number of Scenarios skippedint
getSerializedSize()
boolean
getSkipped()
/ Flag to indicate if spec is skippedint
getSkippedDataTableRows(int index)
/ Holds the row numbers, for which the execution skipped.int
getSkippedDataTableRowsCount()
/ Holds the row numbers, for which the execution skipped.List<Integer>
getSkippedDataTableRowsList()
/ Holds the row numbers, for which the execution skipped.String
getTimestamp()
/ Holds the timestamp of event starting.com.google.protobuf.ByteString
getTimestampBytes()
/ Holds the timestamp of event starting.com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
boolean
hasProtoSpec()
/ Represents the corresponding Specificationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Spec.ProtoSpecResult.Builder
newBuilder()
static Spec.ProtoSpecResult.Builder
newBuilder(Spec.ProtoSpecResult prototype)
Spec.ProtoSpecResult.Builder
newBuilderForType()
protected Spec.ProtoSpecResult.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static Spec.ProtoSpecResult
parseDelimitedFrom(InputStream input)
static Spec.ProtoSpecResult
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoSpecResult
parseFrom(byte[] data)
static Spec.ProtoSpecResult
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoSpecResult
parseFrom(com.google.protobuf.ByteString data)
static Spec.ProtoSpecResult
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoSpecResult
parseFrom(com.google.protobuf.CodedInputStream input)
static Spec.ProtoSpecResult
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoSpecResult
parseFrom(InputStream input)
static Spec.ProtoSpecResult
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoSpecResult
parseFrom(ByteBuffer data)
static Spec.ProtoSpecResult
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Spec.ProtoSpecResult>
parser()
Spec.ProtoSpecResult.Builder
toBuilder()
void
writeTo(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, isStringEmpty, 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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasProtoSpec
public boolean hasProtoSpec()
/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;
- Specified by:
hasProtoSpec
in interfaceSpec.ProtoSpecResultOrBuilder
-
getProtoSpec
public Spec.ProtoSpec getProtoSpec()
/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;
- Specified by:
getProtoSpec
in interfaceSpec.ProtoSpecResultOrBuilder
-
getProtoSpecOrBuilder
public Spec.ProtoSpecOrBuilder getProtoSpecOrBuilder()
/ Represents the corresponding Specification
.gauge.messages.ProtoSpec protoSpec = 1;
- Specified by:
getProtoSpecOrBuilder
in interfaceSpec.ProtoSpecResultOrBuilder
-
getScenarioCount
public int getScenarioCount()
/ Holds the number of Scenarios executed
int32 scenarioCount = 2;
- Specified by:
getScenarioCount
in interfaceSpec.ProtoSpecResultOrBuilder
-
getScenarioFailedCount
public int getScenarioFailedCount()
/ Holds the number of Scenarios failed
int32 scenarioFailedCount = 3;
- Specified by:
getScenarioFailedCount
in interfaceSpec.ProtoSpecResultOrBuilder
-
getFailed
public boolean getFailed()
/ Flag to indicate failure
bool failed = 4;
- Specified by:
getFailed
in interfaceSpec.ProtoSpecResultOrBuilder
-
getFailedDataTableRowsList
public List<Integer> getFailedDataTableRowsList()
/ Holds the row numbers, which caused the execution to fail.
repeated int32 failedDataTableRows = 5;
- Specified by:
getFailedDataTableRowsList
in interfaceSpec.ProtoSpecResultOrBuilder
-
getFailedDataTableRowsCount
public int getFailedDataTableRowsCount()
/ Holds the row numbers, which caused the execution to fail.
repeated int32 failedDataTableRows = 5;
- Specified by:
getFailedDataTableRowsCount
in interfaceSpec.ProtoSpecResultOrBuilder
-
getFailedDataTableRows
public int getFailedDataTableRows(int index)
/ Holds the row numbers, which caused the execution to fail.
repeated int32 failedDataTableRows = 5;
- Specified by:
getFailedDataTableRows
in interfaceSpec.ProtoSpecResultOrBuilder
-
getExecutionTime
public long getExecutionTime()
/ Holds the time taken for executing the spec.
int64 executionTime = 6;
- Specified by:
getExecutionTime
in interfaceSpec.ProtoSpecResultOrBuilder
-
getSkipped
public boolean getSkipped()
/ Flag to indicate if spec is skipped
bool skipped = 7;
- Specified by:
getSkipped
in interfaceSpec.ProtoSpecResultOrBuilder
-
getScenarioSkippedCount
public int getScenarioSkippedCount()
/ Holds the number of Scenarios skipped
int32 scenarioSkippedCount = 8;
- Specified by:
getScenarioSkippedCount
in interfaceSpec.ProtoSpecResultOrBuilder
-
getSkippedDataTableRowsList
public List<Integer> getSkippedDataTableRowsList()
/ Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;
- Specified by:
getSkippedDataTableRowsList
in interfaceSpec.ProtoSpecResultOrBuilder
-
getSkippedDataTableRowsCount
public int getSkippedDataTableRowsCount()
/ Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;
- Specified by:
getSkippedDataTableRowsCount
in interfaceSpec.ProtoSpecResultOrBuilder
-
getSkippedDataTableRows
public int getSkippedDataTableRows(int index)
/ Holds the row numbers, for which the execution skipped.
repeated int32 skippedDataTableRows = 9;
- Specified by:
getSkippedDataTableRows
in interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsList
public List<Spec.Error> getErrorsList()
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;
- Specified by:
getErrorsList
in interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsOrBuilderList
public List<? extends Spec.ErrorOrBuilder> getErrorsOrBuilderList()
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;
- Specified by:
getErrorsOrBuilderList
in interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsCount
public int getErrorsCount()
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;
- Specified by:
getErrorsCount
in interfaceSpec.ProtoSpecResultOrBuilder
-
getErrors
public Spec.Error getErrors(int index)
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;
- Specified by:
getErrors
in interfaceSpec.ProtoSpecResultOrBuilder
-
getErrorsOrBuilder
public Spec.ErrorOrBuilder getErrorsOrBuilder(int index)
/ Holds parse, validation and skipped errors.
repeated .gauge.messages.Error errors = 10;
- Specified by:
getErrorsOrBuilder
in interfaceSpec.ProtoSpecResultOrBuilder
-
getTimestamp
public String getTimestamp()
/ Holds the timestamp of event starting.
string timestamp = 11;
- Specified by:
getTimestamp
in interfaceSpec.ProtoSpecResultOrBuilder
-
getTimestampBytes
public com.google.protobuf.ByteString getTimestampBytes()
/ Holds the timestamp of event starting.
string timestamp = 11;
- Specified by:
getTimestampBytes
in interfaceSpec.ProtoSpecResultOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Spec.ProtoSpecResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Spec.ProtoSpecResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-