Package io.cucumber.messages
Class Messages.TestCase
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.cucumber.messages.Messages.TestCase
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.TestCaseOrBuilder,Serializable
- Enclosing class:
- Messages
public static final class Messages.TestCase extends com.google.protobuf.GeneratedMessageV3 implements Messages.TestCaseOrBuilder
A `TestCase` contains a sequence of `TestStep`s.
Protobuf typeio.cucumber.messages.TestCase- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessages.TestCase.BuilderA `TestCase` contains a sequence of `TestStep`s.static classMessages.TestCase.TestStepA `TestStep` is derived from either a `PickleStep` combined with a `StepDefinition`, or from a `Hook`.static interfaceMessages.TestCase.TestStepOrBuilder-
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 intID_FIELD_NUMBERstatic intPICKLE_ID_FIELD_NUMBERstatic intTEST_STEPS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Messages.TestCasegetDefaultInstance()Messages.TestCasegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;com.google.protobuf.Parser<Messages.TestCase>getParserForType()StringgetPickleId()The ID of the `Pickle` this `TestCase` is derived from.com.google.protobuf.ByteStringgetPickleIdBytes()The ID of the `Pickle` this `TestCase` is derived from.intgetSerializedSize()Messages.TestCase.TestStepgetTestSteps(int index)repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;intgetTestStepsCount()repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;List<Messages.TestCase.TestStep>getTestStepsList()repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;Messages.TestCase.TestStepOrBuildergetTestStepsOrBuilder(int index)repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;List<? extends Messages.TestCase.TestStepOrBuilder>getTestStepsOrBuilderList()repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Messages.TestCase.BuildernewBuilder()static Messages.TestCase.BuildernewBuilder(Messages.TestCase prototype)Messages.TestCase.BuildernewBuilderForType()protected Messages.TestCase.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Messages.TestCaseparseDelimitedFrom(InputStream input)static Messages.TestCaseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCaseparseFrom(byte[] data)static Messages.TestCaseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCaseparseFrom(com.google.protobuf.ByteString data)static Messages.TestCaseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCaseparseFrom(com.google.protobuf.CodedInputStream input)static Messages.TestCaseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCaseparseFrom(InputStream input)static Messages.TestCaseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCaseparseFrom(ByteBuffer data)static Messages.TestCaseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Messages.TestCase>parser()Messages.TestCase.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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PICKLE_ID_FIELD_NUMBER
public static final int PICKLE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEST_STEPS_FIELD_NUMBER
public static final int TEST_STEPS_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
-
getId
public String getId()
string id = 1;- Specified by:
getIdin interfaceMessages.TestCaseOrBuilder
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;- Specified by:
getIdBytesin interfaceMessages.TestCaseOrBuilder
-
getPickleId
public String getPickleId()
The ID of the `Pickle` this `TestCase` is derived from.
string pickle_id = 2;- Specified by:
getPickleIdin interfaceMessages.TestCaseOrBuilder
-
getPickleIdBytes
public com.google.protobuf.ByteString getPickleIdBytes()
The ID of the `Pickle` this `TestCase` is derived from.
string pickle_id = 2;- Specified by:
getPickleIdBytesin interfaceMessages.TestCaseOrBuilder
-
getTestStepsList
public List<Messages.TestCase.TestStep> getTestStepsList()
repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;- Specified by:
getTestStepsListin interfaceMessages.TestCaseOrBuilder
-
getTestStepsOrBuilderList
public List<? extends Messages.TestCase.TestStepOrBuilder> getTestStepsOrBuilderList()
repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;- Specified by:
getTestStepsOrBuilderListin interfaceMessages.TestCaseOrBuilder
-
getTestStepsCount
public int getTestStepsCount()
repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;- Specified by:
getTestStepsCountin interfaceMessages.TestCaseOrBuilder
-
getTestSteps
public Messages.TestCase.TestStep getTestSteps(int index)
repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;- Specified by:
getTestStepsin interfaceMessages.TestCaseOrBuilder
-
getTestStepsOrBuilder
public Messages.TestCase.TestStepOrBuilder getTestStepsOrBuilder(int index)
repeated .io.cucumber.messages.TestCase.TestStep test_steps = 3;- Specified by:
getTestStepsOrBuilderin interfaceMessages.TestCaseOrBuilder
-
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 Messages.TestCase parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Messages.TestCase parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Messages.TestCase parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Messages.TestCase parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Messages.TestCase parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Messages.TestCase parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Messages.TestCase.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Messages.TestCase.Builder newBuilder()
-
newBuilder
public static Messages.TestCase.Builder newBuilder(Messages.TestCase prototype)
-
toBuilder
public Messages.TestCase.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Messages.TestCase.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Messages.TestCase getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Messages.TestCase> parser()
-
getParserForType
public com.google.protobuf.Parser<Messages.TestCase> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Messages.TestCase getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-