Class Spec.ProtoItem

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gauge.messages.Spec.ProtoItem
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Spec.ProtoItemOrBuilder, Serializable
Enclosing class:
Spec

public static final class Spec.ProtoItem extends com.google.protobuf.GeneratedMessage implements Spec.ProtoItemOrBuilder
 / Container for all valid Items under a Specification.
 
Protobuf type gauge.messages.ProtoItem
See Also:
  • Field Details

  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Spec.ProtoItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Spec.ProtoItem parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Spec.ProtoItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Spec.ProtoItem parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Spec.ProtoItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Spec.ProtoItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Spec.ProtoItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Spec.ProtoItem.Builder newBuilder()
    • newBuilder

      public static Spec.ProtoItem.Builder newBuilder(Spec.ProtoItem prototype)
    • toBuilder

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

      protected Spec.ProtoItem.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Spec.ProtoItem getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Spec.ProtoItem> parser()
    • getParserForType

      public com.google.protobuf.Parser<Spec.ProtoItem> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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