public static final class Messages.GherkinDocument.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder> implements Messages.GherkinDocumentOrBuilder
The [AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree) of a Gherkin document. Cucumber implementations should *not* depend on `GherkinDocument` or any of its children for execution - use [Pickle](#io.cucumber.messages.Pickle) instead. The only consumers of `GherkinDocument` should only be formatters that produce "rich" output, resembling the original Gherkin document.Protobuf type
io.cucumber.messages.GherkinDocument| Modifier and Type | Method and Description |
|---|---|
Messages.GherkinDocument.Builder |
addAllComments(Iterable<? extends Messages.GherkinDocument.Comment> values)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Builder |
addComments(int index,
Messages.GherkinDocument.Comment.Builder builderForValue)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Builder |
addComments(int index,
Messages.GherkinDocument.Comment value)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Builder |
addComments(Messages.GherkinDocument.Comment.Builder builderForValue)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Builder |
addComments(Messages.GherkinDocument.Comment value)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Comment.Builder |
addCommentsBuilder()
All the comments in the Gherkin document
|
Messages.GherkinDocument.Comment.Builder |
addCommentsBuilder(int index)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Messages.GherkinDocument |
build() |
Messages.GherkinDocument |
buildPartial() |
Messages.GherkinDocument.Builder |
clear() |
Messages.GherkinDocument.Builder |
clearComments()
All the comments in the Gherkin document
|
Messages.GherkinDocument.Builder |
clearFeature()
.io.cucumber.messages.GherkinDocument.Feature feature = 2; |
Messages.GherkinDocument.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Messages.GherkinDocument.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Messages.GherkinDocument.Builder |
clearUri()
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)
of the source, typically a file path relative to the root directory
|
Messages.GherkinDocument.Builder |
clone() |
Messages.GherkinDocument.Comment |
getComments(int index)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Comment.Builder |
getCommentsBuilder(int index)
All the comments in the Gherkin document
|
List<Messages.GherkinDocument.Comment.Builder> |
getCommentsBuilderList()
All the comments in the Gherkin document
|
int |
getCommentsCount()
All the comments in the Gherkin document
|
List<Messages.GherkinDocument.Comment> |
getCommentsList()
All the comments in the Gherkin document
|
Messages.GherkinDocument.CommentOrBuilder |
getCommentsOrBuilder(int index)
All the comments in the Gherkin document
|
List<? extends Messages.GherkinDocument.CommentOrBuilder> |
getCommentsOrBuilderList()
All the comments in the Gherkin document
|
Messages.GherkinDocument |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Messages.GherkinDocument.Feature |
getFeature()
.io.cucumber.messages.GherkinDocument.Feature feature = 2; |
Messages.GherkinDocument.Feature.Builder |
getFeatureBuilder()
.io.cucumber.messages.GherkinDocument.Feature feature = 2; |
Messages.GherkinDocument.FeatureOrBuilder |
getFeatureOrBuilder()
.io.cucumber.messages.GherkinDocument.Feature feature = 2; |
String |
getUri()
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)
of the source, typically a file path relative to the root directory
|
com.google.protobuf.ByteString |
getUriBytes()
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)
of the source, typically a file path relative to the root directory
|
boolean |
hasFeature()
.io.cucumber.messages.GherkinDocument.Feature feature = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Messages.GherkinDocument.Builder |
mergeFeature(Messages.GherkinDocument.Feature value)
.io.cucumber.messages.GherkinDocument.Feature feature = 2; |
Messages.GherkinDocument.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Messages.GherkinDocument.Builder |
mergeFrom(com.google.protobuf.Message other) |
Messages.GherkinDocument.Builder |
mergeFrom(Messages.GherkinDocument other) |
Messages.GherkinDocument.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Messages.GherkinDocument.Builder |
removeComments(int index)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Builder |
setComments(int index,
Messages.GherkinDocument.Comment.Builder builderForValue)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Builder |
setComments(int index,
Messages.GherkinDocument.Comment value)
All the comments in the Gherkin document
|
Messages.GherkinDocument.Builder |
setFeature(Messages.GherkinDocument.Feature.Builder builderForValue)
.io.cucumber.messages.GherkinDocument.Feature feature = 2; |
Messages.GherkinDocument.Builder |
setFeature(Messages.GherkinDocument.Feature value)
.io.cucumber.messages.GherkinDocument.Feature feature = 2; |
Messages.GherkinDocument.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Messages.GherkinDocument.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Messages.GherkinDocument.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Messages.GherkinDocument.Builder |
setUri(String value)
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)
of the source, typically a file path relative to the root directory
|
Messages.GherkinDocument.Builder |
setUriBytes(com.google.protobuf.ByteString value)
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier)
of the source, typically a file path relative to the root directory
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Messages.GherkinDocument build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Messages.GherkinDocument buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Messages.GherkinDocument.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument.Builder mergeFrom(Messages.GherkinDocument other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public Messages.GherkinDocument.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Messages.GherkinDocument.Builder>IOExceptionpublic String getUri()
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier) of the source, typically a file path relative to the root directory
string uri = 1;getUri in interface Messages.GherkinDocumentOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier) of the source, typically a file path relative to the root directory
string uri = 1;getUriBytes in interface Messages.GherkinDocumentOrBuilderpublic Messages.GherkinDocument.Builder setUri(String value)
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier) of the source, typically a file path relative to the root directory
string uri = 1;public Messages.GherkinDocument.Builder clearUri()
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier) of the source, typically a file path relative to the root directory
string uri = 1;public Messages.GherkinDocument.Builder setUriBytes(com.google.protobuf.ByteString value)
The [URI](https://en.wikipedia.org/wiki/Uniform_Resource_Identifier) of the source, typically a file path relative to the root directory
string uri = 1;public boolean hasFeature()
.io.cucumber.messages.GherkinDocument.Feature feature = 2;hasFeature in interface Messages.GherkinDocumentOrBuilderpublic Messages.GherkinDocument.Feature getFeature()
.io.cucumber.messages.GherkinDocument.Feature feature = 2;getFeature in interface Messages.GherkinDocumentOrBuilderpublic Messages.GherkinDocument.Builder setFeature(Messages.GherkinDocument.Feature value)
.io.cucumber.messages.GherkinDocument.Feature feature = 2;public Messages.GherkinDocument.Builder setFeature(Messages.GherkinDocument.Feature.Builder builderForValue)
.io.cucumber.messages.GherkinDocument.Feature feature = 2;public Messages.GherkinDocument.Builder mergeFeature(Messages.GherkinDocument.Feature value)
.io.cucumber.messages.GherkinDocument.Feature feature = 2;public Messages.GherkinDocument.Builder clearFeature()
.io.cucumber.messages.GherkinDocument.Feature feature = 2;public Messages.GherkinDocument.Feature.Builder getFeatureBuilder()
.io.cucumber.messages.GherkinDocument.Feature feature = 2;public Messages.GherkinDocument.FeatureOrBuilder getFeatureOrBuilder()
.io.cucumber.messages.GherkinDocument.Feature feature = 2;getFeatureOrBuilder in interface Messages.GherkinDocumentOrBuilderpublic List<Messages.GherkinDocument.Comment> getCommentsList()
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;getCommentsList in interface Messages.GherkinDocumentOrBuilderpublic int getCommentsCount()
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;getCommentsCount in interface Messages.GherkinDocumentOrBuilderpublic Messages.GherkinDocument.Comment getComments(int index)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;getComments in interface Messages.GherkinDocumentOrBuilderpublic Messages.GherkinDocument.Builder setComments(int index, Messages.GherkinDocument.Comment value)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Builder setComments(int index, Messages.GherkinDocument.Comment.Builder builderForValue)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Builder addComments(Messages.GherkinDocument.Comment value)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Builder addComments(int index, Messages.GherkinDocument.Comment value)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Builder addComments(Messages.GherkinDocument.Comment.Builder builderForValue)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Builder addComments(int index, Messages.GherkinDocument.Comment.Builder builderForValue)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Builder addAllComments(Iterable<? extends Messages.GherkinDocument.Comment> values)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Builder clearComments()
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Builder removeComments(int index)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Comment.Builder getCommentsBuilder(int index)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.CommentOrBuilder getCommentsOrBuilder(int index)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;getCommentsOrBuilder in interface Messages.GherkinDocumentOrBuilderpublic List<? extends Messages.GherkinDocument.CommentOrBuilder> getCommentsOrBuilderList()
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;getCommentsOrBuilderList in interface Messages.GherkinDocumentOrBuilderpublic Messages.GherkinDocument.Comment.Builder addCommentsBuilder()
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public Messages.GherkinDocument.Comment.Builder addCommentsBuilder(int index)
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public List<Messages.GherkinDocument.Comment.Builder> getCommentsBuilderList()
All the comments in the Gherkin document
repeated .io.cucumber.messages.GherkinDocument.Comment comments = 3;public final Messages.GherkinDocument.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>public final Messages.GherkinDocument.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Builder>Copyright © 2019. All rights reserved.