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 class
Spec.ProtoItem.Builder
/ Container for all valid Items under a Specification.static class
Spec.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 int
COMMENT_FIELD_NUMBER
static int
CONCEPT_FIELD_NUMBER
static int
FILENAME_FIELD_NUMBER
static int
ITEMTYPE_FIELD_NUMBER
static int
SCENARIO_FIELD_NUMBER
static int
STEP_FIELD_NUMBER
static int
TABLE_FIELD_NUMBER
static int
TABLEDRIVENSCENARIO_FIELD_NUMBER
static int
TAGS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Spec.ProtoComment
getComment()
/ Holds the Comment definition.Spec.ProtoCommentOrBuilder
getCommentOrBuilder()
/ Holds the Comment definition.Spec.ProtoConcept
getConcept()
/ Holds the Concept definition.Spec.ProtoConceptOrBuilder
getConceptOrBuilder()
/ Holds the Concept definition.static Spec.ProtoItem
getDefaultInstance()
Spec.ProtoItem
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFileName()
/ Holds the Filename that the item belongs tocom.google.protobuf.ByteString
getFileNameBytes()
/ Holds the Filename that the item belongs toSpec.ProtoItem.ItemType
getItemType()
/ Itemtype of the current ProtoItemint
getItemTypeValue()
/ Itemtype of the current ProtoItemcom.google.protobuf.Parser<Spec.ProtoItem>
getParserForType()
Spec.ProtoScenario
getScenario()
/ Holds the Scenario definition.Spec.ProtoScenarioOrBuilder
getScenarioOrBuilder()
/ Holds the Scenario definition.int
getSerializedSize()
Spec.ProtoStep
getStep()
/ Holds the Step definition.Spec.ProtoStepOrBuilder
getStepOrBuilder()
/ Holds the Step definition.Spec.ProtoTable
getTable()
/ Holds the Table definition.Spec.ProtoTableDrivenScenario
getTableDrivenScenario()
/ Holds the TableDrivenScenario definition.Spec.ProtoTableDrivenScenarioOrBuilder
getTableDrivenScenarioOrBuilder()
/ Holds the TableDrivenScenario definition.Spec.ProtoTableOrBuilder
getTableOrBuilder()
/ Holds the Table definition.Spec.ProtoTags
getTags()
/ Holds the Tags definition.Spec.ProtoTagsOrBuilder
getTagsOrBuilder()
/ Holds the Tags definition.com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasComment()
/ Holds the Comment definition.boolean
hasConcept()
/ Holds the Concept definition.int
hashCode()
boolean
hasScenario()
/ Holds the Scenario definition.boolean
hasStep()
/ Holds the Step definition.boolean
hasTable()
/ Holds the Table definition.boolean
hasTableDrivenScenario()
/ Holds the TableDrivenScenario definition.boolean
hasTags()
/ Holds the Tags definition.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Spec.ProtoItem.Builder
newBuilder()
static Spec.ProtoItem.Builder
newBuilder(Spec.ProtoItem prototype)
Spec.ProtoItem.Builder
newBuilderForType()
protected Spec.ProtoItem.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static Spec.ProtoItem
parseDelimitedFrom(InputStream input)
static Spec.ProtoItem
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoItem
parseFrom(byte[] data)
static Spec.ProtoItem
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoItem
parseFrom(com.google.protobuf.ByteString data)
static Spec.ProtoItem
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoItem
parseFrom(com.google.protobuf.CodedInputStream input)
static Spec.ProtoItem
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoItem
parseFrom(InputStream input)
static Spec.ProtoItem
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Spec.ProtoItem
parseFrom(ByteBuffer data)
static Spec.ProtoItem
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Spec.ProtoItem>
parser()
Spec.ProtoItem.Builder
toBuilder()
void
writeTo(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, isStringEmpty, 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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getItemTypeValue
public int getItemTypeValue()
/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;
- Specified by:
getItemTypeValue
in interfaceSpec.ProtoItemOrBuilder
-
getItemType
public Spec.ProtoItem.ItemType getItemType()
/ Itemtype of the current ProtoItem
.gauge.messages.ProtoItem.ItemType itemType = 1;
- Specified by:
getItemType
in interfaceSpec.ProtoItemOrBuilder
-
hasStep
public boolean hasStep()
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2;
- Specified by:
hasStep
in interfaceSpec.ProtoItemOrBuilder
-
getStep
public Spec.ProtoStep getStep()
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2;
- Specified by:
getStep
in interfaceSpec.ProtoItemOrBuilder
-
getStepOrBuilder
public Spec.ProtoStepOrBuilder getStepOrBuilder()
/ Holds the Step definition. Valid only if ItemType = Step
.gauge.messages.ProtoStep step = 2;
- Specified by:
getStepOrBuilder
in interfaceSpec.ProtoItemOrBuilder
-
hasConcept
public boolean hasConcept()
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3;
- Specified by:
hasConcept
in interfaceSpec.ProtoItemOrBuilder
-
getConcept
public Spec.ProtoConcept getConcept()
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3;
- Specified by:
getConcept
in interfaceSpec.ProtoItemOrBuilder
-
getConceptOrBuilder
public Spec.ProtoConceptOrBuilder getConceptOrBuilder()
/ Holds the Concept definition. Valid only if ItemType = Concept
.gauge.messages.ProtoConcept concept = 3;
- Specified by:
getConceptOrBuilder
in interfaceSpec.ProtoItemOrBuilder
-
hasScenario
public boolean hasScenario()
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4;
- Specified by:
hasScenario
in interfaceSpec.ProtoItemOrBuilder
-
getScenario
public Spec.ProtoScenario getScenario()
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4;
- Specified by:
getScenario
in interfaceSpec.ProtoItemOrBuilder
-
getScenarioOrBuilder
public Spec.ProtoScenarioOrBuilder getScenarioOrBuilder()
/ Holds the Scenario definition. Valid only if ItemType = Scenario
.gauge.messages.ProtoScenario scenario = 4;
- Specified by:
getScenarioOrBuilder
in interfaceSpec.ProtoItemOrBuilder
-
hasTableDrivenScenario
public boolean hasTableDrivenScenario()
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;
- Specified by:
hasTableDrivenScenario
in interfaceSpec.ProtoItemOrBuilder
-
getTableDrivenScenario
public Spec.ProtoTableDrivenScenario getTableDrivenScenario()
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;
- Specified by:
getTableDrivenScenario
in interfaceSpec.ProtoItemOrBuilder
-
getTableDrivenScenarioOrBuilder
public Spec.ProtoTableDrivenScenarioOrBuilder getTableDrivenScenarioOrBuilder()
/ Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
.gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5;
- Specified by:
getTableDrivenScenarioOrBuilder
in interfaceSpec.ProtoItemOrBuilder
-
hasComment
public boolean hasComment()
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6;
- Specified by:
hasComment
in interfaceSpec.ProtoItemOrBuilder
-
getComment
public Spec.ProtoComment getComment()
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6;
- Specified by:
getComment
in interfaceSpec.ProtoItemOrBuilder
-
getCommentOrBuilder
public Spec.ProtoCommentOrBuilder getCommentOrBuilder()
/ Holds the Comment definition. Valid only if ItemType = Comment
.gauge.messages.ProtoComment comment = 6;
- Specified by:
getCommentOrBuilder
in interfaceSpec.ProtoItemOrBuilder
-
hasTable
public boolean hasTable()
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7;
- Specified by:
hasTable
in interfaceSpec.ProtoItemOrBuilder
-
getTable
public Spec.ProtoTable getTable()
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7;
- Specified by:
getTable
in interfaceSpec.ProtoItemOrBuilder
-
getTableOrBuilder
public Spec.ProtoTableOrBuilder getTableOrBuilder()
/ Holds the Table definition. Valid only if ItemType = Table
.gauge.messages.ProtoTable table = 7;
- Specified by:
getTableOrBuilder
in interfaceSpec.ProtoItemOrBuilder
-
hasTags
public boolean hasTags()
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8;
- Specified by:
hasTags
in interfaceSpec.ProtoItemOrBuilder
-
getTags
public Spec.ProtoTags getTags()
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8;
- Specified by:
getTags
in interfaceSpec.ProtoItemOrBuilder
-
getTagsOrBuilder
public Spec.ProtoTagsOrBuilder getTagsOrBuilder()
/ Holds the Tags definition. Valid only if ItemType = Tags
.gauge.messages.ProtoTags tags = 8;
- Specified by:
getTagsOrBuilder
in interfaceSpec.ProtoItemOrBuilder
-
getFileName
public String getFileName()
/ Holds the Filename that the item belongs to
string fileName = 9;
- Specified by:
getFileName
in interfaceSpec.ProtoItemOrBuilder
-
getFileNameBytes
public com.google.protobuf.ByteString getFileNameBytes()
/ Holds the Filename that the item belongs to
string fileName = 9;
- Specified by:
getFileNameBytes
in interfaceSpec.ProtoItemOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Spec.ProtoItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Spec.ProtoItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-