Package gauge.messages
Class Spec.ProtoItem
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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.GeneratedMessageV3 implements Spec.ProtoItemOrBuilder
/ Container for all valid Items under a Specification.
Protobuf typegauge.messages.ProtoItem- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpec.ProtoItem.Builder/ Container for all valid Items under a Specification.static classSpec.ProtoItem.ItemType/ Enumerates various item types that the proto item can contain.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMMENT_FIELD_NUMBERstatic intCONCEPT_FIELD_NUMBERstatic intFILENAME_FIELD_NUMBERstatic intITEMTYPE_FIELD_NUMBERstatic intSCENARIO_FIELD_NUMBERstatic intSTEP_FIELD_NUMBERstatic intTABLE_FIELD_NUMBERstatic intTABLEDRIVENSCENARIO_FIELD_NUMBERstatic intTAGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Spec.ProtoCommentgetComment()/ Holds the Comment definition.Spec.ProtoCommentOrBuildergetCommentOrBuilder()/ Holds the Comment definition.Spec.ProtoConceptgetConcept()/ Holds the Concept definition.Spec.ProtoConceptOrBuildergetConceptOrBuilder()/ Holds the Concept definition.static Spec.ProtoItemgetDefaultInstance()Spec.ProtoItemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFileName()/ Holds the Filename that the item belongs tocom.google.protobuf.ByteStringgetFileNameBytes()/ Holds the Filename that the item belongs toSpec.ProtoItem.ItemTypegetItemType()/ Itemtype of the current ProtoItemintgetItemTypeValue()/ Itemtype of the current ProtoItemcom.google.protobuf.Parser<Spec.ProtoItem>getParserForType()Spec.ProtoScenariogetScenario()/ Holds the Scenario definition.Spec.ProtoScenarioOrBuildergetScenarioOrBuilder()/ Holds the Scenario definition.intgetSerializedSize()Spec.ProtoStepgetStep()/ Holds the Step definition.Spec.ProtoStepOrBuildergetStepOrBuilder()/ Holds the Step definition.Spec.ProtoTablegetTable()/ Holds the Table definition.Spec.ProtoTableDrivenScenariogetTableDrivenScenario()/ Holds the TableDrivenScenario definition.Spec.ProtoTableDrivenScenarioOrBuildergetTableDrivenScenarioOrBuilder()/ Holds the TableDrivenScenario definition.Spec.ProtoTableOrBuildergetTableOrBuilder()/ Holds the Table definition.Spec.ProtoTagsgetTags()/ Holds the Tags definition.Spec.ProtoTagsOrBuildergetTagsOrBuilder()/ Holds the Tags definition.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasComment()/ Holds the Comment definition.booleanhasConcept()/ Holds the Concept definition.inthashCode()booleanhasScenario()/ Holds the Scenario definition.booleanhasStep()/ Holds the Step definition.booleanhasTable()/ Holds the Table definition.booleanhasTableDrivenScenario()/ Holds the TableDrivenScenario definition.booleanhasTags()/ Holds the Tags definition.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Spec.ProtoItem.BuildernewBuilder()static Spec.ProtoItem.BuildernewBuilder(Spec.ProtoItem prototype)Spec.ProtoItem.BuildernewBuilderForType()protected Spec.ProtoItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Spec.ProtoItemparseDelimitedFrom(InputStream input)static Spec.ProtoItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ProtoItemparseFrom(byte[] data)static Spec.ProtoItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ProtoItemparseFrom(com.google.protobuf.ByteString data)static Spec.ProtoItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ProtoItemparseFrom(com.google.protobuf.CodedInputStream input)static Spec.ProtoItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ProtoItemparseFrom(InputStream input)static Spec.ProtoItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ProtoItemparseFrom(ByteBuffer data)static Spec.ProtoItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Spec.ProtoItem>parser()Spec.ProtoItem.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ITEMTYPE_FIELD_NUMBER
public static final int ITEMTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STEP_FIELD_NUMBER
public static final int STEP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONCEPT_FIELD_NUMBER
public static final int CONCEPT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCENARIO_FIELD_NUMBER
public static final int SCENARIO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLEDRIVENSCENARIO_FIELD_NUMBER
public static final int TABLEDRIVENSCENARIO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getItemTypeValue
public int getItemTypeValue()
/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;- Specified by:
getItemTypeValuein interfaceSpec.ProtoItemOrBuilder
-
getItemType
public Spec.ProtoItem.ItemType getItemType()
/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;- Specified by:
getItemTypein interfaceSpec.ProtoItemOrBuilder
-
hasStep
public boolean hasStep()
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2;- Specified by:
hasStepin interfaceSpec.ProtoItemOrBuilder
-
getStep
public Spec.ProtoStep getStep()
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2;- Specified by:
getStepin interfaceSpec.ProtoItemOrBuilder
-
getStepOrBuilder
public Spec.ProtoStepOrBuilder 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
-
getConcept
public Spec.ProtoConcept getConcept()
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3;- Specified by:
getConceptin interfaceSpec.ProtoItemOrBuilder
-
getConceptOrBuilder
public Spec.ProtoConceptOrBuilder 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
-
getScenario
public Spec.ProtoScenario getScenario()
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4;- Specified by:
getScenarioin interfaceSpec.ProtoItemOrBuilder
-
getScenarioOrBuilder
public Spec.ProtoScenarioOrBuilder 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
-
getTableDrivenScenario
public Spec.ProtoTableDrivenScenario getTableDrivenScenario()
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;- Specified by:
getTableDrivenScenarioin interfaceSpec.ProtoItemOrBuilder
-
getTableDrivenScenarioOrBuilder
public Spec.ProtoTableDrivenScenarioOrBuilder 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
-
getComment
public Spec.ProtoComment getComment()
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6;- Specified by:
getCommentin interfaceSpec.ProtoItemOrBuilder
-
getCommentOrBuilder
public Spec.ProtoCommentOrBuilder 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
-
getTable
public Spec.ProtoTable getTable()
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7;- Specified by:
getTablein interfaceSpec.ProtoItemOrBuilder
-
getTableOrBuilder
public Spec.ProtoTableOrBuilder 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
-
getTags
public Spec.ProtoTags getTags()
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8;- Specified by:
getTagsin interfaceSpec.ProtoItemOrBuilder
-
getTagsOrBuilder
public Spec.ProtoTagsOrBuilder getTagsOrBuilder()
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8;- Specified by:
getTagsOrBuilderin interfaceSpec.ProtoItemOrBuilder
-
getFileName
public String getFileName()
/ Holds the Filename that the item belongs to
string fileName = 9;- Specified by:
getFileNamein interfaceSpec.ProtoItemOrBuilder
-
getFileNameBytes
public com.google.protobuf.ByteString getFileNameBytes()
/ Holds the Filename that the item belongs to
string fileName = 9;- Specified by:
getFileNameBytesin interfaceSpec.ProtoItemOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Spec.ProtoItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Spec.ProtoItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-