Package gauge.messages
Class Spec.ProtoItem.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoItem.Builder>
gauge.messages.Spec.ProtoItem.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Spec.ProtoItemOrBuilder,Cloneable
- Enclosing class:
- Spec.ProtoItem
public static final class Spec.ProtoItem.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoItem.Builder>
implements Spec.ProtoItemOrBuilder
/ Container for all valid Items under a Specification.Protobuf type
gauge.messages.ProtoItem-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()/ Holds the Comment definition./ Holds the Concept definition./ Holds the Filename that the item belongs to/ Itemtype of the current ProtoItem/ Holds the Scenario definition./ Holds the Step definition./ Holds the Table definition./ Holds the TableDrivenScenario definition./ Holds the Tags definition./ Holds the Comment definition./ Holds the Comment definition./ Holds the Comment definition./ Holds the Concept definition./ Holds the Concept definition./ Holds the Concept definition.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor/ Holds the Filename that the item belongs tocom.google.protobuf.ByteString/ Holds the Filename that the item belongs to/ Itemtype of the current ProtoItemint/ Itemtype of the current ProtoItem/ Holds the Scenario definition./ Holds the Scenario definition./ Holds the Scenario definition.getStep()/ Holds the Step definition./ Holds the Step definition./ Holds the Step definition.getTable()/ Holds the Table definition./ Holds the Table definition./ Holds the TableDrivenScenario definition./ Holds the TableDrivenScenario definition./ Holds the TableDrivenScenario definition./ Holds the Table definition.getTags()/ Holds the Tags definition./ Holds the Tags definition./ Holds the Tags definition.boolean/ Holds the Comment definition.boolean/ Holds the Concept definition.boolean/ Holds the Scenario definition.booleanhasStep()/ Holds the Step definition.booleanhasTable()/ Holds the Table definition.boolean/ Holds the TableDrivenScenario definition.booleanhasTags()/ Holds the Tags definition.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeComment(Spec.ProtoComment value) / Holds the Comment definition.mergeConcept(Spec.ProtoConcept value) / Holds the Concept definition.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Spec.ProtoItem other) mergeScenario(Spec.ProtoScenario value) / Holds the Scenario definition.mergeStep(Spec.ProtoStep value) / Holds the Step definition.mergeTable(Spec.ProtoTable value) / Holds the Table definition./ Holds the TableDrivenScenario definition.mergeTags(Spec.ProtoTags value) / Holds the Tags definition.setComment(Spec.ProtoComment value) / Holds the Comment definition.setComment(Spec.ProtoComment.Builder builderForValue) / Holds the Comment definition.setConcept(Spec.ProtoConcept value) / Holds the Concept definition.setConcept(Spec.ProtoConcept.Builder builderForValue) / Holds the Concept definition.setFileName(String value) / Holds the Filename that the item belongs tosetFileNameBytes(com.google.protobuf.ByteString value) / Holds the Filename that the item belongs to/ Itemtype of the current ProtoItemsetItemTypeValue(int value) / Itemtype of the current ProtoItemsetScenario(Spec.ProtoScenario value) / Holds the Scenario definition.setScenario(Spec.ProtoScenario.Builder builderForValue) / Holds the Scenario definition.setStep(Spec.ProtoStep value) / Holds the Step definition.setStep(Spec.ProtoStep.Builder builderForValue) / Holds the Step definition.setTable(Spec.ProtoTable value) / Holds the Table definition.setTable(Spec.ProtoTable.Builder builderForValue) / Holds the Table definition./ Holds the TableDrivenScenario definition.setTableDrivenScenario(Spec.ProtoTableDrivenScenario.Builder builderForValue) / Holds the TableDrivenScenario definition.setTags(Spec.ProtoTags value) / Holds the Tags definition.setTags(Spec.ProtoTags.Builder builderForValue) / Holds the Tags definition.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Spec.ProtoItem.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Spec.ProtoItem.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Spec.ProtoItem.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Spec.ProtoItem.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Spec.ProtoItem.Builder>
-
mergeFrom
public Spec.ProtoItem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Spec.ProtoItem.Builder>- Throws:
IOException
-
getItemTypeValue
public int getItemTypeValue()/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;- Specified by:
getItemTypeValuein interfaceSpec.ProtoItemOrBuilder- Returns:
- The enum numeric value on the wire for itemType.
-
setItemTypeValue
/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;- Parameters:
value- The enum numeric value on the wire for itemType to set.- Returns:
- This builder for chaining.
-
getItemType
/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;- Specified by:
getItemTypein interfaceSpec.ProtoItemOrBuilder- Returns:
- The itemType.
-
setItemType
/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;- Parameters:
value- The itemType to set.- Returns:
- This builder for chaining.
-
clearItemType
/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;- Returns:
- This builder for chaining.
-
hasStep
public boolean hasStep()/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2;- Specified by:
hasStepin interfaceSpec.ProtoItemOrBuilder- Returns:
- Whether the step field is set.
-
getStep
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2;- Specified by:
getStepin interfaceSpec.ProtoItemOrBuilder- Returns:
- The step.
-
setStep
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2; -
setStep
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2; -
mergeStep
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2; -
clearStep
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2; -
getStepBuilder
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2; -
getStepOrBuilder
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2;- Specified by:
getStepOrBuilderin interfaceSpec.ProtoItemOrBuilder
-
hasConcept
public boolean hasConcept()/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3;- Specified by:
hasConceptin interfaceSpec.ProtoItemOrBuilder- Returns:
- Whether the concept field is set.
-
getConcept
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3;- Specified by:
getConceptin interfaceSpec.ProtoItemOrBuilder- Returns:
- The concept.
-
setConcept
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3; -
setConcept
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3; -
mergeConcept
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3; -
clearConcept
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3; -
getConceptBuilder
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3; -
getConceptOrBuilder
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3;- Specified by:
getConceptOrBuilderin interfaceSpec.ProtoItemOrBuilder
-
hasScenario
public boolean hasScenario()/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4;- Specified by:
hasScenarioin interfaceSpec.ProtoItemOrBuilder- Returns:
- Whether the scenario field is set.
-
getScenario
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4;- Specified by:
getScenarioin interfaceSpec.ProtoItemOrBuilder- Returns:
- The scenario.
-
setScenario
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4; -
setScenario
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4; -
mergeScenario
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4; -
clearScenario
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4; -
getScenarioBuilder
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4; -
getScenarioOrBuilder
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4;- Specified by:
getScenarioOrBuilderin interfaceSpec.ProtoItemOrBuilder
-
hasTableDrivenScenario
public boolean hasTableDrivenScenario()/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;- Specified by:
hasTableDrivenScenarioin interfaceSpec.ProtoItemOrBuilder- Returns:
- Whether the tableDrivenScenario field is set.
-
getTableDrivenScenario
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;- Specified by:
getTableDrivenScenarioin interfaceSpec.ProtoItemOrBuilder- Returns:
- The tableDrivenScenario.
-
setTableDrivenScenario
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; -
setTableDrivenScenario
public Spec.ProtoItem.Builder setTableDrivenScenario(Spec.ProtoTableDrivenScenario.Builder builderForValue) / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; -
mergeTableDrivenScenario
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; -
clearTableDrivenScenario
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; -
getTableDrivenScenarioBuilder
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; -
getTableDrivenScenarioOrBuilder
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;- Specified by:
getTableDrivenScenarioOrBuilderin interfaceSpec.ProtoItemOrBuilder
-
hasComment
public boolean hasComment()/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6;- Specified by:
hasCommentin interfaceSpec.ProtoItemOrBuilder- Returns:
- Whether the comment field is set.
-
getComment
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6;- Specified by:
getCommentin interfaceSpec.ProtoItemOrBuilder- Returns:
- The comment.
-
setComment
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6; -
setComment
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6; -
mergeComment
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6; -
clearComment
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6; -
getCommentBuilder
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6; -
getCommentOrBuilder
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6;- Specified by:
getCommentOrBuilderin interfaceSpec.ProtoItemOrBuilder
-
hasTable
public boolean hasTable()/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7;- Specified by:
hasTablein interfaceSpec.ProtoItemOrBuilder- Returns:
- Whether the table field is set.
-
getTable
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7;- Specified by:
getTablein interfaceSpec.ProtoItemOrBuilder- Returns:
- The table.
-
setTable
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7; -
setTable
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7; -
mergeTable
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7; -
clearTable
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7; -
getTableBuilder
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7; -
getTableOrBuilder
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7;- Specified by:
getTableOrBuilderin interfaceSpec.ProtoItemOrBuilder
-
hasTags
public boolean hasTags()/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8;- Specified by:
hasTagsin interfaceSpec.ProtoItemOrBuilder- Returns:
- Whether the tags field is set.
-
getTags
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8;- Specified by:
getTagsin interfaceSpec.ProtoItemOrBuilder- Returns:
- The tags.
-
setTags
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8; -
setTags
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8; -
mergeTags
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8; -
clearTags
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8; -
getTagsBuilder
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8; -
getTagsOrBuilder
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8;- Specified by:
getTagsOrBuilderin interfaceSpec.ProtoItemOrBuilder
-
getFileName
/ Holds the Filename that the item belongs to
string fileName = 9;- Specified by:
getFileNamein interfaceSpec.ProtoItemOrBuilder- Returns:
- The fileName.
-
getFileNameBytes
public com.google.protobuf.ByteString getFileNameBytes()/ Holds the Filename that the item belongs to
string fileName = 9;- Specified by:
getFileNameBytesin interfaceSpec.ProtoItemOrBuilder- Returns:
- The bytes for fileName.
-
setFileName
/ Holds the Filename that the item belongs to
string fileName = 9;- Parameters:
value- The fileName to set.- Returns:
- This builder for chaining.
-
clearFileName
/ Holds the Filename that the item belongs to
string fileName = 9;- Returns:
- This builder for chaining.
-
setFileNameBytes
/ Holds the Filename that the item belongs to
string fileName = 9;- Parameters:
value- The bytes for fileName to set.- Returns:
- This builder for chaining.
-