Class Messages.ExecutionInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gauge.messages.Messages.ExecutionInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Messages.ExecutionInfoOrBuilder, Serializable
Enclosing class:
Messages

public static final class Messages.ExecutionInfo extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • CURRENTSPEC_FIELD_NUMBER

      public static final int CURRENTSPEC_FIELD_NUMBER
      See Also:
    • CURRENTSCENARIO_FIELD_NUMBER

      public static final int CURRENTSCENARIO_FIELD_NUMBER
      See Also:
    • CURRENTSTEP_FIELD_NUMBER

      public static final int CURRENTSTEP_FIELD_NUMBER
      See Also:
    • STACKTRACE_FIELD_NUMBER

      public static final int STACKTRACE_FIELD_NUMBER
      See Also:
    • PROJECTNAME_FIELD_NUMBER

      public static final int PROJECTNAME_FIELD_NUMBER
      See Also:
    • EXECUTIONARGS_FIELD_NUMBER

      public static final int EXECUTIONARGS_FIELD_NUMBER
      See Also:
    • NUMBEROFEXECUTIONSTREAMS_FIELD_NUMBER

      public static final int NUMBEROFEXECUTIONSTREAMS_FIELD_NUMBER
      See Also:
    • RUNNERID_FIELD_NUMBER

      public static final int RUNNERID_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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • getExecutionArgsList

      public List<Messages.ExecutionArg> getExecutionArgsList()
       / Holds the command line arguments.
       
      repeated .gauge.messages.ExecutionArg ExecutionArgs = 6;
      Specified by:
      getExecutionArgsList 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
    • 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
    • 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
    • getNumberOfExecutionStreams

      public int getNumberOfExecutionStreams()
       / Holds the number of running execution streams.
       
      int32 numberOfExecutionStreams = 7;
      Specified by:
      getNumberOfExecutionStreams in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The numberOfExecutionStreams.
    • getRunnerId

      public int getRunnerId()
       / Holds the runner id for parallel execution.
       
      int32 runnerId = 8;
      Specified by:
      getRunnerId in interface Messages.ExecutionInfoOrBuilder
      Returns:
      The runnerId.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Messages.ExecutionInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Messages.ExecutionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Messages.ExecutionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Messages.ExecutionInfo.Builder newBuilder()
    • newBuilder

      public static Messages.ExecutionInfo.Builder newBuilder(Messages.ExecutionInfo prototype)
    • toBuilder

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

      protected Messages.ExecutionInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Messages.ExecutionInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Messages.ExecutionInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<Messages.ExecutionInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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