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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoItem.Builder>
    • clear

      public Spec.ProtoItem.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoItem.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoItem.Builder>
    • getDefaultInstanceForType

      public Spec.ProtoItem getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Spec.ProtoItem build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Spec.ProtoItem buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Spec.ProtoItem.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Spec.ProtoItem.Builder>
    • mergeFrom

      public Spec.ProtoItem.Builder mergeFrom(Spec.ProtoItem other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getItemTypeValue in interface Spec.ProtoItemOrBuilder
      Returns:
      The enum numeric value on the wire for itemType.
    • setItemTypeValue

      public Spec.ProtoItem.Builder setItemTypeValue(int value)
       / 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

      public Spec.ProtoItem.ItemType getItemType()
       / Itemtype of the current ProtoItem
       
      .gauge.messages.ProtoItem.ItemType itemType = 1;
      Specified by:
      getItemType in interface Spec.ProtoItemOrBuilder
      Returns:
      The itemType.
    • setItemType

      public Spec.ProtoItem.Builder setItemType(Spec.ProtoItem.ItemType value)
       / Itemtype of the current ProtoItem
       
      .gauge.messages.ProtoItem.ItemType itemType = 1;
      Parameters:
      value - The itemType to set.
      Returns:
      This builder for chaining.
    • clearItemType

      public Spec.ProtoItem.Builder 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:
      hasStep in interface Spec.ProtoItemOrBuilder
      Returns:
      Whether the step field is set.
    • getStep

      public Spec.ProtoStep getStep()
       / Holds the Step definition. Valid only if ItemType = Step
       
      .gauge.messages.ProtoStep step = 2;
      Specified by:
      getStep in interface Spec.ProtoItemOrBuilder
      Returns:
      The step.
    • setStep

      public Spec.ProtoItem.Builder setStep(Spec.ProtoStep value)
       / Holds the Step definition. Valid only if ItemType = Step
       
      .gauge.messages.ProtoStep step = 2;
    • setStep

      public Spec.ProtoItem.Builder setStep(Spec.ProtoStep.Builder builderForValue)
       / Holds the Step definition. Valid only if ItemType = Step
       
      .gauge.messages.ProtoStep step = 2;
    • mergeStep

      public Spec.ProtoItem.Builder mergeStep(Spec.ProtoStep value)
       / Holds the Step definition. Valid only if ItemType = Step
       
      .gauge.messages.ProtoStep step = 2;
    • clearStep

      public Spec.ProtoItem.Builder clearStep()
       / Holds the Step definition. Valid only if ItemType = Step
       
      .gauge.messages.ProtoStep step = 2;
    • getStepBuilder

      public Spec.ProtoStep.Builder getStepBuilder()
       / Holds the Step definition. Valid only if ItemType = Step
       
      .gauge.messages.ProtoStep step = 2;
    • getStepOrBuilder

      public Spec.ProtoStepOrBuilder getStepOrBuilder()
       / Holds the Step definition. Valid only if ItemType = Step
       
      .gauge.messages.ProtoStep step = 2;
      Specified by:
      getStepOrBuilder in interface Spec.ProtoItemOrBuilder
    • hasConcept

      public boolean hasConcept()
       / Holds the Concept definition. Valid only if ItemType = Concept
       
      .gauge.messages.ProtoConcept concept = 3;
      Specified by:
      hasConcept in interface Spec.ProtoItemOrBuilder
      Returns:
      Whether the concept field is set.
    • getConcept

      public Spec.ProtoConcept getConcept()
       / Holds the Concept definition. Valid only if ItemType = Concept
       
      .gauge.messages.ProtoConcept concept = 3;
      Specified by:
      getConcept in interface Spec.ProtoItemOrBuilder
      Returns:
      The concept.
    • setConcept

      public Spec.ProtoItem.Builder setConcept(Spec.ProtoConcept value)
       / Holds the Concept definition. Valid only if ItemType = Concept
       
      .gauge.messages.ProtoConcept concept = 3;
    • setConcept

      public Spec.ProtoItem.Builder setConcept(Spec.ProtoConcept.Builder builderForValue)
       / Holds the Concept definition. Valid only if ItemType = Concept
       
      .gauge.messages.ProtoConcept concept = 3;
    • mergeConcept

      public Spec.ProtoItem.Builder mergeConcept(Spec.ProtoConcept value)
       / Holds the Concept definition. Valid only if ItemType = Concept
       
      .gauge.messages.ProtoConcept concept = 3;
    • clearConcept

      public Spec.ProtoItem.Builder clearConcept()
       / Holds the Concept definition. Valid only if ItemType = Concept
       
      .gauge.messages.ProtoConcept concept = 3;
    • getConceptBuilder

      public Spec.ProtoConcept.Builder getConceptBuilder()
       / Holds the Concept definition. Valid only if ItemType = Concept
       
      .gauge.messages.ProtoConcept concept = 3;
    • getConceptOrBuilder

      public Spec.ProtoConceptOrBuilder getConceptOrBuilder()
       / Holds the Concept definition. Valid only if ItemType = Concept
       
      .gauge.messages.ProtoConcept concept = 3;
      Specified by:
      getConceptOrBuilder in interface Spec.ProtoItemOrBuilder
    • hasScenario

      public boolean hasScenario()
       / Holds the Scenario definition. Valid only if ItemType = Scenario
       
      .gauge.messages.ProtoScenario scenario = 4;
      Specified by:
      hasScenario in interface Spec.ProtoItemOrBuilder
      Returns:
      Whether the scenario field is set.
    • getScenario

      public Spec.ProtoScenario getScenario()
       / Holds the Scenario definition. Valid only if ItemType = Scenario
       
      .gauge.messages.ProtoScenario scenario = 4;
      Specified by:
      getScenario in interface Spec.ProtoItemOrBuilder
      Returns:
      The scenario.
    • setScenario

      public Spec.ProtoItem.Builder setScenario(Spec.ProtoScenario value)
       / Holds the Scenario definition. Valid only if ItemType = Scenario
       
      .gauge.messages.ProtoScenario scenario = 4;
    • setScenario

      public Spec.ProtoItem.Builder setScenario(Spec.ProtoScenario.Builder builderForValue)
       / Holds the Scenario definition. Valid only if ItemType = Scenario
       
      .gauge.messages.ProtoScenario scenario = 4;
    • mergeScenario

      public Spec.ProtoItem.Builder mergeScenario(Spec.ProtoScenario value)
       / Holds the Scenario definition. Valid only if ItemType = Scenario
       
      .gauge.messages.ProtoScenario scenario = 4;
    • clearScenario

      public Spec.ProtoItem.Builder clearScenario()
       / Holds the Scenario definition. Valid only if ItemType = Scenario
       
      .gauge.messages.ProtoScenario scenario = 4;
    • getScenarioBuilder

      public Spec.ProtoScenario.Builder getScenarioBuilder()
       / Holds the Scenario definition. Valid only if ItemType = Scenario
       
      .gauge.messages.ProtoScenario scenario = 4;
    • getScenarioOrBuilder

      public Spec.ProtoScenarioOrBuilder getScenarioOrBuilder()
       / Holds the Scenario definition. Valid only if ItemType = Scenario
       
      .gauge.messages.ProtoScenario scenario = 4;
      Specified by:
      getScenarioOrBuilder in interface Spec.ProtoItemOrBuilder
    • hasTableDrivenScenario

      public boolean hasTableDrivenScenario()
       / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       
      .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;
      Specified by:
      hasTableDrivenScenario in interface Spec.ProtoItemOrBuilder
      Returns:
      Whether the tableDrivenScenario field is set.
    • getTableDrivenScenario

      public Spec.ProtoTableDrivenScenario getTableDrivenScenario()
       / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       
      .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;
      Specified by:
      getTableDrivenScenario in interface Spec.ProtoItemOrBuilder
      Returns:
      The tableDrivenScenario.
    • setTableDrivenScenario

      public Spec.ProtoItem.Builder setTableDrivenScenario(Spec.ProtoTableDrivenScenario value)
       / 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

      public Spec.ProtoItem.Builder mergeTableDrivenScenario(Spec.ProtoTableDrivenScenario value)
       / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       
      .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;
    • clearTableDrivenScenario

      public Spec.ProtoItem.Builder clearTableDrivenScenario()
       / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       
      .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;
    • getTableDrivenScenarioBuilder

      public Spec.ProtoTableDrivenScenario.Builder getTableDrivenScenarioBuilder()
       / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       
      .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;
    • getTableDrivenScenarioOrBuilder

      public Spec.ProtoTableDrivenScenarioOrBuilder getTableDrivenScenarioOrBuilder()
       / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       
      .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;
      Specified by:
      getTableDrivenScenarioOrBuilder in interface Spec.ProtoItemOrBuilder
    • hasComment

      public boolean hasComment()
       / Holds the Comment definition. Valid only if ItemType = Comment
       
      .gauge.messages.ProtoComment comment = 6;
      Specified by:
      hasComment in interface Spec.ProtoItemOrBuilder
      Returns:
      Whether the comment field is set.
    • getComment

      public Spec.ProtoComment getComment()
       / Holds the Comment definition. Valid only if ItemType = Comment
       
      .gauge.messages.ProtoComment comment = 6;
      Specified by:
      getComment in interface Spec.ProtoItemOrBuilder
      Returns:
      The comment.
    • setComment

      public Spec.ProtoItem.Builder setComment(Spec.ProtoComment value)
       / Holds the Comment definition. Valid only if ItemType = Comment
       
      .gauge.messages.ProtoComment comment = 6;
    • setComment

      public Spec.ProtoItem.Builder setComment(Spec.ProtoComment.Builder builderForValue)
       / Holds the Comment definition. Valid only if ItemType = Comment
       
      .gauge.messages.ProtoComment comment = 6;
    • mergeComment

      public Spec.ProtoItem.Builder mergeComment(Spec.ProtoComment value)
       / Holds the Comment definition. Valid only if ItemType = Comment
       
      .gauge.messages.ProtoComment comment = 6;
    • clearComment

      public Spec.ProtoItem.Builder clearComment()
       / Holds the Comment definition. Valid only if ItemType = Comment
       
      .gauge.messages.ProtoComment comment = 6;
    • getCommentBuilder

      public Spec.ProtoComment.Builder getCommentBuilder()
       / Holds the Comment definition. Valid only if ItemType = Comment
       
      .gauge.messages.ProtoComment comment = 6;
    • getCommentOrBuilder

      public Spec.ProtoCommentOrBuilder getCommentOrBuilder()
       / Holds the Comment definition. Valid only if ItemType = Comment
       
      .gauge.messages.ProtoComment comment = 6;
      Specified by:
      getCommentOrBuilder in interface Spec.ProtoItemOrBuilder
    • hasTable

      public boolean hasTable()
       / Holds the Table definition. Valid only if ItemType = Table
       
      .gauge.messages.ProtoTable table = 7;
      Specified by:
      hasTable in interface Spec.ProtoItemOrBuilder
      Returns:
      Whether the table field is set.
    • getTable

      public Spec.ProtoTable getTable()
       / Holds the Table definition. Valid only if ItemType = Table
       
      .gauge.messages.ProtoTable table = 7;
      Specified by:
      getTable in interface Spec.ProtoItemOrBuilder
      Returns:
      The table.
    • setTable

      public Spec.ProtoItem.Builder setTable(Spec.ProtoTable value)
       / Holds the Table definition. Valid only if ItemType = Table
       
      .gauge.messages.ProtoTable table = 7;
    • setTable

      public Spec.ProtoItem.Builder setTable(Spec.ProtoTable.Builder builderForValue)
       / Holds the Table definition. Valid only if ItemType = Table
       
      .gauge.messages.ProtoTable table = 7;
    • mergeTable

      public Spec.ProtoItem.Builder mergeTable(Spec.ProtoTable value)
       / Holds the Table definition. Valid only if ItemType = Table
       
      .gauge.messages.ProtoTable table = 7;
    • clearTable

      public Spec.ProtoItem.Builder clearTable()
       / Holds the Table definition. Valid only if ItemType = Table
       
      .gauge.messages.ProtoTable table = 7;
    • getTableBuilder

      public Spec.ProtoTable.Builder getTableBuilder()
       / Holds the Table definition. Valid only if ItemType = Table
       
      .gauge.messages.ProtoTable table = 7;
    • getTableOrBuilder

      public Spec.ProtoTableOrBuilder getTableOrBuilder()
       / Holds the Table definition. Valid only if ItemType = Table
       
      .gauge.messages.ProtoTable table = 7;
      Specified by:
      getTableOrBuilder in interface Spec.ProtoItemOrBuilder
    • hasTags

      public boolean hasTags()
       / Holds the Tags definition. Valid only if ItemType = Tags
       
      .gauge.messages.ProtoTags tags = 8;
      Specified by:
      hasTags in interface Spec.ProtoItemOrBuilder
      Returns:
      Whether the tags field is set.
    • getTags

      public Spec.ProtoTags getTags()
       / Holds the Tags definition. Valid only if ItemType = Tags
       
      .gauge.messages.ProtoTags tags = 8;
      Specified by:
      getTags in interface Spec.ProtoItemOrBuilder
      Returns:
      The tags.
    • setTags

      public Spec.ProtoItem.Builder setTags(Spec.ProtoTags value)
       / Holds the Tags definition. Valid only if ItemType = Tags
       
      .gauge.messages.ProtoTags tags = 8;
    • setTags

      public Spec.ProtoItem.Builder setTags(Spec.ProtoTags.Builder builderForValue)
       / Holds the Tags definition. Valid only if ItemType = Tags
       
      .gauge.messages.ProtoTags tags = 8;
    • mergeTags

      public Spec.ProtoItem.Builder mergeTags(Spec.ProtoTags value)
       / Holds the Tags definition. Valid only if ItemType = Tags
       
      .gauge.messages.ProtoTags tags = 8;
    • clearTags

      public Spec.ProtoItem.Builder clearTags()
       / Holds the Tags definition. Valid only if ItemType = Tags
       
      .gauge.messages.ProtoTags tags = 8;
    • getTagsBuilder

      public Spec.ProtoTags.Builder getTagsBuilder()
       / Holds the Tags definition. Valid only if ItemType = Tags
       
      .gauge.messages.ProtoTags tags = 8;
    • getTagsOrBuilder

      public Spec.ProtoTagsOrBuilder getTagsOrBuilder()
       / Holds the Tags definition. Valid only if ItemType = Tags
       
      .gauge.messages.ProtoTags tags = 8;
      Specified by:
      getTagsOrBuilder in interface Spec.ProtoItemOrBuilder
    • getFileName

      public String getFileName()
       / Holds the Filename that the item belongs to
       
      string fileName = 9;
      Specified by:
      getFileName in interface Spec.ProtoItemOrBuilder
      Returns:
      The fileName.
    • getFileNameBytes

      public com.google.protobuf.ByteString getFileNameBytes()
       / Holds the Filename that the item belongs to
       
      string fileName = 9;
      Specified by:
      getFileNameBytes in interface Spec.ProtoItemOrBuilder
      Returns:
      The bytes for fileName.
    • setFileName

      public Spec.ProtoItem.Builder setFileName(String value)
       / Holds the Filename that the item belongs to
       
      string fileName = 9;
      Parameters:
      value - The fileName to set.
      Returns:
      This builder for chaining.
    • clearFileName

      public Spec.ProtoItem.Builder clearFileName()
       / Holds the Filename that the item belongs to
       
      string fileName = 9;
      Returns:
      This builder for chaining.
    • setFileNameBytes

      public Spec.ProtoItem.Builder setFileNameBytes(com.google.protobuf.ByteString value)
       / Holds the Filename that the item belongs to
       
      string fileName = 9;
      Parameters:
      value - The bytes for fileName to set.
      Returns:
      This builder for chaining.