Package gauge.messages
Class Messages.ExecutionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Messages.ExecutionInfo.Builder>
gauge.messages.Messages.ExecutionInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Messages.ExecutionInfoOrBuilder,Cloneable
- Enclosing class:
- Messages.ExecutionInfo
public static final class Messages.ExecutionInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Messages.ExecutionInfo.Builder>
implements Messages.ExecutionInfoOrBuilder
/ Contains details of the execution. / Depending on the context (Step, Scenario, Spec or Suite), the respective fields are set.Protobuf type
gauge.messages.ExecutionInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllExecutionArgs(Iterable<? extends Messages.ExecutionArg> values) / Holds the command line arguments.addExecutionArgs(int index, Messages.ExecutionArg value) / Holds the command line arguments.addExecutionArgs(int index, Messages.ExecutionArg.Builder builderForValue) / Holds the command line arguments./ Holds the command line arguments.addExecutionArgs(Messages.ExecutionArg.Builder builderForValue) / Holds the command line arguments./ Holds the command line arguments.addExecutionArgsBuilder(int index) / Holds the command line arguments.build()clear()/ Holds the information of the current Scenario./ Holds the information of the current Spec./ Holds the information of the current Step./ Holds the command line arguments./ Holds the number of running execution streams./ Holds the project name/ Holds the runner id for parallel execution./ Stacktrace of the execution./ Holds the information of the current Scenario./ Holds the information of the current Scenario./ Holds the information of the current Scenario./ Holds the information of the current Spec./ Holds the information of the current Spec./ Holds the information of the current Spec./ Holds the information of the current Step./ Holds the information of the current Step./ Holds the information of the current Step.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExecutionArgs(int index) / Holds the command line arguments.getExecutionArgsBuilder(int index) / Holds the command line arguments./ Holds the command line arguments.int/ Holds the command line arguments./ Holds the command line arguments.getExecutionArgsOrBuilder(int index) / Holds the command line arguments.List<? extends Messages.ExecutionArgOrBuilder>/ Holds the command line arguments.int/ Holds the number of running execution streams./ Holds the project namecom.google.protobuf.ByteString/ Holds the project nameint/ Holds the runner id for parallel execution./ Stacktrace of the execution.com.google.protobuf.ByteString/ Stacktrace of the execution.boolean/ Holds the information of the current Scenario.boolean/ Holds the information of the current Spec.boolean/ Holds the information of the current Step.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal boolean/ Holds the information of the current Scenario./ Holds the information of the current Spec./ Holds the information of the current Step.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Messages.ExecutionInfo other) removeExecutionArgs(int index) / Holds the command line arguments./ Holds the information of the current Scenario.setCurrentScenario(Messages.ScenarioInfo.Builder builderForValue) / Holds the information of the current Scenario.setCurrentSpec(Messages.SpecInfo value) / Holds the information of the current Spec.setCurrentSpec(Messages.SpecInfo.Builder builderForValue) / Holds the information of the current Spec.setCurrentStep(Messages.StepInfo value) / Holds the information of the current Step.setCurrentStep(Messages.StepInfo.Builder builderForValue) / Holds the information of the current Step.setExecutionArgs(int index, Messages.ExecutionArg value) / Holds the command line arguments.setExecutionArgs(int index, Messages.ExecutionArg.Builder builderForValue) / Holds the command line arguments.setNumberOfExecutionStreams(int value) / Holds the number of running execution streams.setProjectName(String value) / Holds the project namesetProjectNameBytes(com.google.protobuf.ByteString value) / Holds the project namesetRunnerId(int value) / Holds the runner id for parallel execution.setStacktrace(String value) / Stacktrace of the execution.setStacktraceBytes(com.google.protobuf.ByteString value) / Stacktrace of the 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.ExecutionInfo.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.ExecutionInfo.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.ExecutionInfo.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.ExecutionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Messages.ExecutionInfo.Builder>
-
mergeFrom
public Messages.ExecutionInfo.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.ExecutionInfo.Builder>- Throws:
IOException
-
hasCurrentSpec
public boolean hasCurrentSpec()/ Holds the information of the current Spec. Valid in context of Spec execution.
.gauge.messages.SpecInfo currentSpec = 1;- Specified by:
hasCurrentSpecin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- Whether the currentSpec field is set.
-
getCurrentSpec
/ Holds the information of the current Spec. Valid in context of Spec execution.
.gauge.messages.SpecInfo currentSpec = 1;- Specified by:
getCurrentSpecin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- The currentSpec.
-
setCurrentSpec
/ Holds the information of the current Spec. Valid in context of Spec execution.
.gauge.messages.SpecInfo currentSpec = 1; -
setCurrentSpec
/ Holds the information of the current Spec. Valid in context of Spec execution.
.gauge.messages.SpecInfo currentSpec = 1; -
mergeCurrentSpec
/ Holds the information of the current Spec. Valid in context of Spec execution.
.gauge.messages.SpecInfo currentSpec = 1; -
clearCurrentSpec
/ Holds the information of the current Spec. Valid in context of Spec execution.
.gauge.messages.SpecInfo currentSpec = 1; -
getCurrentSpecBuilder
/ Holds the information of the current Spec. Valid in context of Spec execution.
.gauge.messages.SpecInfo currentSpec = 1; -
getCurrentSpecOrBuilder
/ Holds the information of the current Spec. Valid in context of Spec execution.
.gauge.messages.SpecInfo currentSpec = 1;- Specified by:
getCurrentSpecOrBuilderin interfaceMessages.ExecutionInfoOrBuilder
-
hasCurrentScenario
public boolean hasCurrentScenario()/ Holds the information of the current Scenario. Valid in context of Scenario execution.
.gauge.messages.ScenarioInfo currentScenario = 2;- Specified by:
hasCurrentScenarioin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- Whether the currentScenario field is set.
-
getCurrentScenario
/ Holds the information of the current Scenario. Valid in context of Scenario execution.
.gauge.messages.ScenarioInfo currentScenario = 2;- Specified by:
getCurrentScenarioin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- The currentScenario.
-
setCurrentScenario
/ Holds the information of the current Scenario. Valid in context of Scenario execution.
.gauge.messages.ScenarioInfo currentScenario = 2; -
setCurrentScenario
public Messages.ExecutionInfo.Builder setCurrentScenario(Messages.ScenarioInfo.Builder builderForValue) / Holds the information of the current Scenario. Valid in context of Scenario execution.
.gauge.messages.ScenarioInfo currentScenario = 2; -
mergeCurrentScenario
/ Holds the information of the current Scenario. Valid in context of Scenario execution.
.gauge.messages.ScenarioInfo currentScenario = 2; -
clearCurrentScenario
/ Holds the information of the current Scenario. Valid in context of Scenario execution.
.gauge.messages.ScenarioInfo currentScenario = 2; -
getCurrentScenarioBuilder
/ Holds the information of the current Scenario. Valid in context of Scenario execution.
.gauge.messages.ScenarioInfo currentScenario = 2; -
getCurrentScenarioOrBuilder
/ Holds the information of the current Scenario. Valid in context of Scenario execution.
.gauge.messages.ScenarioInfo currentScenario = 2;- Specified by:
getCurrentScenarioOrBuilderin interfaceMessages.ExecutionInfoOrBuilder
-
hasCurrentStep
public boolean hasCurrentStep()/ Holds the information of the current Step. Valid in context of Step execution.
.gauge.messages.StepInfo currentStep = 3;- Specified by:
hasCurrentStepin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- Whether the currentStep field is set.
-
getCurrentStep
/ Holds the information of the current Step. Valid in context of Step execution.
.gauge.messages.StepInfo currentStep = 3;- Specified by:
getCurrentStepin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- The currentStep.
-
setCurrentStep
/ Holds the information of the current Step. Valid in context of Step execution.
.gauge.messages.StepInfo currentStep = 3; -
setCurrentStep
/ Holds the information of the current Step. Valid in context of Step execution.
.gauge.messages.StepInfo currentStep = 3; -
mergeCurrentStep
/ Holds the information of the current Step. Valid in context of Step execution.
.gauge.messages.StepInfo currentStep = 3; -
clearCurrentStep
/ Holds the information of the current Step. Valid in context of Step execution.
.gauge.messages.StepInfo currentStep = 3; -
getCurrentStepBuilder
/ Holds the information of the current Step. Valid in context of Step execution.
.gauge.messages.StepInfo currentStep = 3; -
getCurrentStepOrBuilder
/ Holds the information of the current Step. Valid in context of Step execution.
.gauge.messages.StepInfo currentStep = 3;- Specified by:
getCurrentStepOrBuilderin interfaceMessages.ExecutionInfoOrBuilder
-
getStacktrace
/ Stacktrace of the execution. Valid only if there is an error in execution.
string stacktrace = 4;- Specified by:
getStacktracein interfaceMessages.ExecutionInfoOrBuilder- Returns:
- The stacktrace.
-
getStacktraceBytes
public com.google.protobuf.ByteString getStacktraceBytes()/ Stacktrace of the execution. Valid only if there is an error in execution.
string stacktrace = 4;- Specified by:
getStacktraceBytesin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- The bytes for stacktrace.
-
setStacktrace
/ Stacktrace of the execution. Valid only if there is an error in execution.
string stacktrace = 4;- Parameters:
value- The stacktrace to set.- Returns:
- This builder for chaining.
-
clearStacktrace
/ Stacktrace of the execution. Valid only if there is an error in execution.
string stacktrace = 4;- Returns:
- This builder for chaining.
-
setStacktraceBytes
/ Stacktrace of the execution. Valid only if there is an error in execution.
string stacktrace = 4;- Parameters:
value- The bytes for stacktrace to set.- Returns:
- This builder for chaining.
-
getProjectName
/ Holds the project name
string projectName = 5;- Specified by:
getProjectNamein interfaceMessages.ExecutionInfoOrBuilder- Returns:
- The projectName.
-
getProjectNameBytes
public com.google.protobuf.ByteString getProjectNameBytes()/ Holds the project name
string projectName = 5;- Specified by:
getProjectNameBytesin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- The bytes for projectName.
-
setProjectName
/ Holds the project name
string projectName = 5;- Parameters:
value- The projectName to set.- Returns:
- This builder for chaining.
-
clearProjectName
/ Holds the project name
string projectName = 5;- Returns:
- This builder for chaining.
-
setProjectNameBytes
/ Holds the project name
string projectName = 5;- Parameters:
value- The bytes for projectName to set.- Returns:
- This builder for chaining.
-
getExecutionArgsList
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;- Specified by:
getExecutionArgsListin interfaceMessages.ExecutionInfoOrBuilder
-
getExecutionArgsCount
public int getExecutionArgsCount()/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;- Specified by:
getExecutionArgsCountin interfaceMessages.ExecutionInfoOrBuilder
-
getExecutionArgs
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;- Specified by:
getExecutionArgsin interfaceMessages.ExecutionInfoOrBuilder
-
setExecutionArgs
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
setExecutionArgs
public Messages.ExecutionInfo.Builder setExecutionArgs(int index, Messages.ExecutionArg.Builder builderForValue) / Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
addExecutionArgs
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
addExecutionArgs
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
addExecutionArgs
public Messages.ExecutionInfo.Builder addExecutionArgs(Messages.ExecutionArg.Builder builderForValue) / Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
addExecutionArgs
public Messages.ExecutionInfo.Builder addExecutionArgs(int index, Messages.ExecutionArg.Builder builderForValue) / Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
addAllExecutionArgs
public Messages.ExecutionInfo.Builder addAllExecutionArgs(Iterable<? extends Messages.ExecutionArg> values) / Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
clearExecutionArgs
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
removeExecutionArgs
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
getExecutionArgsBuilder
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
getExecutionArgsOrBuilder
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;- Specified by:
getExecutionArgsOrBuilderin interfaceMessages.ExecutionInfoOrBuilder
-
getExecutionArgsOrBuilderList
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;- Specified by:
getExecutionArgsOrBuilderListin interfaceMessages.ExecutionInfoOrBuilder
-
addExecutionArgsBuilder
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
addExecutionArgsBuilder
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
getExecutionArgsBuilderList
/ Holds the command line arguments.
repeated .gauge.messages.ExecutionArg ExecutionArgs = 6; -
getNumberOfExecutionStreams
public int getNumberOfExecutionStreams()/ Holds the number of running execution streams.
int32 numberOfExecutionStreams = 7;- Specified by:
getNumberOfExecutionStreamsin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- The numberOfExecutionStreams.
-
setNumberOfExecutionStreams
/ Holds the number of running execution streams.
int32 numberOfExecutionStreams = 7;- Parameters:
value- The numberOfExecutionStreams to set.- Returns:
- This builder for chaining.
-
clearNumberOfExecutionStreams
/ Holds the number of running execution streams.
int32 numberOfExecutionStreams = 7;- Returns:
- This builder for chaining.
-
getRunnerId
public int getRunnerId()/ Holds the runner id for parallel execution.
int32 runnerId = 8;- Specified by:
getRunnerIdin interfaceMessages.ExecutionInfoOrBuilder- Returns:
- The runnerId.
-
setRunnerId
/ Holds the runner id for parallel execution.
int32 runnerId = 8;- Parameters:
value- The runnerId to set.- Returns:
- This builder for chaining.
-
clearRunnerId
/ Holds the runner id for parallel execution.
int32 runnerId = 8;- Returns:
- This builder for chaining.
-