Class Spec.ProtoScenarioResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoScenarioResult.Builder>
gauge.messages.Spec.ProtoScenarioResult.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Spec.ProtoScenarioResultOrBuilder, Cloneable
Enclosing class:
Spec.ProtoScenarioResult

public static final class Spec.ProtoScenarioResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<Spec.ProtoScenarioResult.Builder> implements Spec.ProtoScenarioResultOrBuilder
 / A proto object representing the result of Scenario execution.
 
Protobuf type gauge.messages.ProtoScenarioResult
  • 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<Spec.ProtoScenarioResult.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<Spec.ProtoScenarioResult.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<Spec.ProtoScenarioResult.Builder>
    • getDefaultInstanceForType

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

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

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

      public Spec.ProtoScenarioResult.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<Spec.ProtoScenarioResult.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<Spec.ProtoScenarioResult.Builder>
    • mergeFrom

      public Spec.ProtoScenarioResult.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<Spec.ProtoScenarioResult.Builder>
      Throws:
      IOException
    • hasProtoItem

      public boolean hasProtoItem()
       / Collection of scenarios in scenario execution result.
       
      .gauge.messages.ProtoItem protoItem = 1;
      Specified by:
      hasProtoItem in interface Spec.ProtoScenarioResultOrBuilder
      Returns:
      Whether the protoItem field is set.
    • getProtoItem

      public Spec.ProtoItem getProtoItem()
       / Collection of scenarios in scenario execution result.
       
      .gauge.messages.ProtoItem protoItem = 1;
      Specified by:
      getProtoItem in interface Spec.ProtoScenarioResultOrBuilder
      Returns:
      The protoItem.
    • setProtoItem

      public Spec.ProtoScenarioResult.Builder setProtoItem(Spec.ProtoItem value)
       / Collection of scenarios in scenario execution result.
       
      .gauge.messages.ProtoItem protoItem = 1;
    • setProtoItem

      public Spec.ProtoScenarioResult.Builder setProtoItem(Spec.ProtoItem.Builder builderForValue)
       / Collection of scenarios in scenario execution result.
       
      .gauge.messages.ProtoItem protoItem = 1;
    • mergeProtoItem

      public Spec.ProtoScenarioResult.Builder mergeProtoItem(Spec.ProtoItem value)
       / Collection of scenarios in scenario execution result.
       
      .gauge.messages.ProtoItem protoItem = 1;
    • clearProtoItem

      public Spec.ProtoScenarioResult.Builder clearProtoItem()
       / Collection of scenarios in scenario execution result.
       
      .gauge.messages.ProtoItem protoItem = 1;
    • getProtoItemBuilder

      public Spec.ProtoItem.Builder getProtoItemBuilder()
       / Collection of scenarios in scenario execution result.
       
      .gauge.messages.ProtoItem protoItem = 1;
    • getProtoItemOrBuilder

      public Spec.ProtoItemOrBuilder getProtoItemOrBuilder()
       / Collection of scenarios in scenario execution result.
       
      .gauge.messages.ProtoItem protoItem = 1;
      Specified by:
      getProtoItemOrBuilder in interface Spec.ProtoScenarioResultOrBuilder
    • getExecutionTime

      public long getExecutionTime()
       / Holds the time taken for executing the whole suite.
       
      int64 executionTime = 2;
      Specified by:
      getExecutionTime in interface Spec.ProtoScenarioResultOrBuilder
      Returns:
      The executionTime.
    • setExecutionTime

      public Spec.ProtoScenarioResult.Builder setExecutionTime(long value)
       / Holds the time taken for executing the whole suite.
       
      int64 executionTime = 2;
      Parameters:
      value - The executionTime to set.
      Returns:
      This builder for chaining.
    • clearExecutionTime

      public Spec.ProtoScenarioResult.Builder clearExecutionTime()
       / Holds the time taken for executing the whole suite.
       
      int64 executionTime = 2;
      Returns:
      This builder for chaining.
    • getTimestamp

      public String getTimestamp()
       / Holds the timestamp of event starting.
       
      string timestamp = 3;
      Specified by:
      getTimestamp in interface Spec.ProtoScenarioResultOrBuilder
      Returns:
      The timestamp.
    • getTimestampBytes

      public com.google.protobuf.ByteString getTimestampBytes()
       / Holds the timestamp of event starting.
       
      string timestamp = 3;
      Specified by:
      getTimestampBytes in interface Spec.ProtoScenarioResultOrBuilder
      Returns:
      The bytes for timestamp.
    • setTimestamp

      public Spec.ProtoScenarioResult.Builder setTimestamp(String value)
       / Holds the timestamp of event starting.
       
      string timestamp = 3;
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      public Spec.ProtoScenarioResult.Builder clearTimestamp()
       / Holds the timestamp of event starting.
       
      string timestamp = 3;
      Returns:
      This builder for chaining.
    • setTimestampBytes

      public Spec.ProtoScenarioResult.Builder setTimestampBytes(com.google.protobuf.ByteString value)
       / Holds the timestamp of event starting.
       
      string timestamp = 3;
      Parameters:
      value - The bytes for timestamp to set.
      Returns:
      This builder for chaining.