Package io.cucumber.messages
Class Messages.GherkinDocument.Feature
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.cucumber.messages.Messages.GherkinDocument.Feature
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.GherkinDocument.FeatureOrBuilder,Serializable
- Enclosing class:
- Messages.GherkinDocument
public static final class Messages.GherkinDocument.Feature extends com.google.protobuf.GeneratedMessageV3 implements Messages.GherkinDocument.FeatureOrBuilder
The top level node in the AST
Protobuf typeio.cucumber.messages.GherkinDocument.Feature- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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 intCHILDREN_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intKEYWORD_FIELD_NUMBERstatic intLANGUAGE_FIELD_NUMBERstatic intLOCATION_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intTAGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Messages.GherkinDocument.Feature.FeatureChildgetChildren(int index)Zero or more childrenintgetChildrenCount()Zero or more childrenList<Messages.GherkinDocument.Feature.FeatureChild>getChildrenList()Zero or more childrenMessages.GherkinDocument.Feature.FeatureChildOrBuildergetChildrenOrBuilder(int index)Zero or more childrenList<? extends Messages.GherkinDocument.Feature.FeatureChildOrBuilder>getChildrenOrBuilderList()Zero or more childrenstatic Messages.GherkinDocument.FeaturegetDefaultInstance()Messages.GherkinDocument.FeaturegetDefaultInstanceForType()StringgetDescription()The line(s) underneath the line with the `keyword` that are used as descriptioncom.google.protobuf.ByteStringgetDescriptionBytes()The line(s) underneath the line with the `keyword` that are used as descriptionstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetKeyword()The text of the `Feature` keyword (in the language specified by `language`)com.google.protobuf.ByteStringgetKeywordBytes()The text of the `Feature` keyword (in the language specified by `language`)StringgetLanguage()The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin documentcom.google.protobuf.ByteStringgetLanguageBytes()The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin documentMessages.LocationgetLocation()The location of the `Feature` keywordMessages.LocationOrBuildergetLocationOrBuilder()The location of the `Feature` keywordStringgetName()The name of the feature (the text following the `keyword`)com.google.protobuf.ByteStringgetNameBytes()The name of the feature (the text following the `keyword`)com.google.protobuf.Parser<Messages.GherkinDocument.Feature>getParserForType()intgetSerializedSize()Messages.GherkinDocument.Feature.TaggetTags(int index)All the tags placed above the `Feature` keywordintgetTagsCount()All the tags placed above the `Feature` keywordList<Messages.GherkinDocument.Feature.Tag>getTagsList()All the tags placed above the `Feature` keywordMessages.GherkinDocument.Feature.TagOrBuildergetTagsOrBuilder(int index)All the tags placed above the `Feature` keywordList<? extends Messages.GherkinDocument.Feature.TagOrBuilder>getTagsOrBuilderList()All the tags placed above the `Feature` keywordcom.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasLocation()The location of the `Feature` keywordprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Messages.GherkinDocument.Feature.BuildernewBuilder()static Messages.GherkinDocument.Feature.BuildernewBuilder(Messages.GherkinDocument.Feature prototype)Messages.GherkinDocument.Feature.BuildernewBuilderForType()protected Messages.GherkinDocument.Feature.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Messages.GherkinDocument.FeatureparseDelimitedFrom(InputStream input)static Messages.GherkinDocument.FeatureparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.GherkinDocument.FeatureparseFrom(byte[] data)static Messages.GherkinDocument.FeatureparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.GherkinDocument.FeatureparseFrom(com.google.protobuf.ByteString data)static Messages.GherkinDocument.FeatureparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.GherkinDocument.FeatureparseFrom(com.google.protobuf.CodedInputStream input)static Messages.GherkinDocument.FeatureparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.GherkinDocument.FeatureparseFrom(InputStream input)static Messages.GherkinDocument.FeatureparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Messages.GherkinDocument.FeatureparseFrom(ByteBuffer data)static Messages.GherkinDocument.FeatureparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Messages.GherkinDocument.Feature>parser()Messages.GherkinDocument.Feature.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
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KEYWORD_FIELD_NUMBER
public static final int KEYWORD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHILDREN_FIELD_NUMBER
public static final int CHILDREN_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
-
hasLocation
public boolean hasLocation()
The location of the `Feature` keyword
.io.cucumber.messages.Location location = 1;- Specified by:
hasLocationin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getLocation
public Messages.Location getLocation()
The location of the `Feature` keyword
.io.cucumber.messages.Location location = 1;- Specified by:
getLocationin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getLocationOrBuilder
public Messages.LocationOrBuilder getLocationOrBuilder()
The location of the `Feature` keyword
.io.cucumber.messages.Location location = 1;- Specified by:
getLocationOrBuilderin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getTagsList
public List<Messages.GherkinDocument.Feature.Tag> getTagsList()
All the tags placed above the `Feature` keyword
repeated .io.cucumber.messages.GherkinDocument.Feature.Tag tags = 2;- Specified by:
getTagsListin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getTagsOrBuilderList
public List<? extends Messages.GherkinDocument.Feature.TagOrBuilder> getTagsOrBuilderList()
All the tags placed above the `Feature` keyword
repeated .io.cucumber.messages.GherkinDocument.Feature.Tag tags = 2;- Specified by:
getTagsOrBuilderListin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getTagsCount
public int getTagsCount()
All the tags placed above the `Feature` keyword
repeated .io.cucumber.messages.GherkinDocument.Feature.Tag tags = 2;- Specified by:
getTagsCountin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getTags
public Messages.GherkinDocument.Feature.Tag getTags(int index)
All the tags placed above the `Feature` keyword
repeated .io.cucumber.messages.GherkinDocument.Feature.Tag tags = 2;- Specified by:
getTagsin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getTagsOrBuilder
public Messages.GherkinDocument.Feature.TagOrBuilder getTagsOrBuilder(int index)
All the tags placed above the `Feature` keyword
repeated .io.cucumber.messages.GherkinDocument.Feature.Tag tags = 2;- Specified by:
getTagsOrBuilderin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getLanguage
public String getLanguage()
The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin document
string language = 3;- Specified by:
getLanguagein interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getLanguageBytes
public com.google.protobuf.ByteString getLanguageBytes()
The [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code of the Gherkin document
string language = 3;- Specified by:
getLanguageBytesin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getKeyword
public String getKeyword()
The text of the `Feature` keyword (in the language specified by `language`)
string keyword = 4;- Specified by:
getKeywordin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getKeywordBytes
public com.google.protobuf.ByteString getKeywordBytes()
The text of the `Feature` keyword (in the language specified by `language`)
string keyword = 4;- Specified by:
getKeywordBytesin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getName
public String getName()
The name of the feature (the text following the `keyword`)
string name = 5;- Specified by:
getNamein interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the feature (the text following the `keyword`)
string name = 5;- Specified by:
getNameBytesin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getDescription
public String getDescription()
The line(s) underneath the line with the `keyword` that are used as description
string description = 6;- Specified by:
getDescriptionin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The line(s) underneath the line with the `keyword` that are used as description
string description = 6;- Specified by:
getDescriptionBytesin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getChildrenList
public List<Messages.GherkinDocument.Feature.FeatureChild> getChildrenList()
Zero or more children
repeated .io.cucumber.messages.GherkinDocument.Feature.FeatureChild children = 7;- Specified by:
getChildrenListin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getChildrenOrBuilderList
public List<? extends Messages.GherkinDocument.Feature.FeatureChildOrBuilder> getChildrenOrBuilderList()
Zero or more children
repeated .io.cucumber.messages.GherkinDocument.Feature.FeatureChild children = 7;- Specified by:
getChildrenOrBuilderListin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getChildrenCount
public int getChildrenCount()
Zero or more children
repeated .io.cucumber.messages.GherkinDocument.Feature.FeatureChild children = 7;- Specified by:
getChildrenCountin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getChildren
public Messages.GherkinDocument.Feature.FeatureChild getChildren(int index)
Zero or more children
repeated .io.cucumber.messages.GherkinDocument.Feature.FeatureChild children = 7;- Specified by:
getChildrenin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
getChildrenOrBuilder
public Messages.GherkinDocument.Feature.FeatureChildOrBuilder getChildrenOrBuilder(int index)
Zero or more children
repeated .io.cucumber.messages.GherkinDocument.Feature.FeatureChild children = 7;- Specified by:
getChildrenOrBuilderin interfaceMessages.GherkinDocument.FeatureOrBuilder
-
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.GherkinDocument.Feature parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.GherkinDocument.Feature parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.GherkinDocument.Feature parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.GherkinDocument.Feature 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.GherkinDocument.Feature parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.GherkinDocument.Feature parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Messages.GherkinDocument.Feature parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Messages.GherkinDocument.Feature parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Messages.GherkinDocument.Feature parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Messages.GherkinDocument.Feature parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Messages.GherkinDocument.Feature parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Messages.GherkinDocument.Feature parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Messages.GherkinDocument.Feature.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Messages.GherkinDocument.Feature.Builder newBuilder()
-
newBuilder
public static Messages.GherkinDocument.Feature.Builder newBuilder(Messages.GherkinDocument.Feature prototype)
-
toBuilder
public Messages.GherkinDocument.Feature.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Messages.GherkinDocument.Feature.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Messages.GherkinDocument.Feature getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Messages.GherkinDocument.Feature> parser()
-
getParserForType
public com.google.protobuf.Parser<Messages.GherkinDocument.Feature> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Messages.GherkinDocument.Feature getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-