Package gauge.messages
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class/ Container for all valid Items under a Specification.static enum/ Enumerates various item types that the proto item can contain.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean/ Holds the Comment definition./ Holds the Comment definition./ Holds the Concept definition./ Holds the Concept definition.static Spec.ProtoItemstatic final com.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 ProtoItemcom.google.protobuf.Parser<Spec.ProtoItem>/ Holds the Scenario definition./ Holds the Scenario definition.intgetStep()/ Holds the Step definition./ Holds the Step definition.getTable()/ Holds the Table definition./ Holds the TableDrivenScenario definition./ Holds the TableDrivenScenario definition./ Holds the Table definition.getTags()/ Holds the Tags definition./ Holds the Tags definition.boolean/ Holds the Comment definition.boolean/ Holds the Concept definition.inthashCode()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 booleanstatic Spec.ProtoItem.Builderstatic Spec.ProtoItem.BuildernewBuilder(Spec.ProtoItem prototype) protected Spec.ProtoItem.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ITEMTYPE_FIELD_NUMBER
public static final int ITEMTYPE_FIELD_NUMBER- See Also:
-
STEP_FIELD_NUMBER
public static final int STEP_FIELD_NUMBER- See Also:
-
CONCEPT_FIELD_NUMBER
public static final int CONCEPT_FIELD_NUMBER- See Also:
-
SCENARIO_FIELD_NUMBER
public static final int SCENARIO_FIELD_NUMBER- See Also:
-
TABLEDRIVENSCENARIO_FIELD_NUMBER
public static final int TABLEDRIVENSCENARIO_FIELD_NUMBER- See Also:
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER- See Also:
-
TABLE_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
getItemType
/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;- Specified by:
getItemTypein interfaceSpec.ProtoItemOrBuilder- Returns:
- The itemType.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static Spec.ProtoItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Spec.ProtoItem.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-