Package gauge.messages
Class Messages.ScenarioInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Messages.ScenarioInfo.Builder>
gauge.messages.Messages.ScenarioInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.ScenarioInfoOrBuilder,Cloneable
- Enclosing class:
- Messages.ScenarioInfo
public static final class Messages.ScenarioInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Messages.ScenarioInfo.Builder>
implements Messages.ScenarioInfoOrBuilder
/ Contains details of the Scenario execution.Protobuf type
gauge.messages.ScenarioInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(Iterable<String> values) / Tags relevant to the current Scenario execution./ Tags relevant to the current Scenario execution.addTagsBytes(com.google.protobuf.ByteString value) / Tags relevant to the current Scenario execution.build()clear()/ Flag to indicate if the current Scenario execution failed./ Name of the current Scenario being executed./ Retries info/ Tags relevant to the current Scenario execution.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorboolean/ Flag to indicate if the current Scenario execution failed.getName()/ Name of the current Scenario being executed.com.google.protobuf.ByteString/ Name of the current Scenario being executed./ Retries info/ Retries info/ Retries infogetTags(int index) / Tags relevant to the current Scenario execution.com.google.protobuf.ByteStringgetTagsBytes(int index) / Tags relevant to the current Scenario execution.int/ Tags relevant to the current Scenario execution.com.google.protobuf.ProtocolStringList/ Tags relevant to the current Scenario execution.boolean/ Retries infoprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Messages.ScenarioInfo other) / Retries infosetIsFailed(boolean value) / Flag to indicate if the current Scenario execution failed./ Name of the current Scenario being executed.setNameBytes(com.google.protobuf.ByteString value) / Name of the current Scenario being executed./ Retries infosetRetries(Messages.ScenarioRetriesInfo.Builder builderForValue) / Retries info/ Tags relevant to the current Scenario execution.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Messages.ScenarioInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Messages.ScenarioInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Messages.ScenarioInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.ScenarioInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Messages.ScenarioInfo.Builder>
-
mergeFrom
public Messages.ScenarioInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Messages.ScenarioInfo.Builder>- Throws:
IOException
-
getName
/ Name of the current Scenario being executed.
string name = 1;- Specified by:
getNamein interfaceMessages.ScenarioInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()/ Name of the current Scenario being executed.
string name = 1;- Specified by:
getNameBytesin interfaceMessages.ScenarioInfoOrBuilder- Returns:
- The bytes for name.
-
setName
/ Name of the current Scenario being executed.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
/ Name of the current Scenario being executed.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
/ Name of the current Scenario being executed.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getIsFailed
public boolean getIsFailed()/ Flag to indicate if the current Scenario execution failed.
bool isFailed = 2;- Specified by:
getIsFailedin interfaceMessages.ScenarioInfoOrBuilder- Returns:
- The isFailed.
-
setIsFailed
/ Flag to indicate if the current Scenario execution failed.
bool isFailed = 2;- Parameters:
value- The isFailed to set.- Returns:
- This builder for chaining.
-
clearIsFailed
/ Flag to indicate if the current Scenario execution failed.
bool isFailed = 2;- Returns:
- This builder for chaining.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()/ Tags relevant to the current Scenario execution.
repeated string tags = 3;- Specified by:
getTagsListin interfaceMessages.ScenarioInfoOrBuilder- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()/ Tags relevant to the current Scenario execution.
repeated string tags = 3;- Specified by:
getTagsCountin interfaceMessages.ScenarioInfoOrBuilder- Returns:
- The count of tags.
-
getTags
/ Tags relevant to the current Scenario execution.
repeated string tags = 3;- Specified by:
getTagsin interfaceMessages.ScenarioInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index) / Tags relevant to the current Scenario execution.
repeated string tags = 3;- Specified by:
getTagsBytesin interfaceMessages.ScenarioInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
/ Tags relevant to the current Scenario execution.
repeated string tags = 3;- Parameters:
index- The index to set the value at.value- The tags to set.- Returns:
- This builder for chaining.
-
addTags
/ Tags relevant to the current Scenario execution.
repeated string tags = 3;- Parameters:
value- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
/ Tags relevant to the current Scenario execution.
repeated string tags = 3;- Parameters:
values- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
/ Tags relevant to the current Scenario execution.
repeated string tags = 3;- Returns:
- This builder for chaining.
-
addTagsBytes
/ Tags relevant to the current Scenario execution.
repeated string tags = 3;- Parameters:
value- The bytes of the tags to add.- Returns:
- This builder for chaining.
-
hasRetries
public boolean hasRetries()/ Retries info
.gauge.messages.ScenarioRetriesInfo retries = 4;- Specified by:
hasRetriesin interfaceMessages.ScenarioInfoOrBuilder- Returns:
- Whether the retries field is set.
-
getRetries
/ Retries info
.gauge.messages.ScenarioRetriesInfo retries = 4;- Specified by:
getRetriesin interfaceMessages.ScenarioInfoOrBuilder- Returns:
- The retries.
-
setRetries
/ Retries info
.gauge.messages.ScenarioRetriesInfo retries = 4; -
setRetries
public Messages.ScenarioInfo.Builder setRetries(Messages.ScenarioRetriesInfo.Builder builderForValue) / Retries info
.gauge.messages.ScenarioRetriesInfo retries = 4; -
mergeRetries
/ Retries info
.gauge.messages.ScenarioRetriesInfo retries = 4; -
clearRetries
/ Retries info
.gauge.messages.ScenarioRetriesInfo retries = 4; -
getRetriesBuilder
/ Retries info
.gauge.messages.ScenarioRetriesInfo retries = 4; -
getRetriesOrBuilder
/ Retries info
.gauge.messages.ScenarioRetriesInfo retries = 4;- Specified by:
getRetriesOrBuilderin interfaceMessages.ScenarioInfoOrBuilder
-