Package io.cucumber.messages
Class Messages.TestCase.TestStep
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.cucumber.messages.Messages.TestCase.TestStep
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.TestCase.TestStepOrBuilder,Serializable
- Enclosing class:
- Messages.TestCase
public static final class Messages.TestCase.TestStep extends com.google.protobuf.GeneratedMessageV3 implements Messages.TestCase.TestStepOrBuilder
A `TestStep` is derived from either a `PickleStep` combined with a `StepDefinition`, or from a `Hook`.
Protobuf typeio.cucumber.messages.TestCase.TestStep- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessages.TestCase.TestStep.BuilderA `TestStep` is derived from either a `PickleStep` combined with a `StepDefinition`, or from a `Hook`.static classMessages.TestCase.TestStep.StepMatchArgumentsListProtobuf typeio.cucumber.messages.TestCase.TestStep.StepMatchArgumentsListstatic interfaceMessages.TestCase.TestStep.StepMatchArgumentsListOrBuilder-
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 intHOOK_ID_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intPICKLE_STEP_ID_FIELD_NUMBERstatic intSTEP_DEFINITION_IDS_FIELD_NUMBERstatic intSTEP_MATCH_ARGUMENTS_LISTS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Messages.TestCase.TestStepgetDefaultInstance()Messages.TestCase.TestStepgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetHookId()Pointer to the `Hook` (if derived from a Hook)com.google.protobuf.ByteStringgetHookIdBytes()Pointer to the `Hook` (if derived from a Hook)StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;com.google.protobuf.Parser<Messages.TestCase.TestStep>getParserForType()StringgetPickleStepId()Pointer to the `PickleStep` (if derived from a PickleStep)com.google.protobuf.ByteStringgetPickleStepIdBytes()Pointer to the `PickleStep` (if derived from a PickleStep)intgetSerializedSize()StringgetStepDefinitionIds(int index)Pointer to all the matching `StepDefinition`s (if derived from a PickleStep)com.google.protobuf.ByteStringgetStepDefinitionIdsBytes(int index)Pointer to all the matching `StepDefinition`s (if derived from a PickleStep)intgetStepDefinitionIdsCount()Pointer to all the matching `StepDefinition`s (if derived from a PickleStep)com.google.protobuf.ProtocolStringListgetStepDefinitionIdsList()Pointer to all the matching `StepDefinition`s (if derived from a PickleStep)Messages.TestCase.TestStep.StepMatchArgumentsListgetStepMatchArgumentsLists(int index)A list of list of StepMatchArgument (if derived from a `StepDefinition`).intgetStepMatchArgumentsListsCount()A list of list of StepMatchArgument (if derived from a `StepDefinition`).List<Messages.TestCase.TestStep.StepMatchArgumentsList>getStepMatchArgumentsListsList()A list of list of StepMatchArgument (if derived from a `StepDefinition`).Messages.TestCase.TestStep.StepMatchArgumentsListOrBuildergetStepMatchArgumentsListsOrBuilder(int index)A list of list of StepMatchArgument (if derived from a `StepDefinition`).List<? extends Messages.TestCase.TestStep.StepMatchArgumentsListOrBuilder>getStepMatchArgumentsListsOrBuilderList()A list of list of StepMatchArgument (if derived from a `StepDefinition`).com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Messages.TestCase.TestStep.BuildernewBuilder()static Messages.TestCase.TestStep.BuildernewBuilder(Messages.TestCase.TestStep prototype)Messages.TestCase.TestStep.BuildernewBuilderForType()protected Messages.TestCase.TestStep.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Messages.TestCase.TestStepparseDelimitedFrom(InputStream input)static Messages.TestCase.TestStepparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCase.TestStepparseFrom(byte[] data)static Messages.TestCase.TestStepparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCase.TestStepparseFrom(com.google.protobuf.ByteString data)static Messages.TestCase.TestStepparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCase.TestStepparseFrom(com.google.protobuf.CodedInputStream input)static Messages.TestCase.TestStepparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCase.TestStepparseFrom(InputStream input)static Messages.TestCase.TestStepparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.TestCase.TestStepparseFrom(ByteBuffer data)static Messages.TestCase.TestStepparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Messages.TestCase.TestStep>parser()Messages.TestCase.TestStep.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_STEP_ID_FIELD_NUMBER
public static final int PICKLE_STEP_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STEP_DEFINITION_IDS_FIELD_NUMBER
public static final int STEP_DEFINITION_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STEP_MATCH_ARGUMENTS_LISTS_FIELD_NUMBER
public static final int STEP_MATCH_ARGUMENTS_LISTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOOK_ID_FIELD_NUMBER
public static final int HOOK_ID_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.TestCase.TestStepOrBuilder
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;- Specified by:
getIdBytesin interfaceMessages.TestCase.TestStepOrBuilder
-
getPickleStepId
public String getPickleStepId()
Pointer to the `PickleStep` (if derived from a PickleStep)
string pickle_step_id = 2;- Specified by:
getPickleStepIdin interfaceMessages.TestCase.TestStepOrBuilder
-
getPickleStepIdBytes
public com.google.protobuf.ByteString getPickleStepIdBytes()
Pointer to the `PickleStep` (if derived from a PickleStep)
string pickle_step_id = 2;- Specified by:
getPickleStepIdBytesin interfaceMessages.TestCase.TestStepOrBuilder
-
getStepDefinitionIdsList
public com.google.protobuf.ProtocolStringList getStepDefinitionIdsList()
Pointer to all the matching `StepDefinition`s (if derived from a PickleStep)
repeated string step_definition_ids = 3;- Specified by:
getStepDefinitionIdsListin interfaceMessages.TestCase.TestStepOrBuilder
-
getStepDefinitionIdsCount
public int getStepDefinitionIdsCount()
Pointer to all the matching `StepDefinition`s (if derived from a PickleStep)
repeated string step_definition_ids = 3;- Specified by:
getStepDefinitionIdsCountin interfaceMessages.TestCase.TestStepOrBuilder
-
getStepDefinitionIds
public String getStepDefinitionIds(int index)
Pointer to all the matching `StepDefinition`s (if derived from a PickleStep)
repeated string step_definition_ids = 3;- Specified by:
getStepDefinitionIdsin interfaceMessages.TestCase.TestStepOrBuilder
-
getStepDefinitionIdsBytes
public com.google.protobuf.ByteString getStepDefinitionIdsBytes(int index)
Pointer to all the matching `StepDefinition`s (if derived from a PickleStep)
repeated string step_definition_ids = 3;- Specified by:
getStepDefinitionIdsBytesin interfaceMessages.TestCase.TestStepOrBuilder
-
getStepMatchArgumentsListsList
public List<Messages.TestCase.TestStep.StepMatchArgumentsList> getStepMatchArgumentsListsList()
A list of list of StepMatchArgument (if derived from a `StepDefinition`). Each element represents a matching step definition. A size of 0 means `UNDEFINED`, and a size of 2+ means `AMBIGUOUS`
repeated .io.cucumber.messages.TestCase.TestStep.StepMatchArgumentsList step_match_arguments_lists = 4;- Specified by:
getStepMatchArgumentsListsListin interfaceMessages.TestCase.TestStepOrBuilder
-
getStepMatchArgumentsListsOrBuilderList
public List<? extends Messages.TestCase.TestStep.StepMatchArgumentsListOrBuilder> getStepMatchArgumentsListsOrBuilderList()
A list of list of StepMatchArgument (if derived from a `StepDefinition`). Each element represents a matching step definition. A size of 0 means `UNDEFINED`, and a size of 2+ means `AMBIGUOUS`
repeated .io.cucumber.messages.TestCase.TestStep.StepMatchArgumentsList step_match_arguments_lists = 4;- Specified by:
getStepMatchArgumentsListsOrBuilderListin interfaceMessages.TestCase.TestStepOrBuilder
-
getStepMatchArgumentsListsCount
public int getStepMatchArgumentsListsCount()
A list of list of StepMatchArgument (if derived from a `StepDefinition`). Each element represents a matching step definition. A size of 0 means `UNDEFINED`, and a size of 2+ means `AMBIGUOUS`
repeated .io.cucumber.messages.TestCase.TestStep.StepMatchArgumentsList step_match_arguments_lists = 4;- Specified by:
getStepMatchArgumentsListsCountin interfaceMessages.TestCase.TestStepOrBuilder
-
getStepMatchArgumentsLists
public Messages.TestCase.TestStep.StepMatchArgumentsList getStepMatchArgumentsLists(int index)
A list of list of StepMatchArgument (if derived from a `StepDefinition`). Each element represents a matching step definition. A size of 0 means `UNDEFINED`, and a size of 2+ means `AMBIGUOUS`
repeated .io.cucumber.messages.TestCase.TestStep.StepMatchArgumentsList step_match_arguments_lists = 4;- Specified by:
getStepMatchArgumentsListsin interfaceMessages.TestCase.TestStepOrBuilder
-
getStepMatchArgumentsListsOrBuilder
public Messages.TestCase.TestStep.StepMatchArgumentsListOrBuilder getStepMatchArgumentsListsOrBuilder(int index)
A list of list of StepMatchArgument (if derived from a `StepDefinition`). Each element represents a matching step definition. A size of 0 means `UNDEFINED`, and a size of 2+ means `AMBIGUOUS`
repeated .io.cucumber.messages.TestCase.TestStep.StepMatchArgumentsList step_match_arguments_lists = 4;- Specified by:
getStepMatchArgumentsListsOrBuilderin interfaceMessages.TestCase.TestStepOrBuilder
-
getHookId
public String getHookId()
Pointer to the `Hook` (if derived from a Hook)
string hook_id = 5;- Specified by:
getHookIdin interfaceMessages.TestCase.TestStepOrBuilder
-
getHookIdBytes
public com.google.protobuf.ByteString getHookIdBytes()
Pointer to the `Hook` (if derived from a Hook)
string hook_id = 5;- Specified by:
getHookIdBytesin interfaceMessages.TestCase.TestStepOrBuilder
-
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.TestStep parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase.TestStep parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase.TestStep parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase.TestStep 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.TestStep parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase.TestStep parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.TestCase.TestStep parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Messages.TestCase.TestStep parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Messages.TestCase.TestStep parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Messages.TestCase.TestStep parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Messages.TestCase.TestStep parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Messages.TestCase.TestStep parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Messages.TestCase.TestStep.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Messages.TestCase.TestStep.Builder newBuilder()
-
newBuilder
public static Messages.TestCase.TestStep.Builder newBuilder(Messages.TestCase.TestStep prototype)
-
toBuilder
public Messages.TestCase.TestStep.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Messages.TestCase.TestStep.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Messages.TestCase.TestStep getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Messages.TestCase.TestStep> parser()
-
getParserForType
public com.google.protobuf.Parser<Messages.TestCase.TestStep> 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.TestStep getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-