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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Messages.ExecutionInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Messages.ExecutionInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Messages.ExecutionInfo.Builder>
    • getDefaultInstanceForType

      public Messages.ExecutionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Messages.ExecutionInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Messages.ExecutionInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Messages.ExecutionInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Messages.ExecutionInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasCurrentSpec in interface Messages.ExecutionInfoOrBuilder
      Returns:
      Whether the currentSpec field is set.
    • getCurrentSpec

      public Messages.SpecInfo getCurrentSpec()
       / Holds the information of the current Spec. Valid in context of Spec execution.
       
      .gauge.messages.SpecInfo currentSpec = 1;
      Specified by:
      getCurrentSpec in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The currentSpec.
    • setCurrentSpec

      public Messages.ExecutionInfo.Builder setCurrentSpec(Messages.SpecInfo value)
       / Holds the information of the current Spec. Valid in context of Spec execution.
       
      .gauge.messages.SpecInfo currentSpec = 1;
    • setCurrentSpec

      public Messages.ExecutionInfo.Builder setCurrentSpec(Messages.SpecInfo.Builder builderForValue)
       / Holds the information of the current Spec. Valid in context of Spec execution.
       
      .gauge.messages.SpecInfo currentSpec = 1;
    • mergeCurrentSpec

      public Messages.ExecutionInfo.Builder mergeCurrentSpec(Messages.SpecInfo value)
       / Holds the information of the current Spec. Valid in context of Spec execution.
       
      .gauge.messages.SpecInfo currentSpec = 1;
    • clearCurrentSpec

      public Messages.ExecutionInfo.Builder clearCurrentSpec()
       / Holds the information of the current Spec. Valid in context of Spec execution.
       
      .gauge.messages.SpecInfo currentSpec = 1;
    • getCurrentSpecBuilder

      public Messages.SpecInfo.Builder getCurrentSpecBuilder()
       / Holds the information of the current Spec. Valid in context of Spec execution.
       
      .gauge.messages.SpecInfo currentSpec = 1;
    • getCurrentSpecOrBuilder

      public Messages.SpecInfoOrBuilder getCurrentSpecOrBuilder()
       / Holds the information of the current Spec. Valid in context of Spec execution.
       
      .gauge.messages.SpecInfo currentSpec = 1;
      Specified by:
      getCurrentSpecOrBuilder in interface Messages.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:
      hasCurrentScenario in interface Messages.ExecutionInfoOrBuilder
      Returns:
      Whether the currentScenario field is set.
    • getCurrentScenario

      public Messages.ScenarioInfo getCurrentScenario()
       / Holds the information of the current Scenario. Valid in context of Scenario execution.
       
      .gauge.messages.ScenarioInfo currentScenario = 2;
      Specified by:
      getCurrentScenario in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The currentScenario.
    • setCurrentScenario

      public Messages.ExecutionInfo.Builder setCurrentScenario(Messages.ScenarioInfo value)
       / 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

      public Messages.ExecutionInfo.Builder mergeCurrentScenario(Messages.ScenarioInfo value)
       / Holds the information of the current Scenario. Valid in context of Scenario execution.
       
      .gauge.messages.ScenarioInfo currentScenario = 2;
    • clearCurrentScenario

      public Messages.ExecutionInfo.Builder clearCurrentScenario()
       / Holds the information of the current Scenario. Valid in context of Scenario execution.
       
      .gauge.messages.ScenarioInfo currentScenario = 2;
    • getCurrentScenarioBuilder

      public Messages.ScenarioInfo.Builder getCurrentScenarioBuilder()
       / Holds the information of the current Scenario. Valid in context of Scenario execution.
       
      .gauge.messages.ScenarioInfo currentScenario = 2;
    • getCurrentScenarioOrBuilder

      public Messages.ScenarioInfoOrBuilder getCurrentScenarioOrBuilder()
       / Holds the information of the current Scenario. Valid in context of Scenario execution.
       
      .gauge.messages.ScenarioInfo currentScenario = 2;
      Specified by:
      getCurrentScenarioOrBuilder in interface Messages.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:
      hasCurrentStep in interface Messages.ExecutionInfoOrBuilder
      Returns:
      Whether the currentStep field is set.
    • getCurrentStep

      public Messages.StepInfo getCurrentStep()
       / Holds the information of the current Step. Valid in context of Step execution.
       
      .gauge.messages.StepInfo currentStep = 3;
      Specified by:
      getCurrentStep in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The currentStep.
    • setCurrentStep

      public Messages.ExecutionInfo.Builder setCurrentStep(Messages.StepInfo value)
       / Holds the information of the current Step. Valid in context of Step execution.
       
      .gauge.messages.StepInfo currentStep = 3;
    • setCurrentStep

      public Messages.ExecutionInfo.Builder setCurrentStep(Messages.StepInfo.Builder builderForValue)
       / Holds the information of the current Step. Valid in context of Step execution.
       
      .gauge.messages.StepInfo currentStep = 3;
    • mergeCurrentStep

      public Messages.ExecutionInfo.Builder mergeCurrentStep(Messages.StepInfo value)
       / Holds the information of the current Step. Valid in context of Step execution.
       
      .gauge.messages.StepInfo currentStep = 3;
    • clearCurrentStep

      public Messages.ExecutionInfo.Builder clearCurrentStep()
       / Holds the information of the current Step. Valid in context of Step execution.
       
      .gauge.messages.StepInfo currentStep = 3;
    • getCurrentStepBuilder

      public Messages.StepInfo.Builder getCurrentStepBuilder()
       / Holds the information of the current Step. Valid in context of Step execution.
       
      .gauge.messages.StepInfo currentStep = 3;
    • getCurrentStepOrBuilder

      public Messages.StepInfoOrBuilder getCurrentStepOrBuilder()
       / Holds the information of the current Step. Valid in context of Step execution.
       
      .gauge.messages.StepInfo currentStep = 3;
      Specified by:
      getCurrentStepOrBuilder in interface Messages.ExecutionInfoOrBuilder
    • getStacktrace

      public String getStacktrace()
       / Stacktrace of the execution. Valid only if there is an error in execution.
       
      string stacktrace = 4;
      Specified by:
      getStacktrace in interface Messages.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:
      getStacktraceBytes in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The bytes for stacktrace.
    • setStacktrace

      public Messages.ExecutionInfo.Builder setStacktrace(String value)
       / 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

      public Messages.ExecutionInfo.Builder clearStacktrace()
       / Stacktrace of the execution. Valid only if there is an error in execution.
       
      string stacktrace = 4;
      Returns:
      This builder for chaining.
    • setStacktraceBytes

      public Messages.ExecutionInfo.Builder setStacktraceBytes(com.google.protobuf.ByteString value)
       / 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

      public String getProjectName()
       / Holds the project name
       
      string projectName = 5;
      Specified by:
      getProjectName in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The projectName.
    • getProjectNameBytes

      public com.google.protobuf.ByteString getProjectNameBytes()
       / Holds the project name
       
      string projectName = 5;
      Specified by:
      getProjectNameBytes in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The bytes for projectName.
    • setProjectName

      public Messages.ExecutionInfo.Builder setProjectName(String value)
       / Holds the project name
       
      string projectName = 5;
      Parameters:
      value - The projectName to set.
      Returns:
      This builder for chaining.
    • clearProjectName

      public Messages.ExecutionInfo.Builder clearProjectName()
       / Holds the project name
       
      string projectName = 5;
      Returns:
      This builder for chaining.
    • setProjectNameBytes

      public Messages.ExecutionInfo.Builder setProjectNameBytes(com.google.protobuf.ByteString value)
       / Holds the project name
       
      string projectName = 5;
      Parameters:
      value - The bytes for projectName to set.
      Returns:
      This builder for chaining.
    • getExecutionArgsList

      public List<Messages.ExecutionArg> getExecutionArgsList()
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
      Specified by:
      getExecutionArgsList in interface Messages.ExecutionInfoOrBuilder
    • getExecutionArgsCount

      public int getExecutionArgsCount()
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
      Specified by:
      getExecutionArgsCount in interface Messages.ExecutionInfoOrBuilder
    • getExecutionArgs

      public Messages.ExecutionArg getExecutionArgs(int index)
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
      Specified by:
      getExecutionArgs in interface Messages.ExecutionInfoOrBuilder
    • setExecutionArgs

      public Messages.ExecutionInfo.Builder setExecutionArgs(int index, Messages.ExecutionArg value)
       / 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

      public Messages.ExecutionInfo.Builder addExecutionArgs(Messages.ExecutionArg value)
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
    • addExecutionArgs

      public Messages.ExecutionInfo.Builder addExecutionArgs(int index, Messages.ExecutionArg value)
       / 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

      public Messages.ExecutionInfo.Builder clearExecutionArgs()
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
    • removeExecutionArgs

      public Messages.ExecutionInfo.Builder removeExecutionArgs(int index)
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
    • getExecutionArgsBuilder

      public Messages.ExecutionArg.Builder getExecutionArgsBuilder(int index)
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
    • getExecutionArgsOrBuilder

      public Messages.ExecutionArgOrBuilder getExecutionArgsOrBuilder(int index)
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
      Specified by:
      getExecutionArgsOrBuilder in interface Messages.ExecutionInfoOrBuilder
    • getExecutionArgsOrBuilderList

      public List<? extends Messages.ExecutionArgOrBuilder> getExecutionArgsOrBuilderList()
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
      Specified by:
      getExecutionArgsOrBuilderList in interface Messages.ExecutionInfoOrBuilder
    • addExecutionArgsBuilder

      public Messages.ExecutionArg.Builder addExecutionArgsBuilder()
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
    • addExecutionArgsBuilder

      public Messages.ExecutionArg.Builder addExecutionArgsBuilder(int index)
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
    • getExecutionArgsBuilderList

      public List<Messages.ExecutionArg.Builder> 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:
      getNumberOfExecutionStreams in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The numberOfExecutionStreams.
    • setNumberOfExecutionStreams

      public Messages.ExecutionInfo.Builder setNumberOfExecutionStreams(int value)
       / Holds the number of running execution streams.
       
      int32 numberOfExecutionStreams = 7;
      Parameters:
      value - The numberOfExecutionStreams to set.
      Returns:
      This builder for chaining.
    • clearNumberOfExecutionStreams

      public Messages.ExecutionInfo.Builder 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:
      getRunnerId in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The runnerId.
    • setRunnerId

      public Messages.ExecutionInfo.Builder setRunnerId(int value)
       / Holds the runner id for parallel execution.
       
      int32 runnerId = 8;
      Parameters:
      value - The runnerId to set.
      Returns:
      This builder for chaining.
    • clearRunnerId

      public Messages.ExecutionInfo.Builder clearRunnerId()
       / Holds the runner id for parallel execution.
       
      int32 runnerId = 8;
      Returns:
      This builder for chaining.