Class 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.GeneratedMessageV3.Builder<Spec.ProtoItem.Builder>
    implements Spec.ProtoItemOrBuilder
    / Container for all valid Items under a Specification.
     
    Protobuf type gauge.messages.ProtoItem
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public Spec.ProtoItem.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoItem.Builder>
      • setField

        public Spec.ProtoItem.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoItem.Builder>
      • clearField

        public Spec.ProtoItem.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoItem.Builder>
      • clearOneof

        public Spec.ProtoItem.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoItem.Builder>
      • setRepeatedField

        public Spec.ProtoItem.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoItem.Builder>
      • addRepeatedField

        public Spec.ProtoItem.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoItem.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • setItemTypeValue

        public Spec.ProtoItem.Builder setItemTypeValue​(int value)
        / Itemtype of the current ProtoItem
         
        .gauge.messages.ProtoItem.ItemType itemType = 1;
      • clearItemType

        public Spec.ProtoItem.Builder clearItemType()
        / Itemtype of the current ProtoItem
         
        .gauge.messages.ProtoItem.ItemType itemType = 1;
      • 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
      • 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;
      • 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
      • 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;
      • 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
      • 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;
      • 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
      • setTableDrivenScenario

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

        public Spec.ProtoItem.Builder setFileName​(String value)
        / Holds the Filename that the item belongs to
         
        string fileName = 9;
      • clearFileName

        public Spec.ProtoItem.Builder clearFileName()
        / Holds the Filename that the item belongs to
         
        string fileName = 9;
      • setFileNameBytes

        public Spec.ProtoItem.Builder setFileNameBytes​(com.google.protobuf.ByteString value)
        / Holds the Filename that the item belongs to
         
        string fileName = 9;
      • setUnknownFields

        public final Spec.ProtoItem.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoItem.Builder>
      • mergeUnknownFields

        public final Spec.ProtoItem.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Spec.ProtoItem.Builder>