Package gauge.messages
Class Spec.ProtoHookFailure
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gauge.messages.Spec.ProtoHookFailure
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Spec.ProtoHookFailureOrBuilder,Serializable
- Enclosing class:
- Spec
public static final class Spec.ProtoHookFailure
extends com.google.protobuf.GeneratedMessage
implements Spec.ProtoHookFailureOrBuilder
/ A proto object representing a pre-hook failure. / Used to hold failure information for before_suite, before_spec, before_scenario and before_spec hooks.Protobuf type
gauge.messages.ProtoHookFailure- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class/ A proto object representing a pre-hook failureNested 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 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.ProtoHookFailurestatic final com.google.protobuf.Descriptors.Descriptor/ Error message from the failurecom.google.protobuf.ByteString/ Error message from the failurecom.google.protobuf.ByteStringDeprecated.gauge.messages.ProtoHookFailure.failureScreenshot is deprecated./ Path to the screenshot file captured at the time of failure.com.google.protobuf.ByteString/ Path to the screenshot file captured at the time of failure.com.google.protobuf.Parser<Spec.ProtoHookFailure>com.google.protobuf.ByteStringDeprecated.gauge.messages.ProtoHookFailure.screenShot is deprecated.int/ Stacktrace from the failurecom.google.protobuf.ByteString/ Stacktrace from the failureint/ Contains table row index corresponding to datatable rowsinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Spec.ProtoHookFailure prototype) protected Spec.ProtoHookFailure.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Spec.ProtoHookFailureparseDelimitedFrom(InputStream input) static Spec.ProtoHookFailureparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoHookFailureparseFrom(byte[] data) static Spec.ProtoHookFailureparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoHookFailureparseFrom(com.google.protobuf.ByteString data) static Spec.ProtoHookFailureparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoHookFailureparseFrom(com.google.protobuf.CodedInputStream input) static Spec.ProtoHookFailureparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoHookFailureparseFrom(InputStream input) static Spec.ProtoHookFailureparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Spec.ProtoHookFailureparseFrom(ByteBuffer data) static Spec.ProtoHookFailureparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Spec.ProtoHookFailure>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
-
STACKTRACE_FIELD_NUMBER
public static final int STACKTRACE_FIELD_NUMBER- See Also:
-
ERRORMESSAGE_FIELD_NUMBER
public static final int ERRORMESSAGE_FIELD_NUMBER- See Also:
-
SCREENSHOT_FIELD_NUMBER
public static final int SCREENSHOT_FIELD_NUMBER- See Also:
-
TABLEROWINDEX_FIELD_NUMBER
public static final int TABLEROWINDEX_FIELD_NUMBER- See Also:
-
FAILURESCREENSHOT_FIELD_NUMBER
public static final int FAILURESCREENSHOT_FIELD_NUMBER- See Also:
-
FAILURESCREENSHOTFILE_FIELD_NUMBER
public static final int FAILURESCREENSHOTFILE_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
-
getStackTrace
/ Stacktrace from the failure
string stackTrace = 1;- Specified by:
getStackTracein interfaceSpec.ProtoHookFailureOrBuilder- Returns:
- The stackTrace.
-
getStackTraceBytes
public com.google.protobuf.ByteString getStackTraceBytes()/ Stacktrace from the failure
string stackTrace = 1;- Specified by:
getStackTraceBytesin interfaceSpec.ProtoHookFailureOrBuilder- Returns:
- The bytes for stackTrace.
-
getErrorMessage
/ Error message from the failure
string errorMessage = 2;- Specified by:
getErrorMessagein interfaceSpec.ProtoHookFailureOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()/ Error message from the failure
string errorMessage = 2;- Specified by:
getErrorMessageBytesin interfaceSpec.ProtoHookFailureOrBuilder- Returns:
- The bytes for errorMessage.
-
getScreenShot
Deprecated.gauge.messages.ProtoHookFailure.screenShot is deprecated. See spec.proto;l=325/ [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
bytes screenShot = 3 [deprecated = true];- Specified by:
getScreenShotin interfaceSpec.ProtoHookFailureOrBuilder- Returns:
- The screenShot.
-
getTableRowIndex
public int getTableRowIndex()/ Contains table row index corresponding to datatable rows
int32 tableRowIndex = 4;- Specified by:
getTableRowIndexin interfaceSpec.ProtoHookFailureOrBuilder- Returns:
- The tableRowIndex.
-
getFailureScreenshot
Deprecated.gauge.messages.ProtoHookFailure.failureScreenshot is deprecated. See spec.proto;l=329/ [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
bytes failureScreenshot = 5 [deprecated = true];- Specified by:
getFailureScreenshotin interfaceSpec.ProtoHookFailureOrBuilder- Returns:
- The failureScreenshot.
-
getFailureScreenshotFile
/ Path to the screenshot file captured at the time of failure.
string failureScreenshotFile = 6;- Specified by:
getFailureScreenshotFilein interfaceSpec.ProtoHookFailureOrBuilder- Returns:
- The failureScreenshotFile.
-
getFailureScreenshotFileBytes
public com.google.protobuf.ByteString getFailureScreenshotFileBytes()/ Path to the screenshot file captured at the time of failure.
string failureScreenshotFile = 6;- Specified by:
getFailureScreenshotFileBytesin interfaceSpec.ProtoHookFailureOrBuilder- Returns:
- The bytes for failureScreenshotFile.
-
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.ProtoHookFailure parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.ProtoHookFailure parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.ProtoHookFailure parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.ProtoHookFailure 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.ProtoHookFailure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.ProtoHookFailure 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.ProtoHookFailure parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Spec.ProtoHookFailure parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Spec.ProtoHookFailure parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Spec.ProtoHookFailure 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.ProtoHookFailure.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
-