Package io.cucumber.messages
Class Messages.GherkinDocument.Feature.Tag.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
- io.cucumber.messages.Messages.GherkinDocument.Feature.Tag.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Messages.GherkinDocument.Feature.TagOrBuilder
,Cloneable
- Enclosing class:
- Messages.GherkinDocument.Feature.Tag
public static final class Messages.GherkinDocument.Feature.Tag.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder> implements Messages.GherkinDocument.Feature.TagOrBuilder
A tag
Protobuf typeio.cucumber.messages.GherkinDocument.Feature.Tag
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Messages.GherkinDocument.Feature.Tag.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Messages.GherkinDocument.Feature.Tag
build()
Messages.GherkinDocument.Feature.Tag
buildPartial()
Messages.GherkinDocument.Feature.Tag.Builder
clear()
Messages.GherkinDocument.Feature.Tag.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Messages.GherkinDocument.Feature.Tag.Builder
clearId()
Unique ID to be able to reference the Tag from PickleTagMessages.GherkinDocument.Feature.Tag.Builder
clearLocation()
Location of the tagMessages.GherkinDocument.Feature.Tag.Builder
clearName()
The name of the tag (including the leading `@`)Messages.GherkinDocument.Feature.Tag.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Messages.GherkinDocument.Feature.Tag.Builder
clone()
Messages.GherkinDocument.Feature.Tag
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getId()
Unique ID to be able to reference the Tag from PickleTagcom.google.protobuf.ByteString
getIdBytes()
Unique ID to be able to reference the Tag from PickleTagMessages.Location
getLocation()
Location of the tagMessages.Location.Builder
getLocationBuilder()
Location of the tagMessages.LocationOrBuilder
getLocationOrBuilder()
Location of the tagString
getName()
The name of the tag (including the leading `@`)com.google.protobuf.ByteString
getNameBytes()
The name of the tag (including the leading `@`)boolean
hasLocation()
Location of the tagprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Messages.GherkinDocument.Feature.Tag.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Messages.GherkinDocument.Feature.Tag.Builder
mergeFrom(com.google.protobuf.Message other)
Messages.GherkinDocument.Feature.Tag.Builder
mergeFrom(Messages.GherkinDocument.Feature.Tag other)
Messages.GherkinDocument.Feature.Tag.Builder
mergeLocation(Messages.Location value)
Location of the tagMessages.GherkinDocument.Feature.Tag.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Messages.GherkinDocument.Feature.Tag.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Messages.GherkinDocument.Feature.Tag.Builder
setId(String value)
Unique ID to be able to reference the Tag from PickleTagMessages.GherkinDocument.Feature.Tag.Builder
setIdBytes(com.google.protobuf.ByteString value)
Unique ID to be able to reference the Tag from PickleTagMessages.GherkinDocument.Feature.Tag.Builder
setLocation(Messages.Location value)
Location of the tagMessages.GherkinDocument.Feature.Tag.Builder
setLocation(Messages.Location.Builder builderForValue)
Location of the tagMessages.GherkinDocument.Feature.Tag.Builder
setName(String value)
The name of the tag (including the leading `@`)Messages.GherkinDocument.Feature.Tag.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of the tag (including the leading `@`)Messages.GherkinDocument.Feature.Tag.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Messages.GherkinDocument.Feature.Tag.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
clear
public Messages.GherkinDocument.Feature.Tag.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
getDefaultInstanceForType
public Messages.GherkinDocument.Feature.Tag getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Messages.GherkinDocument.Feature.Tag build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Messages.GherkinDocument.Feature.Tag buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Messages.GherkinDocument.Feature.Tag.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
setField
public Messages.GherkinDocument.Feature.Tag.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
clearField
public Messages.GherkinDocument.Feature.Tag.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
clearOneof
public Messages.GherkinDocument.Feature.Tag.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
setRepeatedField
public Messages.GherkinDocument.Feature.Tag.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
addRepeatedField
public Messages.GherkinDocument.Feature.Tag.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
mergeFrom
public Messages.GherkinDocument.Feature.Tag.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
mergeFrom
public Messages.GherkinDocument.Feature.Tag.Builder mergeFrom(Messages.GherkinDocument.Feature.Tag other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
mergeFrom
public Messages.GherkinDocument.Feature.Tag.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
- Throws:
IOException
-
hasLocation
public boolean hasLocation()
Location of the tag
.io.cucumber.messages.Location location = 1;
- Specified by:
hasLocation
in interfaceMessages.GherkinDocument.Feature.TagOrBuilder
-
getLocation
public Messages.Location getLocation()
Location of the tag
.io.cucumber.messages.Location location = 1;
- Specified by:
getLocation
in interfaceMessages.GherkinDocument.Feature.TagOrBuilder
-
setLocation
public Messages.GherkinDocument.Feature.Tag.Builder setLocation(Messages.Location value)
Location of the tag
.io.cucumber.messages.Location location = 1;
-
setLocation
public Messages.GherkinDocument.Feature.Tag.Builder setLocation(Messages.Location.Builder builderForValue)
Location of the tag
.io.cucumber.messages.Location location = 1;
-
mergeLocation
public Messages.GherkinDocument.Feature.Tag.Builder mergeLocation(Messages.Location value)
Location of the tag
.io.cucumber.messages.Location location = 1;
-
clearLocation
public Messages.GherkinDocument.Feature.Tag.Builder clearLocation()
Location of the tag
.io.cucumber.messages.Location location = 1;
-
getLocationBuilder
public Messages.Location.Builder getLocationBuilder()
Location of the tag
.io.cucumber.messages.Location location = 1;
-
getLocationOrBuilder
public Messages.LocationOrBuilder getLocationOrBuilder()
Location of the tag
.io.cucumber.messages.Location location = 1;
- Specified by:
getLocationOrBuilder
in interfaceMessages.GherkinDocument.Feature.TagOrBuilder
-
getName
public String getName()
The name of the tag (including the leading `@`)
string name = 2;
- Specified by:
getName
in interfaceMessages.GherkinDocument.Feature.TagOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the tag (including the leading `@`)
string name = 2;
- Specified by:
getNameBytes
in interfaceMessages.GherkinDocument.Feature.TagOrBuilder
-
setName
public Messages.GherkinDocument.Feature.Tag.Builder setName(String value)
The name of the tag (including the leading `@`)
string name = 2;
-
clearName
public Messages.GherkinDocument.Feature.Tag.Builder clearName()
The name of the tag (including the leading `@`)
string name = 2;
-
setNameBytes
public Messages.GherkinDocument.Feature.Tag.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the tag (including the leading `@`)
string name = 2;
-
getId
public String getId()
Unique ID to be able to reference the Tag from PickleTag
string id = 3;
- Specified by:
getId
in interfaceMessages.GherkinDocument.Feature.TagOrBuilder
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Unique ID to be able to reference the Tag from PickleTag
string id = 3;
- Specified by:
getIdBytes
in interfaceMessages.GherkinDocument.Feature.TagOrBuilder
-
setId
public Messages.GherkinDocument.Feature.Tag.Builder setId(String value)
Unique ID to be able to reference the Tag from PickleTag
string id = 3;
-
clearId
public Messages.GherkinDocument.Feature.Tag.Builder clearId()
Unique ID to be able to reference the Tag from PickleTag
string id = 3;
-
setIdBytes
public Messages.GherkinDocument.Feature.Tag.Builder setIdBytes(com.google.protobuf.ByteString value)
Unique ID to be able to reference the Tag from PickleTag
string id = 3;
-
setUnknownFields
public final Messages.GherkinDocument.Feature.Tag.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
mergeUnknownFields
public final Messages.GherkinDocument.Feature.Tag.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Messages.GherkinDocument.Feature.Tag.Builder>
-
-