All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gauge.messages.Spec Maven / Gradle / Ivy

There is a newer version: 0.11.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: spec.proto
// Protobuf Java Version: 4.27.1

package gauge.messages;

public final class Spec {
  private Spec() {}
  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
      com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
      /* major= */ 4,
      /* minor= */ 27,
      /* patch= */ 1,
      /* suffix= */ "",
      Spec.class.getName());
  }
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * 
   * / Execution Status
   * 
* * Protobuf enum {@code gauge.messages.ExecutionStatus} */ public enum ExecutionStatus implements com.google.protobuf.ProtocolMessageEnum { /** * NOTEXECUTED = 0; */ NOTEXECUTED(0), /** * PASSED = 1; */ PASSED(1), /** * FAILED = 2; */ FAILED(2), /** * SKIPPED = 3; */ SKIPPED(3), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ExecutionStatus.class.getName()); } /** * NOTEXECUTED = 0; */ public static final int NOTEXECUTED_VALUE = 0; /** * PASSED = 1; */ public static final int PASSED_VALUE = 1; /** * FAILED = 2; */ public static final int FAILED_VALUE = 2; /** * SKIPPED = 3; */ public static final int SKIPPED_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ExecutionStatus valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ExecutionStatus forNumber(int value) { switch (value) { case 0: return NOTEXECUTED; case 1: return PASSED; case 2: return FAILED; case 3: return SKIPPED; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ExecutionStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ExecutionStatus findValueByNumber(int number) { return ExecutionStatus.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return gauge.messages.Spec.getDescriptor().getEnumTypes().get(0); } private static final ExecutionStatus[] VALUES = values(); public static ExecutionStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ExecutionStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:gauge.messages.ExecutionStatus) } public interface ProtoSpecOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoSpec) com.google.protobuf.MessageOrBuilder { /** *
     * / Heading describing the Specification
     * 
* * string specHeading = 1; * @return The specHeading. */ java.lang.String getSpecHeading(); /** *
     * / Heading describing the Specification
     * 
* * string specHeading = 1; * @return The bytes for specHeading. */ com.google.protobuf.ByteString getSpecHeadingBytes(); /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ java.util.List getItemsList(); /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ gauge.messages.Spec.ProtoItem getItems(int index); /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ int getItemsCount(); /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ java.util.List getItemsOrBuilderList(); /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ gauge.messages.Spec.ProtoItemOrBuilder getItemsOrBuilder( int index); /** *
     * / Flag indicating if this is a Table Driven Specification. The table is defined in the context, this is different from using a table parameter.
     * 
* * bool isTableDriven = 3; * @return The isTableDriven. */ boolean getIsTableDriven(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ java.util.List getPreHookFailuresList(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ gauge.messages.Spec.ProtoHookFailure getPreHookFailures(int index); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ int getPreHookFailuresCount(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ java.util.List getPreHookFailuresOrBuilderList(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailuresOrBuilder( int index); /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ java.util.List getPostHookFailuresList(); /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ gauge.messages.Spec.ProtoHookFailure getPostHookFailures(int index); /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ int getPostHookFailuresCount(); /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ java.util.List getPostHookFailuresOrBuilderList(); /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailuresOrBuilder( int index); /** *
     * / Contains the filename for that holds this specification.
     * 
* * string fileName = 6; * @return The fileName. */ java.lang.String getFileName(); /** *
     * / Contains the filename for that holds this specification.
     * 
* * string fileName = 6; * @return The bytes for fileName. */ com.google.protobuf.ByteString getFileNameBytes(); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @return A list containing the tags. */ java.util.List getTagsList(); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @return The count of tags. */ int getTagsCount(); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 8; * @return A list containing the preHookMessages. */ java.util.List getPreHookMessagesList(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 8; * @return The count of preHookMessages. */ int getPreHookMessagesCount(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 8; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ java.lang.String getPreHookMessages(int index); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 8; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ com.google.protobuf.ByteString getPreHookMessagesBytes(int index); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 9; * @return A list containing the postHookMessages. */ java.util.List getPostHookMessagesList(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 9; * @return The count of postHookMessages. */ int getPostHookMessagesCount(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 9; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ java.lang.String getPostHookMessages(int index); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 9; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ com.google.protobuf.ByteString getPostHookMessagesBytes(int index); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @return A list containing the preHookMessage. */ @java.lang.Deprecated java.util.List getPreHookMessageList(); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @return The count of preHookMessage. */ @java.lang.Deprecated int getPreHookMessageCount(); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param index The index of the element to return. * @return The preHookMessage at the given index. */ @java.lang.Deprecated java.lang.String getPreHookMessage(int index); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param index The index of the value to return. * @return The bytes of the preHookMessage at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPreHookMessageBytes(int index); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @return A list containing the postHookMessage. */ @java.lang.Deprecated java.util.List getPostHookMessageList(); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @return The count of postHookMessage. */ @java.lang.Deprecated int getPostHookMessageCount(); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param index The index of the element to return. * @return The postHookMessage at the given index. */ @java.lang.Deprecated java.lang.String getPostHookMessage(int index); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param index The index of the value to return. * @return The bytes of the postHookMessage at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPostHookMessageBytes(int index); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @return A list containing the preHookScreenshots. */ @java.lang.Deprecated java.util.List getPreHookScreenshotsList(); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @return The count of preHookScreenshots. */ @java.lang.Deprecated int getPreHookScreenshotsCount(); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPreHookScreenshots(int index); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @return A list containing the postHookScreenshots. */ @java.lang.Deprecated java.util.List getPostHookScreenshotsList(); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @return The count of postHookScreenshots. */ @java.lang.Deprecated int getPostHookScreenshotsCount(); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPostHookScreenshots(int index); /** *
     * / meta field to indicate the number of items in the list
     * / used when items are sent as individual chunk
     * 
* * int64 itemCount = 14; * @return The itemCount. */ long getItemCount(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 15; * @return A list containing the preHookScreenshotFiles. */ java.util.List getPreHookScreenshotFilesList(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 15; * @return The count of preHookScreenshotFiles. */ int getPreHookScreenshotFilesCount(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 15; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ java.lang.String getPreHookScreenshotFiles(int index); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 15; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 16; * @return A list containing the postHookScreenshotFiles. */ java.util.List getPostHookScreenshotFilesList(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 16; * @return The count of postHookScreenshotFiles. */ int getPostHookScreenshotFilesCount(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 16; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ java.lang.String getPostHookScreenshotFiles(int index); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 16; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index); } /** *
   * / A proto object representing a Specification
   * / A specification can contain Scenarios or Steps, besides Comments
   * 
* * Protobuf type {@code gauge.messages.ProtoSpec} */ public static final class ProtoSpec extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoSpec) ProtoSpecOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoSpec.class.getName()); } // Use ProtoSpec.newBuilder() to construct. private ProtoSpec(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoSpec() { specHeading_ = ""; items_ = java.util.Collections.emptyList(); preHookFailures_ = java.util.Collections.emptyList(); postHookFailures_ = java.util.Collections.emptyList(); fileName_ = ""; tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoSpec.class, gauge.messages.Spec.ProtoSpec.Builder.class); } public static final int SPECHEADING_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object specHeading_ = ""; /** *
     * / Heading describing the Specification
     * 
* * string specHeading = 1; * @return The specHeading. */ @java.lang.Override public java.lang.String getSpecHeading() { java.lang.Object ref = specHeading_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); specHeading_ = s; return s; } } /** *
     * / Heading describing the Specification
     * 
* * string specHeading = 1; * @return The bytes for specHeading. */ @java.lang.Override public com.google.protobuf.ByteString getSpecHeadingBytes() { java.lang.Object ref = specHeading_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); specHeading_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ITEMS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List items_; /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ @java.lang.Override public java.util.List getItemsList() { return items_; } /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ @java.lang.Override public java.util.List getItemsOrBuilderList() { return items_; } /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ @java.lang.Override public int getItemsCount() { return items_.size(); } /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ @java.lang.Override public gauge.messages.Spec.ProtoItem getItems(int index) { return items_.get(index); } /** *
     * / A collection of items that come under this step
     * 
* * repeated .gauge.messages.ProtoItem items = 2; */ @java.lang.Override public gauge.messages.Spec.ProtoItemOrBuilder getItemsOrBuilder( int index) { return items_.get(index); } public static final int ISTABLEDRIVEN_FIELD_NUMBER = 3; private boolean isTableDriven_ = false; /** *
     * / Flag indicating if this is a Table Driven Specification. The table is defined in the context, this is different from using a table parameter.
     * 
* * bool isTableDriven = 3; * @return The isTableDriven. */ @java.lang.Override public boolean getIsTableDriven() { return isTableDriven_; } public static final int PREHOOKFAILURES_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List preHookFailures_; /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ @java.lang.Override public java.util.List getPreHookFailuresList() { return preHookFailures_; } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ @java.lang.Override public java.util.List getPreHookFailuresOrBuilderList() { return preHookFailures_; } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ @java.lang.Override public int getPreHookFailuresCount() { return preHookFailures_.size(); } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getPreHookFailures(int index) { return preHookFailures_.get(index); } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailuresOrBuilder( int index) { return preHookFailures_.get(index); } public static final int POSTHOOKFAILURES_FIELD_NUMBER = 5; @SuppressWarnings("serial") private java.util.List postHookFailures_; /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ @java.lang.Override public java.util.List getPostHookFailuresList() { return postHookFailures_; } /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ @java.lang.Override public java.util.List getPostHookFailuresOrBuilderList() { return postHookFailures_; } /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ @java.lang.Override public int getPostHookFailuresCount() { return postHookFailures_.size(); } /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getPostHookFailures(int index) { return postHookFailures_.get(index); } /** *
     * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
     * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailuresOrBuilder( int index) { return postHookFailures_.get(index); } public static final int FILENAME_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object fileName_ = ""; /** *
     * / Contains the filename for that holds this specification.
     * 
* * string fileName = 6; * @return The fileName. */ @java.lang.Override public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } } /** *
     * / Contains the filename for that holds this specification.
     * 
* * string fileName = 6; * @return The bytes for fileName. */ @java.lang.Override public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TAGS_FIELD_NUMBER = 7; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int PREHOOKMESSAGES_FIELD_NUMBER = 8; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 8; * @return A list containing the preHookMessages. */ public com.google.protobuf.ProtocolStringList getPreHookMessagesList() { return preHookMessages_; } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 8; * @return The count of preHookMessages. */ public int getPreHookMessagesCount() { return preHookMessages_.size(); } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 8; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ public java.lang.String getPreHookMessages(int index) { return preHookMessages_.get(index); } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 8; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ public com.google.protobuf.ByteString getPreHookMessagesBytes(int index) { return preHookMessages_.getByteString(index); } public static final int POSTHOOKMESSAGES_FIELD_NUMBER = 9; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 9; * @return A list containing the postHookMessages. */ public com.google.protobuf.ProtocolStringList getPostHookMessagesList() { return postHookMessages_; } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 9; * @return The count of postHookMessages. */ public int getPostHookMessagesCount() { return postHookMessages_.size(); } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 9; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ public java.lang.String getPostHookMessages(int index) { return postHookMessages_.get(index); } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 9; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ public com.google.protobuf.ByteString getPostHookMessagesBytes(int index) { return postHookMessages_.getByteString(index); } public static final int PREHOOKMESSAGE_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @return A list containing the preHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPreHookMessageList() { return preHookMessage_; } /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @return The count of preHookMessage. */ @java.lang.Deprecated public int getPreHookMessageCount() { return preHookMessage_.size(); } /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param index The index of the element to return. * @return The preHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPreHookMessage(int index) { return preHookMessage_.get(index); } /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param index The index of the value to return. * @return The bytes of the preHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookMessageBytes(int index) { return preHookMessage_.getByteString(index); } public static final int POSTHOOKMESSAGE_FIELD_NUMBER = 11; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @return A list containing the postHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPostHookMessageList() { return postHookMessage_; } /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @return The count of postHookMessage. */ @java.lang.Deprecated public int getPostHookMessageCount() { return postHookMessage_.size(); } /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param index The index of the element to return. * @return The postHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPostHookMessage(int index) { return postHookMessage_.get(index); } /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param index The index of the value to return. * @return The bytes of the postHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookMessageBytes(int index) { return postHookMessage_.getByteString(index); } public static final int PREHOOKSCREENSHOTS_FIELD_NUMBER = 12; @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @return A list containing the preHookScreenshots. */ @java.lang.Override @java.lang.Deprecated public java.util.List getPreHookScreenshotsList() { return preHookScreenshots_; } /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @return The count of preHookScreenshots. */ @java.lang.Deprecated public int getPreHookScreenshotsCount() { return preHookScreenshots_.size(); } /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookScreenshots(int index) { return preHookScreenshots_.get(index); } public static final int POSTHOOKSCREENSHOTS_FIELD_NUMBER = 13; @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @return A list containing the postHookScreenshots. */ @java.lang.Override @java.lang.Deprecated public java.util.List getPostHookScreenshotsList() { return postHookScreenshots_; } /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @return The count of postHookScreenshots. */ @java.lang.Deprecated public int getPostHookScreenshotsCount() { return postHookScreenshots_.size(); } /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookScreenshots(int index) { return postHookScreenshots_.get(index); } public static final int ITEMCOUNT_FIELD_NUMBER = 14; private long itemCount_ = 0L; /** *
     * / meta field to indicate the number of items in the list
     * / used when items are sent as individual chunk
     * 
* * int64 itemCount = 14; * @return The itemCount. */ @java.lang.Override public long getItemCount() { return itemCount_; } public static final int PREHOOKSCREENSHOTFILES_FIELD_NUMBER = 15; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 15; * @return A list containing the preHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPreHookScreenshotFilesList() { return preHookScreenshotFiles_; } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 15; * @return The count of preHookScreenshotFiles. */ public int getPreHookScreenshotFilesCount() { return preHookScreenshotFiles_.size(); } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 15; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ public java.lang.String getPreHookScreenshotFiles(int index) { return preHookScreenshotFiles_.get(index); } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 15; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index) { return preHookScreenshotFiles_.getByteString(index); } public static final int POSTHOOKSCREENSHOTFILES_FIELD_NUMBER = 16; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 16; * @return A list containing the postHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPostHookScreenshotFilesList() { return postHookScreenshotFiles_; } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 16; * @return The count of postHookScreenshotFiles. */ public int getPostHookScreenshotFilesCount() { return postHookScreenshotFiles_.size(); } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 16; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ public java.lang.String getPostHookScreenshotFiles(int index) { return postHookScreenshotFiles_.get(index); } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 16; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index) { return postHookScreenshotFiles_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(specHeading_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, specHeading_); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(2, items_.get(i)); } if (isTableDriven_ != false) { output.writeBool(3, isTableDriven_); } for (int i = 0; i < preHookFailures_.size(); i++) { output.writeMessage(4, preHookFailures_.get(i)); } for (int i = 0; i < postHookFailures_.size(); i++) { output.writeMessage(5, postHookFailures_.get(i)); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessage.writeString(output, 6, fileName_); } for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 7, tags_.getRaw(i)); } for (int i = 0; i < preHookMessages_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 8, preHookMessages_.getRaw(i)); } for (int i = 0; i < postHookMessages_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 9, postHookMessages_.getRaw(i)); } for (int i = 0; i < preHookMessage_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 10, preHookMessage_.getRaw(i)); } for (int i = 0; i < postHookMessage_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 11, postHookMessage_.getRaw(i)); } for (int i = 0; i < preHookScreenshots_.size(); i++) { output.writeBytes(12, preHookScreenshots_.get(i)); } for (int i = 0; i < postHookScreenshots_.size(); i++) { output.writeBytes(13, postHookScreenshots_.get(i)); } if (itemCount_ != 0L) { output.writeInt64(14, itemCount_); } for (int i = 0; i < preHookScreenshotFiles_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 15, preHookScreenshotFiles_.getRaw(i)); } for (int i = 0; i < postHookScreenshotFiles_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 16, postHookScreenshotFiles_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessage.isStringEmpty(specHeading_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, specHeading_); } for (int i = 0; i < items_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, items_.get(i)); } if (isTableDriven_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isTableDriven_); } for (int i = 0; i < preHookFailures_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, preHookFailures_.get(i)); } for (int i = 0; i < postHookFailures_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, postHookFailures_.get(i)); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(6, fileName_); } { int dataSize = 0; for (int i = 0; i < tags_.size(); i++) { dataSize += computeStringSizeNoTag(tags_.getRaw(i)); } size += dataSize; size += 1 * getTagsList().size(); } { int dataSize = 0; for (int i = 0; i < preHookMessages_.size(); i++) { dataSize += computeStringSizeNoTag(preHookMessages_.getRaw(i)); } size += dataSize; size += 1 * getPreHookMessagesList().size(); } { int dataSize = 0; for (int i = 0; i < postHookMessages_.size(); i++) { dataSize += computeStringSizeNoTag(postHookMessages_.getRaw(i)); } size += dataSize; size += 1 * getPostHookMessagesList().size(); } { int dataSize = 0; for (int i = 0; i < preHookMessage_.size(); i++) { dataSize += computeStringSizeNoTag(preHookMessage_.getRaw(i)); } size += dataSize; size += 1 * getPreHookMessageList().size(); } { int dataSize = 0; for (int i = 0; i < postHookMessage_.size(); i++) { dataSize += computeStringSizeNoTag(postHookMessage_.getRaw(i)); } size += dataSize; size += 1 * getPostHookMessageList().size(); } { int dataSize = 0; for (int i = 0; i < preHookScreenshots_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(preHookScreenshots_.get(i)); } size += dataSize; size += 1 * getPreHookScreenshotsList().size(); } { int dataSize = 0; for (int i = 0; i < postHookScreenshots_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(postHookScreenshots_.get(i)); } size += dataSize; size += 1 * getPostHookScreenshotsList().size(); } if (itemCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(14, itemCount_); } { int dataSize = 0; for (int i = 0; i < preHookScreenshotFiles_.size(); i++) { dataSize += computeStringSizeNoTag(preHookScreenshotFiles_.getRaw(i)); } size += dataSize; size += 1 * getPreHookScreenshotFilesList().size(); } { int dataSize = 0; for (int i = 0; i < postHookScreenshotFiles_.size(); i++) { dataSize += computeStringSizeNoTag(postHookScreenshotFiles_.getRaw(i)); } size += dataSize; size += 2 * getPostHookScreenshotFilesList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoSpec)) { return super.equals(obj); } gauge.messages.Spec.ProtoSpec other = (gauge.messages.Spec.ProtoSpec) obj; if (!getSpecHeading() .equals(other.getSpecHeading())) return false; if (!getItemsList() .equals(other.getItemsList())) return false; if (getIsTableDriven() != other.getIsTableDriven()) return false; if (!getPreHookFailuresList() .equals(other.getPreHookFailuresList())) return false; if (!getPostHookFailuresList() .equals(other.getPostHookFailuresList())) return false; if (!getFileName() .equals(other.getFileName())) return false; if (!getTagsList() .equals(other.getTagsList())) return false; if (!getPreHookMessagesList() .equals(other.getPreHookMessagesList())) return false; if (!getPostHookMessagesList() .equals(other.getPostHookMessagesList())) return false; if (!getPreHookMessageList() .equals(other.getPreHookMessageList())) return false; if (!getPostHookMessageList() .equals(other.getPostHookMessageList())) return false; if (!getPreHookScreenshotsList() .equals(other.getPreHookScreenshotsList())) return false; if (!getPostHookScreenshotsList() .equals(other.getPostHookScreenshotsList())) return false; if (getItemCount() != other.getItemCount()) return false; if (!getPreHookScreenshotFilesList() .equals(other.getPreHookScreenshotFilesList())) return false; if (!getPostHookScreenshotFilesList() .equals(other.getPostHookScreenshotFilesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SPECHEADING_FIELD_NUMBER; hash = (53 * hash) + getSpecHeading().hashCode(); if (getItemsCount() > 0) { hash = (37 * hash) + ITEMS_FIELD_NUMBER; hash = (53 * hash) + getItemsList().hashCode(); } hash = (37 * hash) + ISTABLEDRIVEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsTableDriven()); if (getPreHookFailuresCount() > 0) { hash = (37 * hash) + PREHOOKFAILURES_FIELD_NUMBER; hash = (53 * hash) + getPreHookFailuresList().hashCode(); } if (getPostHookFailuresCount() > 0) { hash = (37 * hash) + POSTHOOKFAILURES_FIELD_NUMBER; hash = (53 * hash) + getPostHookFailuresList().hashCode(); } hash = (37 * hash) + FILENAME_FIELD_NUMBER; hash = (53 * hash) + getFileName().hashCode(); if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); } if (getPreHookMessagesCount() > 0) { hash = (37 * hash) + PREHOOKMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getPreHookMessagesList().hashCode(); } if (getPostHookMessagesCount() > 0) { hash = (37 * hash) + POSTHOOKMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getPostHookMessagesList().hashCode(); } if (getPreHookMessageCount() > 0) { hash = (37 * hash) + PREHOOKMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getPreHookMessageList().hashCode(); } if (getPostHookMessageCount() > 0) { hash = (37 * hash) + POSTHOOKMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getPostHookMessageList().hashCode(); } if (getPreHookScreenshotsCount() > 0) { hash = (37 * hash) + PREHOOKSCREENSHOTS_FIELD_NUMBER; hash = (53 * hash) + getPreHookScreenshotsList().hashCode(); } if (getPostHookScreenshotsCount() > 0) { hash = (37 * hash) + POSTHOOKSCREENSHOTS_FIELD_NUMBER; hash = (53 * hash) + getPostHookScreenshotsList().hashCode(); } hash = (37 * hash) + ITEMCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getItemCount()); if (getPreHookScreenshotFilesCount() > 0) { hash = (37 * hash) + PREHOOKSCREENSHOTFILES_FIELD_NUMBER; hash = (53 * hash) + getPreHookScreenshotFilesList().hashCode(); } if (getPostHookScreenshotFilesCount() > 0) { hash = (37 * hash) + POSTHOOKSCREENSHOTFILES_FIELD_NUMBER; hash = (53 * hash) + getPostHookScreenshotFilesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoSpec parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoSpec parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoSpec parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoSpec parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoSpec parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoSpec parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoSpec parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoSpec parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoSpec parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoSpec parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoSpec prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing a Specification
     * / A specification can contain Scenarios or Steps, besides Comments
     * 
* * Protobuf type {@code gauge.messages.ProtoSpec} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoSpec) gauge.messages.Spec.ProtoSpecOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpec_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpec_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoSpec.class, gauge.messages.Spec.ProtoSpec.Builder.class); } // Construct using gauge.messages.Spec.ProtoSpec.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; specHeading_ = ""; if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); } else { items_ = null; itemsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); isTableDriven_ = false; if (preHookFailuresBuilder_ == null) { preHookFailures_ = java.util.Collections.emptyList(); } else { preHookFailures_ = null; preHookFailuresBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (postHookFailuresBuilder_ == null) { postHookFailures_ = java.util.Collections.emptyList(); } else { postHookFailures_ = null; postHookFailuresBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); fileName_ = ""; tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); itemCount_ = 0L; preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpec_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoSpec getDefaultInstanceForType() { return gauge.messages.Spec.ProtoSpec.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoSpec build() { gauge.messages.Spec.ProtoSpec result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoSpec buildPartial() { gauge.messages.Spec.ProtoSpec result = new gauge.messages.Spec.ProtoSpec(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(gauge.messages.Spec.ProtoSpec result) { if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000002); } result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } if (preHookFailuresBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { preHookFailures_ = java.util.Collections.unmodifiableList(preHookFailures_); bitField0_ = (bitField0_ & ~0x00000008); } result.preHookFailures_ = preHookFailures_; } else { result.preHookFailures_ = preHookFailuresBuilder_.build(); } if (postHookFailuresBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { postHookFailures_ = java.util.Collections.unmodifiableList(postHookFailures_); bitField0_ = (bitField0_ & ~0x00000010); } result.postHookFailures_ = postHookFailures_; } else { result.postHookFailures_ = postHookFailuresBuilder_.build(); } } private void buildPartial0(gauge.messages.Spec.ProtoSpec result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.specHeading_ = specHeading_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.isTableDriven_ = isTableDriven_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.fileName_ = fileName_; } if (((from_bitField0_ & 0x00000040) != 0)) { tags_.makeImmutable(); result.tags_ = tags_; } if (((from_bitField0_ & 0x00000080) != 0)) { preHookMessages_.makeImmutable(); result.preHookMessages_ = preHookMessages_; } if (((from_bitField0_ & 0x00000100) != 0)) { postHookMessages_.makeImmutable(); result.postHookMessages_ = postHookMessages_; } if (((from_bitField0_ & 0x00000200) != 0)) { preHookMessage_.makeImmutable(); result.preHookMessage_ = preHookMessage_; } if (((from_bitField0_ & 0x00000400) != 0)) { postHookMessage_.makeImmutable(); result.postHookMessage_ = postHookMessage_; } if (((from_bitField0_ & 0x00000800) != 0)) { preHookScreenshots_.makeImmutable(); result.preHookScreenshots_ = preHookScreenshots_; } if (((from_bitField0_ & 0x00001000) != 0)) { postHookScreenshots_.makeImmutable(); result.postHookScreenshots_ = postHookScreenshots_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.itemCount_ = itemCount_; } if (((from_bitField0_ & 0x00004000) != 0)) { preHookScreenshotFiles_.makeImmutable(); result.preHookScreenshotFiles_ = preHookScreenshotFiles_; } if (((from_bitField0_ & 0x00008000) != 0)) { postHookScreenshotFiles_.makeImmutable(); result.postHookScreenshotFiles_ = postHookScreenshotFiles_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoSpec) { return mergeFrom((gauge.messages.Spec.ProtoSpec)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoSpec other) { if (other == gauge.messages.Spec.ProtoSpec.getDefaultInstance()) return this; if (!other.getSpecHeading().isEmpty()) { specHeading_ = other.specHeading_; bitField0_ |= 0x00000001; onChanged(); } if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000002); itemsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } if (other.getIsTableDriven() != false) { setIsTableDriven(other.getIsTableDriven()); } if (preHookFailuresBuilder_ == null) { if (!other.preHookFailures_.isEmpty()) { if (preHookFailures_.isEmpty()) { preHookFailures_ = other.preHookFailures_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensurePreHookFailuresIsMutable(); preHookFailures_.addAll(other.preHookFailures_); } onChanged(); } } else { if (!other.preHookFailures_.isEmpty()) { if (preHookFailuresBuilder_.isEmpty()) { preHookFailuresBuilder_.dispose(); preHookFailuresBuilder_ = null; preHookFailures_ = other.preHookFailures_; bitField0_ = (bitField0_ & ~0x00000008); preHookFailuresBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getPreHookFailuresFieldBuilder() : null; } else { preHookFailuresBuilder_.addAllMessages(other.preHookFailures_); } } } if (postHookFailuresBuilder_ == null) { if (!other.postHookFailures_.isEmpty()) { if (postHookFailures_.isEmpty()) { postHookFailures_ = other.postHookFailures_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensurePostHookFailuresIsMutable(); postHookFailures_.addAll(other.postHookFailures_); } onChanged(); } } else { if (!other.postHookFailures_.isEmpty()) { if (postHookFailuresBuilder_.isEmpty()) { postHookFailuresBuilder_.dispose(); postHookFailuresBuilder_ = null; postHookFailures_ = other.postHookFailures_; bitField0_ = (bitField0_ & ~0x00000010); postHookFailuresBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getPostHookFailuresFieldBuilder() : null; } else { postHookFailuresBuilder_.addAllMessages(other.postHookFailures_); } } } if (!other.getFileName().isEmpty()) { fileName_ = other.fileName_; bitField0_ |= 0x00000020; onChanged(); } if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ |= 0x00000040; } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } onChanged(); } if (!other.preHookMessages_.isEmpty()) { if (preHookMessages_.isEmpty()) { preHookMessages_ = other.preHookMessages_; bitField0_ |= 0x00000080; } else { ensurePreHookMessagesIsMutable(); preHookMessages_.addAll(other.preHookMessages_); } onChanged(); } if (!other.postHookMessages_.isEmpty()) { if (postHookMessages_.isEmpty()) { postHookMessages_ = other.postHookMessages_; bitField0_ |= 0x00000100; } else { ensurePostHookMessagesIsMutable(); postHookMessages_.addAll(other.postHookMessages_); } onChanged(); } if (!other.preHookMessage_.isEmpty()) { if (preHookMessage_.isEmpty()) { preHookMessage_ = other.preHookMessage_; bitField0_ |= 0x00000200; } else { ensurePreHookMessageIsMutable(); preHookMessage_.addAll(other.preHookMessage_); } onChanged(); } if (!other.postHookMessage_.isEmpty()) { if (postHookMessage_.isEmpty()) { postHookMessage_ = other.postHookMessage_; bitField0_ |= 0x00000400; } else { ensurePostHookMessageIsMutable(); postHookMessage_.addAll(other.postHookMessage_); } onChanged(); } if (!other.preHookScreenshots_.isEmpty()) { if (preHookScreenshots_.isEmpty()) { preHookScreenshots_ = other.preHookScreenshots_; preHookScreenshots_.makeImmutable(); bitField0_ |= 0x00000800; } else { ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.addAll(other.preHookScreenshots_); } onChanged(); } if (!other.postHookScreenshots_.isEmpty()) { if (postHookScreenshots_.isEmpty()) { postHookScreenshots_ = other.postHookScreenshots_; postHookScreenshots_.makeImmutable(); bitField0_ |= 0x00001000; } else { ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.addAll(other.postHookScreenshots_); } onChanged(); } if (other.getItemCount() != 0L) { setItemCount(other.getItemCount()); } if (!other.preHookScreenshotFiles_.isEmpty()) { if (preHookScreenshotFiles_.isEmpty()) { preHookScreenshotFiles_ = other.preHookScreenshotFiles_; bitField0_ |= 0x00004000; } else { ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.addAll(other.preHookScreenshotFiles_); } onChanged(); } if (!other.postHookScreenshotFiles_.isEmpty()) { if (postHookScreenshotFiles_.isEmpty()) { postHookScreenshotFiles_ = other.postHookScreenshotFiles_; bitField0_ |= 0x00008000; } else { ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.addAll(other.postHookScreenshotFiles_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { specHeading_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { gauge.messages.Spec.ProtoItem m = input.readMessage( gauge.messages.Spec.ProtoItem.parser(), extensionRegistry); if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(m); } else { itemsBuilder_.addMessage(m); } break; } // case 18 case 24: { isTableDriven_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { gauge.messages.Spec.ProtoHookFailure m = input.readMessage( gauge.messages.Spec.ProtoHookFailure.parser(), extensionRegistry); if (preHookFailuresBuilder_ == null) { ensurePreHookFailuresIsMutable(); preHookFailures_.add(m); } else { preHookFailuresBuilder_.addMessage(m); } break; } // case 34 case 42: { gauge.messages.Spec.ProtoHookFailure m = input.readMessage( gauge.messages.Spec.ProtoHookFailure.parser(), extensionRegistry); if (postHookFailuresBuilder_ == null) { ensurePostHookFailuresIsMutable(); postHookFailures_.add(m); } else { postHookFailuresBuilder_.addMessage(m); } break; } // case 42 case 50: { fileName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000020; break; } // case 50 case 58: { java.lang.String s = input.readStringRequireUtf8(); ensureTagsIsMutable(); tags_.add(s); break; } // case 58 case 66: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookMessagesIsMutable(); preHookMessages_.add(s); break; } // case 66 case 74: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookMessagesIsMutable(); postHookMessages_.add(s); break; } // case 74 case 82: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookMessageIsMutable(); preHookMessage_.add(s); break; } // case 82 case 90: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookMessageIsMutable(); postHookMessage_.add(s); break; } // case 90 case 98: { com.google.protobuf.ByteString v = input.readBytes(); ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.add(v); break; } // case 98 case 106: { com.google.protobuf.ByteString v = input.readBytes(); ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.add(v); break; } // case 106 case 112: { itemCount_ = input.readInt64(); bitField0_ |= 0x00002000; break; } // case 112 case 122: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(s); break; } // case 122 case 130: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(s); break; } // case 130 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object specHeading_ = ""; /** *
       * / Heading describing the Specification
       * 
* * string specHeading = 1; * @return The specHeading. */ public java.lang.String getSpecHeading() { java.lang.Object ref = specHeading_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); specHeading_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Heading describing the Specification
       * 
* * string specHeading = 1; * @return The bytes for specHeading. */ public com.google.protobuf.ByteString getSpecHeadingBytes() { java.lang.Object ref = specHeading_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); specHeading_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Heading describing the Specification
       * 
* * string specHeading = 1; * @param value The specHeading to set. * @return This builder for chaining. */ public Builder setSpecHeading( java.lang.String value) { if (value == null) { throw new NullPointerException(); } specHeading_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Heading describing the Specification
       * 
* * string specHeading = 1; * @return This builder for chaining. */ public Builder clearSpecHeading() { specHeading_ = getDefaultInstance().getSpecHeading(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * / Heading describing the Specification
       * 
* * string specHeading = 1; * @param value The bytes for specHeading to set. * @return This builder for chaining. */ public Builder setSpecHeadingBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); specHeading_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.util.List items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> itemsBuilder_; /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public java.util.List getItemsList() { if (itemsBuilder_ == null) { return java.util.Collections.unmodifiableList(items_); } else { return itemsBuilder_.getMessageList(); } } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public int getItemsCount() { if (itemsBuilder_ == null) { return items_.size(); } else { return itemsBuilder_.getCount(); } } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public gauge.messages.Spec.ProtoItem getItems(int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessage(index); } } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public Builder setItems( int index, gauge.messages.Spec.ProtoItem value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.set(index, value); onChanged(); } else { itemsBuilder_.setMessage(index, value); } return this; } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public Builder setItems( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.set(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public Builder addItems(gauge.messages.Spec.ProtoItem value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(value); onChanged(); } else { itemsBuilder_.addMessage(value); } return this; } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public Builder addItems( int index, gauge.messages.Spec.ProtoItem value) { if (itemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureItemsIsMutable(); items_.add(index, value); onChanged(); } else { itemsBuilder_.addMessage(index, value); } return this; } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public Builder addItems( gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public Builder addItems( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(index, builderForValue.build()); onChanged(); } else { itemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public Builder addAllItems( java.lang.Iterable values) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, items_); onChanged(); } else { itemsBuilder_.addAllMessages(values); } return this; } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public Builder clearItems() { if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { itemsBuilder_.clear(); } return this; } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public Builder removeItems(int index) { if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.remove(index); onChanged(); } else { itemsBuilder_.remove(index); } return this; } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public gauge.messages.Spec.ProtoItem.Builder getItemsBuilder( int index) { return getItemsFieldBuilder().getBuilder(index); } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public gauge.messages.Spec.ProtoItemOrBuilder getItemsOrBuilder( int index) { if (itemsBuilder_ == null) { return items_.get(index); } else { return itemsBuilder_.getMessageOrBuilder(index); } } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public java.util.List getItemsOrBuilderList() { if (itemsBuilder_ != null) { return itemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(items_); } } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public gauge.messages.Spec.ProtoItem.Builder addItemsBuilder() { return getItemsFieldBuilder().addBuilder( gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public gauge.messages.Spec.ProtoItem.Builder addItemsBuilder( int index) { return getItemsFieldBuilder().addBuilder( index, gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / A collection of items that come under this step
       * 
* * repeated .gauge.messages.ProtoItem items = 2; */ public java.util.List getItemsBuilderList() { return getItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>( items_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); items_ = null; } return itemsBuilder_; } private boolean isTableDriven_ ; /** *
       * / Flag indicating if this is a Table Driven Specification. The table is defined in the context, this is different from using a table parameter.
       * 
* * bool isTableDriven = 3; * @return The isTableDriven. */ @java.lang.Override public boolean getIsTableDriven() { return isTableDriven_; } /** *
       * / Flag indicating if this is a Table Driven Specification. The table is defined in the context, this is different from using a table parameter.
       * 
* * bool isTableDriven = 3; * @param value The isTableDriven to set. * @return This builder for chaining. */ public Builder setIsTableDriven(boolean value) { isTableDriven_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Flag indicating if this is a Table Driven Specification. The table is defined in the context, this is different from using a table parameter.
       * 
* * bool isTableDriven = 3; * @return This builder for chaining. */ public Builder clearIsTableDriven() { bitField0_ = (bitField0_ & ~0x00000004); isTableDriven_ = false; onChanged(); return this; } private java.util.List preHookFailures_ = java.util.Collections.emptyList(); private void ensurePreHookFailuresIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { preHookFailures_ = new java.util.ArrayList(preHookFailures_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> preHookFailuresBuilder_; /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public java.util.List getPreHookFailuresList() { if (preHookFailuresBuilder_ == null) { return java.util.Collections.unmodifiableList(preHookFailures_); } else { return preHookFailuresBuilder_.getMessageList(); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public int getPreHookFailuresCount() { if (preHookFailuresBuilder_ == null) { return preHookFailures_.size(); } else { return preHookFailuresBuilder_.getCount(); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public gauge.messages.Spec.ProtoHookFailure getPreHookFailures(int index) { if (preHookFailuresBuilder_ == null) { return preHookFailures_.get(index); } else { return preHookFailuresBuilder_.getMessage(index); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public Builder setPreHookFailures( int index, gauge.messages.Spec.ProtoHookFailure value) { if (preHookFailuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePreHookFailuresIsMutable(); preHookFailures_.set(index, value); onChanged(); } else { preHookFailuresBuilder_.setMessage(index, value); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public Builder setPreHookFailures( int index, gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (preHookFailuresBuilder_ == null) { ensurePreHookFailuresIsMutable(); preHookFailures_.set(index, builderForValue.build()); onChanged(); } else { preHookFailuresBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public Builder addPreHookFailures(gauge.messages.Spec.ProtoHookFailure value) { if (preHookFailuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePreHookFailuresIsMutable(); preHookFailures_.add(value); onChanged(); } else { preHookFailuresBuilder_.addMessage(value); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public Builder addPreHookFailures( int index, gauge.messages.Spec.ProtoHookFailure value) { if (preHookFailuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePreHookFailuresIsMutable(); preHookFailures_.add(index, value); onChanged(); } else { preHookFailuresBuilder_.addMessage(index, value); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public Builder addPreHookFailures( gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (preHookFailuresBuilder_ == null) { ensurePreHookFailuresIsMutable(); preHookFailures_.add(builderForValue.build()); onChanged(); } else { preHookFailuresBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public Builder addPreHookFailures( int index, gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (preHookFailuresBuilder_ == null) { ensurePreHookFailuresIsMutable(); preHookFailures_.add(index, builderForValue.build()); onChanged(); } else { preHookFailuresBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public Builder addAllPreHookFailures( java.lang.Iterable values) { if (preHookFailuresBuilder_ == null) { ensurePreHookFailuresIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookFailures_); onChanged(); } else { preHookFailuresBuilder_.addAllMessages(values); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public Builder clearPreHookFailures() { if (preHookFailuresBuilder_ == null) { preHookFailures_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { preHookFailuresBuilder_.clear(); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public Builder removePreHookFailures(int index) { if (preHookFailuresBuilder_ == null) { ensurePreHookFailuresIsMutable(); preHookFailures_.remove(index); onChanged(); } else { preHookFailuresBuilder_.remove(index); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public gauge.messages.Spec.ProtoHookFailure.Builder getPreHookFailuresBuilder( int index) { return getPreHookFailuresFieldBuilder().getBuilder(index); } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailuresOrBuilder( int index) { if (preHookFailuresBuilder_ == null) { return preHookFailures_.get(index); } else { return preHookFailuresBuilder_.getMessageOrBuilder(index); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public java.util.List getPreHookFailuresOrBuilderList() { if (preHookFailuresBuilder_ != null) { return preHookFailuresBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(preHookFailures_); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public gauge.messages.Spec.ProtoHookFailure.Builder addPreHookFailuresBuilder() { return getPreHookFailuresFieldBuilder().addBuilder( gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()); } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public gauge.messages.Spec.ProtoHookFailure.Builder addPreHookFailuresBuilder( int index) { return getPreHookFailuresFieldBuilder().addBuilder( index, gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()); } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure preHookFailures = 4; */ public java.util.List getPreHookFailuresBuilderList() { return getPreHookFailuresFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> getPreHookFailuresFieldBuilder() { if (preHookFailuresBuilder_ == null) { preHookFailuresBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder>( preHookFailures_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); preHookFailures_ = null; } return preHookFailuresBuilder_; } private java.util.List postHookFailures_ = java.util.Collections.emptyList(); private void ensurePostHookFailuresIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { postHookFailures_ = new java.util.ArrayList(postHookFailures_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> postHookFailuresBuilder_; /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public java.util.List getPostHookFailuresList() { if (postHookFailuresBuilder_ == null) { return java.util.Collections.unmodifiableList(postHookFailures_); } else { return postHookFailuresBuilder_.getMessageList(); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public int getPostHookFailuresCount() { if (postHookFailuresBuilder_ == null) { return postHookFailures_.size(); } else { return postHookFailuresBuilder_.getCount(); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public gauge.messages.Spec.ProtoHookFailure getPostHookFailures(int index) { if (postHookFailuresBuilder_ == null) { return postHookFailures_.get(index); } else { return postHookFailuresBuilder_.getMessage(index); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public Builder setPostHookFailures( int index, gauge.messages.Spec.ProtoHookFailure value) { if (postHookFailuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePostHookFailuresIsMutable(); postHookFailures_.set(index, value); onChanged(); } else { postHookFailuresBuilder_.setMessage(index, value); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public Builder setPostHookFailures( int index, gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (postHookFailuresBuilder_ == null) { ensurePostHookFailuresIsMutable(); postHookFailures_.set(index, builderForValue.build()); onChanged(); } else { postHookFailuresBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public Builder addPostHookFailures(gauge.messages.Spec.ProtoHookFailure value) { if (postHookFailuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePostHookFailuresIsMutable(); postHookFailures_.add(value); onChanged(); } else { postHookFailuresBuilder_.addMessage(value); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public Builder addPostHookFailures( int index, gauge.messages.Spec.ProtoHookFailure value) { if (postHookFailuresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePostHookFailuresIsMutable(); postHookFailures_.add(index, value); onChanged(); } else { postHookFailuresBuilder_.addMessage(index, value); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public Builder addPostHookFailures( gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (postHookFailuresBuilder_ == null) { ensurePostHookFailuresIsMutable(); postHookFailures_.add(builderForValue.build()); onChanged(); } else { postHookFailuresBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public Builder addPostHookFailures( int index, gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (postHookFailuresBuilder_ == null) { ensurePostHookFailuresIsMutable(); postHookFailures_.add(index, builderForValue.build()); onChanged(); } else { postHookFailuresBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public Builder addAllPostHookFailures( java.lang.Iterable values) { if (postHookFailuresBuilder_ == null) { ensurePostHookFailuresIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookFailures_); onChanged(); } else { postHookFailuresBuilder_.addAllMessages(values); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public Builder clearPostHookFailures() { if (postHookFailuresBuilder_ == null) { postHookFailures_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { postHookFailuresBuilder_.clear(); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public Builder removePostHookFailures(int index) { if (postHookFailuresBuilder_ == null) { ensurePostHookFailuresIsMutable(); postHookFailures_.remove(index); onChanged(); } else { postHookFailuresBuilder_.remove(index); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public gauge.messages.Spec.ProtoHookFailure.Builder getPostHookFailuresBuilder( int index) { return getPostHookFailuresFieldBuilder().getBuilder(index); } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailuresOrBuilder( int index) { if (postHookFailuresBuilder_ == null) { return postHookFailures_.get(index); } else { return postHookFailuresBuilder_.getMessageOrBuilder(index); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public java.util.List getPostHookFailuresOrBuilderList() { if (postHookFailuresBuilder_ != null) { return postHookFailuresBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(postHookFailures_); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public gauge.messages.Spec.ProtoHookFailure.Builder addPostHookFailuresBuilder() { return getPostHookFailuresFieldBuilder().addBuilder( gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()); } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public gauge.messages.Spec.ProtoHookFailure.Builder addPostHookFailuresBuilder( int index) { return getPostHookFailuresFieldBuilder().addBuilder( index, gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()); } /** *
       * / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error.
       * 
* * repeated .gauge.messages.ProtoHookFailure postHookFailures = 5; */ public java.util.List getPostHookFailuresBuilderList() { return getPostHookFailuresFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> getPostHookFailuresFieldBuilder() { if (postHookFailuresBuilder_ == null) { postHookFailuresBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder>( postHookFailures_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); postHookFailures_ = null; } return postHookFailuresBuilder_; } private java.lang.Object fileName_ = ""; /** *
       * / Contains the filename for that holds this specification.
       * 
* * string fileName = 6; * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Contains the filename for that holds this specification.
       * 
* * string fileName = 6; * @return The bytes for fileName. */ public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Contains the filename for that holds this specification.
       * 
* * string fileName = 6; * @param value The fileName to set. * @return This builder for chaining. */ public Builder setFileName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Contains the filename for that holds this specification.
       * 
* * string fileName = 6; * @return This builder for chaining. */ public Builder clearFileName() { fileName_ = getDefaultInstance().getFileName(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** *
       * / Contains the filename for that holds this specification.
       * 
* * string fileName = 6; * @param value The bytes for fileName to set. * @return This builder for chaining. */ public Builder setFileNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureTagsIsMutable() { if (!tags_.isModifiable()) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); } bitField0_ |= 0x00000040; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { tags_.makeImmutable(); return tags_; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ public Builder setTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.set(index, value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param value The tags to add. * @return This builder for chaining. */ public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param values The tags to add. * @return This builder for chaining. */ public Builder addAllTags( java.lang.Iterable values) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @return This builder for chaining. */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000040);; onChanged(); return this; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param value The bytes of the tags to add. * @return This builder for chaining. */ public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookMessagesIsMutable() { if (!preHookMessages_.isModifiable()) { preHookMessages_ = new com.google.protobuf.LazyStringArrayList(preHookMessages_); } bitField0_ |= 0x00000080; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 8; * @return A list containing the preHookMessages. */ public com.google.protobuf.ProtocolStringList getPreHookMessagesList() { preHookMessages_.makeImmutable(); return preHookMessages_; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 8; * @return The count of preHookMessages. */ public int getPreHookMessagesCount() { return preHookMessages_.size(); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 8; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ public java.lang.String getPreHookMessages(int index) { return preHookMessages_.get(index); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 8; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ public com.google.protobuf.ByteString getPreHookMessagesBytes(int index) { return preHookMessages_.getByteString(index); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 8; * @param index The index to set the value at. * @param value The preHookMessages to set. * @return This builder for chaining. */ public Builder setPreHookMessages( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessagesIsMutable(); preHookMessages_.set(index, value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 8; * @param value The preHookMessages to add. * @return This builder for chaining. */ public Builder addPreHookMessages( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessagesIsMutable(); preHookMessages_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 8; * @param values The preHookMessages to add. * @return This builder for chaining. */ public Builder addAllPreHookMessages( java.lang.Iterable values) { ensurePreHookMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookMessages_); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 8; * @return This builder for chaining. */ public Builder clearPreHookMessages() { preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000080);; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 8; * @param value The bytes of the preHookMessages to add. * @return This builder for chaining. */ public Builder addPreHookMessagesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookMessagesIsMutable(); preHookMessages_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookMessagesIsMutable() { if (!postHookMessages_.isModifiable()) { postHookMessages_ = new com.google.protobuf.LazyStringArrayList(postHookMessages_); } bitField0_ |= 0x00000100; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 9; * @return A list containing the postHookMessages. */ public com.google.protobuf.ProtocolStringList getPostHookMessagesList() { postHookMessages_.makeImmutable(); return postHookMessages_; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 9; * @return The count of postHookMessages. */ public int getPostHookMessagesCount() { return postHookMessages_.size(); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 9; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ public java.lang.String getPostHookMessages(int index) { return postHookMessages_.get(index); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 9; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ public com.google.protobuf.ByteString getPostHookMessagesBytes(int index) { return postHookMessages_.getByteString(index); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 9; * @param index The index to set the value at. * @param value The postHookMessages to set. * @return This builder for chaining. */ public Builder setPostHookMessages( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessagesIsMutable(); postHookMessages_.set(index, value); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 9; * @param value The postHookMessages to add. * @return This builder for chaining. */ public Builder addPostHookMessages( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessagesIsMutable(); postHookMessages_.add(value); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 9; * @param values The postHookMessages to add. * @return This builder for chaining. */ public Builder addAllPostHookMessages( java.lang.Iterable values) { ensurePostHookMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookMessages_); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 9; * @return This builder for chaining. */ public Builder clearPostHookMessages() { postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000100);; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 9; * @param value The bytes of the postHookMessages to add. * @return This builder for chaining. */ public Builder addPostHookMessagesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookMessagesIsMutable(); postHookMessages_.add(value); bitField0_ |= 0x00000100; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookMessageIsMutable() { if (!preHookMessage_.isModifiable()) { preHookMessage_ = new com.google.protobuf.LazyStringArrayList(preHookMessage_); } bitField0_ |= 0x00000200; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @return A list containing the preHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPreHookMessageList() { preHookMessage_.makeImmutable(); return preHookMessage_; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @return The count of preHookMessage. */ @java.lang.Deprecated public int getPreHookMessageCount() { return preHookMessage_.size(); } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param index The index of the element to return. * @return The preHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPreHookMessage(int index) { return preHookMessage_.get(index); } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param index The index of the value to return. * @return The bytes of the preHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookMessageBytes(int index) { return preHookMessage_.getByteString(index); } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param index The index to set the value at. * @param value The preHookMessage to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPreHookMessage( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessageIsMutable(); preHookMessage_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param value The preHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessageIsMutable(); preHookMessage_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param values The preHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPreHookMessage( java.lang.Iterable values) { ensurePreHookMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookMessage_); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPreHookMessage() { preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookMessage is deprecated. * See spec.proto;l=37 * @param value The bytes of the preHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookMessageIsMutable(); preHookMessage_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookMessageIsMutable() { if (!postHookMessage_.isModifiable()) { postHookMessage_ = new com.google.protobuf.LazyStringArrayList(postHookMessage_); } bitField0_ |= 0x00000400; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @return A list containing the postHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPostHookMessageList() { postHookMessage_.makeImmutable(); return postHookMessage_; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @return The count of postHookMessage. */ @java.lang.Deprecated public int getPostHookMessageCount() { return postHookMessage_.size(); } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param index The index of the element to return. * @return The postHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPostHookMessage(int index) { return postHookMessage_.get(index); } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param index The index of the value to return. * @return The bytes of the postHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookMessageBytes(int index) { return postHookMessage_.getByteString(index); } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param index The index to set the value at. * @param value The postHookMessage to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPostHookMessage( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessageIsMutable(); postHookMessage_.set(index, value); bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param value The postHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessageIsMutable(); postHookMessage_.add(value); bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param values The postHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPostHookMessage( java.lang.Iterable values) { ensurePostHookMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookMessage_); bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPostHookMessage() { postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000400);; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 11 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookMessage is deprecated. * See spec.proto;l=39 * @param value The bytes of the postHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookMessageIsMutable(); postHookMessage_.add(value); bitField0_ |= 0x00000400; onChanged(); return this; } private com.google.protobuf.Internal.ProtobufList preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); private void ensurePreHookScreenshotsIsMutable() { if (!preHookScreenshots_.isModifiable()) { preHookScreenshots_ = makeMutableCopy(preHookScreenshots_); } bitField0_ |= 0x00000800; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @return A list containing the preHookScreenshots. */ @java.lang.Deprecated public java.util.List getPreHookScreenshotsList() { preHookScreenshots_.makeImmutable(); return preHookScreenshots_; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @return The count of preHookScreenshots. */ @java.lang.Deprecated public int getPreHookScreenshotsCount() { return preHookScreenshots_.size(); } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookScreenshots(int index) { return preHookScreenshots_.get(index); } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @param index The index to set the value at. * @param value The preHookScreenshots to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPreHookScreenshots( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.set(index, value); bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @param value The preHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookScreenshots(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.add(value); bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @param values The preHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPreHookScreenshots( java.lang.Iterable values) { ensurePreHookScreenshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookScreenshots_); bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 12 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.preHookScreenshots is deprecated. * See spec.proto;l=41 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPreHookScreenshots() { preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } private com.google.protobuf.Internal.ProtobufList postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); private void ensurePostHookScreenshotsIsMutable() { if (!postHookScreenshots_.isModifiable()) { postHookScreenshots_ = makeMutableCopy(postHookScreenshots_); } bitField0_ |= 0x00001000; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @return A list containing the postHookScreenshots. */ @java.lang.Deprecated public java.util.List getPostHookScreenshotsList() { postHookScreenshots_.makeImmutable(); return postHookScreenshots_; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @return The count of postHookScreenshots. */ @java.lang.Deprecated public int getPostHookScreenshotsCount() { return postHookScreenshots_.size(); } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookScreenshots(int index) { return postHookScreenshots_.get(index); } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @param index The index to set the value at. * @param value The postHookScreenshots to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPostHookScreenshots( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.set(index, value); bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @param value The postHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookScreenshots(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.add(value); bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @param values The postHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPostHookScreenshots( java.lang.Iterable values) { ensurePostHookScreenshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookScreenshots_); bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 13 [deprecated = true]; * @deprecated gauge.messages.ProtoSpec.postHookScreenshots is deprecated. * See spec.proto;l=43 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPostHookScreenshots() { postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } private long itemCount_ ; /** *
       * / meta field to indicate the number of items in the list
       * / used when items are sent as individual chunk
       * 
* * int64 itemCount = 14; * @return The itemCount. */ @java.lang.Override public long getItemCount() { return itemCount_; } /** *
       * / meta field to indicate the number of items in the list
       * / used when items are sent as individual chunk
       * 
* * int64 itemCount = 14; * @param value The itemCount to set. * @return This builder for chaining. */ public Builder setItemCount(long value) { itemCount_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** *
       * / meta field to indicate the number of items in the list
       * / used when items are sent as individual chunk
       * 
* * int64 itemCount = 14; * @return This builder for chaining. */ public Builder clearItemCount() { bitField0_ = (bitField0_ & ~0x00002000); itemCount_ = 0L; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookScreenshotFilesIsMutable() { if (!preHookScreenshotFiles_.isModifiable()) { preHookScreenshotFiles_ = new com.google.protobuf.LazyStringArrayList(preHookScreenshotFiles_); } bitField0_ |= 0x00004000; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 15; * @return A list containing the preHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPreHookScreenshotFilesList() { preHookScreenshotFiles_.makeImmutable(); return preHookScreenshotFiles_; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 15; * @return The count of preHookScreenshotFiles. */ public int getPreHookScreenshotFilesCount() { return preHookScreenshotFiles_.size(); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 15; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ public java.lang.String getPreHookScreenshotFiles(int index) { return preHookScreenshotFiles_.get(index); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 15; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index) { return preHookScreenshotFiles_.getByteString(index); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 15; * @param index The index to set the value at. * @param value The preHookScreenshotFiles to set. * @return This builder for chaining. */ public Builder setPreHookScreenshotFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.set(index, value); bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 15; * @param value The preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPreHookScreenshotFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(value); bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 15; * @param values The preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addAllPreHookScreenshotFiles( java.lang.Iterable values) { ensurePreHookScreenshotFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookScreenshotFiles_); bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 15; * @return This builder for chaining. */ public Builder clearPreHookScreenshotFiles() { preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00004000);; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 15; * @param value The bytes of the preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPreHookScreenshotFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(value); bitField0_ |= 0x00004000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookScreenshotFilesIsMutable() { if (!postHookScreenshotFiles_.isModifiable()) { postHookScreenshotFiles_ = new com.google.protobuf.LazyStringArrayList(postHookScreenshotFiles_); } bitField0_ |= 0x00008000; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 16; * @return A list containing the postHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPostHookScreenshotFilesList() { postHookScreenshotFiles_.makeImmutable(); return postHookScreenshotFiles_; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 16; * @return The count of postHookScreenshotFiles. */ public int getPostHookScreenshotFilesCount() { return postHookScreenshotFiles_.size(); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 16; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ public java.lang.String getPostHookScreenshotFiles(int index) { return postHookScreenshotFiles_.get(index); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 16; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index) { return postHookScreenshotFiles_.getByteString(index); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 16; * @param index The index to set the value at. * @param value The postHookScreenshotFiles to set. * @return This builder for chaining. */ public Builder setPostHookScreenshotFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.set(index, value); bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 16; * @param value The postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPostHookScreenshotFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(value); bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 16; * @param values The postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addAllPostHookScreenshotFiles( java.lang.Iterable values) { ensurePostHookScreenshotFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookScreenshotFiles_); bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 16; * @return This builder for chaining. */ public Builder clearPostHookScreenshotFiles() { postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00008000);; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 16; * @param value The bytes of the postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPostHookScreenshotFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(value); bitField0_ |= 0x00008000; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoSpec) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoSpec) private static final gauge.messages.Spec.ProtoSpec DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoSpec(); } public static gauge.messages.Spec.ProtoSpec getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoSpec parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoSpec getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoItemOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoItem) com.google.protobuf.MessageOrBuilder { /** *
     * / Itemtype of the current ProtoItem
     * 
* * .gauge.messages.ProtoItem.ItemType itemType = 1; * @return The enum numeric value on the wire for itemType. */ int getItemTypeValue(); /** *
     * / Itemtype of the current ProtoItem
     * 
* * .gauge.messages.ProtoItem.ItemType itemType = 1; * @return The itemType. */ gauge.messages.Spec.ProtoItem.ItemType getItemType(); /** *
     * / Holds the Step definition. Valid only if ItemType = Step
     * 
* * .gauge.messages.ProtoStep step = 2; * @return Whether the step field is set. */ boolean hasStep(); /** *
     * / Holds the Step definition. Valid only if ItemType = Step
     * 
* * .gauge.messages.ProtoStep step = 2; * @return The step. */ gauge.messages.Spec.ProtoStep getStep(); /** *
     * / Holds the Step definition. Valid only if ItemType = Step
     * 
* * .gauge.messages.ProtoStep step = 2; */ gauge.messages.Spec.ProtoStepOrBuilder getStepOrBuilder(); /** *
     * / Holds the Concept definition. Valid only if ItemType = Concept
     * 
* * .gauge.messages.ProtoConcept concept = 3; * @return Whether the concept field is set. */ boolean hasConcept(); /** *
     * / Holds the Concept definition. Valid only if ItemType = Concept
     * 
* * .gauge.messages.ProtoConcept concept = 3; * @return The concept. */ gauge.messages.Spec.ProtoConcept getConcept(); /** *
     * / Holds the Concept definition. Valid only if ItemType = Concept
     * 
* * .gauge.messages.ProtoConcept concept = 3; */ gauge.messages.Spec.ProtoConceptOrBuilder getConceptOrBuilder(); /** *
     * / Holds the Scenario definition. Valid only if ItemType = Scenario
     * 
* * .gauge.messages.ProtoScenario scenario = 4; * @return Whether the scenario field is set. */ boolean hasScenario(); /** *
     * / Holds the Scenario definition. Valid only if ItemType = Scenario
     * 
* * .gauge.messages.ProtoScenario scenario = 4; * @return The scenario. */ gauge.messages.Spec.ProtoScenario getScenario(); /** *
     * / Holds the Scenario definition. Valid only if ItemType = Scenario
     * 
* * .gauge.messages.ProtoScenario scenario = 4; */ gauge.messages.Spec.ProtoScenarioOrBuilder getScenarioOrBuilder(); /** *
     * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
     * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; * @return Whether the tableDrivenScenario field is set. */ boolean hasTableDrivenScenario(); /** *
     * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
     * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; * @return The tableDrivenScenario. */ gauge.messages.Spec.ProtoTableDrivenScenario getTableDrivenScenario(); /** *
     * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
     * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; */ gauge.messages.Spec.ProtoTableDrivenScenarioOrBuilder getTableDrivenScenarioOrBuilder(); /** *
     * / Holds the Comment definition. Valid only if ItemType = Comment
     * 
* * .gauge.messages.ProtoComment comment = 6; * @return Whether the comment field is set. */ boolean hasComment(); /** *
     * / Holds the Comment definition. Valid only if ItemType = Comment
     * 
* * .gauge.messages.ProtoComment comment = 6; * @return The comment. */ gauge.messages.Spec.ProtoComment getComment(); /** *
     * / Holds the Comment definition. Valid only if ItemType = Comment
     * 
* * .gauge.messages.ProtoComment comment = 6; */ gauge.messages.Spec.ProtoCommentOrBuilder getCommentOrBuilder(); /** *
     * / Holds the Table definition. Valid only if ItemType = Table
     * 
* * .gauge.messages.ProtoTable table = 7; * @return Whether the table field is set. */ boolean hasTable(); /** *
     * / Holds the Table definition. Valid only if ItemType = Table
     * 
* * .gauge.messages.ProtoTable table = 7; * @return The table. */ gauge.messages.Spec.ProtoTable getTable(); /** *
     * / Holds the Table definition. Valid only if ItemType = Table
     * 
* * .gauge.messages.ProtoTable table = 7; */ gauge.messages.Spec.ProtoTableOrBuilder getTableOrBuilder(); /** *
     * / Holds the Tags definition. Valid only if ItemType = Tags
     * 
* * .gauge.messages.ProtoTags tags = 8; * @return Whether the tags field is set. */ boolean hasTags(); /** *
     * / Holds the Tags definition. Valid only if ItemType = Tags
     * 
* * .gauge.messages.ProtoTags tags = 8; * @return The tags. */ gauge.messages.Spec.ProtoTags getTags(); /** *
     * / Holds the Tags definition. Valid only if ItemType = Tags
     * 
* * .gauge.messages.ProtoTags tags = 8; */ gauge.messages.Spec.ProtoTagsOrBuilder getTagsOrBuilder(); /** *
     * / Holds the Filename that the item belongs to
     * 
* * string fileName = 9; * @return The fileName. */ java.lang.String getFileName(); /** *
     * / Holds the Filename that the item belongs to
     * 
* * string fileName = 9; * @return The bytes for fileName. */ com.google.protobuf.ByteString getFileNameBytes(); } /** *
   * / Container for all valid Items under a Specification.
   * 
* * Protobuf type {@code gauge.messages.ProtoItem} */ public static final class ProtoItem extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoItem) ProtoItemOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoItem.class.getName()); } // Use ProtoItem.newBuilder() to construct. private ProtoItem(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoItem() { itemType_ = 0; fileName_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoItem_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoItem.class, gauge.messages.Spec.ProtoItem.Builder.class); } /** *
     * / Enumerates various item types that the proto item can contain. Valid types are: Step, Comment, Concept, Scenario, TableDrivenScenario, Table, Tags
     * 
* * Protobuf enum {@code gauge.messages.ProtoItem.ItemType} */ public enum ItemType implements com.google.protobuf.ProtocolMessageEnum { /** *
       * Item is a Step
       * 
* * Step = 0; */ Step(0), /** *
       * Item is a Comment
       * 
* * Comment = 1; */ Comment(1), /** *
       * Item is a Concept
       * 
* * Concept = 2; */ Concept(2), /** *
       * Item is a Scenario
       * 
* * Scenario = 3; */ Scenario(3), /** *
       * Item is a TableDrivenScenario, a special case of Scenario, where there is a Context Step defining a table.
       * 
* * TableDrivenScenario = 4; */ TableDrivenScenario(4), /** *
       * Item is a Table
       * 
* * Table = 5; */ Table(5), /** *
       * Item is a Tag
       * 
* * Tags = 6; */ Tags(6), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ItemType.class.getName()); } /** *
       * Item is a Step
       * 
* * Step = 0; */ public static final int Step_VALUE = 0; /** *
       * Item is a Comment
       * 
* * Comment = 1; */ public static final int Comment_VALUE = 1; /** *
       * Item is a Concept
       * 
* * Concept = 2; */ public static final int Concept_VALUE = 2; /** *
       * Item is a Scenario
       * 
* * Scenario = 3; */ public static final int Scenario_VALUE = 3; /** *
       * Item is a TableDrivenScenario, a special case of Scenario, where there is a Context Step defining a table.
       * 
* * TableDrivenScenario = 4; */ public static final int TableDrivenScenario_VALUE = 4; /** *
       * Item is a Table
       * 
* * Table = 5; */ public static final int Table_VALUE = 5; /** *
       * Item is a Tag
       * 
* * Tags = 6; */ public static final int Tags_VALUE = 6; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ItemType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ItemType forNumber(int value) { switch (value) { case 0: return Step; case 1: return Comment; case 2: return Concept; case 3: return Scenario; case 4: return TableDrivenScenario; case 5: return Table; case 6: return Tags; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ItemType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ItemType findValueByNumber(int number) { return ItemType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return gauge.messages.Spec.ProtoItem.getDescriptor().getEnumTypes().get(0); } private static final ItemType[] VALUES = values(); public static ItemType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ItemType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:gauge.messages.ProtoItem.ItemType) } private int bitField0_; public static final int ITEMTYPE_FIELD_NUMBER = 1; private int itemType_ = 0; /** *
     * / Itemtype of the current ProtoItem
     * 
* * .gauge.messages.ProtoItem.ItemType itemType = 1; * @return The enum numeric value on the wire for itemType. */ @java.lang.Override public int getItemTypeValue() { return itemType_; } /** *
     * / Itemtype of the current ProtoItem
     * 
* * .gauge.messages.ProtoItem.ItemType itemType = 1; * @return The itemType. */ @java.lang.Override public gauge.messages.Spec.ProtoItem.ItemType getItemType() { gauge.messages.Spec.ProtoItem.ItemType result = gauge.messages.Spec.ProtoItem.ItemType.forNumber(itemType_); return result == null ? gauge.messages.Spec.ProtoItem.ItemType.UNRECOGNIZED : result; } public static final int STEP_FIELD_NUMBER = 2; private gauge.messages.Spec.ProtoStep step_; /** *
     * / Holds the Step definition. Valid only if ItemType = Step
     * 
* * .gauge.messages.ProtoStep step = 2; * @return Whether the step field is set. */ @java.lang.Override public boolean hasStep() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Holds the Step definition. Valid only if ItemType = Step
     * 
* * .gauge.messages.ProtoStep step = 2; * @return The step. */ @java.lang.Override public gauge.messages.Spec.ProtoStep getStep() { return step_ == null ? gauge.messages.Spec.ProtoStep.getDefaultInstance() : step_; } /** *
     * / Holds the Step definition. Valid only if ItemType = Step
     * 
* * .gauge.messages.ProtoStep step = 2; */ @java.lang.Override public gauge.messages.Spec.ProtoStepOrBuilder getStepOrBuilder() { return step_ == null ? gauge.messages.Spec.ProtoStep.getDefaultInstance() : step_; } public static final int CONCEPT_FIELD_NUMBER = 3; private gauge.messages.Spec.ProtoConcept concept_; /** *
     * / Holds the Concept definition. Valid only if ItemType = Concept
     * 
* * .gauge.messages.ProtoConcept concept = 3; * @return Whether the concept field is set. */ @java.lang.Override public boolean hasConcept() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * / Holds the Concept definition. Valid only if ItemType = Concept
     * 
* * .gauge.messages.ProtoConcept concept = 3; * @return The concept. */ @java.lang.Override public gauge.messages.Spec.ProtoConcept getConcept() { return concept_ == null ? gauge.messages.Spec.ProtoConcept.getDefaultInstance() : concept_; } /** *
     * / Holds the Concept definition. Valid only if ItemType = Concept
     * 
* * .gauge.messages.ProtoConcept concept = 3; */ @java.lang.Override public gauge.messages.Spec.ProtoConceptOrBuilder getConceptOrBuilder() { return concept_ == null ? gauge.messages.Spec.ProtoConcept.getDefaultInstance() : concept_; } public static final int SCENARIO_FIELD_NUMBER = 4; private gauge.messages.Spec.ProtoScenario scenario_; /** *
     * / Holds the Scenario definition. Valid only if ItemType = Scenario
     * 
* * .gauge.messages.ProtoScenario scenario = 4; * @return Whether the scenario field is set. */ @java.lang.Override public boolean hasScenario() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * / Holds the Scenario definition. Valid only if ItemType = Scenario
     * 
* * .gauge.messages.ProtoScenario scenario = 4; * @return The scenario. */ @java.lang.Override public gauge.messages.Spec.ProtoScenario getScenario() { return scenario_ == null ? gauge.messages.Spec.ProtoScenario.getDefaultInstance() : scenario_; } /** *
     * / Holds the Scenario definition. Valid only if ItemType = Scenario
     * 
* * .gauge.messages.ProtoScenario scenario = 4; */ @java.lang.Override public gauge.messages.Spec.ProtoScenarioOrBuilder getScenarioOrBuilder() { return scenario_ == null ? gauge.messages.Spec.ProtoScenario.getDefaultInstance() : scenario_; } public static final int TABLEDRIVENSCENARIO_FIELD_NUMBER = 5; private gauge.messages.Spec.ProtoTableDrivenScenario tableDrivenScenario_; /** *
     * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
     * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; * @return Whether the tableDrivenScenario field is set. */ @java.lang.Override public boolean hasTableDrivenScenario() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
     * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; * @return The tableDrivenScenario. */ @java.lang.Override public gauge.messages.Spec.ProtoTableDrivenScenario getTableDrivenScenario() { return tableDrivenScenario_ == null ? gauge.messages.Spec.ProtoTableDrivenScenario.getDefaultInstance() : tableDrivenScenario_; } /** *
     * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
     * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; */ @java.lang.Override public gauge.messages.Spec.ProtoTableDrivenScenarioOrBuilder getTableDrivenScenarioOrBuilder() { return tableDrivenScenario_ == null ? gauge.messages.Spec.ProtoTableDrivenScenario.getDefaultInstance() : tableDrivenScenario_; } public static final int COMMENT_FIELD_NUMBER = 6; private gauge.messages.Spec.ProtoComment comment_; /** *
     * / Holds the Comment definition. Valid only if ItemType = Comment
     * 
* * .gauge.messages.ProtoComment comment = 6; * @return Whether the comment field is set. */ @java.lang.Override public boolean hasComment() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * / Holds the Comment definition. Valid only if ItemType = Comment
     * 
* * .gauge.messages.ProtoComment comment = 6; * @return The comment. */ @java.lang.Override public gauge.messages.Spec.ProtoComment getComment() { return comment_ == null ? gauge.messages.Spec.ProtoComment.getDefaultInstance() : comment_; } /** *
     * / Holds the Comment definition. Valid only if ItemType = Comment
     * 
* * .gauge.messages.ProtoComment comment = 6; */ @java.lang.Override public gauge.messages.Spec.ProtoCommentOrBuilder getCommentOrBuilder() { return comment_ == null ? gauge.messages.Spec.ProtoComment.getDefaultInstance() : comment_; } public static final int TABLE_FIELD_NUMBER = 7; private gauge.messages.Spec.ProtoTable table_; /** *
     * / Holds the Table definition. Valid only if ItemType = Table
     * 
* * .gauge.messages.ProtoTable table = 7; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * / Holds the Table definition. Valid only if ItemType = Table
     * 
* * .gauge.messages.ProtoTable table = 7; * @return The table. */ @java.lang.Override public gauge.messages.Spec.ProtoTable getTable() { return table_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : table_; } /** *
     * / Holds the Table definition. Valid only if ItemType = Table
     * 
* * .gauge.messages.ProtoTable table = 7; */ @java.lang.Override public gauge.messages.Spec.ProtoTableOrBuilder getTableOrBuilder() { return table_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : table_; } public static final int TAGS_FIELD_NUMBER = 8; private gauge.messages.Spec.ProtoTags tags_; /** *
     * / Holds the Tags definition. Valid only if ItemType = Tags
     * 
* * .gauge.messages.ProtoTags tags = 8; * @return Whether the tags field is set. */ @java.lang.Override public boolean hasTags() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * / Holds the Tags definition. Valid only if ItemType = Tags
     * 
* * .gauge.messages.ProtoTags tags = 8; * @return The tags. */ @java.lang.Override public gauge.messages.Spec.ProtoTags getTags() { return tags_ == null ? gauge.messages.Spec.ProtoTags.getDefaultInstance() : tags_; } /** *
     * / Holds the Tags definition. Valid only if ItemType = Tags
     * 
* * .gauge.messages.ProtoTags tags = 8; */ @java.lang.Override public gauge.messages.Spec.ProtoTagsOrBuilder getTagsOrBuilder() { return tags_ == null ? gauge.messages.Spec.ProtoTags.getDefaultInstance() : tags_; } public static final int FILENAME_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object fileName_ = ""; /** *
     * / Holds the Filename that the item belongs to
     * 
* * string fileName = 9; * @return The fileName. */ @java.lang.Override public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } } /** *
     * / Holds the Filename that the item belongs to
     * 
* * string fileName = 9; * @return The bytes for fileName. */ @java.lang.Override public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (itemType_ != gauge.messages.Spec.ProtoItem.ItemType.Step.getNumber()) { output.writeEnum(1, itemType_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getStep()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getConcept()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getScenario()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(5, getTableDrivenScenario()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(6, getComment()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(7, getTable()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(8, getTags()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessage.writeString(output, 9, fileName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (itemType_ != gauge.messages.Spec.ProtoItem.ItemType.Step.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, itemType_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStep()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getConcept()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getScenario()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getTableDrivenScenario()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getComment()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getTable()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getTags()); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(9, fileName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoItem)) { return super.equals(obj); } gauge.messages.Spec.ProtoItem other = (gauge.messages.Spec.ProtoItem) obj; if (itemType_ != other.itemType_) return false; if (hasStep() != other.hasStep()) return false; if (hasStep()) { if (!getStep() .equals(other.getStep())) return false; } if (hasConcept() != other.hasConcept()) return false; if (hasConcept()) { if (!getConcept() .equals(other.getConcept())) return false; } if (hasScenario() != other.hasScenario()) return false; if (hasScenario()) { if (!getScenario() .equals(other.getScenario())) return false; } if (hasTableDrivenScenario() != other.hasTableDrivenScenario()) return false; if (hasTableDrivenScenario()) { if (!getTableDrivenScenario() .equals(other.getTableDrivenScenario())) return false; } if (hasComment() != other.hasComment()) return false; if (hasComment()) { if (!getComment() .equals(other.getComment())) return false; } if (hasTable() != other.hasTable()) return false; if (hasTable()) { if (!getTable() .equals(other.getTable())) return false; } if (hasTags() != other.hasTags()) return false; if (hasTags()) { if (!getTags() .equals(other.getTags())) return false; } if (!getFileName() .equals(other.getFileName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ITEMTYPE_FIELD_NUMBER; hash = (53 * hash) + itemType_; if (hasStep()) { hash = (37 * hash) + STEP_FIELD_NUMBER; hash = (53 * hash) + getStep().hashCode(); } if (hasConcept()) { hash = (37 * hash) + CONCEPT_FIELD_NUMBER; hash = (53 * hash) + getConcept().hashCode(); } if (hasScenario()) { hash = (37 * hash) + SCENARIO_FIELD_NUMBER; hash = (53 * hash) + getScenario().hashCode(); } if (hasTableDrivenScenario()) { hash = (37 * hash) + TABLEDRIVENSCENARIO_FIELD_NUMBER; hash = (53 * hash) + getTableDrivenScenario().hashCode(); } if (hasComment()) { hash = (37 * hash) + COMMENT_FIELD_NUMBER; hash = (53 * hash) + getComment().hashCode(); } if (hasTable()) { hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); } if (hasTags()) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTags().hashCode(); } hash = (37 * hash) + FILENAME_FIELD_NUMBER; hash = (53 * hash) + getFileName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoItem parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoItem parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoItem parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoItem parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoItem parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / Container for all valid Items under a Specification.
     * 
* * Protobuf type {@code gauge.messages.ProtoItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoItem) gauge.messages.Spec.ProtoItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoItem_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoItem.class, gauge.messages.Spec.ProtoItem.Builder.class); } // Construct using gauge.messages.Spec.ProtoItem.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getStepFieldBuilder(); getConceptFieldBuilder(); getScenarioFieldBuilder(); getTableDrivenScenarioFieldBuilder(); getCommentFieldBuilder(); getTableFieldBuilder(); getTagsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; itemType_ = 0; step_ = null; if (stepBuilder_ != null) { stepBuilder_.dispose(); stepBuilder_ = null; } concept_ = null; if (conceptBuilder_ != null) { conceptBuilder_.dispose(); conceptBuilder_ = null; } scenario_ = null; if (scenarioBuilder_ != null) { scenarioBuilder_.dispose(); scenarioBuilder_ = null; } tableDrivenScenario_ = null; if (tableDrivenScenarioBuilder_ != null) { tableDrivenScenarioBuilder_.dispose(); tableDrivenScenarioBuilder_ = null; } comment_ = null; if (commentBuilder_ != null) { commentBuilder_.dispose(); commentBuilder_ = null; } table_ = null; if (tableBuilder_ != null) { tableBuilder_.dispose(); tableBuilder_ = null; } tags_ = null; if (tagsBuilder_ != null) { tagsBuilder_.dispose(); tagsBuilder_ = null; } fileName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoItem_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoItem getDefaultInstanceForType() { return gauge.messages.Spec.ProtoItem.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoItem build() { gauge.messages.Spec.ProtoItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoItem buildPartial() { gauge.messages.Spec.ProtoItem result = new gauge.messages.Spec.ProtoItem(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoItem result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.itemType_ = itemType_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.step_ = stepBuilder_ == null ? step_ : stepBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.concept_ = conceptBuilder_ == null ? concept_ : conceptBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.scenario_ = scenarioBuilder_ == null ? scenario_ : scenarioBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { result.tableDrivenScenario_ = tableDrivenScenarioBuilder_ == null ? tableDrivenScenario_ : tableDrivenScenarioBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.comment_ = commentBuilder_ == null ? comment_ : commentBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000080) != 0)) { result.tags_ = tagsBuilder_ == null ? tags_ : tagsBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000100) != 0)) { result.fileName_ = fileName_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoItem) { return mergeFrom((gauge.messages.Spec.ProtoItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoItem other) { if (other == gauge.messages.Spec.ProtoItem.getDefaultInstance()) return this; if (other.itemType_ != 0) { setItemTypeValue(other.getItemTypeValue()); } if (other.hasStep()) { mergeStep(other.getStep()); } if (other.hasConcept()) { mergeConcept(other.getConcept()); } if (other.hasScenario()) { mergeScenario(other.getScenario()); } if (other.hasTableDrivenScenario()) { mergeTableDrivenScenario(other.getTableDrivenScenario()); } if (other.hasComment()) { mergeComment(other.getComment()); } if (other.hasTable()) { mergeTable(other.getTable()); } if (other.hasTags()) { mergeTags(other.getTags()); } if (!other.getFileName().isEmpty()) { fileName_ = other.fileName_; bitField0_ |= 0x00000100; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { itemType_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { input.readMessage( getStepFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getConceptFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getScenarioFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { input.readMessage( getTableDrivenScenarioFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getCommentFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { input.readMessage( getTableFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 case 66: { input.readMessage( getTagsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 66 case 74: { fileName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 74 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int itemType_ = 0; /** *
       * / Itemtype of the current ProtoItem
       * 
* * .gauge.messages.ProtoItem.ItemType itemType = 1; * @return The enum numeric value on the wire for itemType. */ @java.lang.Override public int getItemTypeValue() { return itemType_; } /** *
       * / Itemtype of the current ProtoItem
       * 
* * .gauge.messages.ProtoItem.ItemType itemType = 1; * @param value The enum numeric value on the wire for itemType to set. * @return This builder for chaining. */ public Builder setItemTypeValue(int value) { itemType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Itemtype of the current ProtoItem
       * 
* * .gauge.messages.ProtoItem.ItemType itemType = 1; * @return The itemType. */ @java.lang.Override public gauge.messages.Spec.ProtoItem.ItemType getItemType() { gauge.messages.Spec.ProtoItem.ItemType result = gauge.messages.Spec.ProtoItem.ItemType.forNumber(itemType_); return result == null ? gauge.messages.Spec.ProtoItem.ItemType.UNRECOGNIZED : result; } /** *
       * / Itemtype of the current ProtoItem
       * 
* * .gauge.messages.ProtoItem.ItemType itemType = 1; * @param value The itemType to set. * @return This builder for chaining. */ public Builder setItemType(gauge.messages.Spec.ProtoItem.ItemType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; itemType_ = value.getNumber(); onChanged(); return this; } /** *
       * / Itemtype of the current ProtoItem
       * 
* * .gauge.messages.ProtoItem.ItemType itemType = 1; * @return This builder for chaining. */ public Builder clearItemType() { bitField0_ = (bitField0_ & ~0x00000001); itemType_ = 0; onChanged(); return this; } private gauge.messages.Spec.ProtoStep step_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStep, gauge.messages.Spec.ProtoStep.Builder, gauge.messages.Spec.ProtoStepOrBuilder> stepBuilder_; /** *
       * / Holds the Step definition. Valid only if ItemType = Step
       * 
* * .gauge.messages.ProtoStep step = 2; * @return Whether the step field is set. */ public boolean hasStep() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * / Holds the Step definition. Valid only if ItemType = Step
       * 
* * .gauge.messages.ProtoStep step = 2; * @return The step. */ public gauge.messages.Spec.ProtoStep getStep() { if (stepBuilder_ == null) { return step_ == null ? gauge.messages.Spec.ProtoStep.getDefaultInstance() : step_; } else { return stepBuilder_.getMessage(); } } /** *
       * / Holds the Step definition. Valid only if ItemType = Step
       * 
* * .gauge.messages.ProtoStep step = 2; */ public Builder setStep(gauge.messages.Spec.ProtoStep value) { if (stepBuilder_ == null) { if (value == null) { throw new NullPointerException(); } step_ = value; } else { stepBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Holds the Step definition. Valid only if ItemType = Step
       * 
* * .gauge.messages.ProtoStep step = 2; */ public Builder setStep( gauge.messages.Spec.ProtoStep.Builder builderForValue) { if (stepBuilder_ == null) { step_ = builderForValue.build(); } else { stepBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Holds the Step definition. Valid only if ItemType = Step
       * 
* * .gauge.messages.ProtoStep step = 2; */ public Builder mergeStep(gauge.messages.Spec.ProtoStep value) { if (stepBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && step_ != null && step_ != gauge.messages.Spec.ProtoStep.getDefaultInstance()) { getStepBuilder().mergeFrom(value); } else { step_ = value; } } else { stepBuilder_.mergeFrom(value); } if (step_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * / Holds the Step definition. Valid only if ItemType = Step
       * 
* * .gauge.messages.ProtoStep step = 2; */ public Builder clearStep() { bitField0_ = (bitField0_ & ~0x00000002); step_ = null; if (stepBuilder_ != null) { stepBuilder_.dispose(); stepBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the Step definition. Valid only if ItemType = Step
       * 
* * .gauge.messages.ProtoStep step = 2; */ public gauge.messages.Spec.ProtoStep.Builder getStepBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStepFieldBuilder().getBuilder(); } /** *
       * / Holds the Step definition. Valid only if ItemType = Step
       * 
* * .gauge.messages.ProtoStep step = 2; */ public gauge.messages.Spec.ProtoStepOrBuilder getStepOrBuilder() { if (stepBuilder_ != null) { return stepBuilder_.getMessageOrBuilder(); } else { return step_ == null ? gauge.messages.Spec.ProtoStep.getDefaultInstance() : step_; } } /** *
       * / Holds the Step definition. Valid only if ItemType = Step
       * 
* * .gauge.messages.ProtoStep step = 2; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStep, gauge.messages.Spec.ProtoStep.Builder, gauge.messages.Spec.ProtoStepOrBuilder> getStepFieldBuilder() { if (stepBuilder_ == null) { stepBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStep, gauge.messages.Spec.ProtoStep.Builder, gauge.messages.Spec.ProtoStepOrBuilder>( getStep(), getParentForChildren(), isClean()); step_ = null; } return stepBuilder_; } private gauge.messages.Spec.ProtoConcept concept_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoConcept, gauge.messages.Spec.ProtoConcept.Builder, gauge.messages.Spec.ProtoConceptOrBuilder> conceptBuilder_; /** *
       * / Holds the Concept definition. Valid only if ItemType = Concept
       * 
* * .gauge.messages.ProtoConcept concept = 3; * @return Whether the concept field is set. */ public boolean hasConcept() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * / Holds the Concept definition. Valid only if ItemType = Concept
       * 
* * .gauge.messages.ProtoConcept concept = 3; * @return The concept. */ public gauge.messages.Spec.ProtoConcept getConcept() { if (conceptBuilder_ == null) { return concept_ == null ? gauge.messages.Spec.ProtoConcept.getDefaultInstance() : concept_; } else { return conceptBuilder_.getMessage(); } } /** *
       * / Holds the Concept definition. Valid only if ItemType = Concept
       * 
* * .gauge.messages.ProtoConcept concept = 3; */ public Builder setConcept(gauge.messages.Spec.ProtoConcept value) { if (conceptBuilder_ == null) { if (value == null) { throw new NullPointerException(); } concept_ = value; } else { conceptBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Holds the Concept definition. Valid only if ItemType = Concept
       * 
* * .gauge.messages.ProtoConcept concept = 3; */ public Builder setConcept( gauge.messages.Spec.ProtoConcept.Builder builderForValue) { if (conceptBuilder_ == null) { concept_ = builderForValue.build(); } else { conceptBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Holds the Concept definition. Valid only if ItemType = Concept
       * 
* * .gauge.messages.ProtoConcept concept = 3; */ public Builder mergeConcept(gauge.messages.Spec.ProtoConcept value) { if (conceptBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && concept_ != null && concept_ != gauge.messages.Spec.ProtoConcept.getDefaultInstance()) { getConceptBuilder().mergeFrom(value); } else { concept_ = value; } } else { conceptBuilder_.mergeFrom(value); } if (concept_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * / Holds the Concept definition. Valid only if ItemType = Concept
       * 
* * .gauge.messages.ProtoConcept concept = 3; */ public Builder clearConcept() { bitField0_ = (bitField0_ & ~0x00000004); concept_ = null; if (conceptBuilder_ != null) { conceptBuilder_.dispose(); conceptBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the Concept definition. Valid only if ItemType = Concept
       * 
* * .gauge.messages.ProtoConcept concept = 3; */ public gauge.messages.Spec.ProtoConcept.Builder getConceptBuilder() { bitField0_ |= 0x00000004; onChanged(); return getConceptFieldBuilder().getBuilder(); } /** *
       * / Holds the Concept definition. Valid only if ItemType = Concept
       * 
* * .gauge.messages.ProtoConcept concept = 3; */ public gauge.messages.Spec.ProtoConceptOrBuilder getConceptOrBuilder() { if (conceptBuilder_ != null) { return conceptBuilder_.getMessageOrBuilder(); } else { return concept_ == null ? gauge.messages.Spec.ProtoConcept.getDefaultInstance() : concept_; } } /** *
       * / Holds the Concept definition. Valid only if ItemType = Concept
       * 
* * .gauge.messages.ProtoConcept concept = 3; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoConcept, gauge.messages.Spec.ProtoConcept.Builder, gauge.messages.Spec.ProtoConceptOrBuilder> getConceptFieldBuilder() { if (conceptBuilder_ == null) { conceptBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoConcept, gauge.messages.Spec.ProtoConcept.Builder, gauge.messages.Spec.ProtoConceptOrBuilder>( getConcept(), getParentForChildren(), isClean()); concept_ = null; } return conceptBuilder_; } private gauge.messages.Spec.ProtoScenario scenario_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoScenario, gauge.messages.Spec.ProtoScenario.Builder, gauge.messages.Spec.ProtoScenarioOrBuilder> scenarioBuilder_; /** *
       * / Holds the Scenario definition. Valid only if ItemType = Scenario
       * 
* * .gauge.messages.ProtoScenario scenario = 4; * @return Whether the scenario field is set. */ public boolean hasScenario() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * / Holds the Scenario definition. Valid only if ItemType = Scenario
       * 
* * .gauge.messages.ProtoScenario scenario = 4; * @return The scenario. */ public gauge.messages.Spec.ProtoScenario getScenario() { if (scenarioBuilder_ == null) { return scenario_ == null ? gauge.messages.Spec.ProtoScenario.getDefaultInstance() : scenario_; } else { return scenarioBuilder_.getMessage(); } } /** *
       * / Holds the Scenario definition. Valid only if ItemType = Scenario
       * 
* * .gauge.messages.ProtoScenario scenario = 4; */ public Builder setScenario(gauge.messages.Spec.ProtoScenario value) { if (scenarioBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scenario_ = value; } else { scenarioBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Holds the Scenario definition. Valid only if ItemType = Scenario
       * 
* * .gauge.messages.ProtoScenario scenario = 4; */ public Builder setScenario( gauge.messages.Spec.ProtoScenario.Builder builderForValue) { if (scenarioBuilder_ == null) { scenario_ = builderForValue.build(); } else { scenarioBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Holds the Scenario definition. Valid only if ItemType = Scenario
       * 
* * .gauge.messages.ProtoScenario scenario = 4; */ public Builder mergeScenario(gauge.messages.Spec.ProtoScenario value) { if (scenarioBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && scenario_ != null && scenario_ != gauge.messages.Spec.ProtoScenario.getDefaultInstance()) { getScenarioBuilder().mergeFrom(value); } else { scenario_ = value; } } else { scenarioBuilder_.mergeFrom(value); } if (scenario_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
       * / Holds the Scenario definition. Valid only if ItemType = Scenario
       * 
* * .gauge.messages.ProtoScenario scenario = 4; */ public Builder clearScenario() { bitField0_ = (bitField0_ & ~0x00000008); scenario_ = null; if (scenarioBuilder_ != null) { scenarioBuilder_.dispose(); scenarioBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the Scenario definition. Valid only if ItemType = Scenario
       * 
* * .gauge.messages.ProtoScenario scenario = 4; */ public gauge.messages.Spec.ProtoScenario.Builder getScenarioBuilder() { bitField0_ |= 0x00000008; onChanged(); return getScenarioFieldBuilder().getBuilder(); } /** *
       * / Holds the Scenario definition. Valid only if ItemType = Scenario
       * 
* * .gauge.messages.ProtoScenario scenario = 4; */ public gauge.messages.Spec.ProtoScenarioOrBuilder getScenarioOrBuilder() { if (scenarioBuilder_ != null) { return scenarioBuilder_.getMessageOrBuilder(); } else { return scenario_ == null ? gauge.messages.Spec.ProtoScenario.getDefaultInstance() : scenario_; } } /** *
       * / Holds the Scenario definition. Valid only if ItemType = Scenario
       * 
* * .gauge.messages.ProtoScenario scenario = 4; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoScenario, gauge.messages.Spec.ProtoScenario.Builder, gauge.messages.Spec.ProtoScenarioOrBuilder> getScenarioFieldBuilder() { if (scenarioBuilder_ == null) { scenarioBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoScenario, gauge.messages.Spec.ProtoScenario.Builder, gauge.messages.Spec.ProtoScenarioOrBuilder>( getScenario(), getParentForChildren(), isClean()); scenario_ = null; } return scenarioBuilder_; } private gauge.messages.Spec.ProtoTableDrivenScenario tableDrivenScenario_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTableDrivenScenario, gauge.messages.Spec.ProtoTableDrivenScenario.Builder, gauge.messages.Spec.ProtoTableDrivenScenarioOrBuilder> tableDrivenScenarioBuilder_; /** *
       * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; * @return Whether the tableDrivenScenario field is set. */ public boolean hasTableDrivenScenario() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; * @return The tableDrivenScenario. */ public gauge.messages.Spec.ProtoTableDrivenScenario getTableDrivenScenario() { if (tableDrivenScenarioBuilder_ == null) { return tableDrivenScenario_ == null ? gauge.messages.Spec.ProtoTableDrivenScenario.getDefaultInstance() : tableDrivenScenario_; } else { return tableDrivenScenarioBuilder_.getMessage(); } } /** *
       * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; */ public Builder setTableDrivenScenario(gauge.messages.Spec.ProtoTableDrivenScenario value) { if (tableDrivenScenarioBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableDrivenScenario_ = value; } else { tableDrivenScenarioBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; */ public Builder setTableDrivenScenario( gauge.messages.Spec.ProtoTableDrivenScenario.Builder builderForValue) { if (tableDrivenScenarioBuilder_ == null) { tableDrivenScenario_ = builderForValue.build(); } else { tableDrivenScenarioBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; */ public Builder mergeTableDrivenScenario(gauge.messages.Spec.ProtoTableDrivenScenario value) { if (tableDrivenScenarioBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && tableDrivenScenario_ != null && tableDrivenScenario_ != gauge.messages.Spec.ProtoTableDrivenScenario.getDefaultInstance()) { getTableDrivenScenarioBuilder().mergeFrom(value); } else { tableDrivenScenario_ = value; } } else { tableDrivenScenarioBuilder_.mergeFrom(value); } if (tableDrivenScenario_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
       * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; */ public Builder clearTableDrivenScenario() { bitField0_ = (bitField0_ & ~0x00000010); tableDrivenScenario_ = null; if (tableDrivenScenarioBuilder_ != null) { tableDrivenScenarioBuilder_.dispose(); tableDrivenScenarioBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; */ public gauge.messages.Spec.ProtoTableDrivenScenario.Builder getTableDrivenScenarioBuilder() { bitField0_ |= 0x00000010; onChanged(); return getTableDrivenScenarioFieldBuilder().getBuilder(); } /** *
       * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; */ public gauge.messages.Spec.ProtoTableDrivenScenarioOrBuilder getTableDrivenScenarioOrBuilder() { if (tableDrivenScenarioBuilder_ != null) { return tableDrivenScenarioBuilder_.getMessageOrBuilder(); } else { return tableDrivenScenario_ == null ? gauge.messages.Spec.ProtoTableDrivenScenario.getDefaultInstance() : tableDrivenScenario_; } } /** *
       * / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario
       * 
* * .gauge.messages.ProtoTableDrivenScenario tableDrivenScenario = 5; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTableDrivenScenario, gauge.messages.Spec.ProtoTableDrivenScenario.Builder, gauge.messages.Spec.ProtoTableDrivenScenarioOrBuilder> getTableDrivenScenarioFieldBuilder() { if (tableDrivenScenarioBuilder_ == null) { tableDrivenScenarioBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTableDrivenScenario, gauge.messages.Spec.ProtoTableDrivenScenario.Builder, gauge.messages.Spec.ProtoTableDrivenScenarioOrBuilder>( getTableDrivenScenario(), getParentForChildren(), isClean()); tableDrivenScenario_ = null; } return tableDrivenScenarioBuilder_; } private gauge.messages.Spec.ProtoComment comment_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoComment, gauge.messages.Spec.ProtoComment.Builder, gauge.messages.Spec.ProtoCommentOrBuilder> commentBuilder_; /** *
       * / Holds the Comment definition. Valid only if ItemType = Comment
       * 
* * .gauge.messages.ProtoComment comment = 6; * @return Whether the comment field is set. */ public boolean hasComment() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * / Holds the Comment definition. Valid only if ItemType = Comment
       * 
* * .gauge.messages.ProtoComment comment = 6; * @return The comment. */ public gauge.messages.Spec.ProtoComment getComment() { if (commentBuilder_ == null) { return comment_ == null ? gauge.messages.Spec.ProtoComment.getDefaultInstance() : comment_; } else { return commentBuilder_.getMessage(); } } /** *
       * / Holds the Comment definition. Valid only if ItemType = Comment
       * 
* * .gauge.messages.ProtoComment comment = 6; */ public Builder setComment(gauge.messages.Spec.ProtoComment value) { if (commentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } comment_ = value; } else { commentBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Holds the Comment definition. Valid only if ItemType = Comment
       * 
* * .gauge.messages.ProtoComment comment = 6; */ public Builder setComment( gauge.messages.Spec.ProtoComment.Builder builderForValue) { if (commentBuilder_ == null) { comment_ = builderForValue.build(); } else { commentBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Holds the Comment definition. Valid only if ItemType = Comment
       * 
* * .gauge.messages.ProtoComment comment = 6; */ public Builder mergeComment(gauge.messages.Spec.ProtoComment value) { if (commentBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && comment_ != null && comment_ != gauge.messages.Spec.ProtoComment.getDefaultInstance()) { getCommentBuilder().mergeFrom(value); } else { comment_ = value; } } else { commentBuilder_.mergeFrom(value); } if (comment_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
       * / Holds the Comment definition. Valid only if ItemType = Comment
       * 
* * .gauge.messages.ProtoComment comment = 6; */ public Builder clearComment() { bitField0_ = (bitField0_ & ~0x00000020); comment_ = null; if (commentBuilder_ != null) { commentBuilder_.dispose(); commentBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the Comment definition. Valid only if ItemType = Comment
       * 
* * .gauge.messages.ProtoComment comment = 6; */ public gauge.messages.Spec.ProtoComment.Builder getCommentBuilder() { bitField0_ |= 0x00000020; onChanged(); return getCommentFieldBuilder().getBuilder(); } /** *
       * / Holds the Comment definition. Valid only if ItemType = Comment
       * 
* * .gauge.messages.ProtoComment comment = 6; */ public gauge.messages.Spec.ProtoCommentOrBuilder getCommentOrBuilder() { if (commentBuilder_ != null) { return commentBuilder_.getMessageOrBuilder(); } else { return comment_ == null ? gauge.messages.Spec.ProtoComment.getDefaultInstance() : comment_; } } /** *
       * / Holds the Comment definition. Valid only if ItemType = Comment
       * 
* * .gauge.messages.ProtoComment comment = 6; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoComment, gauge.messages.Spec.ProtoComment.Builder, gauge.messages.Spec.ProtoCommentOrBuilder> getCommentFieldBuilder() { if (commentBuilder_ == null) { commentBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoComment, gauge.messages.Spec.ProtoComment.Builder, gauge.messages.Spec.ProtoCommentOrBuilder>( getComment(), getParentForChildren(), isClean()); comment_ = null; } return commentBuilder_; } private gauge.messages.Spec.ProtoTable table_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder> tableBuilder_; /** *
       * / Holds the Table definition. Valid only if ItemType = Table
       * 
* * .gauge.messages.ProtoTable table = 7; * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * / Holds the Table definition. Valid only if ItemType = Table
       * 
* * .gauge.messages.ProtoTable table = 7; * @return The table. */ public gauge.messages.Spec.ProtoTable getTable() { if (tableBuilder_ == null) { return table_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : table_; } else { return tableBuilder_.getMessage(); } } /** *
       * / Holds the Table definition. Valid only if ItemType = Table
       * 
* * .gauge.messages.ProtoTable table = 7; */ public Builder setTable(gauge.messages.Spec.ProtoTable value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } table_ = value; } else { tableBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Holds the Table definition. Valid only if ItemType = Table
       * 
* * .gauge.messages.ProtoTable table = 7; */ public Builder setTable( gauge.messages.Spec.ProtoTable.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); } else { tableBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Holds the Table definition. Valid only if ItemType = Table
       * 
* * .gauge.messages.ProtoTable table = 7; */ public Builder mergeTable(gauge.messages.Spec.ProtoTable value) { if (tableBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && table_ != null && table_ != gauge.messages.Spec.ProtoTable.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; } } else { tableBuilder_.mergeFrom(value); } if (table_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** *
       * / Holds the Table definition. Valid only if ItemType = Table
       * 
* * .gauge.messages.ProtoTable table = 7; */ public Builder clearTable() { bitField0_ = (bitField0_ & ~0x00000040); table_ = null; if (tableBuilder_ != null) { tableBuilder_.dispose(); tableBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the Table definition. Valid only if ItemType = Table
       * 
* * .gauge.messages.ProtoTable table = 7; */ public gauge.messages.Spec.ProtoTable.Builder getTableBuilder() { bitField0_ |= 0x00000040; onChanged(); return getTableFieldBuilder().getBuilder(); } /** *
       * / Holds the Table definition. Valid only if ItemType = Table
       * 
* * .gauge.messages.ProtoTable table = 7; */ public gauge.messages.Spec.ProtoTableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { return table_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : table_; } } /** *
       * / Holds the Table definition. Valid only if ItemType = Table
       * 
* * .gauge.messages.ProtoTable table = 7; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { tableBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder>( getTable(), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; } private gauge.messages.Spec.ProtoTags tags_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTags, gauge.messages.Spec.ProtoTags.Builder, gauge.messages.Spec.ProtoTagsOrBuilder> tagsBuilder_; /** *
       * / Holds the Tags definition. Valid only if ItemType = Tags
       * 
* * .gauge.messages.ProtoTags tags = 8; * @return Whether the tags field is set. */ public boolean hasTags() { return ((bitField0_ & 0x00000080) != 0); } /** *
       * / Holds the Tags definition. Valid only if ItemType = Tags
       * 
* * .gauge.messages.ProtoTags tags = 8; * @return The tags. */ public gauge.messages.Spec.ProtoTags getTags() { if (tagsBuilder_ == null) { return tags_ == null ? gauge.messages.Spec.ProtoTags.getDefaultInstance() : tags_; } else { return tagsBuilder_.getMessage(); } } /** *
       * / Holds the Tags definition. Valid only if ItemType = Tags
       * 
* * .gauge.messages.ProtoTags tags = 8; */ public Builder setTags(gauge.messages.Spec.ProtoTags value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tags_ = value; } else { tagsBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / Holds the Tags definition. Valid only if ItemType = Tags
       * 
* * .gauge.messages.ProtoTags tags = 8; */ public Builder setTags( gauge.messages.Spec.ProtoTags.Builder builderForValue) { if (tagsBuilder_ == null) { tags_ = builderForValue.build(); } else { tagsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / Holds the Tags definition. Valid only if ItemType = Tags
       * 
* * .gauge.messages.ProtoTags tags = 8; */ public Builder mergeTags(gauge.messages.Spec.ProtoTags value) { if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && tags_ != null && tags_ != gauge.messages.Spec.ProtoTags.getDefaultInstance()) { getTagsBuilder().mergeFrom(value); } else { tags_ = value; } } else { tagsBuilder_.mergeFrom(value); } if (tags_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** *
       * / Holds the Tags definition. Valid only if ItemType = Tags
       * 
* * .gauge.messages.ProtoTags tags = 8; */ public Builder clearTags() { bitField0_ = (bitField0_ & ~0x00000080); tags_ = null; if (tagsBuilder_ != null) { tagsBuilder_.dispose(); tagsBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the Tags definition. Valid only if ItemType = Tags
       * 
* * .gauge.messages.ProtoTags tags = 8; */ public gauge.messages.Spec.ProtoTags.Builder getTagsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getTagsFieldBuilder().getBuilder(); } /** *
       * / Holds the Tags definition. Valid only if ItemType = Tags
       * 
* * .gauge.messages.ProtoTags tags = 8; */ public gauge.messages.Spec.ProtoTagsOrBuilder getTagsOrBuilder() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilder(); } else { return tags_ == null ? gauge.messages.Spec.ProtoTags.getDefaultInstance() : tags_; } } /** *
       * / Holds the Tags definition. Valid only if ItemType = Tags
       * 
* * .gauge.messages.ProtoTags tags = 8; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTags, gauge.messages.Spec.ProtoTags.Builder, gauge.messages.Spec.ProtoTagsOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { tagsBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTags, gauge.messages.Spec.ProtoTags.Builder, gauge.messages.Spec.ProtoTagsOrBuilder>( getTags(), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; } private java.lang.Object fileName_ = ""; /** *
       * / Holds the Filename that the item belongs to
       * 
* * string fileName = 9; * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the Filename that the item belongs to
       * 
* * string fileName = 9; * @return The bytes for fileName. */ public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the Filename that the item belongs to
       * 
* * string fileName = 9; * @param value The fileName to set. * @return This builder for chaining. */ public Builder setFileName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileName_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Holds the Filename that the item belongs to
       * 
* * string fileName = 9; * @return This builder for chaining. */ public Builder clearFileName() { fileName_ = getDefaultInstance().getFileName(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** *
       * / Holds the Filename that the item belongs to
       * 
* * string fileName = 9; * @param value The bytes for fileName to set. * @return This builder for chaining. */ public Builder setFileNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileName_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoItem) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoItem) private static final gauge.messages.Spec.ProtoItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoItem(); } public static gauge.messages.Spec.ProtoItem getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoItem parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoScenarioOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoScenario) com.google.protobuf.MessageOrBuilder { /** *
     * / Heading of the given Scenario
     * 
* * string scenarioHeading = 1; * @return The scenarioHeading. */ java.lang.String getScenarioHeading(); /** *
     * / Heading of the given Scenario
     * 
* * string scenarioHeading = 1; * @return The bytes for scenarioHeading. */ com.google.protobuf.ByteString getScenarioHeadingBytes(); /** *
     * / Flag to indicate if the Scenario execution failed
     * 
* * bool failed = 2 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.failed is deprecated. * See spec.proto;l=99 * @return The failed. */ @java.lang.Deprecated boolean getFailed(); /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ java.util.List getContextsList(); /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ gauge.messages.Spec.ProtoItem getContexts(int index); /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ int getContextsCount(); /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ java.util.List getContextsOrBuilderList(); /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ gauge.messages.Spec.ProtoItemOrBuilder getContextsOrBuilder( int index); /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ java.util.List getScenarioItemsList(); /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ gauge.messages.Spec.ProtoItem getScenarioItems(int index); /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ int getScenarioItemsCount(); /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ java.util.List getScenarioItemsOrBuilderList(); /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ gauge.messages.Spec.ProtoItemOrBuilder getScenarioItemsOrBuilder( int index); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; * @return Whether the preHookFailure field is set. */ boolean hasPreHookFailure(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; * @return The preHookFailure. */ gauge.messages.Spec.ProtoHookFailure getPreHookFailure(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; */ gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailureOrBuilder(); /** *
     * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; * @return Whether the postHookFailure field is set. */ boolean hasPostHookFailure(); /** *
     * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; * @return The postHookFailure. */ gauge.messages.Spec.ProtoHookFailure getPostHookFailure(); /** *
     * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; */ gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder(); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @return A list containing the tags. */ java.util.List getTagsList(); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @return The count of tags. */ int getTagsCount(); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); /** *
     * / Holds the time taken for executing this scenario.
     * 
* * int64 executionTime = 8; * @return The executionTime. */ long getExecutionTime(); /** *
     * / Flag to indicate if the Scenario execution is skipped
     * 
* * bool skipped = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.skipped is deprecated. * See spec.proto;l=113 * @return The skipped. */ @java.lang.Deprecated boolean getSkipped(); /** *
     * / Holds the error messages for skipping scenario from execution
     * 
* * repeated string skipErrors = 10; * @return A list containing the skipErrors. */ java.util.List getSkipErrorsList(); /** *
     * / Holds the error messages for skipping scenario from execution
     * 
* * repeated string skipErrors = 10; * @return The count of skipErrors. */ int getSkipErrorsCount(); /** *
     * / Holds the error messages for skipping scenario from execution
     * 
* * repeated string skipErrors = 10; * @param index The index of the element to return. * @return The skipErrors at the given index. */ java.lang.String getSkipErrors(int index); /** *
     * / Holds the error messages for skipping scenario from execution
     * 
* * repeated string skipErrors = 10; * @param index The index of the value to return. * @return The bytes of the skipErrors at the given index. */ com.google.protobuf.ByteString getSkipErrorsBytes(int index); /** *
     * / Holds the unique Identifier of a scenario.
     * 
* * string ID = 11; * @return The iD. */ java.lang.String getID(); /** *
     * / Holds the unique Identifier of a scenario.
     * 
* * string ID = 11; * @return The bytes for iD. */ com.google.protobuf.ByteString getIDBytes(); /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ java.util.List getTearDownStepsList(); /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ gauge.messages.Spec.ProtoItem getTearDownSteps(int index); /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ int getTearDownStepsCount(); /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ java.util.List getTearDownStepsOrBuilderList(); /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ gauge.messages.Spec.ProtoItemOrBuilder getTearDownStepsOrBuilder( int index); /** *
     * / Span(start, end) of scenario
     * 
* * .gauge.messages.Span span = 13; * @return Whether the span field is set. */ boolean hasSpan(); /** *
     * / Span(start, end) of scenario
     * 
* * .gauge.messages.Span span = 13; * @return The span. */ gauge.messages.Spec.Span getSpan(); /** *
     * / Span(start, end) of scenario
     * 
* * .gauge.messages.Span span = 13; */ gauge.messages.Spec.SpanOrBuilder getSpanOrBuilder(); /** *
     * / Execution status for the scenario
     * 
* * .gauge.messages.ExecutionStatus executionStatus = 14; * @return The enum numeric value on the wire for executionStatus. */ int getExecutionStatusValue(); /** *
     * / Execution status for the scenario
     * 
* * .gauge.messages.ExecutionStatus executionStatus = 14; * @return The executionStatus. */ gauge.messages.Spec.ExecutionStatus getExecutionStatus(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 15; * @return A list containing the preHookMessages. */ java.util.List getPreHookMessagesList(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 15; * @return The count of preHookMessages. */ int getPreHookMessagesCount(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 15; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ java.lang.String getPreHookMessages(int index); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 15; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ com.google.protobuf.ByteString getPreHookMessagesBytes(int index); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 16; * @return A list containing the postHookMessages. */ java.util.List getPostHookMessagesList(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 16; * @return The count of postHookMessages. */ int getPostHookMessagesCount(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 16; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ java.lang.String getPostHookMessages(int index); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 16; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ com.google.protobuf.ByteString getPostHookMessagesBytes(int index); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @return A list containing the preHookMessage. */ @java.lang.Deprecated java.util.List getPreHookMessageList(); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @return The count of preHookMessage. */ @java.lang.Deprecated int getPreHookMessageCount(); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param index The index of the element to return. * @return The preHookMessage at the given index. */ @java.lang.Deprecated java.lang.String getPreHookMessage(int index); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param index The index of the value to return. * @return The bytes of the preHookMessage at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPreHookMessageBytes(int index); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @return A list containing the postHookMessage. */ @java.lang.Deprecated java.util.List getPostHookMessageList(); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @return The count of postHookMessage. */ @java.lang.Deprecated int getPostHookMessageCount(); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param index The index of the element to return. * @return The postHookMessage at the given index. */ @java.lang.Deprecated java.lang.String getPostHookMessage(int index); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param index The index of the value to return. * @return The bytes of the postHookMessage at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPostHookMessageBytes(int index); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @return A list containing the preHookScreenshots. */ @java.lang.Deprecated java.util.List getPreHookScreenshotsList(); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @return The count of preHookScreenshots. */ @java.lang.Deprecated int getPreHookScreenshotsCount(); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPreHookScreenshots(int index); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @return A list containing the postHookScreenshots. */ @java.lang.Deprecated java.util.List getPostHookScreenshotsList(); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @return The count of postHookScreenshots. */ @java.lang.Deprecated int getPostHookScreenshotsCount(); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPostHookScreenshots(int index); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @return A list containing the preHookScreenshotFiles. */ java.util.List getPreHookScreenshotFilesList(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @return The count of preHookScreenshotFiles. */ int getPreHookScreenshotFilesCount(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ java.lang.String getPreHookScreenshotFiles(int index); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @return A list containing the postHookScreenshotFiles. */ java.util.List getPostHookScreenshotFilesList(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @return The count of postHookScreenshotFiles. */ int getPostHookScreenshotFilesCount(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ java.lang.String getPostHookScreenshotFiles(int index); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index); /** *
     * / Number of retires
     * 
* * int64 retriesCount = 23; * @return The retriesCount. */ long getRetriesCount(); } /** *
   * / A proto object representing a Scenario
   * 
* * Protobuf type {@code gauge.messages.ProtoScenario} */ public static final class ProtoScenario extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoScenario) ProtoScenarioOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoScenario.class.getName()); } // Use ProtoScenario.newBuilder() to construct. private ProtoScenario(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoScenario() { scenarioHeading_ = ""; contexts_ = java.util.Collections.emptyList(); scenarioItems_ = java.util.Collections.emptyList(); tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); skipErrors_ = com.google.protobuf.LazyStringArrayList.emptyList(); iD_ = ""; tearDownSteps_ = java.util.Collections.emptyList(); executionStatus_ = 0; preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenario_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenario_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoScenario.class, gauge.messages.Spec.ProtoScenario.Builder.class); } private int bitField0_; public static final int SCENARIOHEADING_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object scenarioHeading_ = ""; /** *
     * / Heading of the given Scenario
     * 
* * string scenarioHeading = 1; * @return The scenarioHeading. */ @java.lang.Override public java.lang.String getScenarioHeading() { java.lang.Object ref = scenarioHeading_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scenarioHeading_ = s; return s; } } /** *
     * / Heading of the given Scenario
     * 
* * string scenarioHeading = 1; * @return The bytes for scenarioHeading. */ @java.lang.Override public com.google.protobuf.ByteString getScenarioHeadingBytes() { java.lang.Object ref = scenarioHeading_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scenarioHeading_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FAILED_FIELD_NUMBER = 2; private boolean failed_ = false; /** *
     * / Flag to indicate if the Scenario execution failed
     * 
* * bool failed = 2 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.failed is deprecated. * See spec.proto;l=99 * @return The failed. */ @java.lang.Override @java.lang.Deprecated public boolean getFailed() { return failed_; } public static final int CONTEXTS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List contexts_; /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ @java.lang.Override public java.util.List getContextsList() { return contexts_; } /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ @java.lang.Override public java.util.List getContextsOrBuilderList() { return contexts_; } /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ @java.lang.Override public int getContextsCount() { return contexts_.size(); } /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ @java.lang.Override public gauge.messages.Spec.ProtoItem getContexts(int index) { return contexts_.get(index); } /** *
     * / Collection of Context steps. The Context steps are executed before every run.
     * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ @java.lang.Override public gauge.messages.Spec.ProtoItemOrBuilder getContextsOrBuilder( int index) { return contexts_.get(index); } public static final int SCENARIOITEMS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List scenarioItems_; /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ @java.lang.Override public java.util.List getScenarioItemsList() { return scenarioItems_; } /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ @java.lang.Override public java.util.List getScenarioItemsOrBuilderList() { return scenarioItems_; } /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ @java.lang.Override public int getScenarioItemsCount() { return scenarioItems_.size(); } /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ @java.lang.Override public gauge.messages.Spec.ProtoItem getScenarioItems(int index) { return scenarioItems_.get(index); } /** *
     * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
     * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ @java.lang.Override public gauge.messages.Spec.ProtoItemOrBuilder getScenarioItemsOrBuilder( int index) { return scenarioItems_.get(index); } public static final int PREHOOKFAILURE_FIELD_NUMBER = 5; private gauge.messages.Spec.ProtoHookFailure preHookFailure_; /** *
     * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; * @return Whether the preHookFailure field is set. */ @java.lang.Override public boolean hasPreHookFailure() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; * @return The preHookFailure. */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getPreHookFailure() { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailureOrBuilder() { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } public static final int POSTHOOKFAILURE_FIELD_NUMBER = 6; private gauge.messages.Spec.ProtoHookFailure postHookFailure_; /** *
     * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; * @return Whether the postHookFailure field is set. */ @java.lang.Override public boolean hasPostHookFailure() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; * @return The postHookFailure. */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getPostHookFailure() { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } /** *
     * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder() { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } public static final int TAGS_FIELD_NUMBER = 7; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** *
     * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
     * 
* * repeated string tags = 7; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int EXECUTIONTIME_FIELD_NUMBER = 8; private long executionTime_ = 0L; /** *
     * / Holds the time taken for executing this scenario.
     * 
* * int64 executionTime = 8; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } public static final int SKIPPED_FIELD_NUMBER = 9; private boolean skipped_ = false; /** *
     * / Flag to indicate if the Scenario execution is skipped
     * 
* * bool skipped = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.skipped is deprecated. * See spec.proto;l=113 * @return The skipped. */ @java.lang.Override @java.lang.Deprecated public boolean getSkipped() { return skipped_; } public static final int SKIPERRORS_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList skipErrors_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Holds the error messages for skipping scenario from execution
     * 
* * repeated string skipErrors = 10; * @return A list containing the skipErrors. */ public com.google.protobuf.ProtocolStringList getSkipErrorsList() { return skipErrors_; } /** *
     * / Holds the error messages for skipping scenario from execution
     * 
* * repeated string skipErrors = 10; * @return The count of skipErrors. */ public int getSkipErrorsCount() { return skipErrors_.size(); } /** *
     * / Holds the error messages for skipping scenario from execution
     * 
* * repeated string skipErrors = 10; * @param index The index of the element to return. * @return The skipErrors at the given index. */ public java.lang.String getSkipErrors(int index) { return skipErrors_.get(index); } /** *
     * / Holds the error messages for skipping scenario from execution
     * 
* * repeated string skipErrors = 10; * @param index The index of the value to return. * @return The bytes of the skipErrors at the given index. */ public com.google.protobuf.ByteString getSkipErrorsBytes(int index) { return skipErrors_.getByteString(index); } public static final int ID_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object iD_ = ""; /** *
     * / Holds the unique Identifier of a scenario.
     * 
* * string ID = 11; * @return The iD. */ @java.lang.Override public java.lang.String getID() { java.lang.Object ref = iD_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iD_ = s; return s; } } /** *
     * / Holds the unique Identifier of a scenario.
     * 
* * string ID = 11; * @return The bytes for iD. */ @java.lang.Override public com.google.protobuf.ByteString getIDBytes() { java.lang.Object ref = iD_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); iD_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TEARDOWNSTEPS_FIELD_NUMBER = 12; @SuppressWarnings("serial") private java.util.List tearDownSteps_; /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ @java.lang.Override public java.util.List getTearDownStepsList() { return tearDownSteps_; } /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ @java.lang.Override public java.util.List getTearDownStepsOrBuilderList() { return tearDownSteps_; } /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ @java.lang.Override public int getTearDownStepsCount() { return tearDownSteps_.size(); } /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ @java.lang.Override public gauge.messages.Spec.ProtoItem getTearDownSteps(int index) { return tearDownSteps_.get(index); } /** *
     * / Collection of Teardown steps. The Teardown steps are executed after every run.
     * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ @java.lang.Override public gauge.messages.Spec.ProtoItemOrBuilder getTearDownStepsOrBuilder( int index) { return tearDownSteps_.get(index); } public static final int SPAN_FIELD_NUMBER = 13; private gauge.messages.Spec.Span span_; /** *
     * / Span(start, end) of scenario
     * 
* * .gauge.messages.Span span = 13; * @return Whether the span field is set. */ @java.lang.Override public boolean hasSpan() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * / Span(start, end) of scenario
     * 
* * .gauge.messages.Span span = 13; * @return The span. */ @java.lang.Override public gauge.messages.Spec.Span getSpan() { return span_ == null ? gauge.messages.Spec.Span.getDefaultInstance() : span_; } /** *
     * / Span(start, end) of scenario
     * 
* * .gauge.messages.Span span = 13; */ @java.lang.Override public gauge.messages.Spec.SpanOrBuilder getSpanOrBuilder() { return span_ == null ? gauge.messages.Spec.Span.getDefaultInstance() : span_; } public static final int EXECUTIONSTATUS_FIELD_NUMBER = 14; private int executionStatus_ = 0; /** *
     * / Execution status for the scenario
     * 
* * .gauge.messages.ExecutionStatus executionStatus = 14; * @return The enum numeric value on the wire for executionStatus. */ @java.lang.Override public int getExecutionStatusValue() { return executionStatus_; } /** *
     * / Execution status for the scenario
     * 
* * .gauge.messages.ExecutionStatus executionStatus = 14; * @return The executionStatus. */ @java.lang.Override public gauge.messages.Spec.ExecutionStatus getExecutionStatus() { gauge.messages.Spec.ExecutionStatus result = gauge.messages.Spec.ExecutionStatus.forNumber(executionStatus_); return result == null ? gauge.messages.Spec.ExecutionStatus.UNRECOGNIZED : result; } public static final int PREHOOKMESSAGES_FIELD_NUMBER = 15; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 15; * @return A list containing the preHookMessages. */ public com.google.protobuf.ProtocolStringList getPreHookMessagesList() { return preHookMessages_; } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 15; * @return The count of preHookMessages. */ public int getPreHookMessagesCount() { return preHookMessages_.size(); } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 15; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ public java.lang.String getPreHookMessages(int index) { return preHookMessages_.get(index); } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 15; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ public com.google.protobuf.ByteString getPreHookMessagesBytes(int index) { return preHookMessages_.getByteString(index); } public static final int POSTHOOKMESSAGES_FIELD_NUMBER = 16; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 16; * @return A list containing the postHookMessages. */ public com.google.protobuf.ProtocolStringList getPostHookMessagesList() { return postHookMessages_; } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 16; * @return The count of postHookMessages. */ public int getPostHookMessagesCount() { return postHookMessages_.size(); } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 16; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ public java.lang.String getPostHookMessages(int index) { return postHookMessages_.get(index); } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 16; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ public com.google.protobuf.ByteString getPostHookMessagesBytes(int index) { return postHookMessages_.getByteString(index); } public static final int PREHOOKMESSAGE_FIELD_NUMBER = 17; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @return A list containing the preHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPreHookMessageList() { return preHookMessage_; } /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @return The count of preHookMessage. */ @java.lang.Deprecated public int getPreHookMessageCount() { return preHookMessage_.size(); } /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param index The index of the element to return. * @return The preHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPreHookMessage(int index) { return preHookMessage_.get(index); } /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param index The index of the value to return. * @return The bytes of the preHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookMessageBytes(int index) { return preHookMessage_.getByteString(index); } public static final int POSTHOOKMESSAGE_FIELD_NUMBER = 18; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @return A list containing the postHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPostHookMessageList() { return postHookMessage_; } /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @return The count of postHookMessage. */ @java.lang.Deprecated public int getPostHookMessageCount() { return postHookMessage_.size(); } /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param index The index of the element to return. * @return The postHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPostHookMessage(int index) { return postHookMessage_.get(index); } /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param index The index of the value to return. * @return The bytes of the postHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookMessageBytes(int index) { return postHookMessage_.getByteString(index); } public static final int PREHOOKSCREENSHOTS_FIELD_NUMBER = 19; @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @return A list containing the preHookScreenshots. */ @java.lang.Override @java.lang.Deprecated public java.util.List getPreHookScreenshotsList() { return preHookScreenshots_; } /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @return The count of preHookScreenshots. */ @java.lang.Deprecated public int getPreHookScreenshotsCount() { return preHookScreenshots_.size(); } /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookScreenshots(int index) { return preHookScreenshots_.get(index); } public static final int POSTHOOKSCREENSHOTS_FIELD_NUMBER = 20; @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @return A list containing the postHookScreenshots. */ @java.lang.Override @java.lang.Deprecated public java.util.List getPostHookScreenshotsList() { return postHookScreenshots_; } /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @return The count of postHookScreenshots. */ @java.lang.Deprecated public int getPostHookScreenshotsCount() { return postHookScreenshots_.size(); } /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookScreenshots(int index) { return postHookScreenshots_.get(index); } public static final int PREHOOKSCREENSHOTFILES_FIELD_NUMBER = 21; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @return A list containing the preHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPreHookScreenshotFilesList() { return preHookScreenshotFiles_; } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @return The count of preHookScreenshotFiles. */ public int getPreHookScreenshotFilesCount() { return preHookScreenshotFiles_.size(); } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ public java.lang.String getPreHookScreenshotFiles(int index) { return preHookScreenshotFiles_.get(index); } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index) { return preHookScreenshotFiles_.getByteString(index); } public static final int POSTHOOKSCREENSHOTFILES_FIELD_NUMBER = 22; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @return A list containing the postHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPostHookScreenshotFilesList() { return postHookScreenshotFiles_; } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @return The count of postHookScreenshotFiles. */ public int getPostHookScreenshotFilesCount() { return postHookScreenshotFiles_.size(); } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ public java.lang.String getPostHookScreenshotFiles(int index) { return postHookScreenshotFiles_.get(index); } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index) { return postHookScreenshotFiles_.getByteString(index); } public static final int RETRIESCOUNT_FIELD_NUMBER = 23; private long retriesCount_ = 0L; /** *
     * / Number of retires
     * 
* * int64 retriesCount = 23; * @return The retriesCount. */ @java.lang.Override public long getRetriesCount() { return retriesCount_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(scenarioHeading_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, scenarioHeading_); } if (failed_ != false) { output.writeBool(2, failed_); } for (int i = 0; i < contexts_.size(); i++) { output.writeMessage(3, contexts_.get(i)); } for (int i = 0; i < scenarioItems_.size(); i++) { output.writeMessage(4, scenarioItems_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getPreHookFailure()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getPostHookFailure()); } for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 7, tags_.getRaw(i)); } if (executionTime_ != 0L) { output.writeInt64(8, executionTime_); } if (skipped_ != false) { output.writeBool(9, skipped_); } for (int i = 0; i < skipErrors_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 10, skipErrors_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(iD_)) { com.google.protobuf.GeneratedMessage.writeString(output, 11, iD_); } for (int i = 0; i < tearDownSteps_.size(); i++) { output.writeMessage(12, tearDownSteps_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(13, getSpan()); } if (executionStatus_ != gauge.messages.Spec.ExecutionStatus.NOTEXECUTED.getNumber()) { output.writeEnum(14, executionStatus_); } for (int i = 0; i < preHookMessages_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 15, preHookMessages_.getRaw(i)); } for (int i = 0; i < postHookMessages_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 16, postHookMessages_.getRaw(i)); } for (int i = 0; i < preHookMessage_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 17, preHookMessage_.getRaw(i)); } for (int i = 0; i < postHookMessage_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 18, postHookMessage_.getRaw(i)); } for (int i = 0; i < preHookScreenshots_.size(); i++) { output.writeBytes(19, preHookScreenshots_.get(i)); } for (int i = 0; i < postHookScreenshots_.size(); i++) { output.writeBytes(20, postHookScreenshots_.get(i)); } for (int i = 0; i < preHookScreenshotFiles_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 21, preHookScreenshotFiles_.getRaw(i)); } for (int i = 0; i < postHookScreenshotFiles_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 22, postHookScreenshotFiles_.getRaw(i)); } if (retriesCount_ != 0L) { output.writeInt64(23, retriesCount_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessage.isStringEmpty(scenarioHeading_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, scenarioHeading_); } if (failed_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, failed_); } for (int i = 0; i < contexts_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, contexts_.get(i)); } for (int i = 0; i < scenarioItems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, scenarioItems_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getPreHookFailure()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getPostHookFailure()); } { int dataSize = 0; for (int i = 0; i < tags_.size(); i++) { dataSize += computeStringSizeNoTag(tags_.getRaw(i)); } size += dataSize; size += 1 * getTagsList().size(); } if (executionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, executionTime_); } if (skipped_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, skipped_); } { int dataSize = 0; for (int i = 0; i < skipErrors_.size(); i++) { dataSize += computeStringSizeNoTag(skipErrors_.getRaw(i)); } size += dataSize; size += 1 * getSkipErrorsList().size(); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(iD_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(11, iD_); } for (int i = 0; i < tearDownSteps_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, tearDownSteps_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getSpan()); } if (executionStatus_ != gauge.messages.Spec.ExecutionStatus.NOTEXECUTED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(14, executionStatus_); } { int dataSize = 0; for (int i = 0; i < preHookMessages_.size(); i++) { dataSize += computeStringSizeNoTag(preHookMessages_.getRaw(i)); } size += dataSize; size += 1 * getPreHookMessagesList().size(); } { int dataSize = 0; for (int i = 0; i < postHookMessages_.size(); i++) { dataSize += computeStringSizeNoTag(postHookMessages_.getRaw(i)); } size += dataSize; size += 2 * getPostHookMessagesList().size(); } { int dataSize = 0; for (int i = 0; i < preHookMessage_.size(); i++) { dataSize += computeStringSizeNoTag(preHookMessage_.getRaw(i)); } size += dataSize; size += 2 * getPreHookMessageList().size(); } { int dataSize = 0; for (int i = 0; i < postHookMessage_.size(); i++) { dataSize += computeStringSizeNoTag(postHookMessage_.getRaw(i)); } size += dataSize; size += 2 * getPostHookMessageList().size(); } { int dataSize = 0; for (int i = 0; i < preHookScreenshots_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(preHookScreenshots_.get(i)); } size += dataSize; size += 2 * getPreHookScreenshotsList().size(); } { int dataSize = 0; for (int i = 0; i < postHookScreenshots_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(postHookScreenshots_.get(i)); } size += dataSize; size += 2 * getPostHookScreenshotsList().size(); } { int dataSize = 0; for (int i = 0; i < preHookScreenshotFiles_.size(); i++) { dataSize += computeStringSizeNoTag(preHookScreenshotFiles_.getRaw(i)); } size += dataSize; size += 2 * getPreHookScreenshotFilesList().size(); } { int dataSize = 0; for (int i = 0; i < postHookScreenshotFiles_.size(); i++) { dataSize += computeStringSizeNoTag(postHookScreenshotFiles_.getRaw(i)); } size += dataSize; size += 2 * getPostHookScreenshotFilesList().size(); } if (retriesCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(23, retriesCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoScenario)) { return super.equals(obj); } gauge.messages.Spec.ProtoScenario other = (gauge.messages.Spec.ProtoScenario) obj; if (!getScenarioHeading() .equals(other.getScenarioHeading())) return false; if (getFailed() != other.getFailed()) return false; if (!getContextsList() .equals(other.getContextsList())) return false; if (!getScenarioItemsList() .equals(other.getScenarioItemsList())) return false; if (hasPreHookFailure() != other.hasPreHookFailure()) return false; if (hasPreHookFailure()) { if (!getPreHookFailure() .equals(other.getPreHookFailure())) return false; } if (hasPostHookFailure() != other.hasPostHookFailure()) return false; if (hasPostHookFailure()) { if (!getPostHookFailure() .equals(other.getPostHookFailure())) return false; } if (!getTagsList() .equals(other.getTagsList())) return false; if (getExecutionTime() != other.getExecutionTime()) return false; if (getSkipped() != other.getSkipped()) return false; if (!getSkipErrorsList() .equals(other.getSkipErrorsList())) return false; if (!getID() .equals(other.getID())) return false; if (!getTearDownStepsList() .equals(other.getTearDownStepsList())) return false; if (hasSpan() != other.hasSpan()) return false; if (hasSpan()) { if (!getSpan() .equals(other.getSpan())) return false; } if (executionStatus_ != other.executionStatus_) return false; if (!getPreHookMessagesList() .equals(other.getPreHookMessagesList())) return false; if (!getPostHookMessagesList() .equals(other.getPostHookMessagesList())) return false; if (!getPreHookMessageList() .equals(other.getPreHookMessageList())) return false; if (!getPostHookMessageList() .equals(other.getPostHookMessageList())) return false; if (!getPreHookScreenshotsList() .equals(other.getPreHookScreenshotsList())) return false; if (!getPostHookScreenshotsList() .equals(other.getPostHookScreenshotsList())) return false; if (!getPreHookScreenshotFilesList() .equals(other.getPreHookScreenshotFilesList())) return false; if (!getPostHookScreenshotFilesList() .equals(other.getPostHookScreenshotFilesList())) return false; if (getRetriesCount() != other.getRetriesCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SCENARIOHEADING_FIELD_NUMBER; hash = (53 * hash) + getScenarioHeading().hashCode(); hash = (37 * hash) + FAILED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFailed()); if (getContextsCount() > 0) { hash = (37 * hash) + CONTEXTS_FIELD_NUMBER; hash = (53 * hash) + getContextsList().hashCode(); } if (getScenarioItemsCount() > 0) { hash = (37 * hash) + SCENARIOITEMS_FIELD_NUMBER; hash = (53 * hash) + getScenarioItemsList().hashCode(); } if (hasPreHookFailure()) { hash = (37 * hash) + PREHOOKFAILURE_FIELD_NUMBER; hash = (53 * hash) + getPreHookFailure().hashCode(); } if (hasPostHookFailure()) { hash = (37 * hash) + POSTHOOKFAILURE_FIELD_NUMBER; hash = (53 * hash) + getPostHookFailure().hashCode(); } if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); } hash = (37 * hash) + EXECUTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExecutionTime()); hash = (37 * hash) + SKIPPED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSkipped()); if (getSkipErrorsCount() > 0) { hash = (37 * hash) + SKIPERRORS_FIELD_NUMBER; hash = (53 * hash) + getSkipErrorsList().hashCode(); } hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getID().hashCode(); if (getTearDownStepsCount() > 0) { hash = (37 * hash) + TEARDOWNSTEPS_FIELD_NUMBER; hash = (53 * hash) + getTearDownStepsList().hashCode(); } if (hasSpan()) { hash = (37 * hash) + SPAN_FIELD_NUMBER; hash = (53 * hash) + getSpan().hashCode(); } hash = (37 * hash) + EXECUTIONSTATUS_FIELD_NUMBER; hash = (53 * hash) + executionStatus_; if (getPreHookMessagesCount() > 0) { hash = (37 * hash) + PREHOOKMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getPreHookMessagesList().hashCode(); } if (getPostHookMessagesCount() > 0) { hash = (37 * hash) + POSTHOOKMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getPostHookMessagesList().hashCode(); } if (getPreHookMessageCount() > 0) { hash = (37 * hash) + PREHOOKMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getPreHookMessageList().hashCode(); } if (getPostHookMessageCount() > 0) { hash = (37 * hash) + POSTHOOKMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getPostHookMessageList().hashCode(); } if (getPreHookScreenshotsCount() > 0) { hash = (37 * hash) + PREHOOKSCREENSHOTS_FIELD_NUMBER; hash = (53 * hash) + getPreHookScreenshotsList().hashCode(); } if (getPostHookScreenshotsCount() > 0) { hash = (37 * hash) + POSTHOOKSCREENSHOTS_FIELD_NUMBER; hash = (53 * hash) + getPostHookScreenshotsList().hashCode(); } if (getPreHookScreenshotFilesCount() > 0) { hash = (37 * hash) + PREHOOKSCREENSHOTFILES_FIELD_NUMBER; hash = (53 * hash) + getPreHookScreenshotFilesList().hashCode(); } if (getPostHookScreenshotFilesCount() > 0) { hash = (37 * hash) + POSTHOOKSCREENSHOTFILES_FIELD_NUMBER; hash = (53 * hash) + getPostHookScreenshotFilesList().hashCode(); } hash = (37 * hash) + RETRIESCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRetriesCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoScenario parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoScenario parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoScenario parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoScenario parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoScenario parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoScenario parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoScenario parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoScenario parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoScenario parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoScenario parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoScenario parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoScenario parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoScenario prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing a Scenario
     * 
* * Protobuf type {@code gauge.messages.ProtoScenario} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoScenario) gauge.messages.Spec.ProtoScenarioOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenario_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenario_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoScenario.class, gauge.messages.Spec.ProtoScenario.Builder.class); } // Construct using gauge.messages.Spec.ProtoScenario.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getContextsFieldBuilder(); getScenarioItemsFieldBuilder(); getPreHookFailureFieldBuilder(); getPostHookFailureFieldBuilder(); getTearDownStepsFieldBuilder(); getSpanFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; scenarioHeading_ = ""; failed_ = false; if (contextsBuilder_ == null) { contexts_ = java.util.Collections.emptyList(); } else { contexts_ = null; contextsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (scenarioItemsBuilder_ == null) { scenarioItems_ = java.util.Collections.emptyList(); } else { scenarioItems_ = null; scenarioItemsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); preHookFailure_ = null; if (preHookFailureBuilder_ != null) { preHookFailureBuilder_.dispose(); preHookFailureBuilder_ = null; } postHookFailure_ = null; if (postHookFailureBuilder_ != null) { postHookFailureBuilder_.dispose(); postHookFailureBuilder_ = null; } tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); executionTime_ = 0L; skipped_ = false; skipErrors_ = com.google.protobuf.LazyStringArrayList.emptyList(); iD_ = ""; if (tearDownStepsBuilder_ == null) { tearDownSteps_ = java.util.Collections.emptyList(); } else { tearDownSteps_ = null; tearDownStepsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); span_ = null; if (spanBuilder_ != null) { spanBuilder_.dispose(); spanBuilder_ = null; } executionStatus_ = 0; preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); retriesCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenario_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoScenario getDefaultInstanceForType() { return gauge.messages.Spec.ProtoScenario.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoScenario build() { gauge.messages.Spec.ProtoScenario result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoScenario buildPartial() { gauge.messages.Spec.ProtoScenario result = new gauge.messages.Spec.ProtoScenario(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(gauge.messages.Spec.ProtoScenario result) { if (contextsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { contexts_ = java.util.Collections.unmodifiableList(contexts_); bitField0_ = (bitField0_ & ~0x00000004); } result.contexts_ = contexts_; } else { result.contexts_ = contextsBuilder_.build(); } if (scenarioItemsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { scenarioItems_ = java.util.Collections.unmodifiableList(scenarioItems_); bitField0_ = (bitField0_ & ~0x00000008); } result.scenarioItems_ = scenarioItems_; } else { result.scenarioItems_ = scenarioItemsBuilder_.build(); } if (tearDownStepsBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { tearDownSteps_ = java.util.Collections.unmodifiableList(tearDownSteps_); bitField0_ = (bitField0_ & ~0x00000800); } result.tearDownSteps_ = tearDownSteps_; } else { result.tearDownSteps_ = tearDownStepsBuilder_.build(); } } private void buildPartial0(gauge.messages.Spec.ProtoScenario result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.scenarioHeading_ = scenarioHeading_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.failed_ = failed_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.preHookFailure_ = preHookFailureBuilder_ == null ? preHookFailure_ : preHookFailureBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { result.postHookFailure_ = postHookFailureBuilder_ == null ? postHookFailure_ : postHookFailureBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { tags_.makeImmutable(); result.tags_ = tags_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.executionTime_ = executionTime_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.skipped_ = skipped_; } if (((from_bitField0_ & 0x00000200) != 0)) { skipErrors_.makeImmutable(); result.skipErrors_ = skipErrors_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.iD_ = iD_; } if (((from_bitField0_ & 0x00001000) != 0)) { result.span_ = spanBuilder_ == null ? span_ : spanBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00002000) != 0)) { result.executionStatus_ = executionStatus_; } if (((from_bitField0_ & 0x00004000) != 0)) { preHookMessages_.makeImmutable(); result.preHookMessages_ = preHookMessages_; } if (((from_bitField0_ & 0x00008000) != 0)) { postHookMessages_.makeImmutable(); result.postHookMessages_ = postHookMessages_; } if (((from_bitField0_ & 0x00010000) != 0)) { preHookMessage_.makeImmutable(); result.preHookMessage_ = preHookMessage_; } if (((from_bitField0_ & 0x00020000) != 0)) { postHookMessage_.makeImmutable(); result.postHookMessage_ = postHookMessage_; } if (((from_bitField0_ & 0x00040000) != 0)) { preHookScreenshots_.makeImmutable(); result.preHookScreenshots_ = preHookScreenshots_; } if (((from_bitField0_ & 0x00080000) != 0)) { postHookScreenshots_.makeImmutable(); result.postHookScreenshots_ = postHookScreenshots_; } if (((from_bitField0_ & 0x00100000) != 0)) { preHookScreenshotFiles_.makeImmutable(); result.preHookScreenshotFiles_ = preHookScreenshotFiles_; } if (((from_bitField0_ & 0x00200000) != 0)) { postHookScreenshotFiles_.makeImmutable(); result.postHookScreenshotFiles_ = postHookScreenshotFiles_; } if (((from_bitField0_ & 0x00400000) != 0)) { result.retriesCount_ = retriesCount_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoScenario) { return mergeFrom((gauge.messages.Spec.ProtoScenario)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoScenario other) { if (other == gauge.messages.Spec.ProtoScenario.getDefaultInstance()) return this; if (!other.getScenarioHeading().isEmpty()) { scenarioHeading_ = other.scenarioHeading_; bitField0_ |= 0x00000001; onChanged(); } if (other.getFailed() != false) { setFailed(other.getFailed()); } if (contextsBuilder_ == null) { if (!other.contexts_.isEmpty()) { if (contexts_.isEmpty()) { contexts_ = other.contexts_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureContextsIsMutable(); contexts_.addAll(other.contexts_); } onChanged(); } } else { if (!other.contexts_.isEmpty()) { if (contextsBuilder_.isEmpty()) { contextsBuilder_.dispose(); contextsBuilder_ = null; contexts_ = other.contexts_; bitField0_ = (bitField0_ & ~0x00000004); contextsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getContextsFieldBuilder() : null; } else { contextsBuilder_.addAllMessages(other.contexts_); } } } if (scenarioItemsBuilder_ == null) { if (!other.scenarioItems_.isEmpty()) { if (scenarioItems_.isEmpty()) { scenarioItems_ = other.scenarioItems_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureScenarioItemsIsMutable(); scenarioItems_.addAll(other.scenarioItems_); } onChanged(); } } else { if (!other.scenarioItems_.isEmpty()) { if (scenarioItemsBuilder_.isEmpty()) { scenarioItemsBuilder_.dispose(); scenarioItemsBuilder_ = null; scenarioItems_ = other.scenarioItems_; bitField0_ = (bitField0_ & ~0x00000008); scenarioItemsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getScenarioItemsFieldBuilder() : null; } else { scenarioItemsBuilder_.addAllMessages(other.scenarioItems_); } } } if (other.hasPreHookFailure()) { mergePreHookFailure(other.getPreHookFailure()); } if (other.hasPostHookFailure()) { mergePostHookFailure(other.getPostHookFailure()); } if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ |= 0x00000040; } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } onChanged(); } if (other.getExecutionTime() != 0L) { setExecutionTime(other.getExecutionTime()); } if (other.getSkipped() != false) { setSkipped(other.getSkipped()); } if (!other.skipErrors_.isEmpty()) { if (skipErrors_.isEmpty()) { skipErrors_ = other.skipErrors_; bitField0_ |= 0x00000200; } else { ensureSkipErrorsIsMutable(); skipErrors_.addAll(other.skipErrors_); } onChanged(); } if (!other.getID().isEmpty()) { iD_ = other.iD_; bitField0_ |= 0x00000400; onChanged(); } if (tearDownStepsBuilder_ == null) { if (!other.tearDownSteps_.isEmpty()) { if (tearDownSteps_.isEmpty()) { tearDownSteps_ = other.tearDownSteps_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureTearDownStepsIsMutable(); tearDownSteps_.addAll(other.tearDownSteps_); } onChanged(); } } else { if (!other.tearDownSteps_.isEmpty()) { if (tearDownStepsBuilder_.isEmpty()) { tearDownStepsBuilder_.dispose(); tearDownStepsBuilder_ = null; tearDownSteps_ = other.tearDownSteps_; bitField0_ = (bitField0_ & ~0x00000800); tearDownStepsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getTearDownStepsFieldBuilder() : null; } else { tearDownStepsBuilder_.addAllMessages(other.tearDownSteps_); } } } if (other.hasSpan()) { mergeSpan(other.getSpan()); } if (other.executionStatus_ != 0) { setExecutionStatusValue(other.getExecutionStatusValue()); } if (!other.preHookMessages_.isEmpty()) { if (preHookMessages_.isEmpty()) { preHookMessages_ = other.preHookMessages_; bitField0_ |= 0x00004000; } else { ensurePreHookMessagesIsMutable(); preHookMessages_.addAll(other.preHookMessages_); } onChanged(); } if (!other.postHookMessages_.isEmpty()) { if (postHookMessages_.isEmpty()) { postHookMessages_ = other.postHookMessages_; bitField0_ |= 0x00008000; } else { ensurePostHookMessagesIsMutable(); postHookMessages_.addAll(other.postHookMessages_); } onChanged(); } if (!other.preHookMessage_.isEmpty()) { if (preHookMessage_.isEmpty()) { preHookMessage_ = other.preHookMessage_; bitField0_ |= 0x00010000; } else { ensurePreHookMessageIsMutable(); preHookMessage_.addAll(other.preHookMessage_); } onChanged(); } if (!other.postHookMessage_.isEmpty()) { if (postHookMessage_.isEmpty()) { postHookMessage_ = other.postHookMessage_; bitField0_ |= 0x00020000; } else { ensurePostHookMessageIsMutable(); postHookMessage_.addAll(other.postHookMessage_); } onChanged(); } if (!other.preHookScreenshots_.isEmpty()) { if (preHookScreenshots_.isEmpty()) { preHookScreenshots_ = other.preHookScreenshots_; preHookScreenshots_.makeImmutable(); bitField0_ |= 0x00040000; } else { ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.addAll(other.preHookScreenshots_); } onChanged(); } if (!other.postHookScreenshots_.isEmpty()) { if (postHookScreenshots_.isEmpty()) { postHookScreenshots_ = other.postHookScreenshots_; postHookScreenshots_.makeImmutable(); bitField0_ |= 0x00080000; } else { ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.addAll(other.postHookScreenshots_); } onChanged(); } if (!other.preHookScreenshotFiles_.isEmpty()) { if (preHookScreenshotFiles_.isEmpty()) { preHookScreenshotFiles_ = other.preHookScreenshotFiles_; bitField0_ |= 0x00100000; } else { ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.addAll(other.preHookScreenshotFiles_); } onChanged(); } if (!other.postHookScreenshotFiles_.isEmpty()) { if (postHookScreenshotFiles_.isEmpty()) { postHookScreenshotFiles_ = other.postHookScreenshotFiles_; bitField0_ |= 0x00200000; } else { ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.addAll(other.postHookScreenshotFiles_); } onChanged(); } if (other.getRetriesCount() != 0L) { setRetriesCount(other.getRetriesCount()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { scenarioHeading_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { failed_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { gauge.messages.Spec.ProtoItem m = input.readMessage( gauge.messages.Spec.ProtoItem.parser(), extensionRegistry); if (contextsBuilder_ == null) { ensureContextsIsMutable(); contexts_.add(m); } else { contextsBuilder_.addMessage(m); } break; } // case 26 case 34: { gauge.messages.Spec.ProtoItem m = input.readMessage( gauge.messages.Spec.ProtoItem.parser(), extensionRegistry); if (scenarioItemsBuilder_ == null) { ensureScenarioItemsIsMutable(); scenarioItems_.add(m); } else { scenarioItemsBuilder_.addMessage(m); } break; } // case 34 case 42: { input.readMessage( getPreHookFailureFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { input.readMessage( getPostHookFailureFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { java.lang.String s = input.readStringRequireUtf8(); ensureTagsIsMutable(); tags_.add(s); break; } // case 58 case 64: { executionTime_ = input.readInt64(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { skipped_ = input.readBool(); bitField0_ |= 0x00000100; break; } // case 72 case 82: { java.lang.String s = input.readStringRequireUtf8(); ensureSkipErrorsIsMutable(); skipErrors_.add(s); break; } // case 82 case 90: { iD_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 90 case 98: { gauge.messages.Spec.ProtoItem m = input.readMessage( gauge.messages.Spec.ProtoItem.parser(), extensionRegistry); if (tearDownStepsBuilder_ == null) { ensureTearDownStepsIsMutable(); tearDownSteps_.add(m); } else { tearDownStepsBuilder_.addMessage(m); } break; } // case 98 case 106: { input.readMessage( getSpanFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 106 case 112: { executionStatus_ = input.readEnum(); bitField0_ |= 0x00002000; break; } // case 112 case 122: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookMessagesIsMutable(); preHookMessages_.add(s); break; } // case 122 case 130: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookMessagesIsMutable(); postHookMessages_.add(s); break; } // case 130 case 138: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookMessageIsMutable(); preHookMessage_.add(s); break; } // case 138 case 146: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookMessageIsMutable(); postHookMessage_.add(s); break; } // case 146 case 154: { com.google.protobuf.ByteString v = input.readBytes(); ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.add(v); break; } // case 154 case 162: { com.google.protobuf.ByteString v = input.readBytes(); ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.add(v); break; } // case 162 case 170: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(s); break; } // case 170 case 178: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(s); break; } // case 178 case 184: { retriesCount_ = input.readInt64(); bitField0_ |= 0x00400000; break; } // case 184 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object scenarioHeading_ = ""; /** *
       * / Heading of the given Scenario
       * 
* * string scenarioHeading = 1; * @return The scenarioHeading. */ public java.lang.String getScenarioHeading() { java.lang.Object ref = scenarioHeading_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scenarioHeading_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Heading of the given Scenario
       * 
* * string scenarioHeading = 1; * @return The bytes for scenarioHeading. */ public com.google.protobuf.ByteString getScenarioHeadingBytes() { java.lang.Object ref = scenarioHeading_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); scenarioHeading_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Heading of the given Scenario
       * 
* * string scenarioHeading = 1; * @param value The scenarioHeading to set. * @return This builder for chaining. */ public Builder setScenarioHeading( java.lang.String value) { if (value == null) { throw new NullPointerException(); } scenarioHeading_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Heading of the given Scenario
       * 
* * string scenarioHeading = 1; * @return This builder for chaining. */ public Builder clearScenarioHeading() { scenarioHeading_ = getDefaultInstance().getScenarioHeading(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * / Heading of the given Scenario
       * 
* * string scenarioHeading = 1; * @param value The bytes for scenarioHeading to set. * @return This builder for chaining. */ public Builder setScenarioHeadingBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scenarioHeading_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private boolean failed_ ; /** *
       * / Flag to indicate if the Scenario execution failed
       * 
* * bool failed = 2 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.failed is deprecated. * See spec.proto;l=99 * @return The failed. */ @java.lang.Override @java.lang.Deprecated public boolean getFailed() { return failed_; } /** *
       * / Flag to indicate if the Scenario execution failed
       * 
* * bool failed = 2 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.failed is deprecated. * See spec.proto;l=99 * @param value The failed to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setFailed(boolean value) { failed_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Flag to indicate if the Scenario execution failed
       * 
* * bool failed = 2 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.failed is deprecated. * See spec.proto;l=99 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearFailed() { bitField0_ = (bitField0_ & ~0x00000002); failed_ = false; onChanged(); return this; } private java.util.List contexts_ = java.util.Collections.emptyList(); private void ensureContextsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { contexts_ = new java.util.ArrayList(contexts_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> contextsBuilder_; /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public java.util.List getContextsList() { if (contextsBuilder_ == null) { return java.util.Collections.unmodifiableList(contexts_); } else { return contextsBuilder_.getMessageList(); } } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public int getContextsCount() { if (contextsBuilder_ == null) { return contexts_.size(); } else { return contextsBuilder_.getCount(); } } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public gauge.messages.Spec.ProtoItem getContexts(int index) { if (contextsBuilder_ == null) { return contexts_.get(index); } else { return contextsBuilder_.getMessage(index); } } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public Builder setContexts( int index, gauge.messages.Spec.ProtoItem value) { if (contextsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextsIsMutable(); contexts_.set(index, value); onChanged(); } else { contextsBuilder_.setMessage(index, value); } return this; } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public Builder setContexts( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (contextsBuilder_ == null) { ensureContextsIsMutable(); contexts_.set(index, builderForValue.build()); onChanged(); } else { contextsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public Builder addContexts(gauge.messages.Spec.ProtoItem value) { if (contextsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextsIsMutable(); contexts_.add(value); onChanged(); } else { contextsBuilder_.addMessage(value); } return this; } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public Builder addContexts( int index, gauge.messages.Spec.ProtoItem value) { if (contextsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextsIsMutable(); contexts_.add(index, value); onChanged(); } else { contextsBuilder_.addMessage(index, value); } return this; } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public Builder addContexts( gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (contextsBuilder_ == null) { ensureContextsIsMutable(); contexts_.add(builderForValue.build()); onChanged(); } else { contextsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public Builder addContexts( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (contextsBuilder_ == null) { ensureContextsIsMutable(); contexts_.add(index, builderForValue.build()); onChanged(); } else { contextsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public Builder addAllContexts( java.lang.Iterable values) { if (contextsBuilder_ == null) { ensureContextsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, contexts_); onChanged(); } else { contextsBuilder_.addAllMessages(values); } return this; } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public Builder clearContexts() { if (contextsBuilder_ == null) { contexts_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { contextsBuilder_.clear(); } return this; } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public Builder removeContexts(int index) { if (contextsBuilder_ == null) { ensureContextsIsMutable(); contexts_.remove(index); onChanged(); } else { contextsBuilder_.remove(index); } return this; } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public gauge.messages.Spec.ProtoItem.Builder getContextsBuilder( int index) { return getContextsFieldBuilder().getBuilder(index); } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public gauge.messages.Spec.ProtoItemOrBuilder getContextsOrBuilder( int index) { if (contextsBuilder_ == null) { return contexts_.get(index); } else { return contextsBuilder_.getMessageOrBuilder(index); } } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public java.util.List getContextsOrBuilderList() { if (contextsBuilder_ != null) { return contextsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(contexts_); } } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public gauge.messages.Spec.ProtoItem.Builder addContextsBuilder() { return getContextsFieldBuilder().addBuilder( gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public gauge.messages.Spec.ProtoItem.Builder addContextsBuilder( int index) { return getContextsFieldBuilder().addBuilder( index, gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / Collection of Context steps. The Context steps are executed before every run.
       * 
* * repeated .gauge.messages.ProtoItem contexts = 3; */ public java.util.List getContextsBuilderList() { return getContextsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> getContextsFieldBuilder() { if (contextsBuilder_ == null) { contextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>( contexts_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); contexts_ = null; } return contextsBuilder_; } private java.util.List scenarioItems_ = java.util.Collections.emptyList(); private void ensureScenarioItemsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { scenarioItems_ = new java.util.ArrayList(scenarioItems_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> scenarioItemsBuilder_; /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public java.util.List getScenarioItemsList() { if (scenarioItemsBuilder_ == null) { return java.util.Collections.unmodifiableList(scenarioItems_); } else { return scenarioItemsBuilder_.getMessageList(); } } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public int getScenarioItemsCount() { if (scenarioItemsBuilder_ == null) { return scenarioItems_.size(); } else { return scenarioItemsBuilder_.getCount(); } } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public gauge.messages.Spec.ProtoItem getScenarioItems(int index) { if (scenarioItemsBuilder_ == null) { return scenarioItems_.get(index); } else { return scenarioItemsBuilder_.getMessage(index); } } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public Builder setScenarioItems( int index, gauge.messages.Spec.ProtoItem value) { if (scenarioItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScenarioItemsIsMutable(); scenarioItems_.set(index, value); onChanged(); } else { scenarioItemsBuilder_.setMessage(index, value); } return this; } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public Builder setScenarioItems( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (scenarioItemsBuilder_ == null) { ensureScenarioItemsIsMutable(); scenarioItems_.set(index, builderForValue.build()); onChanged(); } else { scenarioItemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public Builder addScenarioItems(gauge.messages.Spec.ProtoItem value) { if (scenarioItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScenarioItemsIsMutable(); scenarioItems_.add(value); onChanged(); } else { scenarioItemsBuilder_.addMessage(value); } return this; } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public Builder addScenarioItems( int index, gauge.messages.Spec.ProtoItem value) { if (scenarioItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureScenarioItemsIsMutable(); scenarioItems_.add(index, value); onChanged(); } else { scenarioItemsBuilder_.addMessage(index, value); } return this; } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public Builder addScenarioItems( gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (scenarioItemsBuilder_ == null) { ensureScenarioItemsIsMutable(); scenarioItems_.add(builderForValue.build()); onChanged(); } else { scenarioItemsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public Builder addScenarioItems( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (scenarioItemsBuilder_ == null) { ensureScenarioItemsIsMutable(); scenarioItems_.add(index, builderForValue.build()); onChanged(); } else { scenarioItemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public Builder addAllScenarioItems( java.lang.Iterable values) { if (scenarioItemsBuilder_ == null) { ensureScenarioItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, scenarioItems_); onChanged(); } else { scenarioItemsBuilder_.addAllMessages(values); } return this; } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public Builder clearScenarioItems() { if (scenarioItemsBuilder_ == null) { scenarioItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { scenarioItemsBuilder_.clear(); } return this; } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public Builder removeScenarioItems(int index) { if (scenarioItemsBuilder_ == null) { ensureScenarioItemsIsMutable(); scenarioItems_.remove(index); onChanged(); } else { scenarioItemsBuilder_.remove(index); } return this; } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public gauge.messages.Spec.ProtoItem.Builder getScenarioItemsBuilder( int index) { return getScenarioItemsFieldBuilder().getBuilder(index); } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public gauge.messages.Spec.ProtoItemOrBuilder getScenarioItemsOrBuilder( int index) { if (scenarioItemsBuilder_ == null) { return scenarioItems_.get(index); } else { return scenarioItemsBuilder_.getMessageOrBuilder(index); } } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public java.util.List getScenarioItemsOrBuilderList() { if (scenarioItemsBuilder_ != null) { return scenarioItemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(scenarioItems_); } } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public gauge.messages.Spec.ProtoItem.Builder addScenarioItemsBuilder() { return getScenarioItemsFieldBuilder().addBuilder( gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public gauge.messages.Spec.ProtoItem.Builder addScenarioItemsBuilder( int index) { return getScenarioItemsFieldBuilder().addBuilder( index, gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables
       * 
* * repeated .gauge.messages.ProtoItem scenarioItems = 4; */ public java.util.List getScenarioItemsBuilderList() { return getScenarioItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> getScenarioItemsFieldBuilder() { if (scenarioItemsBuilder_ == null) { scenarioItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>( scenarioItems_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); scenarioItems_ = null; } return scenarioItemsBuilder_; } private gauge.messages.Spec.ProtoHookFailure preHookFailure_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> preHookFailureBuilder_; /** *
       * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; * @return Whether the preHookFailure field is set. */ public boolean hasPreHookFailure() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; * @return The preHookFailure. */ public gauge.messages.Spec.ProtoHookFailure getPreHookFailure() { if (preHookFailureBuilder_ == null) { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } else { return preHookFailureBuilder_.getMessage(); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; */ public Builder setPreHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (preHookFailureBuilder_ == null) { if (value == null) { throw new NullPointerException(); } preHookFailure_ = value; } else { preHookFailureBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; */ public Builder setPreHookFailure( gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (preHookFailureBuilder_ == null) { preHookFailure_ = builderForValue.build(); } else { preHookFailureBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; */ public Builder mergePreHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (preHookFailureBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && preHookFailure_ != null && preHookFailure_ != gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()) { getPreHookFailureBuilder().mergeFrom(value); } else { preHookFailure_ = value; } } else { preHookFailureBuilder_.mergeFrom(value); } if (preHookFailure_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; */ public Builder clearPreHookFailure() { bitField0_ = (bitField0_ & ~0x00000010); preHookFailure_ = null; if (preHookFailureBuilder_ != null) { preHookFailureBuilder_.dispose(); preHookFailureBuilder_ = null; } onChanged(); return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; */ public gauge.messages.Spec.ProtoHookFailure.Builder getPreHookFailureBuilder() { bitField0_ |= 0x00000010; onChanged(); return getPreHookFailureFieldBuilder().getBuilder(); } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; */ public gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailureOrBuilder() { if (preHookFailureBuilder_ != null) { return preHookFailureBuilder_.getMessageOrBuilder(); } else { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 5; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> getPreHookFailureFieldBuilder() { if (preHookFailureBuilder_ == null) { preHookFailureBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder>( getPreHookFailure(), getParentForChildren(), isClean()); preHookFailure_ = null; } return preHookFailureBuilder_; } private gauge.messages.Spec.ProtoHookFailure postHookFailure_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> postHookFailureBuilder_; /** *
       * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; * @return Whether the postHookFailure field is set. */ public boolean hasPostHookFailure() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; * @return The postHookFailure. */ public gauge.messages.Spec.ProtoHookFailure getPostHookFailure() { if (postHookFailureBuilder_ == null) { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } else { return postHookFailureBuilder_.getMessage(); } } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; */ public Builder setPostHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (postHookFailureBuilder_ == null) { if (value == null) { throw new NullPointerException(); } postHookFailure_ = value; } else { postHookFailureBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; */ public Builder setPostHookFailure( gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (postHookFailureBuilder_ == null) { postHookFailure_ = builderForValue.build(); } else { postHookFailureBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; */ public Builder mergePostHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (postHookFailureBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && postHookFailure_ != null && postHookFailure_ != gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()) { getPostHookFailureBuilder().mergeFrom(value); } else { postHookFailure_ = value; } } else { postHookFailureBuilder_.mergeFrom(value); } if (postHookFailure_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; */ public Builder clearPostHookFailure() { bitField0_ = (bitField0_ & ~0x00000020); postHookFailure_ = null; if (postHookFailureBuilder_ != null) { postHookFailureBuilder_.dispose(); postHookFailureBuilder_ = null; } onChanged(); return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; */ public gauge.messages.Spec.ProtoHookFailure.Builder getPostHookFailureBuilder() { bitField0_ |= 0x00000020; onChanged(); return getPostHookFailureFieldBuilder().getBuilder(); } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; */ public gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder() { if (postHookFailureBuilder_ != null) { return postHookFailureBuilder_.getMessageOrBuilder(); } else { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 6; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> getPostHookFailureFieldBuilder() { if (postHookFailureBuilder_ == null) { postHookFailureBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder>( getPostHookFailure(), getParentForChildren(), isClean()); postHookFailure_ = null; } return postHookFailureBuilder_; } private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureTagsIsMutable() { if (!tags_.isModifiable()) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); } bitField0_ |= 0x00000040; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { tags_.makeImmutable(); return tags_; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ public Builder setTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.set(index, value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param value The tags to add. * @return This builder for chaining. */ public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param values The tags to add. * @return This builder for chaining. */ public Builder addAllTags( java.lang.Iterable values) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @return This builder for chaining. */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000040);; onChanged(); return this; } /** *
       * / Contains a list of tags that are defined at the specification level. Scenario tags are not present here.
       * 
* * repeated string tags = 7; * @param value The bytes of the tags to add. * @return This builder for chaining. */ public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } private long executionTime_ ; /** *
       * / Holds the time taken for executing this scenario.
       * 
* * int64 executionTime = 8; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } /** *
       * / Holds the time taken for executing this scenario.
       * 
* * int64 executionTime = 8; * @param value The executionTime to set. * @return This builder for chaining. */ public Builder setExecutionTime(long value) { executionTime_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / Holds the time taken for executing this scenario.
       * 
* * int64 executionTime = 8; * @return This builder for chaining. */ public Builder clearExecutionTime() { bitField0_ = (bitField0_ & ~0x00000080); executionTime_ = 0L; onChanged(); return this; } private boolean skipped_ ; /** *
       * / Flag to indicate if the Scenario execution is skipped
       * 
* * bool skipped = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.skipped is deprecated. * See spec.proto;l=113 * @return The skipped. */ @java.lang.Override @java.lang.Deprecated public boolean getSkipped() { return skipped_; } /** *
       * / Flag to indicate if the Scenario execution is skipped
       * 
* * bool skipped = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.skipped is deprecated. * See spec.proto;l=113 * @param value The skipped to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setSkipped(boolean value) { skipped_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Flag to indicate if the Scenario execution is skipped
       * 
* * bool skipped = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.skipped is deprecated. * See spec.proto;l=113 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSkipped() { bitField0_ = (bitField0_ & ~0x00000100); skipped_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList skipErrors_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureSkipErrorsIsMutable() { if (!skipErrors_.isModifiable()) { skipErrors_ = new com.google.protobuf.LazyStringArrayList(skipErrors_); } bitField0_ |= 0x00000200; } /** *
       * / Holds the error messages for skipping scenario from execution
       * 
* * repeated string skipErrors = 10; * @return A list containing the skipErrors. */ public com.google.protobuf.ProtocolStringList getSkipErrorsList() { skipErrors_.makeImmutable(); return skipErrors_; } /** *
       * / Holds the error messages for skipping scenario from execution
       * 
* * repeated string skipErrors = 10; * @return The count of skipErrors. */ public int getSkipErrorsCount() { return skipErrors_.size(); } /** *
       * / Holds the error messages for skipping scenario from execution
       * 
* * repeated string skipErrors = 10; * @param index The index of the element to return. * @return The skipErrors at the given index. */ public java.lang.String getSkipErrors(int index) { return skipErrors_.get(index); } /** *
       * / Holds the error messages for skipping scenario from execution
       * 
* * repeated string skipErrors = 10; * @param index The index of the value to return. * @return The bytes of the skipErrors at the given index. */ public com.google.protobuf.ByteString getSkipErrorsBytes(int index) { return skipErrors_.getByteString(index); } /** *
       * / Holds the error messages for skipping scenario from execution
       * 
* * repeated string skipErrors = 10; * @param index The index to set the value at. * @param value The skipErrors to set. * @return This builder for chaining. */ public Builder setSkipErrors( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSkipErrorsIsMutable(); skipErrors_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / Holds the error messages for skipping scenario from execution
       * 
* * repeated string skipErrors = 10; * @param value The skipErrors to add. * @return This builder for chaining. */ public Builder addSkipErrors( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSkipErrorsIsMutable(); skipErrors_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / Holds the error messages for skipping scenario from execution
       * 
* * repeated string skipErrors = 10; * @param values The skipErrors to add. * @return This builder for chaining. */ public Builder addAllSkipErrors( java.lang.Iterable values) { ensureSkipErrorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, skipErrors_); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / Holds the error messages for skipping scenario from execution
       * 
* * repeated string skipErrors = 10; * @return This builder for chaining. */ public Builder clearSkipErrors() { skipErrors_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** *
       * / Holds the error messages for skipping scenario from execution
       * 
* * repeated string skipErrors = 10; * @param value The bytes of the skipErrors to add. * @return This builder for chaining. */ public Builder addSkipErrorsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSkipErrorsIsMutable(); skipErrors_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } private java.lang.Object iD_ = ""; /** *
       * / Holds the unique Identifier of a scenario.
       * 
* * string ID = 11; * @return The iD. */ public java.lang.String getID() { java.lang.Object ref = iD_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iD_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the unique Identifier of a scenario.
       * 
* * string ID = 11; * @return The bytes for iD. */ public com.google.protobuf.ByteString getIDBytes() { java.lang.Object ref = iD_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); iD_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the unique Identifier of a scenario.
       * 
* * string ID = 11; * @param value The iD to set. * @return This builder for chaining. */ public Builder setID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } iD_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * / Holds the unique Identifier of a scenario.
       * 
* * string ID = 11; * @return This builder for chaining. */ public Builder clearID() { iD_ = getDefaultInstance().getID(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
       * / Holds the unique Identifier of a scenario.
       * 
* * string ID = 11; * @param value The bytes for iD to set. * @return This builder for chaining. */ public Builder setIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); iD_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private java.util.List tearDownSteps_ = java.util.Collections.emptyList(); private void ensureTearDownStepsIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { tearDownSteps_ = new java.util.ArrayList(tearDownSteps_); bitField0_ |= 0x00000800; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> tearDownStepsBuilder_; /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public java.util.List getTearDownStepsList() { if (tearDownStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(tearDownSteps_); } else { return tearDownStepsBuilder_.getMessageList(); } } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public int getTearDownStepsCount() { if (tearDownStepsBuilder_ == null) { return tearDownSteps_.size(); } else { return tearDownStepsBuilder_.getCount(); } } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public gauge.messages.Spec.ProtoItem getTearDownSteps(int index) { if (tearDownStepsBuilder_ == null) { return tearDownSteps_.get(index); } else { return tearDownStepsBuilder_.getMessage(index); } } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public Builder setTearDownSteps( int index, gauge.messages.Spec.ProtoItem value) { if (tearDownStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTearDownStepsIsMutable(); tearDownSteps_.set(index, value); onChanged(); } else { tearDownStepsBuilder_.setMessage(index, value); } return this; } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public Builder setTearDownSteps( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (tearDownStepsBuilder_ == null) { ensureTearDownStepsIsMutable(); tearDownSteps_.set(index, builderForValue.build()); onChanged(); } else { tearDownStepsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public Builder addTearDownSteps(gauge.messages.Spec.ProtoItem value) { if (tearDownStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTearDownStepsIsMutable(); tearDownSteps_.add(value); onChanged(); } else { tearDownStepsBuilder_.addMessage(value); } return this; } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public Builder addTearDownSteps( int index, gauge.messages.Spec.ProtoItem value) { if (tearDownStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTearDownStepsIsMutable(); tearDownSteps_.add(index, value); onChanged(); } else { tearDownStepsBuilder_.addMessage(index, value); } return this; } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public Builder addTearDownSteps( gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (tearDownStepsBuilder_ == null) { ensureTearDownStepsIsMutable(); tearDownSteps_.add(builderForValue.build()); onChanged(); } else { tearDownStepsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public Builder addTearDownSteps( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (tearDownStepsBuilder_ == null) { ensureTearDownStepsIsMutable(); tearDownSteps_.add(index, builderForValue.build()); onChanged(); } else { tearDownStepsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public Builder addAllTearDownSteps( java.lang.Iterable values) { if (tearDownStepsBuilder_ == null) { ensureTearDownStepsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tearDownSteps_); onChanged(); } else { tearDownStepsBuilder_.addAllMessages(values); } return this; } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public Builder clearTearDownSteps() { if (tearDownStepsBuilder_ == null) { tearDownSteps_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { tearDownStepsBuilder_.clear(); } return this; } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public Builder removeTearDownSteps(int index) { if (tearDownStepsBuilder_ == null) { ensureTearDownStepsIsMutable(); tearDownSteps_.remove(index); onChanged(); } else { tearDownStepsBuilder_.remove(index); } return this; } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public gauge.messages.Spec.ProtoItem.Builder getTearDownStepsBuilder( int index) { return getTearDownStepsFieldBuilder().getBuilder(index); } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public gauge.messages.Spec.ProtoItemOrBuilder getTearDownStepsOrBuilder( int index) { if (tearDownStepsBuilder_ == null) { return tearDownSteps_.get(index); } else { return tearDownStepsBuilder_.getMessageOrBuilder(index); } } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public java.util.List getTearDownStepsOrBuilderList() { if (tearDownStepsBuilder_ != null) { return tearDownStepsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tearDownSteps_); } } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public gauge.messages.Spec.ProtoItem.Builder addTearDownStepsBuilder() { return getTearDownStepsFieldBuilder().addBuilder( gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public gauge.messages.Spec.ProtoItem.Builder addTearDownStepsBuilder( int index) { return getTearDownStepsFieldBuilder().addBuilder( index, gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / Collection of Teardown steps. The Teardown steps are executed after every run.
       * 
* * repeated .gauge.messages.ProtoItem tearDownSteps = 12; */ public java.util.List getTearDownStepsBuilderList() { return getTearDownStepsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> getTearDownStepsFieldBuilder() { if (tearDownStepsBuilder_ == null) { tearDownStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>( tearDownSteps_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); tearDownSteps_ = null; } return tearDownStepsBuilder_; } private gauge.messages.Spec.Span span_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.Span, gauge.messages.Spec.Span.Builder, gauge.messages.Spec.SpanOrBuilder> spanBuilder_; /** *
       * / Span(start, end) of scenario
       * 
* * .gauge.messages.Span span = 13; * @return Whether the span field is set. */ public boolean hasSpan() { return ((bitField0_ & 0x00001000) != 0); } /** *
       * / Span(start, end) of scenario
       * 
* * .gauge.messages.Span span = 13; * @return The span. */ public gauge.messages.Spec.Span getSpan() { if (spanBuilder_ == null) { return span_ == null ? gauge.messages.Spec.Span.getDefaultInstance() : span_; } else { return spanBuilder_.getMessage(); } } /** *
       * / Span(start, end) of scenario
       * 
* * .gauge.messages.Span span = 13; */ public Builder setSpan(gauge.messages.Spec.Span value) { if (spanBuilder_ == null) { if (value == null) { throw new NullPointerException(); } span_ = value; } else { spanBuilder_.setMessage(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * / Span(start, end) of scenario
       * 
* * .gauge.messages.Span span = 13; */ public Builder setSpan( gauge.messages.Spec.Span.Builder builderForValue) { if (spanBuilder_ == null) { span_ = builderForValue.build(); } else { spanBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * / Span(start, end) of scenario
       * 
* * .gauge.messages.Span span = 13; */ public Builder mergeSpan(gauge.messages.Spec.Span value) { if (spanBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && span_ != null && span_ != gauge.messages.Spec.Span.getDefaultInstance()) { getSpanBuilder().mergeFrom(value); } else { span_ = value; } } else { spanBuilder_.mergeFrom(value); } if (span_ != null) { bitField0_ |= 0x00001000; onChanged(); } return this; } /** *
       * / Span(start, end) of scenario
       * 
* * .gauge.messages.Span span = 13; */ public Builder clearSpan() { bitField0_ = (bitField0_ & ~0x00001000); span_ = null; if (spanBuilder_ != null) { spanBuilder_.dispose(); spanBuilder_ = null; } onChanged(); return this; } /** *
       * / Span(start, end) of scenario
       * 
* * .gauge.messages.Span span = 13; */ public gauge.messages.Spec.Span.Builder getSpanBuilder() { bitField0_ |= 0x00001000; onChanged(); return getSpanFieldBuilder().getBuilder(); } /** *
       * / Span(start, end) of scenario
       * 
* * .gauge.messages.Span span = 13; */ public gauge.messages.Spec.SpanOrBuilder getSpanOrBuilder() { if (spanBuilder_ != null) { return spanBuilder_.getMessageOrBuilder(); } else { return span_ == null ? gauge.messages.Spec.Span.getDefaultInstance() : span_; } } /** *
       * / Span(start, end) of scenario
       * 
* * .gauge.messages.Span span = 13; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.Span, gauge.messages.Spec.Span.Builder, gauge.messages.Spec.SpanOrBuilder> getSpanFieldBuilder() { if (spanBuilder_ == null) { spanBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.Span, gauge.messages.Spec.Span.Builder, gauge.messages.Spec.SpanOrBuilder>( getSpan(), getParentForChildren(), isClean()); span_ = null; } return spanBuilder_; } private int executionStatus_ = 0; /** *
       * / Execution status for the scenario
       * 
* * .gauge.messages.ExecutionStatus executionStatus = 14; * @return The enum numeric value on the wire for executionStatus. */ @java.lang.Override public int getExecutionStatusValue() { return executionStatus_; } /** *
       * / Execution status for the scenario
       * 
* * .gauge.messages.ExecutionStatus executionStatus = 14; * @param value The enum numeric value on the wire for executionStatus to set. * @return This builder for chaining. */ public Builder setExecutionStatusValue(int value) { executionStatus_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** *
       * / Execution status for the scenario
       * 
* * .gauge.messages.ExecutionStatus executionStatus = 14; * @return The executionStatus. */ @java.lang.Override public gauge.messages.Spec.ExecutionStatus getExecutionStatus() { gauge.messages.Spec.ExecutionStatus result = gauge.messages.Spec.ExecutionStatus.forNumber(executionStatus_); return result == null ? gauge.messages.Spec.ExecutionStatus.UNRECOGNIZED : result; } /** *
       * / Execution status for the scenario
       * 
* * .gauge.messages.ExecutionStatus executionStatus = 14; * @param value The executionStatus to set. * @return This builder for chaining. */ public Builder setExecutionStatus(gauge.messages.Spec.ExecutionStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; executionStatus_ = value.getNumber(); onChanged(); return this; } /** *
       * / Execution status for the scenario
       * 
* * .gauge.messages.ExecutionStatus executionStatus = 14; * @return This builder for chaining. */ public Builder clearExecutionStatus() { bitField0_ = (bitField0_ & ~0x00002000); executionStatus_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookMessagesIsMutable() { if (!preHookMessages_.isModifiable()) { preHookMessages_ = new com.google.protobuf.LazyStringArrayList(preHookMessages_); } bitField0_ |= 0x00004000; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 15; * @return A list containing the preHookMessages. */ public com.google.protobuf.ProtocolStringList getPreHookMessagesList() { preHookMessages_.makeImmutable(); return preHookMessages_; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 15; * @return The count of preHookMessages. */ public int getPreHookMessagesCount() { return preHookMessages_.size(); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 15; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ public java.lang.String getPreHookMessages(int index) { return preHookMessages_.get(index); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 15; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ public com.google.protobuf.ByteString getPreHookMessagesBytes(int index) { return preHookMessages_.getByteString(index); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 15; * @param index The index to set the value at. * @param value The preHookMessages to set. * @return This builder for chaining. */ public Builder setPreHookMessages( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessagesIsMutable(); preHookMessages_.set(index, value); bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 15; * @param value The preHookMessages to add. * @return This builder for chaining. */ public Builder addPreHookMessages( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessagesIsMutable(); preHookMessages_.add(value); bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 15; * @param values The preHookMessages to add. * @return This builder for chaining. */ public Builder addAllPreHookMessages( java.lang.Iterable values) { ensurePreHookMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookMessages_); bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 15; * @return This builder for chaining. */ public Builder clearPreHookMessages() { preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00004000);; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 15; * @param value The bytes of the preHookMessages to add. * @return This builder for chaining. */ public Builder addPreHookMessagesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookMessagesIsMutable(); preHookMessages_.add(value); bitField0_ |= 0x00004000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookMessagesIsMutable() { if (!postHookMessages_.isModifiable()) { postHookMessages_ = new com.google.protobuf.LazyStringArrayList(postHookMessages_); } bitField0_ |= 0x00008000; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 16; * @return A list containing the postHookMessages. */ public com.google.protobuf.ProtocolStringList getPostHookMessagesList() { postHookMessages_.makeImmutable(); return postHookMessages_; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 16; * @return The count of postHookMessages. */ public int getPostHookMessagesCount() { return postHookMessages_.size(); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 16; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ public java.lang.String getPostHookMessages(int index) { return postHookMessages_.get(index); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 16; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ public com.google.protobuf.ByteString getPostHookMessagesBytes(int index) { return postHookMessages_.getByteString(index); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 16; * @param index The index to set the value at. * @param value The postHookMessages to set. * @return This builder for chaining. */ public Builder setPostHookMessages( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessagesIsMutable(); postHookMessages_.set(index, value); bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 16; * @param value The postHookMessages to add. * @return This builder for chaining. */ public Builder addPostHookMessages( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessagesIsMutable(); postHookMessages_.add(value); bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 16; * @param values The postHookMessages to add. * @return This builder for chaining. */ public Builder addAllPostHookMessages( java.lang.Iterable values) { ensurePostHookMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookMessages_); bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 16; * @return This builder for chaining. */ public Builder clearPostHookMessages() { postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00008000);; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 16; * @param value The bytes of the postHookMessages to add. * @return This builder for chaining. */ public Builder addPostHookMessagesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookMessagesIsMutable(); postHookMessages_.add(value); bitField0_ |= 0x00008000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookMessageIsMutable() { if (!preHookMessage_.isModifiable()) { preHookMessage_ = new com.google.protobuf.LazyStringArrayList(preHookMessage_); } bitField0_ |= 0x00010000; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @return A list containing the preHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPreHookMessageList() { preHookMessage_.makeImmutable(); return preHookMessage_; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @return The count of preHookMessage. */ @java.lang.Deprecated public int getPreHookMessageCount() { return preHookMessage_.size(); } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param index The index of the element to return. * @return The preHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPreHookMessage(int index) { return preHookMessage_.get(index); } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param index The index of the value to return. * @return The bytes of the preHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookMessageBytes(int index) { return preHookMessage_.getByteString(index); } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param index The index to set the value at. * @param value The preHookMessage to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPreHookMessage( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessageIsMutable(); preHookMessage_.set(index, value); bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param value The preHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessageIsMutable(); preHookMessage_.add(value); bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param values The preHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPreHookMessage( java.lang.Iterable values) { ensurePreHookMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookMessage_); bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPreHookMessage() { preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00010000);; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookMessage is deprecated. * See spec.proto;l=129 * @param value The bytes of the preHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookMessageIsMutable(); preHookMessage_.add(value); bitField0_ |= 0x00010000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookMessageIsMutable() { if (!postHookMessage_.isModifiable()) { postHookMessage_ = new com.google.protobuf.LazyStringArrayList(postHookMessage_); } bitField0_ |= 0x00020000; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @return A list containing the postHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPostHookMessageList() { postHookMessage_.makeImmutable(); return postHookMessage_; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @return The count of postHookMessage. */ @java.lang.Deprecated public int getPostHookMessageCount() { return postHookMessage_.size(); } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param index The index of the element to return. * @return The postHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPostHookMessage(int index) { return postHookMessage_.get(index); } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param index The index of the value to return. * @return The bytes of the postHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookMessageBytes(int index) { return postHookMessage_.getByteString(index); } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param index The index to set the value at. * @param value The postHookMessage to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPostHookMessage( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessageIsMutable(); postHookMessage_.set(index, value); bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param value The postHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessageIsMutable(); postHookMessage_.add(value); bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param values The postHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPostHookMessage( java.lang.Iterable values) { ensurePostHookMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookMessage_); bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPostHookMessage() { postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00020000);; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookMessage is deprecated. * See spec.proto;l=131 * @param value The bytes of the postHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookMessageIsMutable(); postHookMessage_.add(value); bitField0_ |= 0x00020000; onChanged(); return this; } private com.google.protobuf.Internal.ProtobufList preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); private void ensurePreHookScreenshotsIsMutable() { if (!preHookScreenshots_.isModifiable()) { preHookScreenshots_ = makeMutableCopy(preHookScreenshots_); } bitField0_ |= 0x00040000; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @return A list containing the preHookScreenshots. */ @java.lang.Deprecated public java.util.List getPreHookScreenshotsList() { preHookScreenshots_.makeImmutable(); return preHookScreenshots_; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @return The count of preHookScreenshots. */ @java.lang.Deprecated public int getPreHookScreenshotsCount() { return preHookScreenshots_.size(); } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookScreenshots(int index) { return preHookScreenshots_.get(index); } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @param index The index to set the value at. * @param value The preHookScreenshots to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPreHookScreenshots( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.set(index, value); bitField0_ |= 0x00040000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @param value The preHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookScreenshots(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.add(value); bitField0_ |= 0x00040000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @param values The preHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPreHookScreenshots( java.lang.Iterable values) { ensurePreHookScreenshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookScreenshots_); bitField0_ |= 0x00040000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 19 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.preHookScreenshots is deprecated. * See spec.proto;l=133 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPreHookScreenshots() { preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } private com.google.protobuf.Internal.ProtobufList postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); private void ensurePostHookScreenshotsIsMutable() { if (!postHookScreenshots_.isModifiable()) { postHookScreenshots_ = makeMutableCopy(postHookScreenshots_); } bitField0_ |= 0x00080000; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @return A list containing the postHookScreenshots. */ @java.lang.Deprecated public java.util.List getPostHookScreenshotsList() { postHookScreenshots_.makeImmutable(); return postHookScreenshots_; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @return The count of postHookScreenshots. */ @java.lang.Deprecated public int getPostHookScreenshotsCount() { return postHookScreenshots_.size(); } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookScreenshots(int index) { return postHookScreenshots_.get(index); } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @param index The index to set the value at. * @param value The postHookScreenshots to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPostHookScreenshots( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.set(index, value); bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @param value The postHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookScreenshots(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.add(value); bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @param values The postHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPostHookScreenshots( java.lang.Iterable values) { ensurePostHookScreenshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookScreenshots_); bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 20 [deprecated = true]; * @deprecated gauge.messages.ProtoScenario.postHookScreenshots is deprecated. * See spec.proto;l=135 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPostHookScreenshots() { postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookScreenshotFilesIsMutable() { if (!preHookScreenshotFiles_.isModifiable()) { preHookScreenshotFiles_ = new com.google.protobuf.LazyStringArrayList(preHookScreenshotFiles_); } bitField0_ |= 0x00100000; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @return A list containing the preHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPreHookScreenshotFilesList() { preHookScreenshotFiles_.makeImmutable(); return preHookScreenshotFiles_; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @return The count of preHookScreenshotFiles. */ public int getPreHookScreenshotFilesCount() { return preHookScreenshotFiles_.size(); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ public java.lang.String getPreHookScreenshotFiles(int index) { return preHookScreenshotFiles_.get(index); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index) { return preHookScreenshotFiles_.getByteString(index); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index to set the value at. * @param value The preHookScreenshotFiles to set. * @return This builder for chaining. */ public Builder setPreHookScreenshotFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.set(index, value); bitField0_ |= 0x00100000; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param value The preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPreHookScreenshotFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(value); bitField0_ |= 0x00100000; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param values The preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addAllPreHookScreenshotFiles( java.lang.Iterable values) { ensurePreHookScreenshotFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookScreenshotFiles_); bitField0_ |= 0x00100000; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @return This builder for chaining. */ public Builder clearPreHookScreenshotFiles() { preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00100000);; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param value The bytes of the preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPreHookScreenshotFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(value); bitField0_ |= 0x00100000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookScreenshotFilesIsMutable() { if (!postHookScreenshotFiles_.isModifiable()) { postHookScreenshotFiles_ = new com.google.protobuf.LazyStringArrayList(postHookScreenshotFiles_); } bitField0_ |= 0x00200000; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @return A list containing the postHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPostHookScreenshotFilesList() { postHookScreenshotFiles_.makeImmutable(); return postHookScreenshotFiles_; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @return The count of postHookScreenshotFiles. */ public int getPostHookScreenshotFilesCount() { return postHookScreenshotFiles_.size(); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ public java.lang.String getPostHookScreenshotFiles(int index) { return postHookScreenshotFiles_.get(index); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index) { return postHookScreenshotFiles_.getByteString(index); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index to set the value at. * @param value The postHookScreenshotFiles to set. * @return This builder for chaining. */ public Builder setPostHookScreenshotFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.set(index, value); bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param value The postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPostHookScreenshotFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(value); bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param values The postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addAllPostHookScreenshotFiles( java.lang.Iterable values) { ensurePostHookScreenshotFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookScreenshotFiles_); bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @return This builder for chaining. */ public Builder clearPostHookScreenshotFiles() { postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00200000);; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param value The bytes of the postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPostHookScreenshotFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(value); bitField0_ |= 0x00200000; onChanged(); return this; } private long retriesCount_ ; /** *
       * / Number of retires
       * 
* * int64 retriesCount = 23; * @return The retriesCount. */ @java.lang.Override public long getRetriesCount() { return retriesCount_; } /** *
       * / Number of retires
       * 
* * int64 retriesCount = 23; * @param value The retriesCount to set. * @return This builder for chaining. */ public Builder setRetriesCount(long value) { retriesCount_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } /** *
       * / Number of retires
       * 
* * int64 retriesCount = 23; * @return This builder for chaining. */ public Builder clearRetriesCount() { bitField0_ = (bitField0_ & ~0x00400000); retriesCount_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoScenario) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoScenario) private static final gauge.messages.Spec.ProtoScenario DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoScenario(); } public static gauge.messages.Spec.ProtoScenario getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoScenario parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoScenario getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SpanOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.Span) com.google.protobuf.MessageOrBuilder { /** * int64 start = 1; * @return The start. */ long getStart(); /** * int64 end = 2; * @return The end. */ long getEnd(); /** * int64 startChar = 3; * @return The startChar. */ long getStartChar(); /** * int64 endChar = 4; * @return The endChar. */ long getEndChar(); } /** *
   * / A proto object representing a Span of content
   * 
* * Protobuf type {@code gauge.messages.Span} */ public static final class Span extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.Span) SpanOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", Span.class.getName()); } // Use Span.newBuilder() to construct. private Span(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Span() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_Span_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_Span_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.Span.class, gauge.messages.Spec.Span.Builder.class); } public static final int START_FIELD_NUMBER = 1; private long start_ = 0L; /** * int64 start = 1; * @return The start. */ @java.lang.Override public long getStart() { return start_; } public static final int END_FIELD_NUMBER = 2; private long end_ = 0L; /** * int64 end = 2; * @return The end. */ @java.lang.Override public long getEnd() { return end_; } public static final int STARTCHAR_FIELD_NUMBER = 3; private long startChar_ = 0L; /** * int64 startChar = 3; * @return The startChar. */ @java.lang.Override public long getStartChar() { return startChar_; } public static final int ENDCHAR_FIELD_NUMBER = 4; private long endChar_ = 0L; /** * int64 endChar = 4; * @return The endChar. */ @java.lang.Override public long getEndChar() { return endChar_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (start_ != 0L) { output.writeInt64(1, start_); } if (end_ != 0L) { output.writeInt64(2, end_); } if (startChar_ != 0L) { output.writeInt64(3, startChar_); } if (endChar_ != 0L) { output.writeInt64(4, endChar_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (start_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, start_); } if (end_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, end_); } if (startChar_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, startChar_); } if (endChar_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, endChar_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.Span)) { return super.equals(obj); } gauge.messages.Spec.Span other = (gauge.messages.Spec.Span) obj; if (getStart() != other.getStart()) return false; if (getEnd() != other.getEnd()) return false; if (getStartChar() != other.getStartChar()) return false; if (getEndChar() != other.getEndChar()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStart()); hash = (37 * hash) + END_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEnd()); hash = (37 * hash) + STARTCHAR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartChar()); hash = (37 * hash) + ENDCHAR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEndChar()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.Span parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Span parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Span parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Span parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Span parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Span parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Span parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.Span parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.Span parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.Span parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.Span parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.Span parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.Span prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing a Span of content
     * 
* * Protobuf type {@code gauge.messages.Span} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.Span) gauge.messages.Spec.SpanOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_Span_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_Span_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.Span.class, gauge.messages.Spec.Span.Builder.class); } // Construct using gauge.messages.Spec.Span.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; start_ = 0L; end_ = 0L; startChar_ = 0L; endChar_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_Span_descriptor; } @java.lang.Override public gauge.messages.Spec.Span getDefaultInstanceForType() { return gauge.messages.Spec.Span.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.Span build() { gauge.messages.Spec.Span result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.Span buildPartial() { gauge.messages.Spec.Span result = new gauge.messages.Spec.Span(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.Span result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.start_ = start_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.end_ = end_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.startChar_ = startChar_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.endChar_ = endChar_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.Span) { return mergeFrom((gauge.messages.Spec.Span)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.Span other) { if (other == gauge.messages.Spec.Span.getDefaultInstance()) return this; if (other.getStart() != 0L) { setStart(other.getStart()); } if (other.getEnd() != 0L) { setEnd(other.getEnd()); } if (other.getStartChar() != 0L) { setStartChar(other.getStartChar()); } if (other.getEndChar() != 0L) { setEndChar(other.getEndChar()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { start_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { end_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { startChar_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { endChar_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private long start_ ; /** * int64 start = 1; * @return The start. */ @java.lang.Override public long getStart() { return start_; } /** * int64 start = 1; * @param value The start to set. * @return This builder for chaining. */ public Builder setStart(long value) { start_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * int64 start = 1; * @return This builder for chaining. */ public Builder clearStart() { bitField0_ = (bitField0_ & ~0x00000001); start_ = 0L; onChanged(); return this; } private long end_ ; /** * int64 end = 2; * @return The end. */ @java.lang.Override public long getEnd() { return end_; } /** * int64 end = 2; * @param value The end to set. * @return This builder for chaining. */ public Builder setEnd(long value) { end_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * int64 end = 2; * @return This builder for chaining. */ public Builder clearEnd() { bitField0_ = (bitField0_ & ~0x00000002); end_ = 0L; onChanged(); return this; } private long startChar_ ; /** * int64 startChar = 3; * @return The startChar. */ @java.lang.Override public long getStartChar() { return startChar_; } /** * int64 startChar = 3; * @param value The startChar to set. * @return This builder for chaining. */ public Builder setStartChar(long value) { startChar_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * int64 startChar = 3; * @return This builder for chaining. */ public Builder clearStartChar() { bitField0_ = (bitField0_ & ~0x00000004); startChar_ = 0L; onChanged(); return this; } private long endChar_ ; /** * int64 endChar = 4; * @return The endChar. */ @java.lang.Override public long getEndChar() { return endChar_; } /** * int64 endChar = 4; * @param value The endChar to set. * @return This builder for chaining. */ public Builder setEndChar(long value) { endChar_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * int64 endChar = 4; * @return This builder for chaining. */ public Builder clearEndChar() { bitField0_ = (bitField0_ & ~0x00000008); endChar_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.Span) } // @@protoc_insertion_point(class_scope:gauge.messages.Span) private static final gauge.messages.Spec.Span DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.Span(); } public static gauge.messages.Spec.Span getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Span parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.Span getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoTableDrivenScenarioOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoTableDrivenScenario) com.google.protobuf.MessageOrBuilder { /** *
     * / Scenario under Table driven execution
     * 
* * .gauge.messages.ProtoScenario scenario = 1; * @return Whether the scenario field is set. */ boolean hasScenario(); /** *
     * / Scenario under Table driven execution
     * 
* * .gauge.messages.ProtoScenario scenario = 1; * @return The scenario. */ gauge.messages.Spec.ProtoScenario getScenario(); /** *
     * / Scenario under Table driven execution
     * 
* * .gauge.messages.ProtoScenario scenario = 1; */ gauge.messages.Spec.ProtoScenarioOrBuilder getScenarioOrBuilder(); /** *
     * / Row Index of data table against which the current scenario is executed
     * 
* * int32 tableRowIndex = 2; * @return The tableRowIndex. */ int getTableRowIndex(); /** *
     * / Row Index of scenario data table against which the current scenario is executed
     * 
* * int32 scenarioTableRowIndex = 3; * @return The scenarioTableRowIndex. */ int getScenarioTableRowIndex(); /** *
     * / Executed against a spec data table
     * 
* * bool isSpecTableDriven = 4; * @return The isSpecTableDriven. */ boolean getIsSpecTableDriven(); /** *
     * / Executed against a scenario data table
     * 
* * bool isScenarioTableDriven = 5; * @return The isScenarioTableDriven. */ boolean getIsScenarioTableDriven(); /** *
     * / Holds the scenario data table
     * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; * @return Whether the scenarioDataTable field is set. */ boolean hasScenarioDataTable(); /** *
     * / Holds the scenario data table
     * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; * @return The scenarioDataTable. */ gauge.messages.Spec.ProtoTable getScenarioDataTable(); /** *
     * / Holds the scenario data table
     * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; */ gauge.messages.Spec.ProtoTableOrBuilder getScenarioDataTableOrBuilder(); /** *
     * / Hold the row of scenario data table.
     * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; * @return Whether the scenarioTableRow field is set. */ boolean hasScenarioTableRow(); /** *
     * / Hold the row of scenario data table.
     * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; * @return The scenarioTableRow. */ gauge.messages.Spec.ProtoTable getScenarioTableRow(); /** *
     * / Hold the row of scenario data table.
     * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; */ gauge.messages.Spec.ProtoTableOrBuilder getScenarioTableRowOrBuilder(); } /** *
   * / A proto object representing a TableDrivenScenario
   * 
* * Protobuf type {@code gauge.messages.ProtoTableDrivenScenario} */ public static final class ProtoTableDrivenScenario extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoTableDrivenScenario) ProtoTableDrivenScenarioOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoTableDrivenScenario.class.getName()); } // Use ProtoTableDrivenScenario.newBuilder() to construct. private ProtoTableDrivenScenario(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoTableDrivenScenario() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableDrivenScenario_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableDrivenScenario_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoTableDrivenScenario.class, gauge.messages.Spec.ProtoTableDrivenScenario.Builder.class); } private int bitField0_; public static final int SCENARIO_FIELD_NUMBER = 1; private gauge.messages.Spec.ProtoScenario scenario_; /** *
     * / Scenario under Table driven execution
     * 
* * .gauge.messages.ProtoScenario scenario = 1; * @return Whether the scenario field is set. */ @java.lang.Override public boolean hasScenario() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Scenario under Table driven execution
     * 
* * .gauge.messages.ProtoScenario scenario = 1; * @return The scenario. */ @java.lang.Override public gauge.messages.Spec.ProtoScenario getScenario() { return scenario_ == null ? gauge.messages.Spec.ProtoScenario.getDefaultInstance() : scenario_; } /** *
     * / Scenario under Table driven execution
     * 
* * .gauge.messages.ProtoScenario scenario = 1; */ @java.lang.Override public gauge.messages.Spec.ProtoScenarioOrBuilder getScenarioOrBuilder() { return scenario_ == null ? gauge.messages.Spec.ProtoScenario.getDefaultInstance() : scenario_; } public static final int TABLEROWINDEX_FIELD_NUMBER = 2; private int tableRowIndex_ = 0; /** *
     * / Row Index of data table against which the current scenario is executed
     * 
* * int32 tableRowIndex = 2; * @return The tableRowIndex. */ @java.lang.Override public int getTableRowIndex() { return tableRowIndex_; } public static final int SCENARIOTABLEROWINDEX_FIELD_NUMBER = 3; private int scenarioTableRowIndex_ = 0; /** *
     * / Row Index of scenario data table against which the current scenario is executed
     * 
* * int32 scenarioTableRowIndex = 3; * @return The scenarioTableRowIndex. */ @java.lang.Override public int getScenarioTableRowIndex() { return scenarioTableRowIndex_; } public static final int ISSPECTABLEDRIVEN_FIELD_NUMBER = 4; private boolean isSpecTableDriven_ = false; /** *
     * / Executed against a spec data table
     * 
* * bool isSpecTableDriven = 4; * @return The isSpecTableDriven. */ @java.lang.Override public boolean getIsSpecTableDriven() { return isSpecTableDriven_; } public static final int ISSCENARIOTABLEDRIVEN_FIELD_NUMBER = 5; private boolean isScenarioTableDriven_ = false; /** *
     * / Executed against a scenario data table
     * 
* * bool isScenarioTableDriven = 5; * @return The isScenarioTableDriven. */ @java.lang.Override public boolean getIsScenarioTableDriven() { return isScenarioTableDriven_; } public static final int SCENARIODATATABLE_FIELD_NUMBER = 6; private gauge.messages.Spec.ProtoTable scenarioDataTable_; /** *
     * / Holds the scenario data table
     * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; * @return Whether the scenarioDataTable field is set. */ @java.lang.Override public boolean hasScenarioDataTable() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * / Holds the scenario data table
     * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; * @return The scenarioDataTable. */ @java.lang.Override public gauge.messages.Spec.ProtoTable getScenarioDataTable() { return scenarioDataTable_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : scenarioDataTable_; } /** *
     * / Holds the scenario data table
     * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; */ @java.lang.Override public gauge.messages.Spec.ProtoTableOrBuilder getScenarioDataTableOrBuilder() { return scenarioDataTable_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : scenarioDataTable_; } public static final int SCENARIOTABLEROW_FIELD_NUMBER = 7; private gauge.messages.Spec.ProtoTable scenarioTableRow_; /** *
     * / Hold the row of scenario data table.
     * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; * @return Whether the scenarioTableRow field is set. */ @java.lang.Override public boolean hasScenarioTableRow() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * / Hold the row of scenario data table.
     * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; * @return The scenarioTableRow. */ @java.lang.Override public gauge.messages.Spec.ProtoTable getScenarioTableRow() { return scenarioTableRow_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : scenarioTableRow_; } /** *
     * / Hold the row of scenario data table.
     * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; */ @java.lang.Override public gauge.messages.Spec.ProtoTableOrBuilder getScenarioTableRowOrBuilder() { return scenarioTableRow_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : scenarioTableRow_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getScenario()); } if (tableRowIndex_ != 0) { output.writeInt32(2, tableRowIndex_); } if (scenarioTableRowIndex_ != 0) { output.writeInt32(3, scenarioTableRowIndex_); } if (isSpecTableDriven_ != false) { output.writeBool(4, isSpecTableDriven_); } if (isScenarioTableDriven_ != false) { output.writeBool(5, isScenarioTableDriven_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(6, getScenarioDataTable()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(7, getScenarioTableRow()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getScenario()); } if (tableRowIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, tableRowIndex_); } if (scenarioTableRowIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, scenarioTableRowIndex_); } if (isSpecTableDriven_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, isSpecTableDriven_); } if (isScenarioTableDriven_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, isScenarioTableDriven_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getScenarioDataTable()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getScenarioTableRow()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoTableDrivenScenario)) { return super.equals(obj); } gauge.messages.Spec.ProtoTableDrivenScenario other = (gauge.messages.Spec.ProtoTableDrivenScenario) obj; if (hasScenario() != other.hasScenario()) return false; if (hasScenario()) { if (!getScenario() .equals(other.getScenario())) return false; } if (getTableRowIndex() != other.getTableRowIndex()) return false; if (getScenarioTableRowIndex() != other.getScenarioTableRowIndex()) return false; if (getIsSpecTableDriven() != other.getIsSpecTableDriven()) return false; if (getIsScenarioTableDriven() != other.getIsScenarioTableDriven()) return false; if (hasScenarioDataTable() != other.hasScenarioDataTable()) return false; if (hasScenarioDataTable()) { if (!getScenarioDataTable() .equals(other.getScenarioDataTable())) return false; } if (hasScenarioTableRow() != other.hasScenarioTableRow()) return false; if (hasScenarioTableRow()) { if (!getScenarioTableRow() .equals(other.getScenarioTableRow())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasScenario()) { hash = (37 * hash) + SCENARIO_FIELD_NUMBER; hash = (53 * hash) + getScenario().hashCode(); } hash = (37 * hash) + TABLEROWINDEX_FIELD_NUMBER; hash = (53 * hash) + getTableRowIndex(); hash = (37 * hash) + SCENARIOTABLEROWINDEX_FIELD_NUMBER; hash = (53 * hash) + getScenarioTableRowIndex(); hash = (37 * hash) + ISSPECTABLEDRIVEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsSpecTableDriven()); hash = (37 * hash) + ISSCENARIOTABLEDRIVEN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsScenarioTableDriven()); if (hasScenarioDataTable()) { hash = (37 * hash) + SCENARIODATATABLE_FIELD_NUMBER; hash = (53 * hash) + getScenarioDataTable().hashCode(); } if (hasScenarioTableRow()) { hash = (37 * hash) + SCENARIOTABLEROW_FIELD_NUMBER; hash = (53 * hash) + getScenarioTableRow().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTableDrivenScenario parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoTableDrivenScenario prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing a TableDrivenScenario
     * 
* * Protobuf type {@code gauge.messages.ProtoTableDrivenScenario} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoTableDrivenScenario) gauge.messages.Spec.ProtoTableDrivenScenarioOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableDrivenScenario_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableDrivenScenario_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoTableDrivenScenario.class, gauge.messages.Spec.ProtoTableDrivenScenario.Builder.class); } // Construct using gauge.messages.Spec.ProtoTableDrivenScenario.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getScenarioFieldBuilder(); getScenarioDataTableFieldBuilder(); getScenarioTableRowFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; scenario_ = null; if (scenarioBuilder_ != null) { scenarioBuilder_.dispose(); scenarioBuilder_ = null; } tableRowIndex_ = 0; scenarioTableRowIndex_ = 0; isSpecTableDriven_ = false; isScenarioTableDriven_ = false; scenarioDataTable_ = null; if (scenarioDataTableBuilder_ != null) { scenarioDataTableBuilder_.dispose(); scenarioDataTableBuilder_ = null; } scenarioTableRow_ = null; if (scenarioTableRowBuilder_ != null) { scenarioTableRowBuilder_.dispose(); scenarioTableRowBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableDrivenScenario_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoTableDrivenScenario getDefaultInstanceForType() { return gauge.messages.Spec.ProtoTableDrivenScenario.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoTableDrivenScenario build() { gauge.messages.Spec.ProtoTableDrivenScenario result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoTableDrivenScenario buildPartial() { gauge.messages.Spec.ProtoTableDrivenScenario result = new gauge.messages.Spec.ProtoTableDrivenScenario(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoTableDrivenScenario result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.scenario_ = scenarioBuilder_ == null ? scenario_ : scenarioBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.tableRowIndex_ = tableRowIndex_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.scenarioTableRowIndex_ = scenarioTableRowIndex_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.isSpecTableDriven_ = isSpecTableDriven_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.isScenarioTableDriven_ = isScenarioTableDriven_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.scenarioDataTable_ = scenarioDataTableBuilder_ == null ? scenarioDataTable_ : scenarioDataTableBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { result.scenarioTableRow_ = scenarioTableRowBuilder_ == null ? scenarioTableRow_ : scenarioTableRowBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoTableDrivenScenario) { return mergeFrom((gauge.messages.Spec.ProtoTableDrivenScenario)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoTableDrivenScenario other) { if (other == gauge.messages.Spec.ProtoTableDrivenScenario.getDefaultInstance()) return this; if (other.hasScenario()) { mergeScenario(other.getScenario()); } if (other.getTableRowIndex() != 0) { setTableRowIndex(other.getTableRowIndex()); } if (other.getScenarioTableRowIndex() != 0) { setScenarioTableRowIndex(other.getScenarioTableRowIndex()); } if (other.getIsSpecTableDriven() != false) { setIsSpecTableDriven(other.getIsSpecTableDriven()); } if (other.getIsScenarioTableDriven() != false) { setIsScenarioTableDriven(other.getIsScenarioTableDriven()); } if (other.hasScenarioDataTable()) { mergeScenarioDataTable(other.getScenarioDataTable()); } if (other.hasScenarioTableRow()) { mergeScenarioTableRow(other.getScenarioTableRow()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getScenarioFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { tableRowIndex_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { scenarioTableRowIndex_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { isSpecTableDriven_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { isScenarioTableDriven_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 40 case 50: { input.readMessage( getScenarioDataTableFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 case 58: { input.readMessage( getScenarioTableRowFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private gauge.messages.Spec.ProtoScenario scenario_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoScenario, gauge.messages.Spec.ProtoScenario.Builder, gauge.messages.Spec.ProtoScenarioOrBuilder> scenarioBuilder_; /** *
       * / Scenario under Table driven execution
       * 
* * .gauge.messages.ProtoScenario scenario = 1; * @return Whether the scenario field is set. */ public boolean hasScenario() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * / Scenario under Table driven execution
       * 
* * .gauge.messages.ProtoScenario scenario = 1; * @return The scenario. */ public gauge.messages.Spec.ProtoScenario getScenario() { if (scenarioBuilder_ == null) { return scenario_ == null ? gauge.messages.Spec.ProtoScenario.getDefaultInstance() : scenario_; } else { return scenarioBuilder_.getMessage(); } } /** *
       * / Scenario under Table driven execution
       * 
* * .gauge.messages.ProtoScenario scenario = 1; */ public Builder setScenario(gauge.messages.Spec.ProtoScenario value) { if (scenarioBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scenario_ = value; } else { scenarioBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Scenario under Table driven execution
       * 
* * .gauge.messages.ProtoScenario scenario = 1; */ public Builder setScenario( gauge.messages.Spec.ProtoScenario.Builder builderForValue) { if (scenarioBuilder_ == null) { scenario_ = builderForValue.build(); } else { scenarioBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Scenario under Table driven execution
       * 
* * .gauge.messages.ProtoScenario scenario = 1; */ public Builder mergeScenario(gauge.messages.Spec.ProtoScenario value) { if (scenarioBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && scenario_ != null && scenario_ != gauge.messages.Spec.ProtoScenario.getDefaultInstance()) { getScenarioBuilder().mergeFrom(value); } else { scenario_ = value; } } else { scenarioBuilder_.mergeFrom(value); } if (scenario_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * / Scenario under Table driven execution
       * 
* * .gauge.messages.ProtoScenario scenario = 1; */ public Builder clearScenario() { bitField0_ = (bitField0_ & ~0x00000001); scenario_ = null; if (scenarioBuilder_ != null) { scenarioBuilder_.dispose(); scenarioBuilder_ = null; } onChanged(); return this; } /** *
       * / Scenario under Table driven execution
       * 
* * .gauge.messages.ProtoScenario scenario = 1; */ public gauge.messages.Spec.ProtoScenario.Builder getScenarioBuilder() { bitField0_ |= 0x00000001; onChanged(); return getScenarioFieldBuilder().getBuilder(); } /** *
       * / Scenario under Table driven execution
       * 
* * .gauge.messages.ProtoScenario scenario = 1; */ public gauge.messages.Spec.ProtoScenarioOrBuilder getScenarioOrBuilder() { if (scenarioBuilder_ != null) { return scenarioBuilder_.getMessageOrBuilder(); } else { return scenario_ == null ? gauge.messages.Spec.ProtoScenario.getDefaultInstance() : scenario_; } } /** *
       * / Scenario under Table driven execution
       * 
* * .gauge.messages.ProtoScenario scenario = 1; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoScenario, gauge.messages.Spec.ProtoScenario.Builder, gauge.messages.Spec.ProtoScenarioOrBuilder> getScenarioFieldBuilder() { if (scenarioBuilder_ == null) { scenarioBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoScenario, gauge.messages.Spec.ProtoScenario.Builder, gauge.messages.Spec.ProtoScenarioOrBuilder>( getScenario(), getParentForChildren(), isClean()); scenario_ = null; } return scenarioBuilder_; } private int tableRowIndex_ ; /** *
       * / Row Index of data table against which the current scenario is executed
       * 
* * int32 tableRowIndex = 2; * @return The tableRowIndex. */ @java.lang.Override public int getTableRowIndex() { return tableRowIndex_; } /** *
       * / Row Index of data table against which the current scenario is executed
       * 
* * int32 tableRowIndex = 2; * @param value The tableRowIndex to set. * @return This builder for chaining. */ public Builder setTableRowIndex(int value) { tableRowIndex_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Row Index of data table against which the current scenario is executed
       * 
* * int32 tableRowIndex = 2; * @return This builder for chaining. */ public Builder clearTableRowIndex() { bitField0_ = (bitField0_ & ~0x00000002); tableRowIndex_ = 0; onChanged(); return this; } private int scenarioTableRowIndex_ ; /** *
       * / Row Index of scenario data table against which the current scenario is executed
       * 
* * int32 scenarioTableRowIndex = 3; * @return The scenarioTableRowIndex. */ @java.lang.Override public int getScenarioTableRowIndex() { return scenarioTableRowIndex_; } /** *
       * / Row Index of scenario data table against which the current scenario is executed
       * 
* * int32 scenarioTableRowIndex = 3; * @param value The scenarioTableRowIndex to set. * @return This builder for chaining. */ public Builder setScenarioTableRowIndex(int value) { scenarioTableRowIndex_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Row Index of scenario data table against which the current scenario is executed
       * 
* * int32 scenarioTableRowIndex = 3; * @return This builder for chaining. */ public Builder clearScenarioTableRowIndex() { bitField0_ = (bitField0_ & ~0x00000004); scenarioTableRowIndex_ = 0; onChanged(); return this; } private boolean isSpecTableDriven_ ; /** *
       * / Executed against a spec data table
       * 
* * bool isSpecTableDriven = 4; * @return The isSpecTableDriven. */ @java.lang.Override public boolean getIsSpecTableDriven() { return isSpecTableDriven_; } /** *
       * / Executed against a spec data table
       * 
* * bool isSpecTableDriven = 4; * @param value The isSpecTableDriven to set. * @return This builder for chaining. */ public Builder setIsSpecTableDriven(boolean value) { isSpecTableDriven_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Executed against a spec data table
       * 
* * bool isSpecTableDriven = 4; * @return This builder for chaining. */ public Builder clearIsSpecTableDriven() { bitField0_ = (bitField0_ & ~0x00000008); isSpecTableDriven_ = false; onChanged(); return this; } private boolean isScenarioTableDriven_ ; /** *
       * / Executed against a scenario data table
       * 
* * bool isScenarioTableDriven = 5; * @return The isScenarioTableDriven. */ @java.lang.Override public boolean getIsScenarioTableDriven() { return isScenarioTableDriven_; } /** *
       * / Executed against a scenario data table
       * 
* * bool isScenarioTableDriven = 5; * @param value The isScenarioTableDriven to set. * @return This builder for chaining. */ public Builder setIsScenarioTableDriven(boolean value) { isScenarioTableDriven_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Executed against a scenario data table
       * 
* * bool isScenarioTableDriven = 5; * @return This builder for chaining. */ public Builder clearIsScenarioTableDriven() { bitField0_ = (bitField0_ & ~0x00000010); isScenarioTableDriven_ = false; onChanged(); return this; } private gauge.messages.Spec.ProtoTable scenarioDataTable_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder> scenarioDataTableBuilder_; /** *
       * / Holds the scenario data table
       * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; * @return Whether the scenarioDataTable field is set. */ public boolean hasScenarioDataTable() { return ((bitField0_ & 0x00000020) != 0); } /** *
       * / Holds the scenario data table
       * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; * @return The scenarioDataTable. */ public gauge.messages.Spec.ProtoTable getScenarioDataTable() { if (scenarioDataTableBuilder_ == null) { return scenarioDataTable_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : scenarioDataTable_; } else { return scenarioDataTableBuilder_.getMessage(); } } /** *
       * / Holds the scenario data table
       * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; */ public Builder setScenarioDataTable(gauge.messages.Spec.ProtoTable value) { if (scenarioDataTableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scenarioDataTable_ = value; } else { scenarioDataTableBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Holds the scenario data table
       * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; */ public Builder setScenarioDataTable( gauge.messages.Spec.ProtoTable.Builder builderForValue) { if (scenarioDataTableBuilder_ == null) { scenarioDataTable_ = builderForValue.build(); } else { scenarioDataTableBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Holds the scenario data table
       * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; */ public Builder mergeScenarioDataTable(gauge.messages.Spec.ProtoTable value) { if (scenarioDataTableBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && scenarioDataTable_ != null && scenarioDataTable_ != gauge.messages.Spec.ProtoTable.getDefaultInstance()) { getScenarioDataTableBuilder().mergeFrom(value); } else { scenarioDataTable_ = value; } } else { scenarioDataTableBuilder_.mergeFrom(value); } if (scenarioDataTable_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
       * / Holds the scenario data table
       * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; */ public Builder clearScenarioDataTable() { bitField0_ = (bitField0_ & ~0x00000020); scenarioDataTable_ = null; if (scenarioDataTableBuilder_ != null) { scenarioDataTableBuilder_.dispose(); scenarioDataTableBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the scenario data table
       * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; */ public gauge.messages.Spec.ProtoTable.Builder getScenarioDataTableBuilder() { bitField0_ |= 0x00000020; onChanged(); return getScenarioDataTableFieldBuilder().getBuilder(); } /** *
       * / Holds the scenario data table
       * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; */ public gauge.messages.Spec.ProtoTableOrBuilder getScenarioDataTableOrBuilder() { if (scenarioDataTableBuilder_ != null) { return scenarioDataTableBuilder_.getMessageOrBuilder(); } else { return scenarioDataTable_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : scenarioDataTable_; } } /** *
       * / Holds the scenario data table
       * 
* * .gauge.messages.ProtoTable scenarioDataTable = 6; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder> getScenarioDataTableFieldBuilder() { if (scenarioDataTableBuilder_ == null) { scenarioDataTableBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder>( getScenarioDataTable(), getParentForChildren(), isClean()); scenarioDataTable_ = null; } return scenarioDataTableBuilder_; } private gauge.messages.Spec.ProtoTable scenarioTableRow_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder> scenarioTableRowBuilder_; /** *
       * / Hold the row of scenario data table.
       * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; * @return Whether the scenarioTableRow field is set. */ public boolean hasScenarioTableRow() { return ((bitField0_ & 0x00000040) != 0); } /** *
       * / Hold the row of scenario data table.
       * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; * @return The scenarioTableRow. */ public gauge.messages.Spec.ProtoTable getScenarioTableRow() { if (scenarioTableRowBuilder_ == null) { return scenarioTableRow_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : scenarioTableRow_; } else { return scenarioTableRowBuilder_.getMessage(); } } /** *
       * / Hold the row of scenario data table.
       * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; */ public Builder setScenarioTableRow(gauge.messages.Spec.ProtoTable value) { if (scenarioTableRowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } scenarioTableRow_ = value; } else { scenarioTableRowBuilder_.setMessage(value); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Hold the row of scenario data table.
       * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; */ public Builder setScenarioTableRow( gauge.messages.Spec.ProtoTable.Builder builderForValue) { if (scenarioTableRowBuilder_ == null) { scenarioTableRow_ = builderForValue.build(); } else { scenarioTableRowBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Hold the row of scenario data table.
       * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; */ public Builder mergeScenarioTableRow(gauge.messages.Spec.ProtoTable value) { if (scenarioTableRowBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && scenarioTableRow_ != null && scenarioTableRow_ != gauge.messages.Spec.ProtoTable.getDefaultInstance()) { getScenarioTableRowBuilder().mergeFrom(value); } else { scenarioTableRow_ = value; } } else { scenarioTableRowBuilder_.mergeFrom(value); } if (scenarioTableRow_ != null) { bitField0_ |= 0x00000040; onChanged(); } return this; } /** *
       * / Hold the row of scenario data table.
       * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; */ public Builder clearScenarioTableRow() { bitField0_ = (bitField0_ & ~0x00000040); scenarioTableRow_ = null; if (scenarioTableRowBuilder_ != null) { scenarioTableRowBuilder_.dispose(); scenarioTableRowBuilder_ = null; } onChanged(); return this; } /** *
       * / Hold the row of scenario data table.
       * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; */ public gauge.messages.Spec.ProtoTable.Builder getScenarioTableRowBuilder() { bitField0_ |= 0x00000040; onChanged(); return getScenarioTableRowFieldBuilder().getBuilder(); } /** *
       * / Hold the row of scenario data table.
       * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; */ public gauge.messages.Spec.ProtoTableOrBuilder getScenarioTableRowOrBuilder() { if (scenarioTableRowBuilder_ != null) { return scenarioTableRowBuilder_.getMessageOrBuilder(); } else { return scenarioTableRow_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : scenarioTableRow_; } } /** *
       * / Hold the row of scenario data table.
       * 
* * .gauge.messages.ProtoTable scenarioTableRow = 7; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder> getScenarioTableRowFieldBuilder() { if (scenarioTableRowBuilder_ == null) { scenarioTableRowBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder>( getScenarioTableRow(), getParentForChildren(), isClean()); scenarioTableRow_ = null; } return scenarioTableRowBuilder_; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoTableDrivenScenario) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoTableDrivenScenario) private static final gauge.messages.Spec.ProtoTableDrivenScenario DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoTableDrivenScenario(); } public static gauge.messages.Spec.ProtoTableDrivenScenario getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoTableDrivenScenario parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoTableDrivenScenario getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoStepOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoStep) com.google.protobuf.MessageOrBuilder { /** *
     * / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
     * 
* * string actualText = 1; * @return The actualText. */ java.lang.String getActualText(); /** *
     * / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
     * 
* * string actualText = 1; * @return The bytes for actualText. */ com.google.protobuf.ByteString getActualTextBytes(); /** *
     * / Contains the parsed text of the Step. This will have placeholders for the parameters.
     * 
* * string parsedText = 2; * @return The parsedText. */ java.lang.String getParsedText(); /** *
     * / Contains the parsed text of the Step. This will have placeholders for the parameters.
     * 
* * string parsedText = 2; * @return The bytes for parsedText. */ com.google.protobuf.ByteString getParsedTextBytes(); /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ java.util.List getFragmentsList(); /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ gauge.messages.Spec.Fragment getFragments(int index); /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ int getFragmentsCount(); /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ java.util.List getFragmentsOrBuilderList(); /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ gauge.messages.Spec.FragmentOrBuilder getFragmentsOrBuilder( int index); /** *
     * / Holds the result from the execution.
     * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; * @return Whether the stepExecutionResult field is set. */ boolean hasStepExecutionResult(); /** *
     * / Holds the result from the execution.
     * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; * @return The stepExecutionResult. */ gauge.messages.Spec.ProtoStepExecutionResult getStepExecutionResult(); /** *
     * / Holds the result from the execution.
     * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; */ gauge.messages.Spec.ProtoStepExecutionResultOrBuilder getStepExecutionResultOrBuilder(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 5; * @return A list containing the preHookMessages. */ java.util.List getPreHookMessagesList(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 5; * @return The count of preHookMessages. */ int getPreHookMessagesCount(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 5; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ java.lang.String getPreHookMessages(int index); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 5; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ com.google.protobuf.ByteString getPreHookMessagesBytes(int index); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 6; * @return A list containing the postHookMessages. */ java.util.List getPostHookMessagesList(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 6; * @return The count of postHookMessages. */ int getPostHookMessagesCount(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 6; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ java.lang.String getPostHookMessages(int index); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 6; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ com.google.protobuf.ByteString getPostHookMessagesBytes(int index); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @return A list containing the preHookScreenshots. */ @java.lang.Deprecated java.util.List getPreHookScreenshotsList(); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @return The count of preHookScreenshots. */ @java.lang.Deprecated int getPreHookScreenshotsCount(); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPreHookScreenshots(int index); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @return A list containing the postHookScreenshots. */ @java.lang.Deprecated java.util.List getPostHookScreenshotsList(); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @return The count of postHookScreenshots. */ @java.lang.Deprecated int getPostHookScreenshotsCount(); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPostHookScreenshots(int index); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 9; * @return A list containing the preHookScreenshotFiles. */ java.util.List getPreHookScreenshotFilesList(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 9; * @return The count of preHookScreenshotFiles. */ int getPreHookScreenshotFilesCount(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 9; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ java.lang.String getPreHookScreenshotFiles(int index); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 9; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 10; * @return A list containing the postHookScreenshotFiles. */ java.util.List getPostHookScreenshotFilesList(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 10; * @return The count of postHookScreenshotFiles. */ int getPostHookScreenshotFilesCount(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 10; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ java.lang.String getPostHookScreenshotFiles(int index); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 10; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index); } /** *
   * / A proto object representing a Step
   * 
* * Protobuf type {@code gauge.messages.ProtoStep} */ public static final class ProtoStep extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoStep) ProtoStepOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoStep.class.getName()); } // Use ProtoStep.newBuilder() to construct. private ProtoStep(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoStep() { actualText_ = ""; parsedText_ = ""; fragments_ = java.util.Collections.emptyList(); preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStep_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoStep.class, gauge.messages.Spec.ProtoStep.Builder.class); } private int bitField0_; public static final int ACTUALTEXT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object actualText_ = ""; /** *
     * / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
     * 
* * string actualText = 1; * @return The actualText. */ @java.lang.Override public java.lang.String getActualText() { java.lang.Object ref = actualText_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actualText_ = s; return s; } } /** *
     * / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
     * 
* * string actualText = 1; * @return The bytes for actualText. */ @java.lang.Override public com.google.protobuf.ByteString getActualTextBytes() { java.lang.Object ref = actualText_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actualText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARSEDTEXT_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object parsedText_ = ""; /** *
     * / Contains the parsed text of the Step. This will have placeholders for the parameters.
     * 
* * string parsedText = 2; * @return The parsedText. */ @java.lang.Override public java.lang.String getParsedText() { java.lang.Object ref = parsedText_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parsedText_ = s; return s; } } /** *
     * / Contains the parsed text of the Step. This will have placeholders for the parameters.
     * 
* * string parsedText = 2; * @return The bytes for parsedText. */ @java.lang.Override public com.google.protobuf.ByteString getParsedTextBytes() { java.lang.Object ref = parsedText_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parsedText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FRAGMENTS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List fragments_; /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ @java.lang.Override public java.util.List getFragmentsList() { return fragments_; } /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ @java.lang.Override public java.util.List getFragmentsOrBuilderList() { return fragments_; } /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ @java.lang.Override public int getFragmentsCount() { return fragments_.size(); } /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ @java.lang.Override public gauge.messages.Spec.Fragment getFragments(int index) { return fragments_.get(index); } /** *
     * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
     * 
* * repeated .gauge.messages.Fragment fragments = 3; */ @java.lang.Override public gauge.messages.Spec.FragmentOrBuilder getFragmentsOrBuilder( int index) { return fragments_.get(index); } public static final int STEPEXECUTIONRESULT_FIELD_NUMBER = 4; private gauge.messages.Spec.ProtoStepExecutionResult stepExecutionResult_; /** *
     * / Holds the result from the execution.
     * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; * @return Whether the stepExecutionResult field is set. */ @java.lang.Override public boolean hasStepExecutionResult() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Holds the result from the execution.
     * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; * @return The stepExecutionResult. */ @java.lang.Override public gauge.messages.Spec.ProtoStepExecutionResult getStepExecutionResult() { return stepExecutionResult_ == null ? gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance() : stepExecutionResult_; } /** *
     * / Holds the result from the execution.
     * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; */ @java.lang.Override public gauge.messages.Spec.ProtoStepExecutionResultOrBuilder getStepExecutionResultOrBuilder() { return stepExecutionResult_ == null ? gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance() : stepExecutionResult_; } public static final int PREHOOKMESSAGES_FIELD_NUMBER = 5; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 5; * @return A list containing the preHookMessages. */ public com.google.protobuf.ProtocolStringList getPreHookMessagesList() { return preHookMessages_; } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 5; * @return The count of preHookMessages. */ public int getPreHookMessagesCount() { return preHookMessages_.size(); } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 5; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ public java.lang.String getPreHookMessages(int index) { return preHookMessages_.get(index); } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 5; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ public com.google.protobuf.ByteString getPreHookMessagesBytes(int index) { return preHookMessages_.getByteString(index); } public static final int POSTHOOKMESSAGES_FIELD_NUMBER = 6; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 6; * @return A list containing the postHookMessages. */ public com.google.protobuf.ProtocolStringList getPostHookMessagesList() { return postHookMessages_; } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 6; * @return The count of postHookMessages. */ public int getPostHookMessagesCount() { return postHookMessages_.size(); } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 6; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ public java.lang.String getPostHookMessages(int index) { return postHookMessages_.get(index); } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 6; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ public com.google.protobuf.ByteString getPostHookMessagesBytes(int index) { return postHookMessages_.getByteString(index); } public static final int PREHOOKSCREENSHOTS_FIELD_NUMBER = 7; @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @return A list containing the preHookScreenshots. */ @java.lang.Override @java.lang.Deprecated public java.util.List getPreHookScreenshotsList() { return preHookScreenshots_; } /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @return The count of preHookScreenshots. */ @java.lang.Deprecated public int getPreHookScreenshotsCount() { return preHookScreenshots_.size(); } /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookScreenshots(int index) { return preHookScreenshots_.get(index); } public static final int POSTHOOKSCREENSHOTS_FIELD_NUMBER = 8; @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @return A list containing the postHookScreenshots. */ @java.lang.Override @java.lang.Deprecated public java.util.List getPostHookScreenshotsList() { return postHookScreenshots_; } /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @return The count of postHookScreenshots. */ @java.lang.Deprecated public int getPostHookScreenshotsCount() { return postHookScreenshots_.size(); } /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookScreenshots(int index) { return postHookScreenshots_.get(index); } public static final int PREHOOKSCREENSHOTFILES_FIELD_NUMBER = 9; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 9; * @return A list containing the preHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPreHookScreenshotFilesList() { return preHookScreenshotFiles_; } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 9; * @return The count of preHookScreenshotFiles. */ public int getPreHookScreenshotFilesCount() { return preHookScreenshotFiles_.size(); } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 9; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ public java.lang.String getPreHookScreenshotFiles(int index) { return preHookScreenshotFiles_.get(index); } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 9; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index) { return preHookScreenshotFiles_.getByteString(index); } public static final int POSTHOOKSCREENSHOTFILES_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 10; * @return A list containing the postHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPostHookScreenshotFilesList() { return postHookScreenshotFiles_; } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 10; * @return The count of postHookScreenshotFiles. */ public int getPostHookScreenshotFilesCount() { return postHookScreenshotFiles_.size(); } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 10; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ public java.lang.String getPostHookScreenshotFiles(int index) { return postHookScreenshotFiles_.get(index); } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 10; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index) { return postHookScreenshotFiles_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(actualText_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, actualText_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parsedText_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, parsedText_); } for (int i = 0; i < fragments_.size(); i++) { output.writeMessage(3, fragments_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getStepExecutionResult()); } for (int i = 0; i < preHookMessages_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 5, preHookMessages_.getRaw(i)); } for (int i = 0; i < postHookMessages_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 6, postHookMessages_.getRaw(i)); } for (int i = 0; i < preHookScreenshots_.size(); i++) { output.writeBytes(7, preHookScreenshots_.get(i)); } for (int i = 0; i < postHookScreenshots_.size(); i++) { output.writeBytes(8, postHookScreenshots_.get(i)); } for (int i = 0; i < preHookScreenshotFiles_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 9, preHookScreenshotFiles_.getRaw(i)); } for (int i = 0; i < postHookScreenshotFiles_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 10, postHookScreenshotFiles_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessage.isStringEmpty(actualText_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, actualText_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parsedText_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, parsedText_); } for (int i = 0; i < fragments_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, fragments_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getStepExecutionResult()); } { int dataSize = 0; for (int i = 0; i < preHookMessages_.size(); i++) { dataSize += computeStringSizeNoTag(preHookMessages_.getRaw(i)); } size += dataSize; size += 1 * getPreHookMessagesList().size(); } { int dataSize = 0; for (int i = 0; i < postHookMessages_.size(); i++) { dataSize += computeStringSizeNoTag(postHookMessages_.getRaw(i)); } size += dataSize; size += 1 * getPostHookMessagesList().size(); } { int dataSize = 0; for (int i = 0; i < preHookScreenshots_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(preHookScreenshots_.get(i)); } size += dataSize; size += 1 * getPreHookScreenshotsList().size(); } { int dataSize = 0; for (int i = 0; i < postHookScreenshots_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(postHookScreenshots_.get(i)); } size += dataSize; size += 1 * getPostHookScreenshotsList().size(); } { int dataSize = 0; for (int i = 0; i < preHookScreenshotFiles_.size(); i++) { dataSize += computeStringSizeNoTag(preHookScreenshotFiles_.getRaw(i)); } size += dataSize; size += 1 * getPreHookScreenshotFilesList().size(); } { int dataSize = 0; for (int i = 0; i < postHookScreenshotFiles_.size(); i++) { dataSize += computeStringSizeNoTag(postHookScreenshotFiles_.getRaw(i)); } size += dataSize; size += 1 * getPostHookScreenshotFilesList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoStep)) { return super.equals(obj); } gauge.messages.Spec.ProtoStep other = (gauge.messages.Spec.ProtoStep) obj; if (!getActualText() .equals(other.getActualText())) return false; if (!getParsedText() .equals(other.getParsedText())) return false; if (!getFragmentsList() .equals(other.getFragmentsList())) return false; if (hasStepExecutionResult() != other.hasStepExecutionResult()) return false; if (hasStepExecutionResult()) { if (!getStepExecutionResult() .equals(other.getStepExecutionResult())) return false; } if (!getPreHookMessagesList() .equals(other.getPreHookMessagesList())) return false; if (!getPostHookMessagesList() .equals(other.getPostHookMessagesList())) return false; if (!getPreHookScreenshotsList() .equals(other.getPreHookScreenshotsList())) return false; if (!getPostHookScreenshotsList() .equals(other.getPostHookScreenshotsList())) return false; if (!getPreHookScreenshotFilesList() .equals(other.getPreHookScreenshotFilesList())) return false; if (!getPostHookScreenshotFilesList() .equals(other.getPostHookScreenshotFilesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACTUALTEXT_FIELD_NUMBER; hash = (53 * hash) + getActualText().hashCode(); hash = (37 * hash) + PARSEDTEXT_FIELD_NUMBER; hash = (53 * hash) + getParsedText().hashCode(); if (getFragmentsCount() > 0) { hash = (37 * hash) + FRAGMENTS_FIELD_NUMBER; hash = (53 * hash) + getFragmentsList().hashCode(); } if (hasStepExecutionResult()) { hash = (37 * hash) + STEPEXECUTIONRESULT_FIELD_NUMBER; hash = (53 * hash) + getStepExecutionResult().hashCode(); } if (getPreHookMessagesCount() > 0) { hash = (37 * hash) + PREHOOKMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getPreHookMessagesList().hashCode(); } if (getPostHookMessagesCount() > 0) { hash = (37 * hash) + POSTHOOKMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getPostHookMessagesList().hashCode(); } if (getPreHookScreenshotsCount() > 0) { hash = (37 * hash) + PREHOOKSCREENSHOTS_FIELD_NUMBER; hash = (53 * hash) + getPreHookScreenshotsList().hashCode(); } if (getPostHookScreenshotsCount() > 0) { hash = (37 * hash) + POSTHOOKSCREENSHOTS_FIELD_NUMBER; hash = (53 * hash) + getPostHookScreenshotsList().hashCode(); } if (getPreHookScreenshotFilesCount() > 0) { hash = (37 * hash) + PREHOOKSCREENSHOTFILES_FIELD_NUMBER; hash = (53 * hash) + getPreHookScreenshotFilesList().hashCode(); } if (getPostHookScreenshotFilesCount() > 0) { hash = (37 * hash) + POSTHOOKSCREENSHOTFILES_FIELD_NUMBER; hash = (53 * hash) + getPostHookScreenshotFilesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoStep parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStep parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStep parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStep parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStep parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStep parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStep parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStep parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoStep parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStep parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoStep parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStep parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoStep prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing a Step
     * 
* * Protobuf type {@code gauge.messages.ProtoStep} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoStep) gauge.messages.Spec.ProtoStepOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStep_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStep_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoStep.class, gauge.messages.Spec.ProtoStep.Builder.class); } // Construct using gauge.messages.Spec.ProtoStep.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getFragmentsFieldBuilder(); getStepExecutionResultFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; actualText_ = ""; parsedText_ = ""; if (fragmentsBuilder_ == null) { fragments_ = java.util.Collections.emptyList(); } else { fragments_ = null; fragmentsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); stepExecutionResult_ = null; if (stepExecutionResultBuilder_ != null) { stepExecutionResultBuilder_.dispose(); stepExecutionResultBuilder_ = null; } preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStep_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoStep getDefaultInstanceForType() { return gauge.messages.Spec.ProtoStep.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoStep build() { gauge.messages.Spec.ProtoStep result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoStep buildPartial() { gauge.messages.Spec.ProtoStep result = new gauge.messages.Spec.ProtoStep(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(gauge.messages.Spec.ProtoStep result) { if (fragmentsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { fragments_ = java.util.Collections.unmodifiableList(fragments_); bitField0_ = (bitField0_ & ~0x00000004); } result.fragments_ = fragments_; } else { result.fragments_ = fragmentsBuilder_.build(); } } private void buildPartial0(gauge.messages.Spec.ProtoStep result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.actualText_ = actualText_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.parsedText_ = parsedText_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { result.stepExecutionResult_ = stepExecutionResultBuilder_ == null ? stepExecutionResult_ : stepExecutionResultBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000010) != 0)) { preHookMessages_.makeImmutable(); result.preHookMessages_ = preHookMessages_; } if (((from_bitField0_ & 0x00000020) != 0)) { postHookMessages_.makeImmutable(); result.postHookMessages_ = postHookMessages_; } if (((from_bitField0_ & 0x00000040) != 0)) { preHookScreenshots_.makeImmutable(); result.preHookScreenshots_ = preHookScreenshots_; } if (((from_bitField0_ & 0x00000080) != 0)) { postHookScreenshots_.makeImmutable(); result.postHookScreenshots_ = postHookScreenshots_; } if (((from_bitField0_ & 0x00000100) != 0)) { preHookScreenshotFiles_.makeImmutable(); result.preHookScreenshotFiles_ = preHookScreenshotFiles_; } if (((from_bitField0_ & 0x00000200) != 0)) { postHookScreenshotFiles_.makeImmutable(); result.postHookScreenshotFiles_ = postHookScreenshotFiles_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoStep) { return mergeFrom((gauge.messages.Spec.ProtoStep)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoStep other) { if (other == gauge.messages.Spec.ProtoStep.getDefaultInstance()) return this; if (!other.getActualText().isEmpty()) { actualText_ = other.actualText_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getParsedText().isEmpty()) { parsedText_ = other.parsedText_; bitField0_ |= 0x00000002; onChanged(); } if (fragmentsBuilder_ == null) { if (!other.fragments_.isEmpty()) { if (fragments_.isEmpty()) { fragments_ = other.fragments_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFragmentsIsMutable(); fragments_.addAll(other.fragments_); } onChanged(); } } else { if (!other.fragments_.isEmpty()) { if (fragmentsBuilder_.isEmpty()) { fragmentsBuilder_.dispose(); fragmentsBuilder_ = null; fragments_ = other.fragments_; bitField0_ = (bitField0_ & ~0x00000004); fragmentsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getFragmentsFieldBuilder() : null; } else { fragmentsBuilder_.addAllMessages(other.fragments_); } } } if (other.hasStepExecutionResult()) { mergeStepExecutionResult(other.getStepExecutionResult()); } if (!other.preHookMessages_.isEmpty()) { if (preHookMessages_.isEmpty()) { preHookMessages_ = other.preHookMessages_; bitField0_ |= 0x00000010; } else { ensurePreHookMessagesIsMutable(); preHookMessages_.addAll(other.preHookMessages_); } onChanged(); } if (!other.postHookMessages_.isEmpty()) { if (postHookMessages_.isEmpty()) { postHookMessages_ = other.postHookMessages_; bitField0_ |= 0x00000020; } else { ensurePostHookMessagesIsMutable(); postHookMessages_.addAll(other.postHookMessages_); } onChanged(); } if (!other.preHookScreenshots_.isEmpty()) { if (preHookScreenshots_.isEmpty()) { preHookScreenshots_ = other.preHookScreenshots_; preHookScreenshots_.makeImmutable(); bitField0_ |= 0x00000040; } else { ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.addAll(other.preHookScreenshots_); } onChanged(); } if (!other.postHookScreenshots_.isEmpty()) { if (postHookScreenshots_.isEmpty()) { postHookScreenshots_ = other.postHookScreenshots_; postHookScreenshots_.makeImmutable(); bitField0_ |= 0x00000080; } else { ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.addAll(other.postHookScreenshots_); } onChanged(); } if (!other.preHookScreenshotFiles_.isEmpty()) { if (preHookScreenshotFiles_.isEmpty()) { preHookScreenshotFiles_ = other.preHookScreenshotFiles_; bitField0_ |= 0x00000100; } else { ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.addAll(other.preHookScreenshotFiles_); } onChanged(); } if (!other.postHookScreenshotFiles_.isEmpty()) { if (postHookScreenshotFiles_.isEmpty()) { postHookScreenshotFiles_ = other.postHookScreenshotFiles_; bitField0_ |= 0x00000200; } else { ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.addAll(other.postHookScreenshotFiles_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { actualText_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { parsedText_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { gauge.messages.Spec.Fragment m = input.readMessage( gauge.messages.Spec.Fragment.parser(), extensionRegistry); if (fragmentsBuilder_ == null) { ensureFragmentsIsMutable(); fragments_.add(m); } else { fragmentsBuilder_.addMessage(m); } break; } // case 26 case 34: { input.readMessage( getStepExecutionResultFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookMessagesIsMutable(); preHookMessages_.add(s); break; } // case 42 case 50: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookMessagesIsMutable(); postHookMessages_.add(s); break; } // case 50 case 58: { com.google.protobuf.ByteString v = input.readBytes(); ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.add(v); break; } // case 58 case 66: { com.google.protobuf.ByteString v = input.readBytes(); ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.add(v); break; } // case 66 case 74: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(s); break; } // case 74 case 82: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(s); break; } // case 82 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object actualText_ = ""; /** *
       * / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
       * 
* * string actualText = 1; * @return The actualText. */ public java.lang.String getActualText() { java.lang.Object ref = actualText_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); actualText_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
       * 
* * string actualText = 1; * @return The bytes for actualText. */ public com.google.protobuf.ByteString getActualTextBytes() { java.lang.Object ref = actualText_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); actualText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
       * 
* * string actualText = 1; * @param value The actualText to set. * @return This builder for chaining. */ public Builder setActualText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } actualText_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
       * 
* * string actualText = 1; * @return This builder for chaining. */ public Builder clearActualText() { actualText_ = getDefaultInstance().getActualText(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values.
       * 
* * string actualText = 1; * @param value The bytes for actualText to set. * @return This builder for chaining. */ public Builder setActualTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); actualText_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object parsedText_ = ""; /** *
       * / Contains the parsed text of the Step. This will have placeholders for the parameters.
       * 
* * string parsedText = 2; * @return The parsedText. */ public java.lang.String getParsedText() { java.lang.Object ref = parsedText_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parsedText_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Contains the parsed text of the Step. This will have placeholders for the parameters.
       * 
* * string parsedText = 2; * @return The bytes for parsedText. */ public com.google.protobuf.ByteString getParsedTextBytes() { java.lang.Object ref = parsedText_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parsedText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Contains the parsed text of the Step. This will have placeholders for the parameters.
       * 
* * string parsedText = 2; * @param value The parsedText to set. * @return This builder for chaining. */ public Builder setParsedText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } parsedText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Contains the parsed text of the Step. This will have placeholders for the parameters.
       * 
* * string parsedText = 2; * @return This builder for chaining. */ public Builder clearParsedText() { parsedText_ = getDefaultInstance().getParsedText(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * / Contains the parsed text of the Step. This will have placeholders for the parameters.
       * 
* * string parsedText = 2; * @param value The bytes for parsedText to set. * @return This builder for chaining. */ public Builder setParsedTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parsedText_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.util.List fragments_ = java.util.Collections.emptyList(); private void ensureFragmentsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { fragments_ = new java.util.ArrayList(fragments_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.Fragment, gauge.messages.Spec.Fragment.Builder, gauge.messages.Spec.FragmentOrBuilder> fragmentsBuilder_; /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public java.util.List getFragmentsList() { if (fragmentsBuilder_ == null) { return java.util.Collections.unmodifiableList(fragments_); } else { return fragmentsBuilder_.getMessageList(); } } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public int getFragmentsCount() { if (fragmentsBuilder_ == null) { return fragments_.size(); } else { return fragmentsBuilder_.getCount(); } } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public gauge.messages.Spec.Fragment getFragments(int index) { if (fragmentsBuilder_ == null) { return fragments_.get(index); } else { return fragmentsBuilder_.getMessage(index); } } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public Builder setFragments( int index, gauge.messages.Spec.Fragment value) { if (fragmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFragmentsIsMutable(); fragments_.set(index, value); onChanged(); } else { fragmentsBuilder_.setMessage(index, value); } return this; } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public Builder setFragments( int index, gauge.messages.Spec.Fragment.Builder builderForValue) { if (fragmentsBuilder_ == null) { ensureFragmentsIsMutable(); fragments_.set(index, builderForValue.build()); onChanged(); } else { fragmentsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public Builder addFragments(gauge.messages.Spec.Fragment value) { if (fragmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFragmentsIsMutable(); fragments_.add(value); onChanged(); } else { fragmentsBuilder_.addMessage(value); } return this; } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public Builder addFragments( int index, gauge.messages.Spec.Fragment value) { if (fragmentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFragmentsIsMutable(); fragments_.add(index, value); onChanged(); } else { fragmentsBuilder_.addMessage(index, value); } return this; } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public Builder addFragments( gauge.messages.Spec.Fragment.Builder builderForValue) { if (fragmentsBuilder_ == null) { ensureFragmentsIsMutable(); fragments_.add(builderForValue.build()); onChanged(); } else { fragmentsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public Builder addFragments( int index, gauge.messages.Spec.Fragment.Builder builderForValue) { if (fragmentsBuilder_ == null) { ensureFragmentsIsMutable(); fragments_.add(index, builderForValue.build()); onChanged(); } else { fragmentsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public Builder addAllFragments( java.lang.Iterable values) { if (fragmentsBuilder_ == null) { ensureFragmentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fragments_); onChanged(); } else { fragmentsBuilder_.addAllMessages(values); } return this; } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public Builder clearFragments() { if (fragmentsBuilder_ == null) { fragments_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { fragmentsBuilder_.clear(); } return this; } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public Builder removeFragments(int index) { if (fragmentsBuilder_ == null) { ensureFragmentsIsMutable(); fragments_.remove(index); onChanged(); } else { fragmentsBuilder_.remove(index); } return this; } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public gauge.messages.Spec.Fragment.Builder getFragmentsBuilder( int index) { return getFragmentsFieldBuilder().getBuilder(index); } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public gauge.messages.Spec.FragmentOrBuilder getFragmentsOrBuilder( int index) { if (fragmentsBuilder_ == null) { return fragments_.get(index); } else { return fragmentsBuilder_.getMessageOrBuilder(index); } } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public java.util.List getFragmentsOrBuilderList() { if (fragmentsBuilder_ != null) { return fragmentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fragments_); } } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public gauge.messages.Spec.Fragment.Builder addFragmentsBuilder() { return getFragmentsFieldBuilder().addBuilder( gauge.messages.Spec.Fragment.getDefaultInstance()); } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public gauge.messages.Spec.Fragment.Builder addFragmentsBuilder( int index) { return getFragmentsFieldBuilder().addBuilder( index, gauge.messages.Spec.Fragment.getDefaultInstance()); } /** *
       * / Collection of a list of fragments for a Step. A fragment could be either text or parameter.
       * 
* * repeated .gauge.messages.Fragment fragments = 3; */ public java.util.List getFragmentsBuilderList() { return getFragmentsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.Fragment, gauge.messages.Spec.Fragment.Builder, gauge.messages.Spec.FragmentOrBuilder> getFragmentsFieldBuilder() { if (fragmentsBuilder_ == null) { fragmentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.Fragment, gauge.messages.Spec.Fragment.Builder, gauge.messages.Spec.FragmentOrBuilder>( fragments_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); fragments_ = null; } return fragmentsBuilder_; } private gauge.messages.Spec.ProtoStepExecutionResult stepExecutionResult_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStepExecutionResult, gauge.messages.Spec.ProtoStepExecutionResult.Builder, gauge.messages.Spec.ProtoStepExecutionResultOrBuilder> stepExecutionResultBuilder_; /** *
       * / Holds the result from the execution.
       * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; * @return Whether the stepExecutionResult field is set. */ public boolean hasStepExecutionResult() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * / Holds the result from the execution.
       * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; * @return The stepExecutionResult. */ public gauge.messages.Spec.ProtoStepExecutionResult getStepExecutionResult() { if (stepExecutionResultBuilder_ == null) { return stepExecutionResult_ == null ? gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance() : stepExecutionResult_; } else { return stepExecutionResultBuilder_.getMessage(); } } /** *
       * / Holds the result from the execution.
       * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; */ public Builder setStepExecutionResult(gauge.messages.Spec.ProtoStepExecutionResult value) { if (stepExecutionResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stepExecutionResult_ = value; } else { stepExecutionResultBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Holds the result from the execution.
       * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; */ public Builder setStepExecutionResult( gauge.messages.Spec.ProtoStepExecutionResult.Builder builderForValue) { if (stepExecutionResultBuilder_ == null) { stepExecutionResult_ = builderForValue.build(); } else { stepExecutionResultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Holds the result from the execution.
       * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; */ public Builder mergeStepExecutionResult(gauge.messages.Spec.ProtoStepExecutionResult value) { if (stepExecutionResultBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && stepExecutionResult_ != null && stepExecutionResult_ != gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance()) { getStepExecutionResultBuilder().mergeFrom(value); } else { stepExecutionResult_ = value; } } else { stepExecutionResultBuilder_.mergeFrom(value); } if (stepExecutionResult_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
       * / Holds the result from the execution.
       * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; */ public Builder clearStepExecutionResult() { bitField0_ = (bitField0_ & ~0x00000008); stepExecutionResult_ = null; if (stepExecutionResultBuilder_ != null) { stepExecutionResultBuilder_.dispose(); stepExecutionResultBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the result from the execution.
       * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; */ public gauge.messages.Spec.ProtoStepExecutionResult.Builder getStepExecutionResultBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStepExecutionResultFieldBuilder().getBuilder(); } /** *
       * / Holds the result from the execution.
       * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; */ public gauge.messages.Spec.ProtoStepExecutionResultOrBuilder getStepExecutionResultOrBuilder() { if (stepExecutionResultBuilder_ != null) { return stepExecutionResultBuilder_.getMessageOrBuilder(); } else { return stepExecutionResult_ == null ? gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance() : stepExecutionResult_; } } /** *
       * / Holds the result from the execution.
       * 
* * .gauge.messages.ProtoStepExecutionResult stepExecutionResult = 4; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStepExecutionResult, gauge.messages.Spec.ProtoStepExecutionResult.Builder, gauge.messages.Spec.ProtoStepExecutionResultOrBuilder> getStepExecutionResultFieldBuilder() { if (stepExecutionResultBuilder_ == null) { stepExecutionResultBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStepExecutionResult, gauge.messages.Spec.ProtoStepExecutionResult.Builder, gauge.messages.Spec.ProtoStepExecutionResultOrBuilder>( getStepExecutionResult(), getParentForChildren(), isClean()); stepExecutionResult_ = null; } return stepExecutionResultBuilder_; } private com.google.protobuf.LazyStringArrayList preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookMessagesIsMutable() { if (!preHookMessages_.isModifiable()) { preHookMessages_ = new com.google.protobuf.LazyStringArrayList(preHookMessages_); } bitField0_ |= 0x00000010; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 5; * @return A list containing the preHookMessages. */ public com.google.protobuf.ProtocolStringList getPreHookMessagesList() { preHookMessages_.makeImmutable(); return preHookMessages_; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 5; * @return The count of preHookMessages. */ public int getPreHookMessagesCount() { return preHookMessages_.size(); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 5; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ public java.lang.String getPreHookMessages(int index) { return preHookMessages_.get(index); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 5; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ public com.google.protobuf.ByteString getPreHookMessagesBytes(int index) { return preHookMessages_.getByteString(index); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 5; * @param index The index to set the value at. * @param value The preHookMessages to set. * @return This builder for chaining. */ public Builder setPreHookMessages( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessagesIsMutable(); preHookMessages_.set(index, value); bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 5; * @param value The preHookMessages to add. * @return This builder for chaining. */ public Builder addPreHookMessages( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessagesIsMutable(); preHookMessages_.add(value); bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 5; * @param values The preHookMessages to add. * @return This builder for chaining. */ public Builder addAllPreHookMessages( java.lang.Iterable values) { ensurePreHookMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookMessages_); bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 5; * @return This builder for chaining. */ public Builder clearPreHookMessages() { preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 5; * @param value The bytes of the preHookMessages to add. * @return This builder for chaining. */ public Builder addPreHookMessagesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookMessagesIsMutable(); preHookMessages_.add(value); bitField0_ |= 0x00000010; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookMessagesIsMutable() { if (!postHookMessages_.isModifiable()) { postHookMessages_ = new com.google.protobuf.LazyStringArrayList(postHookMessages_); } bitField0_ |= 0x00000020; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 6; * @return A list containing the postHookMessages. */ public com.google.protobuf.ProtocolStringList getPostHookMessagesList() { postHookMessages_.makeImmutable(); return postHookMessages_; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 6; * @return The count of postHookMessages. */ public int getPostHookMessagesCount() { return postHookMessages_.size(); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 6; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ public java.lang.String getPostHookMessages(int index) { return postHookMessages_.get(index); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 6; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ public com.google.protobuf.ByteString getPostHookMessagesBytes(int index) { return postHookMessages_.getByteString(index); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 6; * @param index The index to set the value at. * @param value The postHookMessages to set. * @return This builder for chaining. */ public Builder setPostHookMessages( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessagesIsMutable(); postHookMessages_.set(index, value); bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 6; * @param value The postHookMessages to add. * @return This builder for chaining. */ public Builder addPostHookMessages( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessagesIsMutable(); postHookMessages_.add(value); bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 6; * @param values The postHookMessages to add. * @return This builder for chaining. */ public Builder addAllPostHookMessages( java.lang.Iterable values) { ensurePostHookMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookMessages_); bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 6; * @return This builder for chaining. */ public Builder clearPostHookMessages() { postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000020);; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 6; * @param value The bytes of the postHookMessages to add. * @return This builder for chaining. */ public Builder addPostHookMessagesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookMessagesIsMutable(); postHookMessages_.add(value); bitField0_ |= 0x00000020; onChanged(); return this; } private com.google.protobuf.Internal.ProtobufList preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); private void ensurePreHookScreenshotsIsMutable() { if (!preHookScreenshots_.isModifiable()) { preHookScreenshots_ = makeMutableCopy(preHookScreenshots_); } bitField0_ |= 0x00000040; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @return A list containing the preHookScreenshots. */ @java.lang.Deprecated public java.util.List getPreHookScreenshotsList() { preHookScreenshots_.makeImmutable(); return preHookScreenshots_; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @return The count of preHookScreenshots. */ @java.lang.Deprecated public int getPreHookScreenshotsCount() { return preHookScreenshots_.size(); } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookScreenshots(int index) { return preHookScreenshots_.get(index); } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @param index The index to set the value at. * @param value The preHookScreenshots to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPreHookScreenshots( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.set(index, value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @param value The preHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookScreenshots(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @param values The preHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPreHookScreenshots( java.lang.Iterable values) { ensurePreHookScreenshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookScreenshots_); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 7 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.preHookScreenshots is deprecated. * See spec.proto;l=185 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPreHookScreenshots() { preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } private com.google.protobuf.Internal.ProtobufList postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); private void ensurePostHookScreenshotsIsMutable() { if (!postHookScreenshots_.isModifiable()) { postHookScreenshots_ = makeMutableCopy(postHookScreenshots_); } bitField0_ |= 0x00000080; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @return A list containing the postHookScreenshots. */ @java.lang.Deprecated public java.util.List getPostHookScreenshotsList() { postHookScreenshots_.makeImmutable(); return postHookScreenshots_; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @return The count of postHookScreenshots. */ @java.lang.Deprecated public int getPostHookScreenshotsCount() { return postHookScreenshots_.size(); } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookScreenshots(int index) { return postHookScreenshots_.get(index); } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @param index The index to set the value at. * @param value The postHookScreenshots to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPostHookScreenshots( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.set(index, value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @param value The postHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookScreenshots(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.add(value); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @param values The postHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPostHookScreenshots( java.lang.Iterable values) { ensurePostHookScreenshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookScreenshots_); bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 8 [deprecated = true]; * @deprecated gauge.messages.ProtoStep.postHookScreenshots is deprecated. * See spec.proto;l=187 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPostHookScreenshots() { postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookScreenshotFilesIsMutable() { if (!preHookScreenshotFiles_.isModifiable()) { preHookScreenshotFiles_ = new com.google.protobuf.LazyStringArrayList(preHookScreenshotFiles_); } bitField0_ |= 0x00000100; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 9; * @return A list containing the preHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPreHookScreenshotFilesList() { preHookScreenshotFiles_.makeImmutable(); return preHookScreenshotFiles_; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 9; * @return The count of preHookScreenshotFiles. */ public int getPreHookScreenshotFilesCount() { return preHookScreenshotFiles_.size(); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 9; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ public java.lang.String getPreHookScreenshotFiles(int index) { return preHookScreenshotFiles_.get(index); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 9; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index) { return preHookScreenshotFiles_.getByteString(index); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 9; * @param index The index to set the value at. * @param value The preHookScreenshotFiles to set. * @return This builder for chaining. */ public Builder setPreHookScreenshotFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.set(index, value); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 9; * @param value The preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPreHookScreenshotFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(value); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 9; * @param values The preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addAllPreHookScreenshotFiles( java.lang.Iterable values) { ensurePreHookScreenshotFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookScreenshotFiles_); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 9; * @return This builder for chaining. */ public Builder clearPreHookScreenshotFiles() { preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000100);; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 9; * @param value The bytes of the preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPreHookScreenshotFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(value); bitField0_ |= 0x00000100; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookScreenshotFilesIsMutable() { if (!postHookScreenshotFiles_.isModifiable()) { postHookScreenshotFiles_ = new com.google.protobuf.LazyStringArrayList(postHookScreenshotFiles_); } bitField0_ |= 0x00000200; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 10; * @return A list containing the postHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPostHookScreenshotFilesList() { postHookScreenshotFiles_.makeImmutable(); return postHookScreenshotFiles_; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 10; * @return The count of postHookScreenshotFiles. */ public int getPostHookScreenshotFilesCount() { return postHookScreenshotFiles_.size(); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 10; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ public java.lang.String getPostHookScreenshotFiles(int index) { return postHookScreenshotFiles_.get(index); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 10; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index) { return postHookScreenshotFiles_.getByteString(index); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 10; * @param index The index to set the value at. * @param value The postHookScreenshotFiles to set. * @return This builder for chaining. */ public Builder setPostHookScreenshotFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 10; * @param value The postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPostHookScreenshotFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 10; * @param values The postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addAllPostHookScreenshotFiles( java.lang.Iterable values) { ensurePostHookScreenshotFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookScreenshotFiles_); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 10; * @return This builder for chaining. */ public Builder clearPostHookScreenshotFiles() { postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 10; * @param value The bytes of the postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPostHookScreenshotFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoStep) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoStep) private static final gauge.messages.Spec.ProtoStep DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoStep(); } public static gauge.messages.Spec.ProtoStep getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoStep parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoStep getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoConceptOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoConcept) com.google.protobuf.MessageOrBuilder { /** *
     * / Represents the Step value of a Concept.
     * 
* * .gauge.messages.ProtoStep conceptStep = 1; * @return Whether the conceptStep field is set. */ boolean hasConceptStep(); /** *
     * / Represents the Step value of a Concept.
     * 
* * .gauge.messages.ProtoStep conceptStep = 1; * @return The conceptStep. */ gauge.messages.Spec.ProtoStep getConceptStep(); /** *
     * / Represents the Step value of a Concept.
     * 
* * .gauge.messages.ProtoStep conceptStep = 1; */ gauge.messages.Spec.ProtoStepOrBuilder getConceptStepOrBuilder(); /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ java.util.List getStepsList(); /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ gauge.messages.Spec.ProtoItem getSteps(int index); /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ int getStepsCount(); /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ java.util.List getStepsOrBuilderList(); /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ gauge.messages.Spec.ProtoItemOrBuilder getStepsOrBuilder( int index); /** *
     * / Holds the execution result.
     * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; * @return Whether the conceptExecutionResult field is set. */ boolean hasConceptExecutionResult(); /** *
     * / Holds the execution result.
     * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; * @return The conceptExecutionResult. */ gauge.messages.Spec.ProtoStepExecutionResult getConceptExecutionResult(); /** *
     * / Holds the execution result.
     * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; */ gauge.messages.Spec.ProtoStepExecutionResultOrBuilder getConceptExecutionResultOrBuilder(); } /** *
   * / Concept is a type of step, that can have multiple Steps.
   * / But from a caller's perspective, it is still used as any other Step
   * / A proto object representing a Concept
   * 
* * Protobuf type {@code gauge.messages.ProtoConcept} */ public static final class ProtoConcept extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoConcept) ProtoConceptOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoConcept.class.getName()); } // Use ProtoConcept.newBuilder() to construct. private ProtoConcept(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoConcept() { steps_ = java.util.Collections.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoConcept_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoConcept_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoConcept.class, gauge.messages.Spec.ProtoConcept.Builder.class); } private int bitField0_; public static final int CONCEPTSTEP_FIELD_NUMBER = 1; private gauge.messages.Spec.ProtoStep conceptStep_; /** *
     * / Represents the Step value of a Concept.
     * 
* * .gauge.messages.ProtoStep conceptStep = 1; * @return Whether the conceptStep field is set. */ @java.lang.Override public boolean hasConceptStep() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Represents the Step value of a Concept.
     * 
* * .gauge.messages.ProtoStep conceptStep = 1; * @return The conceptStep. */ @java.lang.Override public gauge.messages.Spec.ProtoStep getConceptStep() { return conceptStep_ == null ? gauge.messages.Spec.ProtoStep.getDefaultInstance() : conceptStep_; } /** *
     * / Represents the Step value of a Concept.
     * 
* * .gauge.messages.ProtoStep conceptStep = 1; */ @java.lang.Override public gauge.messages.Spec.ProtoStepOrBuilder getConceptStepOrBuilder() { return conceptStep_ == null ? gauge.messages.Spec.ProtoStep.getDefaultInstance() : conceptStep_; } public static final int STEPS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List steps_; /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ @java.lang.Override public java.util.List getStepsList() { return steps_; } /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ @java.lang.Override public java.util.List getStepsOrBuilderList() { return steps_; } /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ @java.lang.Override public int getStepsCount() { return steps_.size(); } /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ @java.lang.Override public gauge.messages.Spec.ProtoItem getSteps(int index) { return steps_.get(index); } /** *
     * / Collection of Steps in the given concepts.
     * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ @java.lang.Override public gauge.messages.Spec.ProtoItemOrBuilder getStepsOrBuilder( int index) { return steps_.get(index); } public static final int CONCEPTEXECUTIONRESULT_FIELD_NUMBER = 3; private gauge.messages.Spec.ProtoStepExecutionResult conceptExecutionResult_; /** *
     * / Holds the execution result.
     * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; * @return Whether the conceptExecutionResult field is set. */ @java.lang.Override public boolean hasConceptExecutionResult() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * / Holds the execution result.
     * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; * @return The conceptExecutionResult. */ @java.lang.Override public gauge.messages.Spec.ProtoStepExecutionResult getConceptExecutionResult() { return conceptExecutionResult_ == null ? gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance() : conceptExecutionResult_; } /** *
     * / Holds the execution result.
     * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; */ @java.lang.Override public gauge.messages.Spec.ProtoStepExecutionResultOrBuilder getConceptExecutionResultOrBuilder() { return conceptExecutionResult_ == null ? gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance() : conceptExecutionResult_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getConceptStep()); } for (int i = 0; i < steps_.size(); i++) { output.writeMessage(2, steps_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getConceptExecutionResult()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getConceptStep()); } for (int i = 0; i < steps_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, steps_.get(i)); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getConceptExecutionResult()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoConcept)) { return super.equals(obj); } gauge.messages.Spec.ProtoConcept other = (gauge.messages.Spec.ProtoConcept) obj; if (hasConceptStep() != other.hasConceptStep()) return false; if (hasConceptStep()) { if (!getConceptStep() .equals(other.getConceptStep())) return false; } if (!getStepsList() .equals(other.getStepsList())) return false; if (hasConceptExecutionResult() != other.hasConceptExecutionResult()) return false; if (hasConceptExecutionResult()) { if (!getConceptExecutionResult() .equals(other.getConceptExecutionResult())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasConceptStep()) { hash = (37 * hash) + CONCEPTSTEP_FIELD_NUMBER; hash = (53 * hash) + getConceptStep().hashCode(); } if (getStepsCount() > 0) { hash = (37 * hash) + STEPS_FIELD_NUMBER; hash = (53 * hash) + getStepsList().hashCode(); } if (hasConceptExecutionResult()) { hash = (37 * hash) + CONCEPTEXECUTIONRESULT_FIELD_NUMBER; hash = (53 * hash) + getConceptExecutionResult().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoConcept parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoConcept parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoConcept parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoConcept parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoConcept parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoConcept parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoConcept parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoConcept parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoConcept parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoConcept parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoConcept parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoConcept parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoConcept prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / Concept is a type of step, that can have multiple Steps.
     * / But from a caller's perspective, it is still used as any other Step
     * / A proto object representing a Concept
     * 
* * Protobuf type {@code gauge.messages.ProtoConcept} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoConcept) gauge.messages.Spec.ProtoConceptOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoConcept_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoConcept_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoConcept.class, gauge.messages.Spec.ProtoConcept.Builder.class); } // Construct using gauge.messages.Spec.ProtoConcept.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getConceptStepFieldBuilder(); getStepsFieldBuilder(); getConceptExecutionResultFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; conceptStep_ = null; if (conceptStepBuilder_ != null) { conceptStepBuilder_.dispose(); conceptStepBuilder_ = null; } if (stepsBuilder_ == null) { steps_ = java.util.Collections.emptyList(); } else { steps_ = null; stepsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); conceptExecutionResult_ = null; if (conceptExecutionResultBuilder_ != null) { conceptExecutionResultBuilder_.dispose(); conceptExecutionResultBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoConcept_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoConcept getDefaultInstanceForType() { return gauge.messages.Spec.ProtoConcept.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoConcept build() { gauge.messages.Spec.ProtoConcept result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoConcept buildPartial() { gauge.messages.Spec.ProtoConcept result = new gauge.messages.Spec.ProtoConcept(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(gauge.messages.Spec.ProtoConcept result) { if (stepsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { steps_ = java.util.Collections.unmodifiableList(steps_); bitField0_ = (bitField0_ & ~0x00000002); } result.steps_ = steps_; } else { result.steps_ = stepsBuilder_.build(); } } private void buildPartial0(gauge.messages.Spec.ProtoConcept result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.conceptStep_ = conceptStepBuilder_ == null ? conceptStep_ : conceptStepBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.conceptExecutionResult_ = conceptExecutionResultBuilder_ == null ? conceptExecutionResult_ : conceptExecutionResultBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoConcept) { return mergeFrom((gauge.messages.Spec.ProtoConcept)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoConcept other) { if (other == gauge.messages.Spec.ProtoConcept.getDefaultInstance()) return this; if (other.hasConceptStep()) { mergeConceptStep(other.getConceptStep()); } if (stepsBuilder_ == null) { if (!other.steps_.isEmpty()) { if (steps_.isEmpty()) { steps_ = other.steps_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStepsIsMutable(); steps_.addAll(other.steps_); } onChanged(); } } else { if (!other.steps_.isEmpty()) { if (stepsBuilder_.isEmpty()) { stepsBuilder_.dispose(); stepsBuilder_ = null; steps_ = other.steps_; bitField0_ = (bitField0_ & ~0x00000002); stepsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getStepsFieldBuilder() : null; } else { stepsBuilder_.addAllMessages(other.steps_); } } } if (other.hasConceptExecutionResult()) { mergeConceptExecutionResult(other.getConceptExecutionResult()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getConceptStepFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { gauge.messages.Spec.ProtoItem m = input.readMessage( gauge.messages.Spec.ProtoItem.parser(), extensionRegistry); if (stepsBuilder_ == null) { ensureStepsIsMutable(); steps_.add(m); } else { stepsBuilder_.addMessage(m); } break; } // case 18 case 26: { input.readMessage( getConceptExecutionResultFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private gauge.messages.Spec.ProtoStep conceptStep_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStep, gauge.messages.Spec.ProtoStep.Builder, gauge.messages.Spec.ProtoStepOrBuilder> conceptStepBuilder_; /** *
       * / Represents the Step value of a Concept.
       * 
* * .gauge.messages.ProtoStep conceptStep = 1; * @return Whether the conceptStep field is set. */ public boolean hasConceptStep() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * / Represents the Step value of a Concept.
       * 
* * .gauge.messages.ProtoStep conceptStep = 1; * @return The conceptStep. */ public gauge.messages.Spec.ProtoStep getConceptStep() { if (conceptStepBuilder_ == null) { return conceptStep_ == null ? gauge.messages.Spec.ProtoStep.getDefaultInstance() : conceptStep_; } else { return conceptStepBuilder_.getMessage(); } } /** *
       * / Represents the Step value of a Concept.
       * 
* * .gauge.messages.ProtoStep conceptStep = 1; */ public Builder setConceptStep(gauge.messages.Spec.ProtoStep value) { if (conceptStepBuilder_ == null) { if (value == null) { throw new NullPointerException(); } conceptStep_ = value; } else { conceptStepBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Represents the Step value of a Concept.
       * 
* * .gauge.messages.ProtoStep conceptStep = 1; */ public Builder setConceptStep( gauge.messages.Spec.ProtoStep.Builder builderForValue) { if (conceptStepBuilder_ == null) { conceptStep_ = builderForValue.build(); } else { conceptStepBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Represents the Step value of a Concept.
       * 
* * .gauge.messages.ProtoStep conceptStep = 1; */ public Builder mergeConceptStep(gauge.messages.Spec.ProtoStep value) { if (conceptStepBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && conceptStep_ != null && conceptStep_ != gauge.messages.Spec.ProtoStep.getDefaultInstance()) { getConceptStepBuilder().mergeFrom(value); } else { conceptStep_ = value; } } else { conceptStepBuilder_.mergeFrom(value); } if (conceptStep_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * / Represents the Step value of a Concept.
       * 
* * .gauge.messages.ProtoStep conceptStep = 1; */ public Builder clearConceptStep() { bitField0_ = (bitField0_ & ~0x00000001); conceptStep_ = null; if (conceptStepBuilder_ != null) { conceptStepBuilder_.dispose(); conceptStepBuilder_ = null; } onChanged(); return this; } /** *
       * / Represents the Step value of a Concept.
       * 
* * .gauge.messages.ProtoStep conceptStep = 1; */ public gauge.messages.Spec.ProtoStep.Builder getConceptStepBuilder() { bitField0_ |= 0x00000001; onChanged(); return getConceptStepFieldBuilder().getBuilder(); } /** *
       * / Represents the Step value of a Concept.
       * 
* * .gauge.messages.ProtoStep conceptStep = 1; */ public gauge.messages.Spec.ProtoStepOrBuilder getConceptStepOrBuilder() { if (conceptStepBuilder_ != null) { return conceptStepBuilder_.getMessageOrBuilder(); } else { return conceptStep_ == null ? gauge.messages.Spec.ProtoStep.getDefaultInstance() : conceptStep_; } } /** *
       * / Represents the Step value of a Concept.
       * 
* * .gauge.messages.ProtoStep conceptStep = 1; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStep, gauge.messages.Spec.ProtoStep.Builder, gauge.messages.Spec.ProtoStepOrBuilder> getConceptStepFieldBuilder() { if (conceptStepBuilder_ == null) { conceptStepBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStep, gauge.messages.Spec.ProtoStep.Builder, gauge.messages.Spec.ProtoStepOrBuilder>( getConceptStep(), getParentForChildren(), isClean()); conceptStep_ = null; } return conceptStepBuilder_; } private java.util.List steps_ = java.util.Collections.emptyList(); private void ensureStepsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { steps_ = new java.util.ArrayList(steps_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> stepsBuilder_; /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public java.util.List getStepsList() { if (stepsBuilder_ == null) { return java.util.Collections.unmodifiableList(steps_); } else { return stepsBuilder_.getMessageList(); } } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public int getStepsCount() { if (stepsBuilder_ == null) { return steps_.size(); } else { return stepsBuilder_.getCount(); } } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public gauge.messages.Spec.ProtoItem getSteps(int index) { if (stepsBuilder_ == null) { return steps_.get(index); } else { return stepsBuilder_.getMessage(index); } } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public Builder setSteps( int index, gauge.messages.Spec.ProtoItem value) { if (stepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStepsIsMutable(); steps_.set(index, value); onChanged(); } else { stepsBuilder_.setMessage(index, value); } return this; } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public Builder setSteps( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (stepsBuilder_ == null) { ensureStepsIsMutable(); steps_.set(index, builderForValue.build()); onChanged(); } else { stepsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public Builder addSteps(gauge.messages.Spec.ProtoItem value) { if (stepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStepsIsMutable(); steps_.add(value); onChanged(); } else { stepsBuilder_.addMessage(value); } return this; } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public Builder addSteps( int index, gauge.messages.Spec.ProtoItem value) { if (stepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStepsIsMutable(); steps_.add(index, value); onChanged(); } else { stepsBuilder_.addMessage(index, value); } return this; } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public Builder addSteps( gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (stepsBuilder_ == null) { ensureStepsIsMutable(); steps_.add(builderForValue.build()); onChanged(); } else { stepsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public Builder addSteps( int index, gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (stepsBuilder_ == null) { ensureStepsIsMutable(); steps_.add(index, builderForValue.build()); onChanged(); } else { stepsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public Builder addAllSteps( java.lang.Iterable values) { if (stepsBuilder_ == null) { ensureStepsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, steps_); onChanged(); } else { stepsBuilder_.addAllMessages(values); } return this; } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public Builder clearSteps() { if (stepsBuilder_ == null) { steps_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { stepsBuilder_.clear(); } return this; } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public Builder removeSteps(int index) { if (stepsBuilder_ == null) { ensureStepsIsMutable(); steps_.remove(index); onChanged(); } else { stepsBuilder_.remove(index); } return this; } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public gauge.messages.Spec.ProtoItem.Builder getStepsBuilder( int index) { return getStepsFieldBuilder().getBuilder(index); } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public gauge.messages.Spec.ProtoItemOrBuilder getStepsOrBuilder( int index) { if (stepsBuilder_ == null) { return steps_.get(index); } else { return stepsBuilder_.getMessageOrBuilder(index); } } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public java.util.List getStepsOrBuilderList() { if (stepsBuilder_ != null) { return stepsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(steps_); } } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public gauge.messages.Spec.ProtoItem.Builder addStepsBuilder() { return getStepsFieldBuilder().addBuilder( gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public gauge.messages.Spec.ProtoItem.Builder addStepsBuilder( int index) { return getStepsFieldBuilder().addBuilder( index, gauge.messages.Spec.ProtoItem.getDefaultInstance()); } /** *
       * / Collection of Steps in the given concepts.
       * 
* * repeated .gauge.messages.ProtoItem steps = 2; */ public java.util.List getStepsBuilderList() { return getStepsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> getStepsFieldBuilder() { if (stepsBuilder_ == null) { stepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>( steps_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); steps_ = null; } return stepsBuilder_; } private gauge.messages.Spec.ProtoStepExecutionResult conceptExecutionResult_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStepExecutionResult, gauge.messages.Spec.ProtoStepExecutionResult.Builder, gauge.messages.Spec.ProtoStepExecutionResultOrBuilder> conceptExecutionResultBuilder_; /** *
       * / Holds the execution result.
       * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; * @return Whether the conceptExecutionResult field is set. */ public boolean hasConceptExecutionResult() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * / Holds the execution result.
       * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; * @return The conceptExecutionResult. */ public gauge.messages.Spec.ProtoStepExecutionResult getConceptExecutionResult() { if (conceptExecutionResultBuilder_ == null) { return conceptExecutionResult_ == null ? gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance() : conceptExecutionResult_; } else { return conceptExecutionResultBuilder_.getMessage(); } } /** *
       * / Holds the execution result.
       * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; */ public Builder setConceptExecutionResult(gauge.messages.Spec.ProtoStepExecutionResult value) { if (conceptExecutionResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } conceptExecutionResult_ = value; } else { conceptExecutionResultBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Holds the execution result.
       * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; */ public Builder setConceptExecutionResult( gauge.messages.Spec.ProtoStepExecutionResult.Builder builderForValue) { if (conceptExecutionResultBuilder_ == null) { conceptExecutionResult_ = builderForValue.build(); } else { conceptExecutionResultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Holds the execution result.
       * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; */ public Builder mergeConceptExecutionResult(gauge.messages.Spec.ProtoStepExecutionResult value) { if (conceptExecutionResultBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && conceptExecutionResult_ != null && conceptExecutionResult_ != gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance()) { getConceptExecutionResultBuilder().mergeFrom(value); } else { conceptExecutionResult_ = value; } } else { conceptExecutionResultBuilder_.mergeFrom(value); } if (conceptExecutionResult_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * / Holds the execution result.
       * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; */ public Builder clearConceptExecutionResult() { bitField0_ = (bitField0_ & ~0x00000004); conceptExecutionResult_ = null; if (conceptExecutionResultBuilder_ != null) { conceptExecutionResultBuilder_.dispose(); conceptExecutionResultBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the execution result.
       * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; */ public gauge.messages.Spec.ProtoStepExecutionResult.Builder getConceptExecutionResultBuilder() { bitField0_ |= 0x00000004; onChanged(); return getConceptExecutionResultFieldBuilder().getBuilder(); } /** *
       * / Holds the execution result.
       * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; */ public gauge.messages.Spec.ProtoStepExecutionResultOrBuilder getConceptExecutionResultOrBuilder() { if (conceptExecutionResultBuilder_ != null) { return conceptExecutionResultBuilder_.getMessageOrBuilder(); } else { return conceptExecutionResult_ == null ? gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance() : conceptExecutionResult_; } } /** *
       * / Holds the execution result.
       * 
* * .gauge.messages.ProtoStepExecutionResult conceptExecutionResult = 3; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStepExecutionResult, gauge.messages.Spec.ProtoStepExecutionResult.Builder, gauge.messages.Spec.ProtoStepExecutionResultOrBuilder> getConceptExecutionResultFieldBuilder() { if (conceptExecutionResultBuilder_ == null) { conceptExecutionResultBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoStepExecutionResult, gauge.messages.Spec.ProtoStepExecutionResult.Builder, gauge.messages.Spec.ProtoStepExecutionResultOrBuilder>( getConceptExecutionResult(), getParentForChildren(), isClean()); conceptExecutionResult_ = null; } return conceptExecutionResultBuilder_; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoConcept) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoConcept) private static final gauge.messages.Spec.ProtoConcept DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoConcept(); } public static gauge.messages.Spec.ProtoConcept getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoConcept parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoConcept getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoTagsOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoTags) com.google.protobuf.MessageOrBuilder { /** *
     * / A collection of Tags
     * 
* * repeated string tags = 1; * @return A list containing the tags. */ java.util.List getTagsList(); /** *
     * / A collection of Tags
     * 
* * repeated string tags = 1; * @return The count of tags. */ int getTagsCount(); /** *
     * / A collection of Tags
     * 
* * repeated string tags = 1; * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** *
     * / A collection of Tags
     * 
* * repeated string tags = 1; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ com.google.protobuf.ByteString getTagsBytes(int index); } /** *
   * / A proto object representing Tags
   * 
* * Protobuf type {@code gauge.messages.ProtoTags} */ public static final class ProtoTags extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoTags) ProtoTagsOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoTags.class.getName()); } // Use ProtoTags.newBuilder() to construct. private ProtoTags(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoTags() { tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTags_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTags_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoTags.class, gauge.messages.Spec.ProtoTags.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / A collection of Tags
     * 
* * repeated string tags = 1; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** *
     * / A collection of Tags
     * 
* * repeated string tags = 1; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** *
     * / A collection of Tags
     * 
* * repeated string tags = 1; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** *
     * / A collection of Tags
     * 
* * repeated string tags = 1; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 1, tags_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < tags_.size(); i++) { dataSize += computeStringSizeNoTag(tags_.getRaw(i)); } size += dataSize; size += 1 * getTagsList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoTags)) { return super.equals(obj); } gauge.messages.Spec.ProtoTags other = (gauge.messages.Spec.ProtoTags) obj; if (!getTagsList() .equals(other.getTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoTags parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTags parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTags parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTags parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTags parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTags parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTags parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoTags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTags parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoTags parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoTags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing Tags
     * 
* * Protobuf type {@code gauge.messages.ProtoTags} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoTags) gauge.messages.Spec.ProtoTagsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTags_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTags_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoTags.class, gauge.messages.Spec.ProtoTags.Builder.class); } // Construct using gauge.messages.Spec.ProtoTags.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTags_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoTags getDefaultInstanceForType() { return gauge.messages.Spec.ProtoTags.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoTags build() { gauge.messages.Spec.ProtoTags result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoTags buildPartial() { gauge.messages.Spec.ProtoTags result = new gauge.messages.Spec.ProtoTags(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoTags result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { tags_.makeImmutable(); result.tags_ = tags_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoTags) { return mergeFrom((gauge.messages.Spec.ProtoTags)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoTags other) { if (other == gauge.messages.Spec.ProtoTags.getDefaultInstance()) return this; if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ |= 0x00000001; } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); ensureTagsIsMutable(); tags_.add(s); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.LazyStringArrayList tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureTagsIsMutable() { if (!tags_.isModifiable()) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); } bitField0_ |= 0x00000001; } /** *
       * / A collection of Tags
       * 
* * repeated string tags = 1; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { tags_.makeImmutable(); return tags_; } /** *
       * / A collection of Tags
       * 
* * repeated string tags = 1; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** *
       * / A collection of Tags
       * 
* * repeated string tags = 1; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** *
       * / A collection of Tags
       * 
* * repeated string tags = 1; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** *
       * / A collection of Tags
       * 
* * repeated string tags = 1; * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ public Builder setTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.set(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / A collection of Tags
       * 
* * repeated string tags = 1; * @param value The tags to add. * @return This builder for chaining. */ public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / A collection of Tags
       * 
* * repeated string tags = 1; * @param values The tags to add. * @return This builder for chaining. */ public Builder addAllTags( java.lang.Iterable values) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / A collection of Tags
       * 
* * repeated string tags = 1; * @return This builder for chaining. */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** *
       * / A collection of Tags
       * 
* * repeated string tags = 1; * @param value The bytes of the tags to add. * @return This builder for chaining. */ public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoTags) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoTags) private static final gauge.messages.Spec.ProtoTags DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoTags(); } public static gauge.messages.Spec.ProtoTags getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoTags parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoTags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FragmentOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.Fragment) com.google.protobuf.MessageOrBuilder { /** *
     * / Type of Fragment, valid values are Text, Parameter
     * 
* * .gauge.messages.Fragment.FragmentType fragmentType = 1; * @return The enum numeric value on the wire for fragmentType. */ int getFragmentTypeValue(); /** *
     * / Type of Fragment, valid values are Text, Parameter
     * 
* * .gauge.messages.Fragment.FragmentType fragmentType = 1; * @return The fragmentType. */ gauge.messages.Spec.Fragment.FragmentType getFragmentType(); /** *
     * / Text part of the Fragment, valid only if FragmentType=Text
     * 
* * string text = 2; * @return The text. */ java.lang.String getText(); /** *
     * / Text part of the Fragment, valid only if FragmentType=Text
     * 
* * string text = 2; * @return The bytes for text. */ com.google.protobuf.ByteString getTextBytes(); /** *
     * / Parameter part of the Fragment, valid only if FragmentType=Parameter
     * 
* * .gauge.messages.Parameter parameter = 3; * @return Whether the parameter field is set. */ boolean hasParameter(); /** *
     * / Parameter part of the Fragment, valid only if FragmentType=Parameter
     * 
* * .gauge.messages.Parameter parameter = 3; * @return The parameter. */ gauge.messages.Spec.Parameter getParameter(); /** *
     * / Parameter part of the Fragment, valid only if FragmentType=Parameter
     * 
* * .gauge.messages.Parameter parameter = 3; */ gauge.messages.Spec.ParameterOrBuilder getParameterOrBuilder(); } /** *
   * / A proto object representing Fragment.
   * / Fragments, put together make up A Step
   * 
* * Protobuf type {@code gauge.messages.Fragment} */ public static final class Fragment extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.Fragment) FragmentOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", Fragment.class.getName()); } // Use Fragment.newBuilder() to construct. private Fragment(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Fragment() { fragmentType_ = 0; text_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_Fragment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_Fragment_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.Fragment.class, gauge.messages.Spec.Fragment.Builder.class); } /** *
     * / Enum representing the types of Fragment
     * 
* * Protobuf enum {@code gauge.messages.Fragment.FragmentType} */ public enum FragmentType implements com.google.protobuf.ProtocolMessageEnum { /** *
       * / Fragment is a Text part
       * 
* * Text = 0; */ Text(0), /** *
       * / Fragment is a Parameter part
       * 
* * Parameter = 1; */ Parameter(1), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", FragmentType.class.getName()); } /** *
       * / Fragment is a Text part
       * 
* * Text = 0; */ public static final int Text_VALUE = 0; /** *
       * / Fragment is a Parameter part
       * 
* * Parameter = 1; */ public static final int Parameter_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static FragmentType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static FragmentType forNumber(int value) { switch (value) { case 0: return Text; case 1: return Parameter; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< FragmentType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public FragmentType findValueByNumber(int number) { return FragmentType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return gauge.messages.Spec.Fragment.getDescriptor().getEnumTypes().get(0); } private static final FragmentType[] VALUES = values(); public static FragmentType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private FragmentType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:gauge.messages.Fragment.FragmentType) } private int bitField0_; public static final int FRAGMENTTYPE_FIELD_NUMBER = 1; private int fragmentType_ = 0; /** *
     * / Type of Fragment, valid values are Text, Parameter
     * 
* * .gauge.messages.Fragment.FragmentType fragmentType = 1; * @return The enum numeric value on the wire for fragmentType. */ @java.lang.Override public int getFragmentTypeValue() { return fragmentType_; } /** *
     * / Type of Fragment, valid values are Text, Parameter
     * 
* * .gauge.messages.Fragment.FragmentType fragmentType = 1; * @return The fragmentType. */ @java.lang.Override public gauge.messages.Spec.Fragment.FragmentType getFragmentType() { gauge.messages.Spec.Fragment.FragmentType result = gauge.messages.Spec.Fragment.FragmentType.forNumber(fragmentType_); return result == null ? gauge.messages.Spec.Fragment.FragmentType.UNRECOGNIZED : result; } public static final int TEXT_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** *
     * / Text part of the Fragment, valid only if FragmentType=Text
     * 
* * string text = 2; * @return The text. */ @java.lang.Override public java.lang.String getText() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** *
     * / Text part of the Fragment, valid only if FragmentType=Text
     * 
* * string text = 2; * @return The bytes for text. */ @java.lang.Override public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); text_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARAMETER_FIELD_NUMBER = 3; private gauge.messages.Spec.Parameter parameter_; /** *
     * / Parameter part of the Fragment, valid only if FragmentType=Parameter
     * 
* * .gauge.messages.Parameter parameter = 3; * @return Whether the parameter field is set. */ @java.lang.Override public boolean hasParameter() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Parameter part of the Fragment, valid only if FragmentType=Parameter
     * 
* * .gauge.messages.Parameter parameter = 3; * @return The parameter. */ @java.lang.Override public gauge.messages.Spec.Parameter getParameter() { return parameter_ == null ? gauge.messages.Spec.Parameter.getDefaultInstance() : parameter_; } /** *
     * / Parameter part of the Fragment, valid only if FragmentType=Parameter
     * 
* * .gauge.messages.Parameter parameter = 3; */ @java.lang.Override public gauge.messages.Spec.ParameterOrBuilder getParameterOrBuilder() { return parameter_ == null ? gauge.messages.Spec.Parameter.getDefaultInstance() : parameter_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (fragmentType_ != gauge.messages.Spec.Fragment.FragmentType.Text.getNumber()) { output.writeEnum(1, fragmentType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, text_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getParameter()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (fragmentType_ != gauge.messages.Spec.Fragment.FragmentType.Text.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, fragmentType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, text_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getParameter()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.Fragment)) { return super.equals(obj); } gauge.messages.Spec.Fragment other = (gauge.messages.Spec.Fragment) obj; if (fragmentType_ != other.fragmentType_) return false; if (!getText() .equals(other.getText())) return false; if (hasParameter() != other.hasParameter()) return false; if (hasParameter()) { if (!getParameter() .equals(other.getParameter())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FRAGMENTTYPE_FIELD_NUMBER; hash = (53 * hash) + fragmentType_; hash = (37 * hash) + TEXT_FIELD_NUMBER; hash = (53 * hash) + getText().hashCode(); if (hasParameter()) { hash = (37 * hash) + PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getParameter().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.Fragment parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Fragment parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Fragment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Fragment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Fragment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Fragment parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Fragment parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.Fragment parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.Fragment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.Fragment parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.Fragment parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.Fragment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.Fragment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing Fragment.
     * / Fragments, put together make up A Step
     * 
* * Protobuf type {@code gauge.messages.Fragment} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.Fragment) gauge.messages.Spec.FragmentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_Fragment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_Fragment_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.Fragment.class, gauge.messages.Spec.Fragment.Builder.class); } // Construct using gauge.messages.Spec.Fragment.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getParameterFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; fragmentType_ = 0; text_ = ""; parameter_ = null; if (parameterBuilder_ != null) { parameterBuilder_.dispose(); parameterBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_Fragment_descriptor; } @java.lang.Override public gauge.messages.Spec.Fragment getDefaultInstanceForType() { return gauge.messages.Spec.Fragment.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.Fragment build() { gauge.messages.Spec.Fragment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.Fragment buildPartial() { gauge.messages.Spec.Fragment result = new gauge.messages.Spec.Fragment(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.Fragment result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.fragmentType_ = fragmentType_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.text_ = text_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.parameter_ = parameterBuilder_ == null ? parameter_ : parameterBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.Fragment) { return mergeFrom((gauge.messages.Spec.Fragment)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.Fragment other) { if (other == gauge.messages.Spec.Fragment.getDefaultInstance()) return this; if (other.fragmentType_ != 0) { setFragmentTypeValue(other.getFragmentTypeValue()); } if (!other.getText().isEmpty()) { text_ = other.text_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasParameter()) { mergeParameter(other.getParameter()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { fragmentType_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { text_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getParameterFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int fragmentType_ = 0; /** *
       * / Type of Fragment, valid values are Text, Parameter
       * 
* * .gauge.messages.Fragment.FragmentType fragmentType = 1; * @return The enum numeric value on the wire for fragmentType. */ @java.lang.Override public int getFragmentTypeValue() { return fragmentType_; } /** *
       * / Type of Fragment, valid values are Text, Parameter
       * 
* * .gauge.messages.Fragment.FragmentType fragmentType = 1; * @param value The enum numeric value on the wire for fragmentType to set. * @return This builder for chaining. */ public Builder setFragmentTypeValue(int value) { fragmentType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Type of Fragment, valid values are Text, Parameter
       * 
* * .gauge.messages.Fragment.FragmentType fragmentType = 1; * @return The fragmentType. */ @java.lang.Override public gauge.messages.Spec.Fragment.FragmentType getFragmentType() { gauge.messages.Spec.Fragment.FragmentType result = gauge.messages.Spec.Fragment.FragmentType.forNumber(fragmentType_); return result == null ? gauge.messages.Spec.Fragment.FragmentType.UNRECOGNIZED : result; } /** *
       * / Type of Fragment, valid values are Text, Parameter
       * 
* * .gauge.messages.Fragment.FragmentType fragmentType = 1; * @param value The fragmentType to set. * @return This builder for chaining. */ public Builder setFragmentType(gauge.messages.Spec.Fragment.FragmentType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; fragmentType_ = value.getNumber(); onChanged(); return this; } /** *
       * / Type of Fragment, valid values are Text, Parameter
       * 
* * .gauge.messages.Fragment.FragmentType fragmentType = 1; * @return This builder for chaining. */ public Builder clearFragmentType() { bitField0_ = (bitField0_ & ~0x00000001); fragmentType_ = 0; onChanged(); return this; } private java.lang.Object text_ = ""; /** *
       * / Text part of the Fragment, valid only if FragmentType=Text
       * 
* * string text = 2; * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Text part of the Fragment, valid only if FragmentType=Text
       * 
* * string text = 2; * @return The bytes for text. */ public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); text_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Text part of the Fragment, valid only if FragmentType=Text
       * 
* * string text = 2; * @param value The text to set. * @return This builder for chaining. */ public Builder setText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } text_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Text part of the Fragment, valid only if FragmentType=Text
       * 
* * string text = 2; * @return This builder for chaining. */ public Builder clearText() { text_ = getDefaultInstance().getText(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * / Text part of the Fragment, valid only if FragmentType=Text
       * 
* * string text = 2; * @param value The bytes for text to set. * @return This builder for chaining. */ public Builder setTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private gauge.messages.Spec.Parameter parameter_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.Parameter, gauge.messages.Spec.Parameter.Builder, gauge.messages.Spec.ParameterOrBuilder> parameterBuilder_; /** *
       * / Parameter part of the Fragment, valid only if FragmentType=Parameter
       * 
* * .gauge.messages.Parameter parameter = 3; * @return Whether the parameter field is set. */ public boolean hasParameter() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * / Parameter part of the Fragment, valid only if FragmentType=Parameter
       * 
* * .gauge.messages.Parameter parameter = 3; * @return The parameter. */ public gauge.messages.Spec.Parameter getParameter() { if (parameterBuilder_ == null) { return parameter_ == null ? gauge.messages.Spec.Parameter.getDefaultInstance() : parameter_; } else { return parameterBuilder_.getMessage(); } } /** *
       * / Parameter part of the Fragment, valid only if FragmentType=Parameter
       * 
* * .gauge.messages.Parameter parameter = 3; */ public Builder setParameter(gauge.messages.Spec.Parameter value) { if (parameterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } parameter_ = value; } else { parameterBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Parameter part of the Fragment, valid only if FragmentType=Parameter
       * 
* * .gauge.messages.Parameter parameter = 3; */ public Builder setParameter( gauge.messages.Spec.Parameter.Builder builderForValue) { if (parameterBuilder_ == null) { parameter_ = builderForValue.build(); } else { parameterBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Parameter part of the Fragment, valid only if FragmentType=Parameter
       * 
* * .gauge.messages.Parameter parameter = 3; */ public Builder mergeParameter(gauge.messages.Spec.Parameter value) { if (parameterBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && parameter_ != null && parameter_ != gauge.messages.Spec.Parameter.getDefaultInstance()) { getParameterBuilder().mergeFrom(value); } else { parameter_ = value; } } else { parameterBuilder_.mergeFrom(value); } if (parameter_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * / Parameter part of the Fragment, valid only if FragmentType=Parameter
       * 
* * .gauge.messages.Parameter parameter = 3; */ public Builder clearParameter() { bitField0_ = (bitField0_ & ~0x00000004); parameter_ = null; if (parameterBuilder_ != null) { parameterBuilder_.dispose(); parameterBuilder_ = null; } onChanged(); return this; } /** *
       * / Parameter part of the Fragment, valid only if FragmentType=Parameter
       * 
* * .gauge.messages.Parameter parameter = 3; */ public gauge.messages.Spec.Parameter.Builder getParameterBuilder() { bitField0_ |= 0x00000004; onChanged(); return getParameterFieldBuilder().getBuilder(); } /** *
       * / Parameter part of the Fragment, valid only if FragmentType=Parameter
       * 
* * .gauge.messages.Parameter parameter = 3; */ public gauge.messages.Spec.ParameterOrBuilder getParameterOrBuilder() { if (parameterBuilder_ != null) { return parameterBuilder_.getMessageOrBuilder(); } else { return parameter_ == null ? gauge.messages.Spec.Parameter.getDefaultInstance() : parameter_; } } /** *
       * / Parameter part of the Fragment, valid only if FragmentType=Parameter
       * 
* * .gauge.messages.Parameter parameter = 3; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.Parameter, gauge.messages.Spec.Parameter.Builder, gauge.messages.Spec.ParameterOrBuilder> getParameterFieldBuilder() { if (parameterBuilder_ == null) { parameterBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.Parameter, gauge.messages.Spec.Parameter.Builder, gauge.messages.Spec.ParameterOrBuilder>( getParameter(), getParentForChildren(), isClean()); parameter_ = null; } return parameterBuilder_; } // @@protoc_insertion_point(builder_scope:gauge.messages.Fragment) } // @@protoc_insertion_point(class_scope:gauge.messages.Fragment) private static final gauge.messages.Spec.Fragment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.Fragment(); } public static gauge.messages.Spec.Fragment getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Fragment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.Fragment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ParameterOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.Parameter) com.google.protobuf.MessageOrBuilder { /** *
     * / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
     * 
* * .gauge.messages.Parameter.ParameterType parameterType = 1; * @return The enum numeric value on the wire for parameterType. */ int getParameterTypeValue(); /** *
     * / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
     * 
* * .gauge.messages.Parameter.ParameterType parameterType = 1; * @return The parameterType. */ gauge.messages.Spec.Parameter.ParameterType getParameterType(); /** *
     * / Holds the value of the parameter
     * 
* * string value = 2; * @return The value. */ java.lang.String getValue(); /** *
     * / Holds the value of the parameter
     * 
* * string value = 2; * @return The bytes for value. */ com.google.protobuf.ByteString getValueBytes(); /** *
     * / Holds the name of the parameter, used as Key to lookup the value.
     * 
* * string name = 3; * @return The name. */ java.lang.String getName(); /** *
     * / Holds the name of the parameter, used as Key to lookup the value.
     * 
* * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
     * / Holds the table value, if parameterType=Table or Special_Table
     * 
* * .gauge.messages.ProtoTable table = 4; * @return Whether the table field is set. */ boolean hasTable(); /** *
     * / Holds the table value, if parameterType=Table or Special_Table
     * 
* * .gauge.messages.ProtoTable table = 4; * @return The table. */ gauge.messages.Spec.ProtoTable getTable(); /** *
     * / Holds the table value, if parameterType=Table or Special_Table
     * 
* * .gauge.messages.ProtoTable table = 4; */ gauge.messages.Spec.ProtoTableOrBuilder getTableOrBuilder(); } /** *
   * / A proto object representing Fragment.
   * 
* * Protobuf type {@code gauge.messages.Parameter} */ public static final class Parameter extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.Parameter) ParameterOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", Parameter.class.getName()); } // Use Parameter.newBuilder() to construct. private Parameter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Parameter() { parameterType_ = 0; value_ = ""; name_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.Parameter.class, gauge.messages.Spec.Parameter.Builder.class); } /** *
     * / Enum representing types of Parameter.
     * 
* * Protobuf enum {@code gauge.messages.Parameter.ParameterType} */ public enum ParameterType implements com.google.protobuf.ProtocolMessageEnum { /** *
       * Static parameter. The value of the parameter is defined at the Step.
       * 
* * Static = 0; */ Static(0), /** *
       * Dynamic parameter. This is a parameter placeholder, and the actual value is injected at runtime, depending on the context of the call.
       * 
* * Dynamic = 1; */ Dynamic(1), /** *
       * Special paramter, taking a string value. Special paramters are read from a file.
       * 
* * Special_String = 2; */ Special_String(2), /** *
       * Special paramter, taking a Table value. This parameter is read from a csv file.
       * 
* * Special_Table = 3; */ Special_Table(3), /** *
       * A table parameter, used for data driven execution.
       * 
* * Table = 4; */ Table(4), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ParameterType.class.getName()); } /** *
       * Static parameter. The value of the parameter is defined at the Step.
       * 
* * Static = 0; */ public static final int Static_VALUE = 0; /** *
       * Dynamic parameter. This is a parameter placeholder, and the actual value is injected at runtime, depending on the context of the call.
       * 
* * Dynamic = 1; */ public static final int Dynamic_VALUE = 1; /** *
       * Special paramter, taking a string value. Special paramters are read from a file.
       * 
* * Special_String = 2; */ public static final int Special_String_VALUE = 2; /** *
       * Special paramter, taking a Table value. This parameter is read from a csv file.
       * 
* * Special_Table = 3; */ public static final int Special_Table_VALUE = 3; /** *
       * A table parameter, used for data driven execution.
       * 
* * Table = 4; */ public static final int Table_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ParameterType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ParameterType forNumber(int value) { switch (value) { case 0: return Static; case 1: return Dynamic; case 2: return Special_String; case 3: return Special_Table; case 4: return Table; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ParameterType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ParameterType findValueByNumber(int number) { return ParameterType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return gauge.messages.Spec.Parameter.getDescriptor().getEnumTypes().get(0); } private static final ParameterType[] VALUES = values(); public static ParameterType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ParameterType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:gauge.messages.Parameter.ParameterType) } private int bitField0_; public static final int PARAMETERTYPE_FIELD_NUMBER = 1; private int parameterType_ = 0; /** *
     * / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
     * 
* * .gauge.messages.Parameter.ParameterType parameterType = 1; * @return The enum numeric value on the wire for parameterType. */ @java.lang.Override public int getParameterTypeValue() { return parameterType_; } /** *
     * / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
     * 
* * .gauge.messages.Parameter.ParameterType parameterType = 1; * @return The parameterType. */ @java.lang.Override public gauge.messages.Spec.Parameter.ParameterType getParameterType() { gauge.messages.Spec.Parameter.ParameterType result = gauge.messages.Spec.Parameter.ParameterType.forNumber(parameterType_); return result == null ? gauge.messages.Spec.Parameter.ParameterType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** *
     * / Holds the value of the parameter
     * 
* * string value = 2; * @return The value. */ @java.lang.Override public java.lang.String getValue() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** *
     * / Holds the value of the parameter
     * 
* * string value = 2; * @return The bytes for value. */ @java.lang.Override public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** *
     * / Holds the name of the parameter, used as Key to lookup the value.
     * 
* * string name = 3; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** *
     * / Holds the name of the parameter, used as Key to lookup the value.
     * 
* * string name = 3; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLE_FIELD_NUMBER = 4; private gauge.messages.Spec.ProtoTable table_; /** *
     * / Holds the table value, if parameterType=Table or Special_Table
     * 
* * .gauge.messages.ProtoTable table = 4; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Holds the table value, if parameterType=Table or Special_Table
     * 
* * .gauge.messages.ProtoTable table = 4; * @return The table. */ @java.lang.Override public gauge.messages.Spec.ProtoTable getTable() { return table_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : table_; } /** *
     * / Holds the table value, if parameterType=Table or Special_Table
     * 
* * .gauge.messages.ProtoTable table = 4; */ @java.lang.Override public gauge.messages.Spec.ProtoTableOrBuilder getTableOrBuilder() { return table_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : table_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (parameterType_ != gauge.messages.Spec.Parameter.ParameterType.Static.getNumber()) { output.writeEnum(1, parameterType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, value_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getTable()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (parameterType_ != gauge.messages.Spec.Parameter.ParameterType.Static.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, parameterType_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, value_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getTable()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.Parameter)) { return super.equals(obj); } gauge.messages.Spec.Parameter other = (gauge.messages.Spec.Parameter) obj; if (parameterType_ != other.parameterType_) return false; if (!getValue() .equals(other.getValue())) return false; if (!getName() .equals(other.getName())) return false; if (hasTable() != other.hasTable()) return false; if (hasTable()) { if (!getTable() .equals(other.getTable())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARAMETERTYPE_FIELD_NUMBER; hash = (53 * hash) + parameterType_; hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (hasTable()) { hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.Parameter parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Parameter parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Parameter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Parameter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Parameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Parameter parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Parameter parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.Parameter parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.Parameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.Parameter parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.Parameter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.Parameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.Parameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing Fragment.
     * 
* * Protobuf type {@code gauge.messages.Parameter} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.Parameter) gauge.messages.Spec.ParameterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_Parameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_Parameter_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.Parameter.class, gauge.messages.Spec.Parameter.Builder.class); } // Construct using gauge.messages.Spec.Parameter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getTableFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; parameterType_ = 0; value_ = ""; name_ = ""; table_ = null; if (tableBuilder_ != null) { tableBuilder_.dispose(); tableBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_Parameter_descriptor; } @java.lang.Override public gauge.messages.Spec.Parameter getDefaultInstanceForType() { return gauge.messages.Spec.Parameter.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.Parameter build() { gauge.messages.Spec.Parameter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.Parameter buildPartial() { gauge.messages.Spec.Parameter result = new gauge.messages.Spec.Parameter(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.Parameter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parameterType_ = parameterType_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.value_ = value_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.name_ = name_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.Parameter) { return mergeFrom((gauge.messages.Spec.Parameter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.Parameter other) { if (other == gauge.messages.Spec.Parameter.getDefaultInstance()) return this; if (other.parameterType_ != 0) { setParameterTypeValue(other.getParameterTypeValue()); } if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasTable()) { mergeTable(other.getTable()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { parameterType_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { value_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getTableFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int parameterType_ = 0; /** *
       * / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       * 
* * .gauge.messages.Parameter.ParameterType parameterType = 1; * @return The enum numeric value on the wire for parameterType. */ @java.lang.Override public int getParameterTypeValue() { return parameterType_; } /** *
       * / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       * 
* * .gauge.messages.Parameter.ParameterType parameterType = 1; * @param value The enum numeric value on the wire for parameterType to set. * @return This builder for chaining. */ public Builder setParameterTypeValue(int value) { parameterType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       * 
* * .gauge.messages.Parameter.ParameterType parameterType = 1; * @return The parameterType. */ @java.lang.Override public gauge.messages.Spec.Parameter.ParameterType getParameterType() { gauge.messages.Spec.Parameter.ParameterType result = gauge.messages.Spec.Parameter.ParameterType.forNumber(parameterType_); return result == null ? gauge.messages.Spec.Parameter.ParameterType.UNRECOGNIZED : result; } /** *
       * / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       * 
* * .gauge.messages.Parameter.ParameterType parameterType = 1; * @param value The parameterType to set. * @return This builder for chaining. */ public Builder setParameterType(gauge.messages.Spec.Parameter.ParameterType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; parameterType_ = value.getNumber(); onChanged(); return this; } /** *
       * / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table
       * 
* * .gauge.messages.Parameter.ParameterType parameterType = 1; * @return This builder for chaining. */ public Builder clearParameterType() { bitField0_ = (bitField0_ & ~0x00000001); parameterType_ = 0; onChanged(); return this; } private java.lang.Object value_ = ""; /** *
       * / Holds the value of the parameter
       * 
* * string value = 2; * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the value of the parameter
       * 
* * string value = 2; * @return The bytes for value. */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); value_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the value of the parameter
       * 
* * string value = 2; * @param value The value to set. * @return This builder for chaining. */ public Builder setValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Holds the value of the parameter
       * 
* * string value = 2; * @return This builder for chaining. */ public Builder clearValue() { value_ = getDefaultInstance().getValue(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * / Holds the value of the parameter
       * 
* * string value = 2; * @param value The bytes for value to set. * @return This builder for chaining. */ public Builder setValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
       * / Holds the name of the parameter, used as Key to lookup the value.
       * 
* * string name = 3; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the name of the parameter, used as Key to lookup the value.
       * 
* * string name = 3; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the name of the parameter, used as Key to lookup the value.
       * 
* * string name = 3; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Holds the name of the parameter, used as Key to lookup the value.
       * 
* * string name = 3; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * / Holds the name of the parameter, used as Key to lookup the value.
       * 
* * string name = 3; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private gauge.messages.Spec.ProtoTable table_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder> tableBuilder_; /** *
       * / Holds the table value, if parameterType=Table or Special_Table
       * 
* * .gauge.messages.ProtoTable table = 4; * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000008) != 0); } /** *
       * / Holds the table value, if parameterType=Table or Special_Table
       * 
* * .gauge.messages.ProtoTable table = 4; * @return The table. */ public gauge.messages.Spec.ProtoTable getTable() { if (tableBuilder_ == null) { return table_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : table_; } else { return tableBuilder_.getMessage(); } } /** *
       * / Holds the table value, if parameterType=Table or Special_Table
       * 
* * .gauge.messages.ProtoTable table = 4; */ public Builder setTable(gauge.messages.Spec.ProtoTable value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } table_ = value; } else { tableBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Holds the table value, if parameterType=Table or Special_Table
       * 
* * .gauge.messages.ProtoTable table = 4; */ public Builder setTable( gauge.messages.Spec.ProtoTable.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); } else { tableBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Holds the table value, if parameterType=Table or Special_Table
       * 
* * .gauge.messages.ProtoTable table = 4; */ public Builder mergeTable(gauge.messages.Spec.ProtoTable value) { if (tableBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && table_ != null && table_ != gauge.messages.Spec.ProtoTable.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; } } else { tableBuilder_.mergeFrom(value); } if (table_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
       * / Holds the table value, if parameterType=Table or Special_Table
       * 
* * .gauge.messages.ProtoTable table = 4; */ public Builder clearTable() { bitField0_ = (bitField0_ & ~0x00000008); table_ = null; if (tableBuilder_ != null) { tableBuilder_.dispose(); tableBuilder_ = null; } onChanged(); return this; } /** *
       * / Holds the table value, if parameterType=Table or Special_Table
       * 
* * .gauge.messages.ProtoTable table = 4; */ public gauge.messages.Spec.ProtoTable.Builder getTableBuilder() { bitField0_ |= 0x00000008; onChanged(); return getTableFieldBuilder().getBuilder(); } /** *
       * / Holds the table value, if parameterType=Table or Special_Table
       * 
* * .gauge.messages.ProtoTable table = 4; */ public gauge.messages.Spec.ProtoTableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { return table_ == null ? gauge.messages.Spec.ProtoTable.getDefaultInstance() : table_; } } /** *
       * / Holds the table value, if parameterType=Table or Special_Table
       * 
* * .gauge.messages.ProtoTable table = 4; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { tableBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTable, gauge.messages.Spec.ProtoTable.Builder, gauge.messages.Spec.ProtoTableOrBuilder>( getTable(), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; } // @@protoc_insertion_point(builder_scope:gauge.messages.Parameter) } // @@protoc_insertion_point(class_scope:gauge.messages.Parameter) private static final gauge.messages.Spec.Parameter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.Parameter(); } public static gauge.messages.Spec.Parameter getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Parameter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.Parameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoCommentOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoComment) com.google.protobuf.MessageOrBuilder { /** *
     * / Text representing the Comment.
     * 
* * string text = 1; * @return The text. */ java.lang.String getText(); /** *
     * / Text representing the Comment.
     * 
* * string text = 1; * @return The bytes for text. */ com.google.protobuf.ByteString getTextBytes(); } /** *
   * / A proto object representing Comment.
   * 
* * Protobuf type {@code gauge.messages.ProtoComment} */ public static final class ProtoComment extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoComment) ProtoCommentOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoComment.class.getName()); } // Use ProtoComment.newBuilder() to construct. private ProtoComment(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoComment() { text_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoComment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoComment_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoComment.class, gauge.messages.Spec.ProtoComment.Builder.class); } public static final int TEXT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object text_ = ""; /** *
     * / Text representing the Comment.
     * 
* * string text = 1; * @return The text. */ @java.lang.Override public java.lang.String getText() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** *
     * / Text representing the Comment.
     * 
* * string text = 1; * @return The bytes for text. */ @java.lang.Override public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); text_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, text_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessage.isStringEmpty(text_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, text_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoComment)) { return super.equals(obj); } gauge.messages.Spec.ProtoComment other = (gauge.messages.Spec.ProtoComment) obj; if (!getText() .equals(other.getText())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TEXT_FIELD_NUMBER; hash = (53 * hash) + getText().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoComment parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoComment parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoComment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoComment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoComment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoComment parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoComment parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoComment parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoComment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoComment parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoComment parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoComment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoComment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing Comment.
     * 
* * Protobuf type {@code gauge.messages.ProtoComment} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoComment) gauge.messages.Spec.ProtoCommentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoComment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoComment_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoComment.class, gauge.messages.Spec.ProtoComment.Builder.class); } // Construct using gauge.messages.Spec.ProtoComment.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; text_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoComment_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoComment getDefaultInstanceForType() { return gauge.messages.Spec.ProtoComment.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoComment build() { gauge.messages.Spec.ProtoComment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoComment buildPartial() { gauge.messages.Spec.ProtoComment result = new gauge.messages.Spec.ProtoComment(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoComment result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.text_ = text_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoComment) { return mergeFrom((gauge.messages.Spec.ProtoComment)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoComment other) { if (other == gauge.messages.Spec.ProtoComment.getDefaultInstance()) return this; if (!other.getText().isEmpty()) { text_ = other.text_; bitField0_ |= 0x00000001; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { text_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object text_ = ""; /** *
       * / Text representing the Comment.
       * 
* * string text = 1; * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Text representing the Comment.
       * 
* * string text = 1; * @return The bytes for text. */ public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); text_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Text representing the Comment.
       * 
* * string text = 1; * @param value The text to set. * @return This builder for chaining. */ public Builder setText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Text representing the Comment.
       * 
* * string text = 1; * @return This builder for chaining. */ public Builder clearText() { text_ = getDefaultInstance().getText(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * / Text representing the Comment.
       * 
* * string text = 1; * @param value The bytes for text to set. * @return This builder for chaining. */ public Builder setTextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); text_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoComment) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoComment) private static final gauge.messages.Spec.ProtoComment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoComment(); } public static gauge.messages.Spec.ProtoComment getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoComment parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoComment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoTableOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoTable) com.google.protobuf.MessageOrBuilder { /** *
     * / Contains the Headers for the table
     * 
* * .gauge.messages.ProtoTableRow headers = 1; * @return Whether the headers field is set. */ boolean hasHeaders(); /** *
     * / Contains the Headers for the table
     * 
* * .gauge.messages.ProtoTableRow headers = 1; * @return The headers. */ gauge.messages.Spec.ProtoTableRow getHeaders(); /** *
     * / Contains the Headers for the table
     * 
* * .gauge.messages.ProtoTableRow headers = 1; */ gauge.messages.Spec.ProtoTableRowOrBuilder getHeadersOrBuilder(); /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ java.util.List getRowsList(); /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ gauge.messages.Spec.ProtoTableRow getRows(int index); /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ int getRowsCount(); /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ java.util.List getRowsOrBuilderList(); /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ gauge.messages.Spec.ProtoTableRowOrBuilder getRowsOrBuilder( int index); } /** *
   * / A proto object representing Table.
   * 
* * Protobuf type {@code gauge.messages.ProtoTable} */ public static final class ProtoTable extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoTable) ProtoTableOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoTable.class.getName()); } // Use ProtoTable.newBuilder() to construct. private ProtoTable(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoTable() { rows_ = java.util.Collections.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTable_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoTable.class, gauge.messages.Spec.ProtoTable.Builder.class); } private int bitField0_; public static final int HEADERS_FIELD_NUMBER = 1; private gauge.messages.Spec.ProtoTableRow headers_; /** *
     * / Contains the Headers for the table
     * 
* * .gauge.messages.ProtoTableRow headers = 1; * @return Whether the headers field is set. */ @java.lang.Override public boolean hasHeaders() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Contains the Headers for the table
     * 
* * .gauge.messages.ProtoTableRow headers = 1; * @return The headers. */ @java.lang.Override public gauge.messages.Spec.ProtoTableRow getHeaders() { return headers_ == null ? gauge.messages.Spec.ProtoTableRow.getDefaultInstance() : headers_; } /** *
     * / Contains the Headers for the table
     * 
* * .gauge.messages.ProtoTableRow headers = 1; */ @java.lang.Override public gauge.messages.Spec.ProtoTableRowOrBuilder getHeadersOrBuilder() { return headers_ == null ? gauge.messages.Spec.ProtoTableRow.getDefaultInstance() : headers_; } public static final int ROWS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List rows_; /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ @java.lang.Override public java.util.List getRowsList() { return rows_; } /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ @java.lang.Override public java.util.List getRowsOrBuilderList() { return rows_; } /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ @java.lang.Override public int getRowsCount() { return rows_.size(); } /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ @java.lang.Override public gauge.messages.Spec.ProtoTableRow getRows(int index) { return rows_.get(index); } /** *
     * / Contains the Rows for the table
     * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ @java.lang.Override public gauge.messages.Spec.ProtoTableRowOrBuilder getRowsOrBuilder( int index) { return rows_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getHeaders()); } for (int i = 0; i < rows_.size(); i++) { output.writeMessage(2, rows_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHeaders()); } for (int i = 0; i < rows_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, rows_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoTable)) { return super.equals(obj); } gauge.messages.Spec.ProtoTable other = (gauge.messages.Spec.ProtoTable) obj; if (hasHeaders() != other.hasHeaders()) return false; if (hasHeaders()) { if (!getHeaders() .equals(other.getHeaders())) return false; } if (!getRowsList() .equals(other.getRowsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeaders()) { hash = (37 * hash) + HEADERS_FIELD_NUMBER; hash = (53 * hash) + getHeaders().hashCode(); } if (getRowsCount() > 0) { hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (53 * hash) + getRowsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoTable parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTable parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTable parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTable parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTable parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTable parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTable parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoTable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTable parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoTable parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTable parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoTable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing Table.
     * 
* * Protobuf type {@code gauge.messages.ProtoTable} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoTable) gauge.messages.Spec.ProtoTableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTable_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTable_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoTable.class, gauge.messages.Spec.ProtoTable.Builder.class); } // Construct using gauge.messages.Spec.ProtoTable.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getHeadersFieldBuilder(); getRowsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; headers_ = null; if (headersBuilder_ != null) { headersBuilder_.dispose(); headersBuilder_ = null; } if (rowsBuilder_ == null) { rows_ = java.util.Collections.emptyList(); } else { rows_ = null; rowsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTable_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoTable getDefaultInstanceForType() { return gauge.messages.Spec.ProtoTable.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoTable build() { gauge.messages.Spec.ProtoTable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoTable buildPartial() { gauge.messages.Spec.ProtoTable result = new gauge.messages.Spec.ProtoTable(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(gauge.messages.Spec.ProtoTable result) { if (rowsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { rows_ = java.util.Collections.unmodifiableList(rows_); bitField0_ = (bitField0_ & ~0x00000002); } result.rows_ = rows_; } else { result.rows_ = rowsBuilder_.build(); } } private void buildPartial0(gauge.messages.Spec.ProtoTable result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.headers_ = headersBuilder_ == null ? headers_ : headersBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoTable) { return mergeFrom((gauge.messages.Spec.ProtoTable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoTable other) { if (other == gauge.messages.Spec.ProtoTable.getDefaultInstance()) return this; if (other.hasHeaders()) { mergeHeaders(other.getHeaders()); } if (rowsBuilder_ == null) { if (!other.rows_.isEmpty()) { if (rows_.isEmpty()) { rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRowsIsMutable(); rows_.addAll(other.rows_); } onChanged(); } } else { if (!other.rows_.isEmpty()) { if (rowsBuilder_.isEmpty()) { rowsBuilder_.dispose(); rowsBuilder_ = null; rows_ = other.rows_; bitField0_ = (bitField0_ & ~0x00000002); rowsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getRowsFieldBuilder() : null; } else { rowsBuilder_.addAllMessages(other.rows_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getHeadersFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { gauge.messages.Spec.ProtoTableRow m = input.readMessage( gauge.messages.Spec.ProtoTableRow.parser(), extensionRegistry); if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(m); } else { rowsBuilder_.addMessage(m); } break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private gauge.messages.Spec.ProtoTableRow headers_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTableRow, gauge.messages.Spec.ProtoTableRow.Builder, gauge.messages.Spec.ProtoTableRowOrBuilder> headersBuilder_; /** *
       * / Contains the Headers for the table
       * 
* * .gauge.messages.ProtoTableRow headers = 1; * @return Whether the headers field is set. */ public boolean hasHeaders() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * / Contains the Headers for the table
       * 
* * .gauge.messages.ProtoTableRow headers = 1; * @return The headers. */ public gauge.messages.Spec.ProtoTableRow getHeaders() { if (headersBuilder_ == null) { return headers_ == null ? gauge.messages.Spec.ProtoTableRow.getDefaultInstance() : headers_; } else { return headersBuilder_.getMessage(); } } /** *
       * / Contains the Headers for the table
       * 
* * .gauge.messages.ProtoTableRow headers = 1; */ public Builder setHeaders(gauge.messages.Spec.ProtoTableRow value) { if (headersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } headers_ = value; } else { headersBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Contains the Headers for the table
       * 
* * .gauge.messages.ProtoTableRow headers = 1; */ public Builder setHeaders( gauge.messages.Spec.ProtoTableRow.Builder builderForValue) { if (headersBuilder_ == null) { headers_ = builderForValue.build(); } else { headersBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Contains the Headers for the table
       * 
* * .gauge.messages.ProtoTableRow headers = 1; */ public Builder mergeHeaders(gauge.messages.Spec.ProtoTableRow value) { if (headersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && headers_ != null && headers_ != gauge.messages.Spec.ProtoTableRow.getDefaultInstance()) { getHeadersBuilder().mergeFrom(value); } else { headers_ = value; } } else { headersBuilder_.mergeFrom(value); } if (headers_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * / Contains the Headers for the table
       * 
* * .gauge.messages.ProtoTableRow headers = 1; */ public Builder clearHeaders() { bitField0_ = (bitField0_ & ~0x00000001); headers_ = null; if (headersBuilder_ != null) { headersBuilder_.dispose(); headersBuilder_ = null; } onChanged(); return this; } /** *
       * / Contains the Headers for the table
       * 
* * .gauge.messages.ProtoTableRow headers = 1; */ public gauge.messages.Spec.ProtoTableRow.Builder getHeadersBuilder() { bitField0_ |= 0x00000001; onChanged(); return getHeadersFieldBuilder().getBuilder(); } /** *
       * / Contains the Headers for the table
       * 
* * .gauge.messages.ProtoTableRow headers = 1; */ public gauge.messages.Spec.ProtoTableRowOrBuilder getHeadersOrBuilder() { if (headersBuilder_ != null) { return headersBuilder_.getMessageOrBuilder(); } else { return headers_ == null ? gauge.messages.Spec.ProtoTableRow.getDefaultInstance() : headers_; } } /** *
       * / Contains the Headers for the table
       * 
* * .gauge.messages.ProtoTableRow headers = 1; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTableRow, gauge.messages.Spec.ProtoTableRow.Builder, gauge.messages.Spec.ProtoTableRowOrBuilder> getHeadersFieldBuilder() { if (headersBuilder_ == null) { headersBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoTableRow, gauge.messages.Spec.ProtoTableRow.Builder, gauge.messages.Spec.ProtoTableRowOrBuilder>( getHeaders(), getParentForChildren(), isClean()); headers_ = null; } return headersBuilder_; } private java.util.List rows_ = java.util.Collections.emptyList(); private void ensureRowsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rows_ = new java.util.ArrayList(rows_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoTableRow, gauge.messages.Spec.ProtoTableRow.Builder, gauge.messages.Spec.ProtoTableRowOrBuilder> rowsBuilder_; /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public java.util.List getRowsList() { if (rowsBuilder_ == null) { return java.util.Collections.unmodifiableList(rows_); } else { return rowsBuilder_.getMessageList(); } } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public int getRowsCount() { if (rowsBuilder_ == null) { return rows_.size(); } else { return rowsBuilder_.getCount(); } } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public gauge.messages.Spec.ProtoTableRow getRows(int index) { if (rowsBuilder_ == null) { return rows_.get(index); } else { return rowsBuilder_.getMessage(index); } } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public Builder setRows( int index, gauge.messages.Spec.ProtoTableRow value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowsIsMutable(); rows_.set(index, value); onChanged(); } else { rowsBuilder_.setMessage(index, value); } return this; } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public Builder setRows( int index, gauge.messages.Spec.ProtoTableRow.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.set(index, builderForValue.build()); onChanged(); } else { rowsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public Builder addRows(gauge.messages.Spec.ProtoTableRow value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowsIsMutable(); rows_.add(value); onChanged(); } else { rowsBuilder_.addMessage(value); } return this; } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public Builder addRows( int index, gauge.messages.Spec.ProtoTableRow value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowsIsMutable(); rows_.add(index, value); onChanged(); } else { rowsBuilder_.addMessage(index, value); } return this; } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public Builder addRows( gauge.messages.Spec.ProtoTableRow.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); onChanged(); } else { rowsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public Builder addRows( int index, gauge.messages.Spec.ProtoTableRow.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(index, builderForValue.build()); onChanged(); } else { rowsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public Builder addAllRows( java.lang.Iterable values) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rows_); onChanged(); } else { rowsBuilder_.addAllMessages(values); } return this; } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public Builder clearRows() { if (rowsBuilder_ == null) { rows_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { rowsBuilder_.clear(); } return this; } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public Builder removeRows(int index) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.remove(index); onChanged(); } else { rowsBuilder_.remove(index); } return this; } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public gauge.messages.Spec.ProtoTableRow.Builder getRowsBuilder( int index) { return getRowsFieldBuilder().getBuilder(index); } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public gauge.messages.Spec.ProtoTableRowOrBuilder getRowsOrBuilder( int index) { if (rowsBuilder_ == null) { return rows_.get(index); } else { return rowsBuilder_.getMessageOrBuilder(index); } } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public java.util.List getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rows_); } } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public gauge.messages.Spec.ProtoTableRow.Builder addRowsBuilder() { return getRowsFieldBuilder().addBuilder( gauge.messages.Spec.ProtoTableRow.getDefaultInstance()); } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public gauge.messages.Spec.ProtoTableRow.Builder addRowsBuilder( int index) { return getRowsFieldBuilder().addBuilder( index, gauge.messages.Spec.ProtoTableRow.getDefaultInstance()); } /** *
       * / Contains the Rows for the table
       * 
* * repeated .gauge.messages.ProtoTableRow rows = 2; */ public java.util.List getRowsBuilderList() { return getRowsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoTableRow, gauge.messages.Spec.ProtoTableRow.Builder, gauge.messages.Spec.ProtoTableRowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoTableRow, gauge.messages.Spec.ProtoTableRow.Builder, gauge.messages.Spec.ProtoTableRowOrBuilder>( rows_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); rows_ = null; } return rowsBuilder_; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoTable) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoTable) private static final gauge.messages.Spec.ProtoTable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoTable(); } public static gauge.messages.Spec.ProtoTable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoTable parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoTable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoTableRowOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoTableRow) com.google.protobuf.MessageOrBuilder { /** *
     * / Represents the cells of a given table
     * 
* * repeated string cells = 1; * @return A list containing the cells. */ java.util.List getCellsList(); /** *
     * / Represents the cells of a given table
     * 
* * repeated string cells = 1; * @return The count of cells. */ int getCellsCount(); /** *
     * / Represents the cells of a given table
     * 
* * repeated string cells = 1; * @param index The index of the element to return. * @return The cells at the given index. */ java.lang.String getCells(int index); /** *
     * / Represents the cells of a given table
     * 
* * repeated string cells = 1; * @param index The index of the value to return. * @return The bytes of the cells at the given index. */ com.google.protobuf.ByteString getCellsBytes(int index); } /** *
   * / A proto object representing Table.
   * 
* * Protobuf type {@code gauge.messages.ProtoTableRow} */ public static final class ProtoTableRow extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoTableRow) ProtoTableRowOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoTableRow.class.getName()); } // Use ProtoTableRow.newBuilder() to construct. private ProtoTableRow(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoTableRow() { cells_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableRow_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoTableRow.class, gauge.messages.Spec.ProtoTableRow.Builder.class); } public static final int CELLS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList cells_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Represents the cells of a given table
     * 
* * repeated string cells = 1; * @return A list containing the cells. */ public com.google.protobuf.ProtocolStringList getCellsList() { return cells_; } /** *
     * / Represents the cells of a given table
     * 
* * repeated string cells = 1; * @return The count of cells. */ public int getCellsCount() { return cells_.size(); } /** *
     * / Represents the cells of a given table
     * 
* * repeated string cells = 1; * @param index The index of the element to return. * @return The cells at the given index. */ public java.lang.String getCells(int index) { return cells_.get(index); } /** *
     * / Represents the cells of a given table
     * 
* * repeated string cells = 1; * @param index The index of the value to return. * @return The bytes of the cells at the given index. */ public com.google.protobuf.ByteString getCellsBytes(int index) { return cells_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < cells_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 1, cells_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < cells_.size(); i++) { dataSize += computeStringSizeNoTag(cells_.getRaw(i)); } size += dataSize; size += 1 * getCellsList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoTableRow)) { return super.equals(obj); } gauge.messages.Spec.ProtoTableRow other = (gauge.messages.Spec.ProtoTableRow) obj; if (!getCellsList() .equals(other.getCellsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getCellsCount() > 0) { hash = (37 * hash) + CELLS_FIELD_NUMBER; hash = (53 * hash) + getCellsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoTableRow parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTableRow parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTableRow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTableRow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTableRow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoTableRow parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoTableRow parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTableRow parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoTableRow parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTableRow parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoTableRow parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoTableRow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoTableRow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing Table.
     * 
* * Protobuf type {@code gauge.messages.ProtoTableRow} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoTableRow) gauge.messages.Spec.ProtoTableRowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableRow_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoTableRow.class, gauge.messages.Spec.ProtoTableRow.Builder.class); } // Construct using gauge.messages.Spec.ProtoTableRow.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; cells_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoTableRow_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoTableRow getDefaultInstanceForType() { return gauge.messages.Spec.ProtoTableRow.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoTableRow build() { gauge.messages.Spec.ProtoTableRow result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoTableRow buildPartial() { gauge.messages.Spec.ProtoTableRow result = new gauge.messages.Spec.ProtoTableRow(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoTableRow result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { cells_.makeImmutable(); result.cells_ = cells_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoTableRow) { return mergeFrom((gauge.messages.Spec.ProtoTableRow)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoTableRow other) { if (other == gauge.messages.Spec.ProtoTableRow.getDefaultInstance()) return this; if (!other.cells_.isEmpty()) { if (cells_.isEmpty()) { cells_ = other.cells_; bitField0_ |= 0x00000001; } else { ensureCellsIsMutable(); cells_.addAll(other.cells_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); ensureCellsIsMutable(); cells_.add(s); break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.LazyStringArrayList cells_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureCellsIsMutable() { if (!cells_.isModifiable()) { cells_ = new com.google.protobuf.LazyStringArrayList(cells_); } bitField0_ |= 0x00000001; } /** *
       * / Represents the cells of a given table
       * 
* * repeated string cells = 1; * @return A list containing the cells. */ public com.google.protobuf.ProtocolStringList getCellsList() { cells_.makeImmutable(); return cells_; } /** *
       * / Represents the cells of a given table
       * 
* * repeated string cells = 1; * @return The count of cells. */ public int getCellsCount() { return cells_.size(); } /** *
       * / Represents the cells of a given table
       * 
* * repeated string cells = 1; * @param index The index of the element to return. * @return The cells at the given index. */ public java.lang.String getCells(int index) { return cells_.get(index); } /** *
       * / Represents the cells of a given table
       * 
* * repeated string cells = 1; * @param index The index of the value to return. * @return The bytes of the cells at the given index. */ public com.google.protobuf.ByteString getCellsBytes(int index) { return cells_.getByteString(index); } /** *
       * / Represents the cells of a given table
       * 
* * repeated string cells = 1; * @param index The index to set the value at. * @param value The cells to set. * @return This builder for chaining. */ public Builder setCells( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCellsIsMutable(); cells_.set(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Represents the cells of a given table
       * 
* * repeated string cells = 1; * @param value The cells to add. * @return This builder for chaining. */ public Builder addCells( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCellsIsMutable(); cells_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Represents the cells of a given table
       * 
* * repeated string cells = 1; * @param values The cells to add. * @return This builder for chaining. */ public Builder addAllCells( java.lang.Iterable values) { ensureCellsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, cells_); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Represents the cells of a given table
       * 
* * repeated string cells = 1; * @return This builder for chaining. */ public Builder clearCells() { cells_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** *
       * / Represents the cells of a given table
       * 
* * repeated string cells = 1; * @param value The bytes of the cells to add. * @return This builder for chaining. */ public Builder addCellsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCellsIsMutable(); cells_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoTableRow) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoTableRow) private static final gauge.messages.Spec.ProtoTableRow DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoTableRow(); } public static gauge.messages.Spec.ProtoTableRow getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoTableRow parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoTableRow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoStepExecutionResultOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoStepExecutionResult) com.google.protobuf.MessageOrBuilder { /** *
     * / The actual result of the execution
     * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; * @return Whether the executionResult field is set. */ boolean hasExecutionResult(); /** *
     * / The actual result of the execution
     * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; * @return The executionResult. */ gauge.messages.Spec.ProtoExecutionResult getExecutionResult(); /** *
     * / The actual result of the execution
     * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; */ gauge.messages.Spec.ProtoExecutionResultOrBuilder getExecutionResultOrBuilder(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return Whether the preHookFailure field is set. */ boolean hasPreHookFailure(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return The preHookFailure. */ gauge.messages.Spec.ProtoHookFailure getPreHookFailure(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailureOrBuilder(); /** *
     * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return Whether the postHookFailure field is set. */ boolean hasPostHookFailure(); /** *
     * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return The postHookFailure. */ gauge.messages.Spec.ProtoHookFailure getPostHookFailure(); /** *
     * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder(); /** * bool skipped = 4; * @return The skipped. */ boolean getSkipped(); /** * string skippedReason = 5; * @return The skippedReason. */ java.lang.String getSkippedReason(); /** * string skippedReason = 5; * @return The bytes for skippedReason. */ com.google.protobuf.ByteString getSkippedReasonBytes(); } /** *
   * / A proto object representing Step Execution result
   * 
* * Protobuf type {@code gauge.messages.ProtoStepExecutionResult} */ public static final class ProtoStepExecutionResult extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoStepExecutionResult) ProtoStepExecutionResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoStepExecutionResult.class.getName()); } // Use ProtoStepExecutionResult.newBuilder() to construct. private ProtoStepExecutionResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoStepExecutionResult() { skippedReason_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepExecutionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepExecutionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoStepExecutionResult.class, gauge.messages.Spec.ProtoStepExecutionResult.Builder.class); } private int bitField0_; public static final int EXECUTIONRESULT_FIELD_NUMBER = 1; private gauge.messages.Spec.ProtoExecutionResult executionResult_; /** *
     * / The actual result of the execution
     * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; * @return Whether the executionResult field is set. */ @java.lang.Override public boolean hasExecutionResult() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / The actual result of the execution
     * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; * @return The executionResult. */ @java.lang.Override public gauge.messages.Spec.ProtoExecutionResult getExecutionResult() { return executionResult_ == null ? gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance() : executionResult_; } /** *
     * / The actual result of the execution
     * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; */ @java.lang.Override public gauge.messages.Spec.ProtoExecutionResultOrBuilder getExecutionResultOrBuilder() { return executionResult_ == null ? gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance() : executionResult_; } public static final int PREHOOKFAILURE_FIELD_NUMBER = 2; private gauge.messages.Spec.ProtoHookFailure preHookFailure_; /** *
     * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return Whether the preHookFailure field is set. */ @java.lang.Override public boolean hasPreHookFailure() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return The preHookFailure. */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getPreHookFailure() { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailureOrBuilder() { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } public static final int POSTHOOKFAILURE_FIELD_NUMBER = 3; private gauge.messages.Spec.ProtoHookFailure postHookFailure_; /** *
     * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return Whether the postHookFailure field is set. */ @java.lang.Override public boolean hasPostHookFailure() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return The postHookFailure. */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getPostHookFailure() { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } /** *
     * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder() { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } public static final int SKIPPED_FIELD_NUMBER = 4; private boolean skipped_ = false; /** * bool skipped = 4; * @return The skipped. */ @java.lang.Override public boolean getSkipped() { return skipped_; } public static final int SKIPPEDREASON_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object skippedReason_ = ""; /** * string skippedReason = 5; * @return The skippedReason. */ @java.lang.Override public java.lang.String getSkippedReason() { java.lang.Object ref = skippedReason_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); skippedReason_ = s; return s; } } /** * string skippedReason = 5; * @return The bytes for skippedReason. */ @java.lang.Override public com.google.protobuf.ByteString getSkippedReasonBytes() { java.lang.Object ref = skippedReason_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); skippedReason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getExecutionResult()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getPreHookFailure()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getPostHookFailure()); } if (skipped_ != false) { output.writeBool(4, skipped_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(skippedReason_)) { com.google.protobuf.GeneratedMessage.writeString(output, 5, skippedReason_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getExecutionResult()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPreHookFailure()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getPostHookFailure()); } if (skipped_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, skipped_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(skippedReason_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(5, skippedReason_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoStepExecutionResult)) { return super.equals(obj); } gauge.messages.Spec.ProtoStepExecutionResult other = (gauge.messages.Spec.ProtoStepExecutionResult) obj; if (hasExecutionResult() != other.hasExecutionResult()) return false; if (hasExecutionResult()) { if (!getExecutionResult() .equals(other.getExecutionResult())) return false; } if (hasPreHookFailure() != other.hasPreHookFailure()) return false; if (hasPreHookFailure()) { if (!getPreHookFailure() .equals(other.getPreHookFailure())) return false; } if (hasPostHookFailure() != other.hasPostHookFailure()) return false; if (hasPostHookFailure()) { if (!getPostHookFailure() .equals(other.getPostHookFailure())) return false; } if (getSkipped() != other.getSkipped()) return false; if (!getSkippedReason() .equals(other.getSkippedReason())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasExecutionResult()) { hash = (37 * hash) + EXECUTIONRESULT_FIELD_NUMBER; hash = (53 * hash) + getExecutionResult().hashCode(); } if (hasPreHookFailure()) { hash = (37 * hash) + PREHOOKFAILURE_FIELD_NUMBER; hash = (53 * hash) + getPreHookFailure().hashCode(); } if (hasPostHookFailure()) { hash = (37 * hash) + POSTHOOKFAILURE_FIELD_NUMBER; hash = (53 * hash) + getPostHookFailure().hashCode(); } hash = (37 * hash) + SKIPPED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSkipped()); hash = (37 * hash) + SKIPPEDREASON_FIELD_NUMBER; hash = (53 * hash) + getSkippedReason().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoStepExecutionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStepExecutionResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStepExecutionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoStepExecutionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing Step Execution result
     * 
* * Protobuf type {@code gauge.messages.ProtoStepExecutionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoStepExecutionResult) gauge.messages.Spec.ProtoStepExecutionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepExecutionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepExecutionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoStepExecutionResult.class, gauge.messages.Spec.ProtoStepExecutionResult.Builder.class); } // Construct using gauge.messages.Spec.ProtoStepExecutionResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getExecutionResultFieldBuilder(); getPreHookFailureFieldBuilder(); getPostHookFailureFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; executionResult_ = null; if (executionResultBuilder_ != null) { executionResultBuilder_.dispose(); executionResultBuilder_ = null; } preHookFailure_ = null; if (preHookFailureBuilder_ != null) { preHookFailureBuilder_.dispose(); preHookFailureBuilder_ = null; } postHookFailure_ = null; if (postHookFailureBuilder_ != null) { postHookFailureBuilder_.dispose(); postHookFailureBuilder_ = null; } skipped_ = false; skippedReason_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepExecutionResult_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoStepExecutionResult getDefaultInstanceForType() { return gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoStepExecutionResult build() { gauge.messages.Spec.ProtoStepExecutionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoStepExecutionResult buildPartial() { gauge.messages.Spec.ProtoStepExecutionResult result = new gauge.messages.Spec.ProtoStepExecutionResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoStepExecutionResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.executionResult_ = executionResultBuilder_ == null ? executionResult_ : executionResultBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.preHookFailure_ = preHookFailureBuilder_ == null ? preHookFailure_ : preHookFailureBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.postHookFailure_ = postHookFailureBuilder_ == null ? postHookFailure_ : postHookFailureBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.skipped_ = skipped_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.skippedReason_ = skippedReason_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoStepExecutionResult) { return mergeFrom((gauge.messages.Spec.ProtoStepExecutionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoStepExecutionResult other) { if (other == gauge.messages.Spec.ProtoStepExecutionResult.getDefaultInstance()) return this; if (other.hasExecutionResult()) { mergeExecutionResult(other.getExecutionResult()); } if (other.hasPreHookFailure()) { mergePreHookFailure(other.getPreHookFailure()); } if (other.hasPostHookFailure()) { mergePostHookFailure(other.getPostHookFailure()); } if (other.getSkipped() != false) { setSkipped(other.getSkipped()); } if (!other.getSkippedReason().isEmpty()) { skippedReason_ = other.skippedReason_; bitField0_ |= 0x00000010; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getExecutionResultFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getPreHookFailureFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getPostHookFailureFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { skipped_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { skippedReason_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private gauge.messages.Spec.ProtoExecutionResult executionResult_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoExecutionResult, gauge.messages.Spec.ProtoExecutionResult.Builder, gauge.messages.Spec.ProtoExecutionResultOrBuilder> executionResultBuilder_; /** *
       * / The actual result of the execution
       * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; * @return Whether the executionResult field is set. */ public boolean hasExecutionResult() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * / The actual result of the execution
       * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; * @return The executionResult. */ public gauge.messages.Spec.ProtoExecutionResult getExecutionResult() { if (executionResultBuilder_ == null) { return executionResult_ == null ? gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance() : executionResult_; } else { return executionResultBuilder_.getMessage(); } } /** *
       * / The actual result of the execution
       * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; */ public Builder setExecutionResult(gauge.messages.Spec.ProtoExecutionResult value) { if (executionResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } executionResult_ = value; } else { executionResultBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / The actual result of the execution
       * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; */ public Builder setExecutionResult( gauge.messages.Spec.ProtoExecutionResult.Builder builderForValue) { if (executionResultBuilder_ == null) { executionResult_ = builderForValue.build(); } else { executionResultBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / The actual result of the execution
       * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; */ public Builder mergeExecutionResult(gauge.messages.Spec.ProtoExecutionResult value) { if (executionResultBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && executionResult_ != null && executionResult_ != gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance()) { getExecutionResultBuilder().mergeFrom(value); } else { executionResult_ = value; } } else { executionResultBuilder_.mergeFrom(value); } if (executionResult_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * / The actual result of the execution
       * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; */ public Builder clearExecutionResult() { bitField0_ = (bitField0_ & ~0x00000001); executionResult_ = null; if (executionResultBuilder_ != null) { executionResultBuilder_.dispose(); executionResultBuilder_ = null; } onChanged(); return this; } /** *
       * / The actual result of the execution
       * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; */ public gauge.messages.Spec.ProtoExecutionResult.Builder getExecutionResultBuilder() { bitField0_ |= 0x00000001; onChanged(); return getExecutionResultFieldBuilder().getBuilder(); } /** *
       * / The actual result of the execution
       * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; */ public gauge.messages.Spec.ProtoExecutionResultOrBuilder getExecutionResultOrBuilder() { if (executionResultBuilder_ != null) { return executionResultBuilder_.getMessageOrBuilder(); } else { return executionResult_ == null ? gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance() : executionResult_; } } /** *
       * / The actual result of the execution
       * 
* * .gauge.messages.ProtoExecutionResult executionResult = 1; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoExecutionResult, gauge.messages.Spec.ProtoExecutionResult.Builder, gauge.messages.Spec.ProtoExecutionResultOrBuilder> getExecutionResultFieldBuilder() { if (executionResultBuilder_ == null) { executionResultBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoExecutionResult, gauge.messages.Spec.ProtoExecutionResult.Builder, gauge.messages.Spec.ProtoExecutionResultOrBuilder>( getExecutionResult(), getParentForChildren(), isClean()); executionResult_ = null; } return executionResultBuilder_; } private gauge.messages.Spec.ProtoHookFailure preHookFailure_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> preHookFailureBuilder_; /** *
       * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return Whether the preHookFailure field is set. */ public boolean hasPreHookFailure() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return The preHookFailure. */ public gauge.messages.Spec.ProtoHookFailure getPreHookFailure() { if (preHookFailureBuilder_ == null) { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } else { return preHookFailureBuilder_.getMessage(); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public Builder setPreHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (preHookFailureBuilder_ == null) { if (value == null) { throw new NullPointerException(); } preHookFailure_ = value; } else { preHookFailureBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public Builder setPreHookFailure( gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (preHookFailureBuilder_ == null) { preHookFailure_ = builderForValue.build(); } else { preHookFailureBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public Builder mergePreHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (preHookFailureBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && preHookFailure_ != null && preHookFailure_ != gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()) { getPreHookFailureBuilder().mergeFrom(value); } else { preHookFailure_ = value; } } else { preHookFailureBuilder_.mergeFrom(value); } if (preHookFailure_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public Builder clearPreHookFailure() { bitField0_ = (bitField0_ & ~0x00000002); preHookFailure_ = null; if (preHookFailureBuilder_ != null) { preHookFailureBuilder_.dispose(); preHookFailureBuilder_ = null; } onChanged(); return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public gauge.messages.Spec.ProtoHookFailure.Builder getPreHookFailureBuilder() { bitField0_ |= 0x00000002; onChanged(); return getPreHookFailureFieldBuilder().getBuilder(); } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailureOrBuilder() { if (preHookFailureBuilder_ != null) { return preHookFailureBuilder_.getMessageOrBuilder(); } else { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> getPreHookFailureFieldBuilder() { if (preHookFailureBuilder_ == null) { preHookFailureBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder>( getPreHookFailure(), getParentForChildren(), isClean()); preHookFailure_ = null; } return preHookFailureBuilder_; } private gauge.messages.Spec.ProtoHookFailure postHookFailure_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> postHookFailureBuilder_; /** *
       * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return Whether the postHookFailure field is set. */ public boolean hasPostHookFailure() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return The postHookFailure. */ public gauge.messages.Spec.ProtoHookFailure getPostHookFailure() { if (postHookFailureBuilder_ == null) { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } else { return postHookFailureBuilder_.getMessage(); } } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public Builder setPostHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (postHookFailureBuilder_ == null) { if (value == null) { throw new NullPointerException(); } postHookFailure_ = value; } else { postHookFailureBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public Builder setPostHookFailure( gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (postHookFailureBuilder_ == null) { postHookFailure_ = builderForValue.build(); } else { postHookFailureBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public Builder mergePostHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (postHookFailureBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && postHookFailure_ != null && postHookFailure_ != gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()) { getPostHookFailureBuilder().mergeFrom(value); } else { postHookFailure_ = value; } } else { postHookFailureBuilder_.mergeFrom(value); } if (postHookFailure_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public Builder clearPostHookFailure() { bitField0_ = (bitField0_ & ~0x00000004); postHookFailure_ = null; if (postHookFailureBuilder_ != null) { postHookFailureBuilder_.dispose(); postHookFailureBuilder_ = null; } onChanged(); return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public gauge.messages.Spec.ProtoHookFailure.Builder getPostHookFailureBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPostHookFailureFieldBuilder().getBuilder(); } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder() { if (postHookFailureBuilder_ != null) { return postHookFailureBuilder_.getMessageOrBuilder(); } else { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error.
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> getPostHookFailureFieldBuilder() { if (postHookFailureBuilder_ == null) { postHookFailureBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder>( getPostHookFailure(), getParentForChildren(), isClean()); postHookFailure_ = null; } return postHookFailureBuilder_; } private boolean skipped_ ; /** * bool skipped = 4; * @return The skipped. */ @java.lang.Override public boolean getSkipped() { return skipped_; } /** * bool skipped = 4; * @param value The skipped to set. * @return This builder for chaining. */ public Builder setSkipped(boolean value) { skipped_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * bool skipped = 4; * @return This builder for chaining. */ public Builder clearSkipped() { bitField0_ = (bitField0_ & ~0x00000008); skipped_ = false; onChanged(); return this; } private java.lang.Object skippedReason_ = ""; /** * string skippedReason = 5; * @return The skippedReason. */ public java.lang.String getSkippedReason() { java.lang.Object ref = skippedReason_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); skippedReason_ = s; return s; } else { return (java.lang.String) ref; } } /** * string skippedReason = 5; * @return The bytes for skippedReason. */ public com.google.protobuf.ByteString getSkippedReasonBytes() { java.lang.Object ref = skippedReason_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); skippedReason_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string skippedReason = 5; * @param value The skippedReason to set. * @return This builder for chaining. */ public Builder setSkippedReason( java.lang.String value) { if (value == null) { throw new NullPointerException(); } skippedReason_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * string skippedReason = 5; * @return This builder for chaining. */ public Builder clearSkippedReason() { skippedReason_ = getDefaultInstance().getSkippedReason(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * string skippedReason = 5; * @param value The bytes for skippedReason to set. * @return This builder for chaining. */ public Builder setSkippedReasonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); skippedReason_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoStepExecutionResult) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoStepExecutionResult) private static final gauge.messages.Spec.ProtoStepExecutionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoStepExecutionResult(); } public static gauge.messages.Spec.ProtoStepExecutionResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoStepExecutionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoStepExecutionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoExecutionResultOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoExecutionResult) com.google.protobuf.MessageOrBuilder { /** *
     * / Flag to indicate failure
     * 
* * bool failed = 1; * @return The failed. */ boolean getFailed(); /** *
     * / Flag to indicate if the error is recoverable from.
     * 
* * bool recoverableError = 2; * @return The recoverableError. */ boolean getRecoverableError(); /** *
     * / The actual error message.
     * 
* * string errorMessage = 3; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** *
     * / The actual error message.
     * 
* * string errorMessage = 3; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); /** *
     * / Stacktrace of the error
     * 
* * string stackTrace = 4; * @return The stackTrace. */ java.lang.String getStackTrace(); /** *
     * / Stacktrace of the error
     * 
* * string stackTrace = 4; * @return The bytes for stackTrace. */ com.google.protobuf.ByteString getStackTraceBytes(); /** *
     * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
     * 
* * bytes screenShot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenShot is deprecated. * See spec.proto;l=292 * @return The screenShot. */ @java.lang.Deprecated com.google.protobuf.ByteString getScreenShot(); /** *
     * / Holds the time taken for executing this scenario.
     * 
* * int64 executionTime = 6; * @return The executionTime. */ long getExecutionTime(); /** *
     * / Additional information at exec time to be available on reports
     * 
* * repeated string message = 7; * @return A list containing the message. */ java.util.List getMessageList(); /** *
     * / Additional information at exec time to be available on reports
     * 
* * repeated string message = 7; * @return The count of message. */ int getMessageCount(); /** *
     * / Additional information at exec time to be available on reports
     * 
* * repeated string message = 7; * @param index The index of the element to return. * @return The message at the given index. */ java.lang.String getMessage(int index); /** *
     * / Additional information at exec time to be available on reports
     * 
* * repeated string message = 7; * @param index The index of the value to return. * @return The bytes of the message at the given index. */ com.google.protobuf.ByteString getMessageBytes(int index); /** *
     * / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
     * 
* * .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8; * @return The enum numeric value on the wire for errorType. */ int getErrorTypeValue(); /** *
     * / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
     * 
* * .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8; * @return The errorType. */ gauge.messages.Spec.ProtoExecutionResult.ErrorType getErrorType(); /** *
     * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
     * 
* * bytes failureScreenshot = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.failureScreenshot is deprecated. * See spec.proto;l=306 * @return The failureScreenshot. */ @java.lang.Deprecated com.google.protobuf.ByteString getFailureScreenshot(); /** *
     * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
     * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @return A list containing the screenshots. */ @java.lang.Deprecated java.util.List getScreenshotsList(); /** *
     * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
     * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @return The count of screenshots. */ @java.lang.Deprecated int getScreenshotsCount(); /** *
     * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
     * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @param index The index of the element to return. * @return The screenshots at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getScreenshots(int index); /** *
     * / Path to the screenshot file captured at the time of failure.
     * 
* * string failureScreenshotFile = 11; * @return The failureScreenshotFile. */ java.lang.String getFailureScreenshotFile(); /** *
     * / Path to the screenshot file captured at the time of failure.
     * 
* * string failureScreenshotFile = 11; * @return The bytes for failureScreenshotFile. */ com.google.protobuf.ByteString getFailureScreenshotFileBytes(); /** *
     * / Path to the screenshot files captured using Gauge screenshsot API.
     * 
* * repeated string screenshotFiles = 12; * @return A list containing the screenshotFiles. */ java.util.List getScreenshotFilesList(); /** *
     * / Path to the screenshot files captured using Gauge screenshsot API.
     * 
* * repeated string screenshotFiles = 12; * @return The count of screenshotFiles. */ int getScreenshotFilesCount(); /** *
     * / Path to the screenshot files captured using Gauge screenshsot API.
     * 
* * repeated string screenshotFiles = 12; * @param index The index of the element to return. * @return The screenshotFiles at the given index. */ java.lang.String getScreenshotFiles(int index); /** *
     * / Path to the screenshot files captured using Gauge screenshsot API.
     * 
* * repeated string screenshotFiles = 12; * @param index The index of the value to return. * @return The bytes of the screenshotFiles at the given index. */ com.google.protobuf.ByteString getScreenshotFilesBytes(int index); } /** *
   * / A proto object representing the result of an execution
   * 
* * Protobuf type {@code gauge.messages.ProtoExecutionResult} */ public static final class ProtoExecutionResult extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoExecutionResult) ProtoExecutionResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoExecutionResult.class.getName()); } // Use ProtoExecutionResult.newBuilder() to construct. private ProtoExecutionResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoExecutionResult() { errorMessage_ = ""; stackTrace_ = ""; screenShot_ = com.google.protobuf.ByteString.EMPTY; message_ = com.google.protobuf.LazyStringArrayList.emptyList(); errorType_ = 0; failureScreenshot_ = com.google.protobuf.ByteString.EMPTY; screenshots_ = emptyList(com.google.protobuf.ByteString.class); failureScreenshotFile_ = ""; screenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoExecutionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoExecutionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoExecutionResult.class, gauge.messages.Spec.ProtoExecutionResult.Builder.class); } /** * Protobuf enum {@code gauge.messages.ProtoExecutionResult.ErrorType} */ public enum ErrorType implements com.google.protobuf.ProtocolMessageEnum { /** * ASSERTION = 0; */ ASSERTION(0), /** * VERIFICATION = 1; */ VERIFICATION(1), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ErrorType.class.getName()); } /** * ASSERTION = 0; */ public static final int ASSERTION_VALUE = 0; /** * VERIFICATION = 1; */ public static final int VERIFICATION_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ErrorType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ErrorType forNumber(int value) { switch (value) { case 0: return ASSERTION; case 1: return VERIFICATION; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ErrorType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ErrorType findValueByNumber(int number) { return ErrorType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return gauge.messages.Spec.ProtoExecutionResult.getDescriptor().getEnumTypes().get(0); } private static final ErrorType[] VALUES = values(); public static ErrorType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ErrorType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:gauge.messages.ProtoExecutionResult.ErrorType) } public static final int FAILED_FIELD_NUMBER = 1; private boolean failed_ = false; /** *
     * / Flag to indicate failure
     * 
* * bool failed = 1; * @return The failed. */ @java.lang.Override public boolean getFailed() { return failed_; } public static final int RECOVERABLEERROR_FIELD_NUMBER = 2; private boolean recoverableError_ = false; /** *
     * / Flag to indicate if the error is recoverable from.
     * 
* * bool recoverableError = 2; * @return The recoverableError. */ @java.lang.Override public boolean getRecoverableError() { return recoverableError_; } public static final int ERRORMESSAGE_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** *
     * / The actual error message.
     * 
* * string errorMessage = 3; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** *
     * / The actual error message.
     * 
* * string errorMessage = 3; * @return The bytes for errorMessage. */ @java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STACKTRACE_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object stackTrace_ = ""; /** *
     * / Stacktrace of the error
     * 
* * string stackTrace = 4; * @return The stackTrace. */ @java.lang.Override public java.lang.String getStackTrace() { java.lang.Object ref = stackTrace_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stackTrace_ = s; return s; } } /** *
     * / Stacktrace of the error
     * 
* * string stackTrace = 4; * @return The bytes for stackTrace. */ @java.lang.Override public com.google.protobuf.ByteString getStackTraceBytes() { java.lang.Object ref = stackTrace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stackTrace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCREENSHOT_FIELD_NUMBER = 5; private com.google.protobuf.ByteString screenShot_ = com.google.protobuf.ByteString.EMPTY; /** *
     * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
     * 
* * bytes screenShot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenShot is deprecated. * See spec.proto;l=292 * @return The screenShot. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getScreenShot() { return screenShot_; } public static final int EXECUTIONTIME_FIELD_NUMBER = 6; private long executionTime_ = 0L; /** *
     * / Holds the time taken for executing this scenario.
     * 
* * int64 executionTime = 6; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } public static final int MESSAGE_FIELD_NUMBER = 7; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList message_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Additional information at exec time to be available on reports
     * 
* * repeated string message = 7; * @return A list containing the message. */ public com.google.protobuf.ProtocolStringList getMessageList() { return message_; } /** *
     * / Additional information at exec time to be available on reports
     * 
* * repeated string message = 7; * @return The count of message. */ public int getMessageCount() { return message_.size(); } /** *
     * / Additional information at exec time to be available on reports
     * 
* * repeated string message = 7; * @param index The index of the element to return. * @return The message at the given index. */ public java.lang.String getMessage(int index) { return message_.get(index); } /** *
     * / Additional information at exec time to be available on reports
     * 
* * repeated string message = 7; * @param index The index of the value to return. * @return The bytes of the message at the given index. */ public com.google.protobuf.ByteString getMessageBytes(int index) { return message_.getByteString(index); } public static final int ERRORTYPE_FIELD_NUMBER = 8; private int errorType_ = 0; /** *
     * / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
     * 
* * .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8; * @return The enum numeric value on the wire for errorType. */ @java.lang.Override public int getErrorTypeValue() { return errorType_; } /** *
     * / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
     * 
* * .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8; * @return The errorType. */ @java.lang.Override public gauge.messages.Spec.ProtoExecutionResult.ErrorType getErrorType() { gauge.messages.Spec.ProtoExecutionResult.ErrorType result = gauge.messages.Spec.ProtoExecutionResult.ErrorType.forNumber(errorType_); return result == null ? gauge.messages.Spec.ProtoExecutionResult.ErrorType.UNRECOGNIZED : result; } public static final int FAILURESCREENSHOT_FIELD_NUMBER = 9; private com.google.protobuf.ByteString failureScreenshot_ = com.google.protobuf.ByteString.EMPTY; /** *
     * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
     * 
* * bytes failureScreenshot = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.failureScreenshot is deprecated. * See spec.proto;l=306 * @return The failureScreenshot. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getFailureScreenshot() { return failureScreenshot_; } public static final int SCREENSHOTS_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList screenshots_ = emptyList(com.google.protobuf.ByteString.class); /** *
     * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
     * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @return A list containing the screenshots. */ @java.lang.Override @java.lang.Deprecated public java.util.List getScreenshotsList() { return screenshots_; } /** *
     * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
     * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @return The count of screenshots. */ @java.lang.Deprecated public int getScreenshotsCount() { return screenshots_.size(); } /** *
     * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
     * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @param index The index of the element to return. * @return The screenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getScreenshots(int index) { return screenshots_.get(index); } public static final int FAILURESCREENSHOTFILE_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object failureScreenshotFile_ = ""; /** *
     * / Path to the screenshot file captured at the time of failure.
     * 
* * string failureScreenshotFile = 11; * @return The failureScreenshotFile. */ @java.lang.Override public java.lang.String getFailureScreenshotFile() { java.lang.Object ref = failureScreenshotFile_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureScreenshotFile_ = s; return s; } } /** *
     * / Path to the screenshot file captured at the time of failure.
     * 
* * string failureScreenshotFile = 11; * @return The bytes for failureScreenshotFile. */ @java.lang.Override public com.google.protobuf.ByteString getFailureScreenshotFileBytes() { java.lang.Object ref = failureScreenshotFile_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); failureScreenshotFile_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCREENSHOTFILES_FIELD_NUMBER = 12; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList screenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Path to the screenshot files captured using Gauge screenshsot API.
     * 
* * repeated string screenshotFiles = 12; * @return A list containing the screenshotFiles. */ public com.google.protobuf.ProtocolStringList getScreenshotFilesList() { return screenshotFiles_; } /** *
     * / Path to the screenshot files captured using Gauge screenshsot API.
     * 
* * repeated string screenshotFiles = 12; * @return The count of screenshotFiles. */ public int getScreenshotFilesCount() { return screenshotFiles_.size(); } /** *
     * / Path to the screenshot files captured using Gauge screenshsot API.
     * 
* * repeated string screenshotFiles = 12; * @param index The index of the element to return. * @return The screenshotFiles at the given index. */ public java.lang.String getScreenshotFiles(int index) { return screenshotFiles_.get(index); } /** *
     * / Path to the screenshot files captured using Gauge screenshsot API.
     * 
* * repeated string screenshotFiles = 12; * @param index The index of the value to return. * @return The bytes of the screenshotFiles at the given index. */ public com.google.protobuf.ByteString getScreenshotFilesBytes(int index) { return screenshotFiles_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (failed_ != false) { output.writeBool(1, failed_); } if (recoverableError_ != false) { output.writeBool(2, recoverableError_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, errorMessage_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stackTrace_)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, stackTrace_); } if (!screenShot_.isEmpty()) { output.writeBytes(5, screenShot_); } if (executionTime_ != 0L) { output.writeInt64(6, executionTime_); } for (int i = 0; i < message_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 7, message_.getRaw(i)); } if (errorType_ != gauge.messages.Spec.ProtoExecutionResult.ErrorType.ASSERTION.getNumber()) { output.writeEnum(8, errorType_); } if (!failureScreenshot_.isEmpty()) { output.writeBytes(9, failureScreenshot_); } for (int i = 0; i < screenshots_.size(); i++) { output.writeBytes(10, screenshots_.get(i)); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(failureScreenshotFile_)) { com.google.protobuf.GeneratedMessage.writeString(output, 11, failureScreenshotFile_); } for (int i = 0; i < screenshotFiles_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 12, screenshotFiles_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (failed_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, failed_); } if (recoverableError_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, recoverableError_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, errorMessage_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stackTrace_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, stackTrace_); } if (!screenShot_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, screenShot_); } if (executionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, executionTime_); } { int dataSize = 0; for (int i = 0; i < message_.size(); i++) { dataSize += computeStringSizeNoTag(message_.getRaw(i)); } size += dataSize; size += 1 * getMessageList().size(); } if (errorType_ != gauge.messages.Spec.ProtoExecutionResult.ErrorType.ASSERTION.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, errorType_); } if (!failureScreenshot_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(9, failureScreenshot_); } { int dataSize = 0; for (int i = 0; i < screenshots_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(screenshots_.get(i)); } size += dataSize; size += 1 * getScreenshotsList().size(); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(failureScreenshotFile_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(11, failureScreenshotFile_); } { int dataSize = 0; for (int i = 0; i < screenshotFiles_.size(); i++) { dataSize += computeStringSizeNoTag(screenshotFiles_.getRaw(i)); } size += dataSize; size += 1 * getScreenshotFilesList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoExecutionResult)) { return super.equals(obj); } gauge.messages.Spec.ProtoExecutionResult other = (gauge.messages.Spec.ProtoExecutionResult) obj; if (getFailed() != other.getFailed()) return false; if (getRecoverableError() != other.getRecoverableError()) return false; if (!getErrorMessage() .equals(other.getErrorMessage())) return false; if (!getStackTrace() .equals(other.getStackTrace())) return false; if (!getScreenShot() .equals(other.getScreenShot())) return false; if (getExecutionTime() != other.getExecutionTime()) return false; if (!getMessageList() .equals(other.getMessageList())) return false; if (errorType_ != other.errorType_) return false; if (!getFailureScreenshot() .equals(other.getFailureScreenshot())) return false; if (!getScreenshotsList() .equals(other.getScreenshotsList())) return false; if (!getFailureScreenshotFile() .equals(other.getFailureScreenshotFile())) return false; if (!getScreenshotFilesList() .equals(other.getScreenshotFilesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FAILED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFailed()); hash = (37 * hash) + RECOVERABLEERROR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRecoverableError()); hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (37 * hash) + STACKTRACE_FIELD_NUMBER; hash = (53 * hash) + getStackTrace().hashCode(); hash = (37 * hash) + SCREENSHOT_FIELD_NUMBER; hash = (53 * hash) + getScreenShot().hashCode(); hash = (37 * hash) + EXECUTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExecutionTime()); if (getMessageCount() > 0) { hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessageList().hashCode(); } hash = (37 * hash) + ERRORTYPE_FIELD_NUMBER; hash = (53 * hash) + errorType_; hash = (37 * hash) + FAILURESCREENSHOT_FIELD_NUMBER; hash = (53 * hash) + getFailureScreenshot().hashCode(); if (getScreenshotsCount() > 0) { hash = (37 * hash) + SCREENSHOTS_FIELD_NUMBER; hash = (53 * hash) + getScreenshotsList().hashCode(); } hash = (37 * hash) + FAILURESCREENSHOTFILE_FIELD_NUMBER; hash = (53 * hash) + getFailureScreenshotFile().hashCode(); if (getScreenshotFilesCount() > 0) { hash = (37 * hash) + SCREENSHOTFILES_FIELD_NUMBER; hash = (53 * hash) + getScreenshotFilesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoExecutionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoExecutionResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoExecutionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoExecutionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoExecutionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoExecutionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoExecutionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoExecutionResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoExecutionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoExecutionResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoExecutionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoExecutionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoExecutionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing the result of an execution
     * 
* * Protobuf type {@code gauge.messages.ProtoExecutionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoExecutionResult) gauge.messages.Spec.ProtoExecutionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoExecutionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoExecutionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoExecutionResult.class, gauge.messages.Spec.ProtoExecutionResult.Builder.class); } // Construct using gauge.messages.Spec.ProtoExecutionResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; failed_ = false; recoverableError_ = false; errorMessage_ = ""; stackTrace_ = ""; screenShot_ = com.google.protobuf.ByteString.EMPTY; executionTime_ = 0L; message_ = com.google.protobuf.LazyStringArrayList.emptyList(); errorType_ = 0; failureScreenshot_ = com.google.protobuf.ByteString.EMPTY; screenshots_ = emptyList(com.google.protobuf.ByteString.class); failureScreenshotFile_ = ""; screenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoExecutionResult_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoExecutionResult getDefaultInstanceForType() { return gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoExecutionResult build() { gauge.messages.Spec.ProtoExecutionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoExecutionResult buildPartial() { gauge.messages.Spec.ProtoExecutionResult result = new gauge.messages.Spec.ProtoExecutionResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoExecutionResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.failed_ = failed_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.recoverableError_ = recoverableError_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.errorMessage_ = errorMessage_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.stackTrace_ = stackTrace_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.screenShot_ = screenShot_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.executionTime_ = executionTime_; } if (((from_bitField0_ & 0x00000040) != 0)) { message_.makeImmutable(); result.message_ = message_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.errorType_ = errorType_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.failureScreenshot_ = failureScreenshot_; } if (((from_bitField0_ & 0x00000200) != 0)) { screenshots_.makeImmutable(); result.screenshots_ = screenshots_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.failureScreenshotFile_ = failureScreenshotFile_; } if (((from_bitField0_ & 0x00000800) != 0)) { screenshotFiles_.makeImmutable(); result.screenshotFiles_ = screenshotFiles_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoExecutionResult) { return mergeFrom((gauge.messages.Spec.ProtoExecutionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoExecutionResult other) { if (other == gauge.messages.Spec.ProtoExecutionResult.getDefaultInstance()) return this; if (other.getFailed() != false) { setFailed(other.getFailed()); } if (other.getRecoverableError() != false) { setRecoverableError(other.getRecoverableError()); } if (!other.getErrorMessage().isEmpty()) { errorMessage_ = other.errorMessage_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getStackTrace().isEmpty()) { stackTrace_ = other.stackTrace_; bitField0_ |= 0x00000008; onChanged(); } if (other.getScreenShot() != com.google.protobuf.ByteString.EMPTY) { setScreenShot(other.getScreenShot()); } if (other.getExecutionTime() != 0L) { setExecutionTime(other.getExecutionTime()); } if (!other.message_.isEmpty()) { if (message_.isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000040; } else { ensureMessageIsMutable(); message_.addAll(other.message_); } onChanged(); } if (other.errorType_ != 0) { setErrorTypeValue(other.getErrorTypeValue()); } if (other.getFailureScreenshot() != com.google.protobuf.ByteString.EMPTY) { setFailureScreenshot(other.getFailureScreenshot()); } if (!other.screenshots_.isEmpty()) { if (screenshots_.isEmpty()) { screenshots_ = other.screenshots_; screenshots_.makeImmutable(); bitField0_ |= 0x00000200; } else { ensureScreenshotsIsMutable(); screenshots_.addAll(other.screenshots_); } onChanged(); } if (!other.getFailureScreenshotFile().isEmpty()) { failureScreenshotFile_ = other.failureScreenshotFile_; bitField0_ |= 0x00000400; onChanged(); } if (!other.screenshotFiles_.isEmpty()) { if (screenshotFiles_.isEmpty()) { screenshotFiles_ = other.screenshotFiles_; bitField0_ |= 0x00000800; } else { ensureScreenshotFilesIsMutable(); screenshotFiles_.addAll(other.screenshotFiles_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { failed_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { recoverableError_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { errorMessage_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { stackTrace_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { screenShot_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 42 case 48: { executionTime_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { java.lang.String s = input.readStringRequireUtf8(); ensureMessageIsMutable(); message_.add(s); break; } // case 58 case 64: { errorType_ = input.readEnum(); bitField0_ |= 0x00000080; break; } // case 64 case 74: { failureScreenshot_ = input.readBytes(); bitField0_ |= 0x00000100; break; } // case 74 case 82: { com.google.protobuf.ByteString v = input.readBytes(); ensureScreenshotsIsMutable(); screenshots_.add(v); break; } // case 82 case 90: { failureScreenshotFile_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 90 case 98: { java.lang.String s = input.readStringRequireUtf8(); ensureScreenshotFilesIsMutable(); screenshotFiles_.add(s); break; } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private boolean failed_ ; /** *
       * / Flag to indicate failure
       * 
* * bool failed = 1; * @return The failed. */ @java.lang.Override public boolean getFailed() { return failed_; } /** *
       * / Flag to indicate failure
       * 
* * bool failed = 1; * @param value The failed to set. * @return This builder for chaining. */ public Builder setFailed(boolean value) { failed_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Flag to indicate failure
       * 
* * bool failed = 1; * @return This builder for chaining. */ public Builder clearFailed() { bitField0_ = (bitField0_ & ~0x00000001); failed_ = false; onChanged(); return this; } private boolean recoverableError_ ; /** *
       * / Flag to indicate if the error is recoverable from.
       * 
* * bool recoverableError = 2; * @return The recoverableError. */ @java.lang.Override public boolean getRecoverableError() { return recoverableError_; } /** *
       * / Flag to indicate if the error is recoverable from.
       * 
* * bool recoverableError = 2; * @param value The recoverableError to set. * @return This builder for chaining. */ public Builder setRecoverableError(boolean value) { recoverableError_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Flag to indicate if the error is recoverable from.
       * 
* * bool recoverableError = 2; * @return This builder for chaining. */ public Builder clearRecoverableError() { bitField0_ = (bitField0_ & ~0x00000002); recoverableError_ = false; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** *
       * / The actual error message.
       * 
* * string errorMessage = 3; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / The actual error message.
       * 
* * string errorMessage = 3; * @return The bytes for errorMessage. */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / The actual error message.
       * 
* * string errorMessage = 3; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / The actual error message.
       * 
* * string errorMessage = 3; * @return This builder for chaining. */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * / The actual error message.
       * 
* * string errorMessage = 3; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object stackTrace_ = ""; /** *
       * / Stacktrace of the error
       * 
* * string stackTrace = 4; * @return The stackTrace. */ public java.lang.String getStackTrace() { java.lang.Object ref = stackTrace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stackTrace_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Stacktrace of the error
       * 
* * string stackTrace = 4; * @return The bytes for stackTrace. */ public com.google.protobuf.ByteString getStackTraceBytes() { java.lang.Object ref = stackTrace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stackTrace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Stacktrace of the error
       * 
* * string stackTrace = 4; * @param value The stackTrace to set. * @return This builder for chaining. */ public Builder setStackTrace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stackTrace_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Stacktrace of the error
       * 
* * string stackTrace = 4; * @return This builder for chaining. */ public Builder clearStackTrace() { stackTrace_ = getDefaultInstance().getStackTrace(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
       * / Stacktrace of the error
       * 
* * string stackTrace = 4; * @param value The bytes for stackTrace to set. * @return This builder for chaining. */ public Builder setStackTraceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stackTrace_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private com.google.protobuf.ByteString screenShot_ = com.google.protobuf.ByteString.EMPTY; /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
       * 
* * bytes screenShot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenShot is deprecated. * See spec.proto;l=292 * @return The screenShot. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getScreenShot() { return screenShot_; } /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
       * 
* * bytes screenShot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenShot is deprecated. * See spec.proto;l=292 * @param value The screenShot to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setScreenShot(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } screenShot_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
       * 
* * bytes screenShot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenShot is deprecated. * See spec.proto;l=292 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearScreenShot() { bitField0_ = (bitField0_ & ~0x00000010); screenShot_ = getDefaultInstance().getScreenShot(); onChanged(); return this; } private long executionTime_ ; /** *
       * / Holds the time taken for executing this scenario.
       * 
* * int64 executionTime = 6; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } /** *
       * / Holds the time taken for executing this scenario.
       * 
* * int64 executionTime = 6; * @param value The executionTime to set. * @return This builder for chaining. */ public Builder setExecutionTime(long value) { executionTime_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Holds the time taken for executing this scenario.
       * 
* * int64 executionTime = 6; * @return This builder for chaining. */ public Builder clearExecutionTime() { bitField0_ = (bitField0_ & ~0x00000020); executionTime_ = 0L; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList message_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureMessageIsMutable() { if (!message_.isModifiable()) { message_ = new com.google.protobuf.LazyStringArrayList(message_); } bitField0_ |= 0x00000040; } /** *
       * / Additional information at exec time to be available on reports
       * 
* * repeated string message = 7; * @return A list containing the message. */ public com.google.protobuf.ProtocolStringList getMessageList() { message_.makeImmutable(); return message_; } /** *
       * / Additional information at exec time to be available on reports
       * 
* * repeated string message = 7; * @return The count of message. */ public int getMessageCount() { return message_.size(); } /** *
       * / Additional information at exec time to be available on reports
       * 
* * repeated string message = 7; * @param index The index of the element to return. * @return The message at the given index. */ public java.lang.String getMessage(int index) { return message_.get(index); } /** *
       * / Additional information at exec time to be available on reports
       * 
* * repeated string message = 7; * @param index The index of the value to return. * @return The bytes of the message at the given index. */ public com.google.protobuf.ByteString getMessageBytes(int index) { return message_.getByteString(index); } /** *
       * / Additional information at exec time to be available on reports
       * 
* * repeated string message = 7; * @param index The index to set the value at. * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMessageIsMutable(); message_.set(index, value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Additional information at exec time to be available on reports
       * 
* * repeated string message = 7; * @param value The message to add. * @return This builder for chaining. */ public Builder addMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMessageIsMutable(); message_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Additional information at exec time to be available on reports
       * 
* * repeated string message = 7; * @param values The message to add. * @return This builder for chaining. */ public Builder addAllMessage( java.lang.Iterable values) { ensureMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, message_); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Additional information at exec time to be available on reports
       * 
* * repeated string message = 7; * @return This builder for chaining. */ public Builder clearMessage() { message_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000040);; onChanged(); return this; } /** *
       * / Additional information at exec time to be available on reports
       * 
* * repeated string message = 7; * @param value The bytes of the message to add. * @return This builder for chaining. */ public Builder addMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureMessageIsMutable(); message_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } private int errorType_ = 0; /** *
       * / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
       * 
* * .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8; * @return The enum numeric value on the wire for errorType. */ @java.lang.Override public int getErrorTypeValue() { return errorType_; } /** *
       * / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
       * 
* * .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8; * @param value The enum numeric value on the wire for errorType to set. * @return This builder for chaining. */ public Builder setErrorTypeValue(int value) { errorType_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
       * 
* * .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8; * @return The errorType. */ @java.lang.Override public gauge.messages.Spec.ProtoExecutionResult.ErrorType getErrorType() { gauge.messages.Spec.ProtoExecutionResult.ErrorType result = gauge.messages.Spec.ProtoExecutionResult.ErrorType.forNumber(errorType_); return result == null ? gauge.messages.Spec.ProtoExecutionResult.ErrorType.UNRECOGNIZED : result; } /** *
       * / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
       * 
* * .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8; * @param value The errorType to set. * @return This builder for chaining. */ public Builder setErrorType(gauge.messages.Spec.ProtoExecutionResult.ErrorType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; errorType_ = value.getNumber(); onChanged(); return this; } /** *
       * / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION
       * 
* * .gauge.messages.ProtoExecutionResult.ErrorType errorType = 8; * @return This builder for chaining. */ public Builder clearErrorType() { bitField0_ = (bitField0_ & ~0x00000080); errorType_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString failureScreenshot_ = com.google.protobuf.ByteString.EMPTY; /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
       * 
* * bytes failureScreenshot = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.failureScreenshot is deprecated. * See spec.proto;l=306 * @return The failureScreenshot. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getFailureScreenshot() { return failureScreenshot_; } /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
       * 
* * bytes failureScreenshot = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.failureScreenshot is deprecated. * See spec.proto;l=306 * @param value The failureScreenshot to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setFailureScreenshot(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } failureScreenshot_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure.
       * 
* * bytes failureScreenshot = 9 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.failureScreenshot is deprecated. * See spec.proto;l=306 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearFailureScreenshot() { bitField0_ = (bitField0_ & ~0x00000100); failureScreenshot_ = getDefaultInstance().getFailureScreenshot(); onChanged(); return this; } private com.google.protobuf.Internal.ProtobufList screenshots_ = emptyList(com.google.protobuf.ByteString.class); private void ensureScreenshotsIsMutable() { if (!screenshots_.isModifiable()) { screenshots_ = makeMutableCopy(screenshots_); } bitField0_ |= 0x00000200; } /** *
       * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
       * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @return A list containing the screenshots. */ @java.lang.Deprecated public java.util.List getScreenshotsList() { screenshots_.makeImmutable(); return screenshots_; } /** *
       * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
       * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @return The count of screenshots. */ @java.lang.Deprecated public int getScreenshotsCount() { return screenshots_.size(); } /** *
       * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
       * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @param index The index of the element to return. * @return The screenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getScreenshots(int index) { return screenshots_.get(index); } /** *
       * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
       * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @param index The index to set the value at. * @param value The screenshots to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setScreenshots( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureScreenshotsIsMutable(); screenshots_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
       * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @param value The screenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addScreenshots(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureScreenshotsIsMutable(); screenshots_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
       * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @param values The screenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllScreenshots( java.lang.Iterable values) { ensureScreenshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, screenshots_); bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked
       * 
* * repeated bytes screenshots = 10 [deprecated = true]; * @deprecated gauge.messages.ProtoExecutionResult.screenshots is deprecated. * See spec.proto;l=308 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearScreenshots() { screenshots_ = emptyList(com.google.protobuf.ByteString.class); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } private java.lang.Object failureScreenshotFile_ = ""; /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 11; * @return The failureScreenshotFile. */ public java.lang.String getFailureScreenshotFile() { java.lang.Object ref = failureScreenshotFile_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureScreenshotFile_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 11; * @return The bytes for failureScreenshotFile. */ public com.google.protobuf.ByteString getFailureScreenshotFileBytes() { java.lang.Object ref = failureScreenshotFile_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); failureScreenshotFile_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 11; * @param value The failureScreenshotFile to set. * @return This builder for chaining. */ public Builder setFailureScreenshotFile( java.lang.String value) { if (value == null) { throw new NullPointerException(); } failureScreenshotFile_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 11; * @return This builder for chaining. */ public Builder clearFailureScreenshotFile() { failureScreenshotFile_ = getDefaultInstance().getFailureScreenshotFile(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 11; * @param value The bytes for failureScreenshotFile to set. * @return This builder for chaining. */ public Builder setFailureScreenshotFileBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); failureScreenshotFile_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList screenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureScreenshotFilesIsMutable() { if (!screenshotFiles_.isModifiable()) { screenshotFiles_ = new com.google.protobuf.LazyStringArrayList(screenshotFiles_); } bitField0_ |= 0x00000800; } /** *
       * / Path to the screenshot files captured using Gauge screenshsot API.
       * 
* * repeated string screenshotFiles = 12; * @return A list containing the screenshotFiles. */ public com.google.protobuf.ProtocolStringList getScreenshotFilesList() { screenshotFiles_.makeImmutable(); return screenshotFiles_; } /** *
       * / Path to the screenshot files captured using Gauge screenshsot API.
       * 
* * repeated string screenshotFiles = 12; * @return The count of screenshotFiles. */ public int getScreenshotFilesCount() { return screenshotFiles_.size(); } /** *
       * / Path to the screenshot files captured using Gauge screenshsot API.
       * 
* * repeated string screenshotFiles = 12; * @param index The index of the element to return. * @return The screenshotFiles at the given index. */ public java.lang.String getScreenshotFiles(int index) { return screenshotFiles_.get(index); } /** *
       * / Path to the screenshot files captured using Gauge screenshsot API.
       * 
* * repeated string screenshotFiles = 12; * @param index The index of the value to return. * @return The bytes of the screenshotFiles at the given index. */ public com.google.protobuf.ByteString getScreenshotFilesBytes(int index) { return screenshotFiles_.getByteString(index); } /** *
       * / Path to the screenshot files captured using Gauge screenshsot API.
       * 
* * repeated string screenshotFiles = 12; * @param index The index to set the value at. * @param value The screenshotFiles to set. * @return This builder for chaining. */ public Builder setScreenshotFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureScreenshotFilesIsMutable(); screenshotFiles_.set(index, value); bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * / Path to the screenshot files captured using Gauge screenshsot API.
       * 
* * repeated string screenshotFiles = 12; * @param value The screenshotFiles to add. * @return This builder for chaining. */ public Builder addScreenshotFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureScreenshotFilesIsMutable(); screenshotFiles_.add(value); bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * / Path to the screenshot files captured using Gauge screenshsot API.
       * 
* * repeated string screenshotFiles = 12; * @param values The screenshotFiles to add. * @return This builder for chaining. */ public Builder addAllScreenshotFiles( java.lang.Iterable values) { ensureScreenshotFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, screenshotFiles_); bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * / Path to the screenshot files captured using Gauge screenshsot API.
       * 
* * repeated string screenshotFiles = 12; * @return This builder for chaining. */ public Builder clearScreenshotFiles() { screenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000800);; onChanged(); return this; } /** *
       * / Path to the screenshot files captured using Gauge screenshsot API.
       * 
* * repeated string screenshotFiles = 12; * @param value The bytes of the screenshotFiles to add. * @return This builder for chaining. */ public Builder addScreenshotFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureScreenshotFilesIsMutable(); screenshotFiles_.add(value); bitField0_ |= 0x00000800; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoExecutionResult) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoExecutionResult) private static final gauge.messages.Spec.ProtoExecutionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoExecutionResult(); } public static gauge.messages.Spec.ProtoExecutionResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoExecutionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoExecutionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoHookFailureOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoHookFailure) com.google.protobuf.MessageOrBuilder { /** *
     * / Stacktrace from the failure
     * 
* * string stackTrace = 1; * @return The stackTrace. */ java.lang.String getStackTrace(); /** *
     * / Stacktrace from the failure
     * 
* * string stackTrace = 1; * @return The bytes for stackTrace. */ com.google.protobuf.ByteString getStackTraceBytes(); /** *
     * / Error message from the failure
     * 
* * string errorMessage = 2; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** *
     * / Error message from the failure
     * 
* * string errorMessage = 2; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); /** *
     * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
     * 
* * bytes screenShot = 3 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.screenShot is deprecated. * See spec.proto;l=323 * @return The screenShot. */ @java.lang.Deprecated com.google.protobuf.ByteString getScreenShot(); /** *
     * / Contains table row index corresponding to datatable rows
     * 
* * int32 tableRowIndex = 4; * @return The tableRowIndex. */ int getTableRowIndex(); /** *
     * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
     * 
* * bytes failureScreenshot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.failureScreenshot is deprecated. * See spec.proto;l=327 * @return The failureScreenshot. */ @java.lang.Deprecated com.google.protobuf.ByteString getFailureScreenshot(); /** *
     * / Path to the screenshot file captured at the time of failure.
     * 
* * string failureScreenshotFile = 6; * @return The failureScreenshotFile. */ java.lang.String getFailureScreenshotFile(); /** *
     * / Path to the screenshot file captured at the time of failure.
     * 
* * string failureScreenshotFile = 6; * @return The bytes for failureScreenshotFile. */ com.google.protobuf.ByteString getFailureScreenshotFileBytes(); } /** *
   * / A proto object representing a pre-hook failure.
   * / Used to hold failure information for before_suite, before_spec, before_scenario and before_spec hooks.
   * 
* * Protobuf type {@code gauge.messages.ProtoHookFailure} */ public static final class ProtoHookFailure extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoHookFailure) ProtoHookFailureOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoHookFailure.class.getName()); } // Use ProtoHookFailure.newBuilder() to construct. private ProtoHookFailure(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoHookFailure() { stackTrace_ = ""; errorMessage_ = ""; screenShot_ = com.google.protobuf.ByteString.EMPTY; failureScreenshot_ = com.google.protobuf.ByteString.EMPTY; failureScreenshotFile_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoHookFailure_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoHookFailure_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoHookFailure.class, gauge.messages.Spec.ProtoHookFailure.Builder.class); } public static final int STACKTRACE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object stackTrace_ = ""; /** *
     * / Stacktrace from the failure
     * 
* * string stackTrace = 1; * @return The stackTrace. */ @java.lang.Override public java.lang.String getStackTrace() { java.lang.Object ref = stackTrace_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stackTrace_ = s; return s; } } /** *
     * / Stacktrace from the failure
     * 
* * string stackTrace = 1; * @return The bytes for stackTrace. */ @java.lang.Override public com.google.protobuf.ByteString getStackTraceBytes() { java.lang.Object ref = stackTrace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stackTrace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ERRORMESSAGE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object errorMessage_ = ""; /** *
     * / Error message from the failure
     * 
* * string errorMessage = 2; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } } /** *
     * / Error message from the failure
     * 
* * string errorMessage = 2; * @return The bytes for errorMessage. */ @java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCREENSHOT_FIELD_NUMBER = 3; private com.google.protobuf.ByteString screenShot_ = com.google.protobuf.ByteString.EMPTY; /** *
     * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
     * 
* * bytes screenShot = 3 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.screenShot is deprecated. * See spec.proto;l=323 * @return The screenShot. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getScreenShot() { return screenShot_; } public static final int TABLEROWINDEX_FIELD_NUMBER = 4; private int tableRowIndex_ = 0; /** *
     * / Contains table row index corresponding to datatable rows
     * 
* * int32 tableRowIndex = 4; * @return The tableRowIndex. */ @java.lang.Override public int getTableRowIndex() { return tableRowIndex_; } public static final int FAILURESCREENSHOT_FIELD_NUMBER = 5; private com.google.protobuf.ByteString failureScreenshot_ = com.google.protobuf.ByteString.EMPTY; /** *
     * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
     * 
* * bytes failureScreenshot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.failureScreenshot is deprecated. * See spec.proto;l=327 * @return The failureScreenshot. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getFailureScreenshot() { return failureScreenshot_; } public static final int FAILURESCREENSHOTFILE_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object failureScreenshotFile_ = ""; /** *
     * / Path to the screenshot file captured at the time of failure.
     * 
* * string failureScreenshotFile = 6; * @return The failureScreenshotFile. */ @java.lang.Override public java.lang.String getFailureScreenshotFile() { java.lang.Object ref = failureScreenshotFile_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureScreenshotFile_ = s; return s; } } /** *
     * / Path to the screenshot file captured at the time of failure.
     * 
* * string failureScreenshotFile = 6; * @return The bytes for failureScreenshotFile. */ @java.lang.Override public com.google.protobuf.ByteString getFailureScreenshotFileBytes() { java.lang.Object ref = failureScreenshotFile_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); failureScreenshotFile_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stackTrace_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, stackTrace_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, errorMessage_); } if (!screenShot_.isEmpty()) { output.writeBytes(3, screenShot_); } if (tableRowIndex_ != 0) { output.writeInt32(4, tableRowIndex_); } if (!failureScreenshot_.isEmpty()) { output.writeBytes(5, failureScreenshot_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(failureScreenshotFile_)) { com.google.protobuf.GeneratedMessage.writeString(output, 6, failureScreenshotFile_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stackTrace_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, stackTrace_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, errorMessage_); } if (!screenShot_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, screenShot_); } if (tableRowIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, tableRowIndex_); } if (!failureScreenshot_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, failureScreenshot_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(failureScreenshotFile_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(6, failureScreenshotFile_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoHookFailure)) { return super.equals(obj); } gauge.messages.Spec.ProtoHookFailure other = (gauge.messages.Spec.ProtoHookFailure) obj; if (!getStackTrace() .equals(other.getStackTrace())) return false; if (!getErrorMessage() .equals(other.getErrorMessage())) return false; if (!getScreenShot() .equals(other.getScreenShot())) return false; if (getTableRowIndex() != other.getTableRowIndex()) return false; if (!getFailureScreenshot() .equals(other.getFailureScreenshot())) return false; if (!getFailureScreenshotFile() .equals(other.getFailureScreenshotFile())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STACKTRACE_FIELD_NUMBER; hash = (53 * hash) + getStackTrace().hashCode(); hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (37 * hash) + SCREENSHOT_FIELD_NUMBER; hash = (53 * hash) + getScreenShot().hashCode(); hash = (37 * hash) + TABLEROWINDEX_FIELD_NUMBER; hash = (53 * hash) + getTableRowIndex(); hash = (37 * hash) + FAILURESCREENSHOT_FIELD_NUMBER; hash = (53 * hash) + getFailureScreenshot().hashCode(); hash = (37 * hash) + FAILURESCREENSHOTFILE_FIELD_NUMBER; hash = (53 * hash) + getFailureScreenshotFile().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoHookFailure parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoHookFailure parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoHookFailure parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoHookFailure parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoHookFailure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoHookFailure parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoHookFailure parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoHookFailure parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoHookFailure parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoHookFailure parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoHookFailure parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoHookFailure parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoHookFailure prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing a pre-hook failure.
     * / Used to hold failure information for before_suite, before_spec, before_scenario and before_spec hooks.
     * 
* * Protobuf type {@code gauge.messages.ProtoHookFailure} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoHookFailure) gauge.messages.Spec.ProtoHookFailureOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoHookFailure_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoHookFailure_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoHookFailure.class, gauge.messages.Spec.ProtoHookFailure.Builder.class); } // Construct using gauge.messages.Spec.ProtoHookFailure.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; stackTrace_ = ""; errorMessage_ = ""; screenShot_ = com.google.protobuf.ByteString.EMPTY; tableRowIndex_ = 0; failureScreenshot_ = com.google.protobuf.ByteString.EMPTY; failureScreenshotFile_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoHookFailure_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getDefaultInstanceForType() { return gauge.messages.Spec.ProtoHookFailure.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoHookFailure build() { gauge.messages.Spec.ProtoHookFailure result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoHookFailure buildPartial() { gauge.messages.Spec.ProtoHookFailure result = new gauge.messages.Spec.ProtoHookFailure(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoHookFailure result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.stackTrace_ = stackTrace_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.errorMessage_ = errorMessage_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.screenShot_ = screenShot_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.tableRowIndex_ = tableRowIndex_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.failureScreenshot_ = failureScreenshot_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.failureScreenshotFile_ = failureScreenshotFile_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoHookFailure) { return mergeFrom((gauge.messages.Spec.ProtoHookFailure)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoHookFailure other) { if (other == gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()) return this; if (!other.getStackTrace().isEmpty()) { stackTrace_ = other.stackTrace_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getErrorMessage().isEmpty()) { errorMessage_ = other.errorMessage_; bitField0_ |= 0x00000002; onChanged(); } if (other.getScreenShot() != com.google.protobuf.ByteString.EMPTY) { setScreenShot(other.getScreenShot()); } if (other.getTableRowIndex() != 0) { setTableRowIndex(other.getTableRowIndex()); } if (other.getFailureScreenshot() != com.google.protobuf.ByteString.EMPTY) { setFailureScreenshot(other.getFailureScreenshot()); } if (!other.getFailureScreenshotFile().isEmpty()) { failureScreenshotFile_ = other.failureScreenshotFile_; bitField0_ |= 0x00000020; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { stackTrace_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { errorMessage_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { screenShot_ = input.readBytes(); bitField0_ |= 0x00000004; break; } // case 26 case 32: { tableRowIndex_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 case 42: { failureScreenshot_ = input.readBytes(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { failureScreenshotFile_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000020; break; } // case 50 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object stackTrace_ = ""; /** *
       * / Stacktrace from the failure
       * 
* * string stackTrace = 1; * @return The stackTrace. */ public java.lang.String getStackTrace() { java.lang.Object ref = stackTrace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stackTrace_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Stacktrace from the failure
       * 
* * string stackTrace = 1; * @return The bytes for stackTrace. */ public com.google.protobuf.ByteString getStackTraceBytes() { java.lang.Object ref = stackTrace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stackTrace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Stacktrace from the failure
       * 
* * string stackTrace = 1; * @param value The stackTrace to set. * @return This builder for chaining. */ public Builder setStackTrace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stackTrace_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Stacktrace from the failure
       * 
* * string stackTrace = 1; * @return This builder for chaining. */ public Builder clearStackTrace() { stackTrace_ = getDefaultInstance().getStackTrace(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * / Stacktrace from the failure
       * 
* * string stackTrace = 1; * @param value The bytes for stackTrace to set. * @return This builder for chaining. */ public Builder setStackTraceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stackTrace_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** *
       * / Error message from the failure
       * 
* * string errorMessage = 2; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Error message from the failure
       * 
* * string errorMessage = 2; * @return The bytes for errorMessage. */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Error message from the failure
       * 
* * string errorMessage = 2; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Error message from the failure
       * 
* * string errorMessage = 2; * @return This builder for chaining. */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * / Error message from the failure
       * 
* * string errorMessage = 2; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.ByteString screenShot_ = com.google.protobuf.ByteString.EMPTY; /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
       * 
* * bytes screenShot = 3 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.screenShot is deprecated. * See spec.proto;l=323 * @return The screenShot. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getScreenShot() { return screenShot_; } /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
       * 
* * bytes screenShot = 3 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.screenShot is deprecated. * See spec.proto;l=323 * @param value The screenShot to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setScreenShot(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } screenShot_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
       * 
* * bytes screenShot = 3 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.screenShot is deprecated. * See spec.proto;l=323 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearScreenShot() { bitField0_ = (bitField0_ & ~0x00000004); screenShot_ = getDefaultInstance().getScreenShot(); onChanged(); return this; } private int tableRowIndex_ ; /** *
       * / Contains table row index corresponding to datatable rows
       * 
* * int32 tableRowIndex = 4; * @return The tableRowIndex. */ @java.lang.Override public int getTableRowIndex() { return tableRowIndex_; } /** *
       * / Contains table row index corresponding to datatable rows
       * 
* * int32 tableRowIndex = 4; * @param value The tableRowIndex to set. * @return This builder for chaining. */ public Builder setTableRowIndex(int value) { tableRowIndex_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Contains table row index corresponding to datatable rows
       * 
* * int32 tableRowIndex = 4; * @return This builder for chaining. */ public Builder clearTableRowIndex() { bitField0_ = (bitField0_ & ~0x00000008); tableRowIndex_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString failureScreenshot_ = com.google.protobuf.ByteString.EMPTY; /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
       * 
* * bytes failureScreenshot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.failureScreenshot is deprecated. * See spec.proto;l=327 * @return The failureScreenshot. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getFailureScreenshot() { return failureScreenshot_; } /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
       * 
* * bytes failureScreenshot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.failureScreenshot is deprecated. * See spec.proto;l=327 * @param value The failureScreenshot to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setFailureScreenshot(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } failureScreenshot_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure.
       * 
* * bytes failureScreenshot = 5 [deprecated = true]; * @deprecated gauge.messages.ProtoHookFailure.failureScreenshot is deprecated. * See spec.proto;l=327 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearFailureScreenshot() { bitField0_ = (bitField0_ & ~0x00000010); failureScreenshot_ = getDefaultInstance().getFailureScreenshot(); onChanged(); return this; } private java.lang.Object failureScreenshotFile_ = ""; /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 6; * @return The failureScreenshotFile. */ public java.lang.String getFailureScreenshotFile() { java.lang.Object ref = failureScreenshotFile_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureScreenshotFile_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 6; * @return The bytes for failureScreenshotFile. */ public com.google.protobuf.ByteString getFailureScreenshotFileBytes() { java.lang.Object ref = failureScreenshotFile_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); failureScreenshotFile_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 6; * @param value The failureScreenshotFile to set. * @return This builder for chaining. */ public Builder setFailureScreenshotFile( java.lang.String value) { if (value == null) { throw new NullPointerException(); } failureScreenshotFile_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 6; * @return This builder for chaining. */ public Builder clearFailureScreenshotFile() { failureScreenshotFile_ = getDefaultInstance().getFailureScreenshotFile(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** *
       * / Path to the screenshot file captured at the time of failure.
       * 
* * string failureScreenshotFile = 6; * @param value The bytes for failureScreenshotFile to set. * @return This builder for chaining. */ public Builder setFailureScreenshotFileBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); failureScreenshotFile_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoHookFailure) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoHookFailure) private static final gauge.messages.Spec.ProtoHookFailure DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoHookFailure(); } public static gauge.messages.Spec.ProtoHookFailure getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoHookFailure parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoSuiteResultOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoSuiteResult) com.google.protobuf.MessageOrBuilder { /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ java.util.List getSpecResultsList(); /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ gauge.messages.Spec.ProtoSpecResult getSpecResults(int index); /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ int getSpecResultsCount(); /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ java.util.List getSpecResultsOrBuilderList(); /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ gauge.messages.Spec.ProtoSpecResultOrBuilder getSpecResultsOrBuilder( int index); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return Whether the preHookFailure field is set. */ boolean hasPreHookFailure(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return The preHookFailure. */ gauge.messages.Spec.ProtoHookFailure getPreHookFailure(); /** *
     * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailureOrBuilder(); /** *
     * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return Whether the postHookFailure field is set. */ boolean hasPostHookFailure(); /** *
     * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return The postHookFailure. */ gauge.messages.Spec.ProtoHookFailure getPostHookFailure(); /** *
     * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder(); /** *
     * / Flag to indicate failure
     * 
* * bool failed = 4; * @return The failed. */ boolean getFailed(); /** *
     * / Holds the count of number of Specifications that failed.
     * 
* * int32 specsFailedCount = 5; * @return The specsFailedCount. */ int getSpecsFailedCount(); /** *
     * / Holds the time taken for executing the whole suite.
     * 
* * int64 executionTime = 6; * @return The executionTime. */ long getExecutionTime(); /** *
     * / Holds a metric indicating the success rate of the execution.
     * 
* * float successRate = 7; * @return The successRate. */ float getSuccessRate(); /** *
     * / The environment against which execution was done
     * 
* * string environment = 8; * @return The environment. */ java.lang.String getEnvironment(); /** *
     * / The environment against which execution was done
     * 
* * string environment = 8; * @return The bytes for environment. */ com.google.protobuf.ByteString getEnvironmentBytes(); /** *
     * / Tag expression used for filtering specification
     * 
* * string tags = 9; * @return The tags. */ java.lang.String getTags(); /** *
     * / Tag expression used for filtering specification
     * 
* * string tags = 9; * @return The bytes for tags. */ com.google.protobuf.ByteString getTagsBytes(); /** *
     * / Project name
     * 
* * string projectName = 10; * @return The projectName. */ java.lang.String getProjectName(); /** *
     * / Project name
     * 
* * string projectName = 10; * @return The bytes for projectName. */ com.google.protobuf.ByteString getProjectNameBytes(); /** *
     * / Timestamp of when execution started
     * 
* * string timestamp = 11; * @return The timestamp. */ java.lang.String getTimestamp(); /** *
     * / Timestamp of when execution started
     * 
* * string timestamp = 11; * @return The bytes for timestamp. */ com.google.protobuf.ByteString getTimestampBytes(); /** * int32 specsSkippedCount = 12; * @return The specsSkippedCount. */ int getSpecsSkippedCount(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 13; * @return A list containing the preHookMessages. */ java.util.List getPreHookMessagesList(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 13; * @return The count of preHookMessages. */ int getPreHookMessagesCount(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 13; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ java.lang.String getPreHookMessages(int index); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 13; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ com.google.protobuf.ByteString getPreHookMessagesBytes(int index); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 14; * @return A list containing the postHookMessages. */ java.util.List getPostHookMessagesList(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 14; * @return The count of postHookMessages. */ int getPostHookMessagesCount(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 14; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ java.lang.String getPostHookMessages(int index); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 14; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ com.google.protobuf.ByteString getPostHookMessagesBytes(int index); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @return A list containing the preHookMessage. */ @java.lang.Deprecated java.util.List getPreHookMessageList(); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @return The count of preHookMessage. */ @java.lang.Deprecated int getPreHookMessageCount(); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param index The index of the element to return. * @return The preHookMessage at the given index. */ @java.lang.Deprecated java.lang.String getPreHookMessage(int index); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param index The index of the value to return. * @return The bytes of the preHookMessage at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPreHookMessageBytes(int index); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @return A list containing the postHookMessage. */ @java.lang.Deprecated java.util.List getPostHookMessageList(); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @return The count of postHookMessage. */ @java.lang.Deprecated int getPostHookMessageCount(); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param index The index of the element to return. * @return The postHookMessage at the given index. */ @java.lang.Deprecated java.lang.String getPostHookMessage(int index); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param index The index of the value to return. * @return The bytes of the postHookMessage at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPostHookMessageBytes(int index); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @return A list containing the preHookScreenshots. */ @java.lang.Deprecated java.util.List getPreHookScreenshotsList(); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @return The count of preHookScreenshots. */ @java.lang.Deprecated int getPreHookScreenshotsCount(); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPreHookScreenshots(int index); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @return A list containing the postHookScreenshots. */ @java.lang.Deprecated java.util.List getPostHookScreenshotsList(); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @return The count of postHookScreenshots. */ @java.lang.Deprecated int getPostHookScreenshotsCount(); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated com.google.protobuf.ByteString getPostHookScreenshots(int index); /** *
     * Indicates if the result is sent in chunks
     * 
* * bool chunked = 19; * @return The chunked. */ boolean getChunked(); /** *
     * Indicates the number of chunks to expect after this
     * 
* * int64 chunkSize = 20; * @return The chunkSize. */ long getChunkSize(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @return A list containing the preHookScreenshotFiles. */ java.util.List getPreHookScreenshotFilesList(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @return The count of preHookScreenshotFiles. */ int getPreHookScreenshotFilesCount(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ java.lang.String getPreHookScreenshotFiles(int index); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @return A list containing the postHookScreenshotFiles. */ java.util.List getPostHookScreenshotFilesList(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @return The count of postHookScreenshotFiles. */ int getPostHookScreenshotFilesCount(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ java.lang.String getPostHookScreenshotFiles(int index); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index); } /** *
   * / A proto object representing the result of entire Suite execution.
   * 
* * Protobuf type {@code gauge.messages.ProtoSuiteResult} */ public static final class ProtoSuiteResult extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoSuiteResult) ProtoSuiteResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoSuiteResult.class.getName()); } // Use ProtoSuiteResult.newBuilder() to construct. private ProtoSuiteResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoSuiteResult() { specResults_ = java.util.Collections.emptyList(); environment_ = ""; tags_ = ""; projectName_ = ""; timestamp_ = ""; preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSuiteResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSuiteResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoSuiteResult.class, gauge.messages.Spec.ProtoSuiteResult.Builder.class); } private int bitField0_; public static final int SPECRESULTS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List specResults_; /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ @java.lang.Override public java.util.List getSpecResultsList() { return specResults_; } /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ @java.lang.Override public java.util.List getSpecResultsOrBuilderList() { return specResults_; } /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ @java.lang.Override public int getSpecResultsCount() { return specResults_.size(); } /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ @java.lang.Override public gauge.messages.Spec.ProtoSpecResult getSpecResults(int index) { return specResults_.get(index); } /** *
     * / Contains the result from the execution
     * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ @java.lang.Override public gauge.messages.Spec.ProtoSpecResultOrBuilder getSpecResultsOrBuilder( int index) { return specResults_.get(index); } public static final int PREHOOKFAILURE_FIELD_NUMBER = 2; private gauge.messages.Spec.ProtoHookFailure preHookFailure_; /** *
     * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return Whether the preHookFailure field is set. */ @java.lang.Override public boolean hasPreHookFailure() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return The preHookFailure. */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getPreHookFailure() { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } /** *
     * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailureOrBuilder() { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } public static final int POSTHOOKFAILURE_FIELD_NUMBER = 3; private gauge.messages.Spec.ProtoHookFailure postHookFailure_; /** *
     * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return Whether the postHookFailure field is set. */ @java.lang.Override public boolean hasPostHookFailure() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return The postHookFailure. */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailure getPostHookFailure() { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } /** *
     * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
     * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ @java.lang.Override public gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder() { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } public static final int FAILED_FIELD_NUMBER = 4; private boolean failed_ = false; /** *
     * / Flag to indicate failure
     * 
* * bool failed = 4; * @return The failed. */ @java.lang.Override public boolean getFailed() { return failed_; } public static final int SPECSFAILEDCOUNT_FIELD_NUMBER = 5; private int specsFailedCount_ = 0; /** *
     * / Holds the count of number of Specifications that failed.
     * 
* * int32 specsFailedCount = 5; * @return The specsFailedCount. */ @java.lang.Override public int getSpecsFailedCount() { return specsFailedCount_; } public static final int EXECUTIONTIME_FIELD_NUMBER = 6; private long executionTime_ = 0L; /** *
     * / Holds the time taken for executing the whole suite.
     * 
* * int64 executionTime = 6; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } public static final int SUCCESSRATE_FIELD_NUMBER = 7; private float successRate_ = 0F; /** *
     * / Holds a metric indicating the success rate of the execution.
     * 
* * float successRate = 7; * @return The successRate. */ @java.lang.Override public float getSuccessRate() { return successRate_; } public static final int ENVIRONMENT_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object environment_ = ""; /** *
     * / The environment against which execution was done
     * 
* * string environment = 8; * @return The environment. */ @java.lang.Override public java.lang.String getEnvironment() { java.lang.Object ref = environment_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environment_ = s; return s; } } /** *
     * / The environment against which execution was done
     * 
* * string environment = 8; * @return The bytes for environment. */ @java.lang.Override public com.google.protobuf.ByteString getEnvironmentBytes() { java.lang.Object ref = environment_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); environment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TAGS_FIELD_NUMBER = 9; @SuppressWarnings("serial") private volatile java.lang.Object tags_ = ""; /** *
     * / Tag expression used for filtering specification
     * 
* * string tags = 9; * @return The tags. */ @java.lang.Override public java.lang.String getTags() { java.lang.Object ref = tags_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tags_ = s; return s; } } /** *
     * / Tag expression used for filtering specification
     * 
* * string tags = 9; * @return The bytes for tags. */ @java.lang.Override public com.google.protobuf.ByteString getTagsBytes() { java.lang.Object ref = tags_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tags_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROJECTNAME_FIELD_NUMBER = 10; @SuppressWarnings("serial") private volatile java.lang.Object projectName_ = ""; /** *
     * / Project name
     * 
* * string projectName = 10; * @return The projectName. */ @java.lang.Override public java.lang.String getProjectName() { java.lang.Object ref = projectName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectName_ = s; return s; } } /** *
     * / Project name
     * 
* * string projectName = 10; * @return The bytes for projectName. */ @java.lang.Override public com.google.protobuf.ByteString getProjectNameBytes() { java.lang.Object ref = projectName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); projectName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMESTAMP_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object timestamp_ = ""; /** *
     * / Timestamp of when execution started
     * 
* * string timestamp = 11; * @return The timestamp. */ @java.lang.Override public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timestamp_ = s; return s; } } /** *
     * / Timestamp of when execution started
     * 
* * string timestamp = 11; * @return The bytes for timestamp. */ @java.lang.Override public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SPECSSKIPPEDCOUNT_FIELD_NUMBER = 12; private int specsSkippedCount_ = 0; /** * int32 specsSkippedCount = 12; * @return The specsSkippedCount. */ @java.lang.Override public int getSpecsSkippedCount() { return specsSkippedCount_; } public static final int PREHOOKMESSAGES_FIELD_NUMBER = 13; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 13; * @return A list containing the preHookMessages. */ public com.google.protobuf.ProtocolStringList getPreHookMessagesList() { return preHookMessages_; } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 13; * @return The count of preHookMessages. */ public int getPreHookMessagesCount() { return preHookMessages_.size(); } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 13; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ public java.lang.String getPreHookMessages(int index) { return preHookMessages_.get(index); } /** *
     * / Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessages = 13; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ public com.google.protobuf.ByteString getPreHookMessagesBytes(int index) { return preHookMessages_.getByteString(index); } public static final int POSTHOOKMESSAGES_FIELD_NUMBER = 14; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 14; * @return A list containing the postHookMessages. */ public com.google.protobuf.ProtocolStringList getPostHookMessagesList() { return postHookMessages_; } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 14; * @return The count of postHookMessages. */ public int getPostHookMessagesCount() { return postHookMessages_.size(); } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 14; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ public java.lang.String getPostHookMessages(int index) { return postHookMessages_.get(index); } /** *
     * / Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessages = 14; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ public com.google.protobuf.ByteString getPostHookMessagesBytes(int index) { return postHookMessages_.getByteString(index); } public static final int PREHOOKMESSAGE_FIELD_NUMBER = 15; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @return A list containing the preHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPreHookMessageList() { return preHookMessage_; } /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @return The count of preHookMessage. */ @java.lang.Deprecated public int getPreHookMessageCount() { return preHookMessage_.size(); } /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param index The index of the element to return. * @return The preHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPreHookMessage(int index) { return preHookMessage_.get(index); } /** *
     * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
     * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param index The index of the value to return. * @return The bytes of the preHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookMessageBytes(int index) { return preHookMessage_.getByteString(index); } public static final int POSTHOOKMESSAGE_FIELD_NUMBER = 16; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @return A list containing the postHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPostHookMessageList() { return postHookMessage_; } /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @return The count of postHookMessage. */ @java.lang.Deprecated public int getPostHookMessageCount() { return postHookMessage_.size(); } /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param index The index of the element to return. * @return The postHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPostHookMessage(int index) { return postHookMessage_.get(index); } /** *
     * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
     * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param index The index of the value to return. * @return The bytes of the postHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookMessageBytes(int index) { return postHookMessage_.getByteString(index); } public static final int PREHOOKSCREENSHOTS_FIELD_NUMBER = 17; @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @return A list containing the preHookScreenshots. */ @java.lang.Override @java.lang.Deprecated public java.util.List getPreHookScreenshotsList() { return preHookScreenshots_; } /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @return The count of preHookScreenshots. */ @java.lang.Deprecated public int getPreHookScreenshotsCount() { return preHookScreenshots_.size(); } /** *
     * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
     * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookScreenshots(int index) { return preHookScreenshots_.get(index); } public static final int POSTHOOKSCREENSHOTS_FIELD_NUMBER = 18; @SuppressWarnings("serial") private com.google.protobuf.Internal.ProtobufList postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @return A list containing the postHookScreenshots. */ @java.lang.Override @java.lang.Deprecated public java.util.List getPostHookScreenshotsList() { return postHookScreenshots_; } /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @return The count of postHookScreenshots. */ @java.lang.Deprecated public int getPostHookScreenshotsCount() { return postHookScreenshots_.size(); } /** *
     * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
     * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookScreenshots(int index) { return postHookScreenshots_.get(index); } public static final int CHUNKED_FIELD_NUMBER = 19; private boolean chunked_ = false; /** *
     * Indicates if the result is sent in chunks
     * 
* * bool chunked = 19; * @return The chunked. */ @java.lang.Override public boolean getChunked() { return chunked_; } public static final int CHUNKSIZE_FIELD_NUMBER = 20; private long chunkSize_ = 0L; /** *
     * Indicates the number of chunks to expect after this
     * 
* * int64 chunkSize = 20; * @return The chunkSize. */ @java.lang.Override public long getChunkSize() { return chunkSize_; } public static final int PREHOOKSCREENSHOTFILES_FIELD_NUMBER = 21; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @return A list containing the preHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPreHookScreenshotFilesList() { return preHookScreenshotFiles_; } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @return The count of preHookScreenshotFiles. */ public int getPreHookScreenshotFilesCount() { return preHookScreenshotFiles_.size(); } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ public java.lang.String getPreHookScreenshotFiles(int index) { return preHookScreenshotFiles_.get(index); } /** *
     * / Screenshots captured on pre hook exec time to be available on reports
     * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index) { return preHookScreenshotFiles_.getByteString(index); } public static final int POSTHOOKSCREENSHOTFILES_FIELD_NUMBER = 22; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @return A list containing the postHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPostHookScreenshotFilesList() { return postHookScreenshotFiles_; } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @return The count of postHookScreenshotFiles. */ public int getPostHookScreenshotFilesCount() { return postHookScreenshotFiles_.size(); } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ public java.lang.String getPostHookScreenshotFiles(int index) { return postHookScreenshotFiles_.get(index); } /** *
     * / Screenshots captured on post hook exec time to be available on reports
     * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index) { return postHookScreenshotFiles_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < specResults_.size(); i++) { output.writeMessage(1, specResults_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getPreHookFailure()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(3, getPostHookFailure()); } if (failed_ != false) { output.writeBool(4, failed_); } if (specsFailedCount_ != 0) { output.writeInt32(5, specsFailedCount_); } if (executionTime_ != 0L) { output.writeInt64(6, executionTime_); } if (java.lang.Float.floatToRawIntBits(successRate_) != 0) { output.writeFloat(7, successRate_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(environment_)) { com.google.protobuf.GeneratedMessage.writeString(output, 8, environment_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tags_)) { com.google.protobuf.GeneratedMessage.writeString(output, 9, tags_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(projectName_)) { com.google.protobuf.GeneratedMessage.writeString(output, 10, projectName_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timestamp_)) { com.google.protobuf.GeneratedMessage.writeString(output, 11, timestamp_); } if (specsSkippedCount_ != 0) { output.writeInt32(12, specsSkippedCount_); } for (int i = 0; i < preHookMessages_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 13, preHookMessages_.getRaw(i)); } for (int i = 0; i < postHookMessages_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 14, postHookMessages_.getRaw(i)); } for (int i = 0; i < preHookMessage_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 15, preHookMessage_.getRaw(i)); } for (int i = 0; i < postHookMessage_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 16, postHookMessage_.getRaw(i)); } for (int i = 0; i < preHookScreenshots_.size(); i++) { output.writeBytes(17, preHookScreenshots_.get(i)); } for (int i = 0; i < postHookScreenshots_.size(); i++) { output.writeBytes(18, postHookScreenshots_.get(i)); } if (chunked_ != false) { output.writeBool(19, chunked_); } if (chunkSize_ != 0L) { output.writeInt64(20, chunkSize_); } for (int i = 0; i < preHookScreenshotFiles_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 21, preHookScreenshotFiles_.getRaw(i)); } for (int i = 0; i < postHookScreenshotFiles_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 22, postHookScreenshotFiles_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < specResults_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, specResults_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPreHookFailure()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getPostHookFailure()); } if (failed_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, failed_); } if (specsFailedCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, specsFailedCount_); } if (executionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, executionTime_); } if (java.lang.Float.floatToRawIntBits(successRate_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(7, successRate_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(environment_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(8, environment_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tags_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(9, tags_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(projectName_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(10, projectName_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timestamp_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(11, timestamp_); } if (specsSkippedCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(12, specsSkippedCount_); } { int dataSize = 0; for (int i = 0; i < preHookMessages_.size(); i++) { dataSize += computeStringSizeNoTag(preHookMessages_.getRaw(i)); } size += dataSize; size += 1 * getPreHookMessagesList().size(); } { int dataSize = 0; for (int i = 0; i < postHookMessages_.size(); i++) { dataSize += computeStringSizeNoTag(postHookMessages_.getRaw(i)); } size += dataSize; size += 1 * getPostHookMessagesList().size(); } { int dataSize = 0; for (int i = 0; i < preHookMessage_.size(); i++) { dataSize += computeStringSizeNoTag(preHookMessage_.getRaw(i)); } size += dataSize; size += 1 * getPreHookMessageList().size(); } { int dataSize = 0; for (int i = 0; i < postHookMessage_.size(); i++) { dataSize += computeStringSizeNoTag(postHookMessage_.getRaw(i)); } size += dataSize; size += 2 * getPostHookMessageList().size(); } { int dataSize = 0; for (int i = 0; i < preHookScreenshots_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(preHookScreenshots_.get(i)); } size += dataSize; size += 2 * getPreHookScreenshotsList().size(); } { int dataSize = 0; for (int i = 0; i < postHookScreenshots_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(postHookScreenshots_.get(i)); } size += dataSize; size += 2 * getPostHookScreenshotsList().size(); } if (chunked_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(19, chunked_); } if (chunkSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(20, chunkSize_); } { int dataSize = 0; for (int i = 0; i < preHookScreenshotFiles_.size(); i++) { dataSize += computeStringSizeNoTag(preHookScreenshotFiles_.getRaw(i)); } size += dataSize; size += 2 * getPreHookScreenshotFilesList().size(); } { int dataSize = 0; for (int i = 0; i < postHookScreenshotFiles_.size(); i++) { dataSize += computeStringSizeNoTag(postHookScreenshotFiles_.getRaw(i)); } size += dataSize; size += 2 * getPostHookScreenshotFilesList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoSuiteResult)) { return super.equals(obj); } gauge.messages.Spec.ProtoSuiteResult other = (gauge.messages.Spec.ProtoSuiteResult) obj; if (!getSpecResultsList() .equals(other.getSpecResultsList())) return false; if (hasPreHookFailure() != other.hasPreHookFailure()) return false; if (hasPreHookFailure()) { if (!getPreHookFailure() .equals(other.getPreHookFailure())) return false; } if (hasPostHookFailure() != other.hasPostHookFailure()) return false; if (hasPostHookFailure()) { if (!getPostHookFailure() .equals(other.getPostHookFailure())) return false; } if (getFailed() != other.getFailed()) return false; if (getSpecsFailedCount() != other.getSpecsFailedCount()) return false; if (getExecutionTime() != other.getExecutionTime()) return false; if (java.lang.Float.floatToIntBits(getSuccessRate()) != java.lang.Float.floatToIntBits( other.getSuccessRate())) return false; if (!getEnvironment() .equals(other.getEnvironment())) return false; if (!getTags() .equals(other.getTags())) return false; if (!getProjectName() .equals(other.getProjectName())) return false; if (!getTimestamp() .equals(other.getTimestamp())) return false; if (getSpecsSkippedCount() != other.getSpecsSkippedCount()) return false; if (!getPreHookMessagesList() .equals(other.getPreHookMessagesList())) return false; if (!getPostHookMessagesList() .equals(other.getPostHookMessagesList())) return false; if (!getPreHookMessageList() .equals(other.getPreHookMessageList())) return false; if (!getPostHookMessageList() .equals(other.getPostHookMessageList())) return false; if (!getPreHookScreenshotsList() .equals(other.getPreHookScreenshotsList())) return false; if (!getPostHookScreenshotsList() .equals(other.getPostHookScreenshotsList())) return false; if (getChunked() != other.getChunked()) return false; if (getChunkSize() != other.getChunkSize()) return false; if (!getPreHookScreenshotFilesList() .equals(other.getPreHookScreenshotFilesList())) return false; if (!getPostHookScreenshotFilesList() .equals(other.getPostHookScreenshotFilesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getSpecResultsCount() > 0) { hash = (37 * hash) + SPECRESULTS_FIELD_NUMBER; hash = (53 * hash) + getSpecResultsList().hashCode(); } if (hasPreHookFailure()) { hash = (37 * hash) + PREHOOKFAILURE_FIELD_NUMBER; hash = (53 * hash) + getPreHookFailure().hashCode(); } if (hasPostHookFailure()) { hash = (37 * hash) + POSTHOOKFAILURE_FIELD_NUMBER; hash = (53 * hash) + getPostHookFailure().hashCode(); } hash = (37 * hash) + FAILED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFailed()); hash = (37 * hash) + SPECSFAILEDCOUNT_FIELD_NUMBER; hash = (53 * hash) + getSpecsFailedCount(); hash = (37 * hash) + EXECUTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExecutionTime()); hash = (37 * hash) + SUCCESSRATE_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getSuccessRate()); hash = (37 * hash) + ENVIRONMENT_FIELD_NUMBER; hash = (53 * hash) + getEnvironment().hashCode(); hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTags().hashCode(); hash = (37 * hash) + PROJECTNAME_FIELD_NUMBER; hash = (53 * hash) + getProjectName().hashCode(); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getTimestamp().hashCode(); hash = (37 * hash) + SPECSSKIPPEDCOUNT_FIELD_NUMBER; hash = (53 * hash) + getSpecsSkippedCount(); if (getPreHookMessagesCount() > 0) { hash = (37 * hash) + PREHOOKMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getPreHookMessagesList().hashCode(); } if (getPostHookMessagesCount() > 0) { hash = (37 * hash) + POSTHOOKMESSAGES_FIELD_NUMBER; hash = (53 * hash) + getPostHookMessagesList().hashCode(); } if (getPreHookMessageCount() > 0) { hash = (37 * hash) + PREHOOKMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getPreHookMessageList().hashCode(); } if (getPostHookMessageCount() > 0) { hash = (37 * hash) + POSTHOOKMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getPostHookMessageList().hashCode(); } if (getPreHookScreenshotsCount() > 0) { hash = (37 * hash) + PREHOOKSCREENSHOTS_FIELD_NUMBER; hash = (53 * hash) + getPreHookScreenshotsList().hashCode(); } if (getPostHookScreenshotsCount() > 0) { hash = (37 * hash) + POSTHOOKSCREENSHOTS_FIELD_NUMBER; hash = (53 * hash) + getPostHookScreenshotsList().hashCode(); } hash = (37 * hash) + CHUNKED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getChunked()); hash = (37 * hash) + CHUNKSIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getChunkSize()); if (getPreHookScreenshotFilesCount() > 0) { hash = (37 * hash) + PREHOOKSCREENSHOTFILES_FIELD_NUMBER; hash = (53 * hash) + getPreHookScreenshotFilesList().hashCode(); } if (getPostHookScreenshotFilesCount() > 0) { hash = (37 * hash) + POSTHOOKSCREENSHOTFILES_FIELD_NUMBER; hash = (53 * hash) + getPostHookScreenshotFilesList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoSuiteResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoSuiteResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoSuiteResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoSuiteResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoSuiteResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoSuiteResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoSuiteResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoSuiteResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoSuiteResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoSuiteResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoSuiteResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoSuiteResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoSuiteResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing the result of entire Suite execution.
     * 
* * Protobuf type {@code gauge.messages.ProtoSuiteResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoSuiteResult) gauge.messages.Spec.ProtoSuiteResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSuiteResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSuiteResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoSuiteResult.class, gauge.messages.Spec.ProtoSuiteResult.Builder.class); } // Construct using gauge.messages.Spec.ProtoSuiteResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getSpecResultsFieldBuilder(); getPreHookFailureFieldBuilder(); getPostHookFailureFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (specResultsBuilder_ == null) { specResults_ = java.util.Collections.emptyList(); } else { specResults_ = null; specResultsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); preHookFailure_ = null; if (preHookFailureBuilder_ != null) { preHookFailureBuilder_.dispose(); preHookFailureBuilder_ = null; } postHookFailure_ = null; if (postHookFailureBuilder_ != null) { postHookFailureBuilder_.dispose(); postHookFailureBuilder_ = null; } failed_ = false; specsFailedCount_ = 0; executionTime_ = 0L; successRate_ = 0F; environment_ = ""; tags_ = ""; projectName_ = ""; timestamp_ = ""; specsSkippedCount_ = 0; preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); chunked_ = false; chunkSize_ = 0L; preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSuiteResult_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoSuiteResult getDefaultInstanceForType() { return gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoSuiteResult build() { gauge.messages.Spec.ProtoSuiteResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoSuiteResult buildPartial() { gauge.messages.Spec.ProtoSuiteResult result = new gauge.messages.Spec.ProtoSuiteResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(gauge.messages.Spec.ProtoSuiteResult result) { if (specResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { specResults_ = java.util.Collections.unmodifiableList(specResults_); bitField0_ = (bitField0_ & ~0x00000001); } result.specResults_ = specResults_; } else { result.specResults_ = specResultsBuilder_.build(); } } private void buildPartial0(gauge.messages.Spec.ProtoSuiteResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.preHookFailure_ = preHookFailureBuilder_ == null ? preHookFailure_ : preHookFailureBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.postHookFailure_ = postHookFailureBuilder_ == null ? postHookFailure_ : postHookFailureBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.failed_ = failed_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.specsFailedCount_ = specsFailedCount_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.executionTime_ = executionTime_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.successRate_ = successRate_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.environment_ = environment_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.tags_ = tags_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.projectName_ = projectName_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.timestamp_ = timestamp_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.specsSkippedCount_ = specsSkippedCount_; } if (((from_bitField0_ & 0x00001000) != 0)) { preHookMessages_.makeImmutable(); result.preHookMessages_ = preHookMessages_; } if (((from_bitField0_ & 0x00002000) != 0)) { postHookMessages_.makeImmutable(); result.postHookMessages_ = postHookMessages_; } if (((from_bitField0_ & 0x00004000) != 0)) { preHookMessage_.makeImmutable(); result.preHookMessage_ = preHookMessage_; } if (((from_bitField0_ & 0x00008000) != 0)) { postHookMessage_.makeImmutable(); result.postHookMessage_ = postHookMessage_; } if (((from_bitField0_ & 0x00010000) != 0)) { preHookScreenshots_.makeImmutable(); result.preHookScreenshots_ = preHookScreenshots_; } if (((from_bitField0_ & 0x00020000) != 0)) { postHookScreenshots_.makeImmutable(); result.postHookScreenshots_ = postHookScreenshots_; } if (((from_bitField0_ & 0x00040000) != 0)) { result.chunked_ = chunked_; } if (((from_bitField0_ & 0x00080000) != 0)) { result.chunkSize_ = chunkSize_; } if (((from_bitField0_ & 0x00100000) != 0)) { preHookScreenshotFiles_.makeImmutable(); result.preHookScreenshotFiles_ = preHookScreenshotFiles_; } if (((from_bitField0_ & 0x00200000) != 0)) { postHookScreenshotFiles_.makeImmutable(); result.postHookScreenshotFiles_ = postHookScreenshotFiles_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoSuiteResult) { return mergeFrom((gauge.messages.Spec.ProtoSuiteResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoSuiteResult other) { if (other == gauge.messages.Spec.ProtoSuiteResult.getDefaultInstance()) return this; if (specResultsBuilder_ == null) { if (!other.specResults_.isEmpty()) { if (specResults_.isEmpty()) { specResults_ = other.specResults_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpecResultsIsMutable(); specResults_.addAll(other.specResults_); } onChanged(); } } else { if (!other.specResults_.isEmpty()) { if (specResultsBuilder_.isEmpty()) { specResultsBuilder_.dispose(); specResultsBuilder_ = null; specResults_ = other.specResults_; bitField0_ = (bitField0_ & ~0x00000001); specResultsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getSpecResultsFieldBuilder() : null; } else { specResultsBuilder_.addAllMessages(other.specResults_); } } } if (other.hasPreHookFailure()) { mergePreHookFailure(other.getPreHookFailure()); } if (other.hasPostHookFailure()) { mergePostHookFailure(other.getPostHookFailure()); } if (other.getFailed() != false) { setFailed(other.getFailed()); } if (other.getSpecsFailedCount() != 0) { setSpecsFailedCount(other.getSpecsFailedCount()); } if (other.getExecutionTime() != 0L) { setExecutionTime(other.getExecutionTime()); } if (other.getSuccessRate() != 0F) { setSuccessRate(other.getSuccessRate()); } if (!other.getEnvironment().isEmpty()) { environment_ = other.environment_; bitField0_ |= 0x00000080; onChanged(); } if (!other.getTags().isEmpty()) { tags_ = other.tags_; bitField0_ |= 0x00000100; onChanged(); } if (!other.getProjectName().isEmpty()) { projectName_ = other.projectName_; bitField0_ |= 0x00000200; onChanged(); } if (!other.getTimestamp().isEmpty()) { timestamp_ = other.timestamp_; bitField0_ |= 0x00000400; onChanged(); } if (other.getSpecsSkippedCount() != 0) { setSpecsSkippedCount(other.getSpecsSkippedCount()); } if (!other.preHookMessages_.isEmpty()) { if (preHookMessages_.isEmpty()) { preHookMessages_ = other.preHookMessages_; bitField0_ |= 0x00001000; } else { ensurePreHookMessagesIsMutable(); preHookMessages_.addAll(other.preHookMessages_); } onChanged(); } if (!other.postHookMessages_.isEmpty()) { if (postHookMessages_.isEmpty()) { postHookMessages_ = other.postHookMessages_; bitField0_ |= 0x00002000; } else { ensurePostHookMessagesIsMutable(); postHookMessages_.addAll(other.postHookMessages_); } onChanged(); } if (!other.preHookMessage_.isEmpty()) { if (preHookMessage_.isEmpty()) { preHookMessage_ = other.preHookMessage_; bitField0_ |= 0x00004000; } else { ensurePreHookMessageIsMutable(); preHookMessage_.addAll(other.preHookMessage_); } onChanged(); } if (!other.postHookMessage_.isEmpty()) { if (postHookMessage_.isEmpty()) { postHookMessage_ = other.postHookMessage_; bitField0_ |= 0x00008000; } else { ensurePostHookMessageIsMutable(); postHookMessage_.addAll(other.postHookMessage_); } onChanged(); } if (!other.preHookScreenshots_.isEmpty()) { if (preHookScreenshots_.isEmpty()) { preHookScreenshots_ = other.preHookScreenshots_; preHookScreenshots_.makeImmutable(); bitField0_ |= 0x00010000; } else { ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.addAll(other.preHookScreenshots_); } onChanged(); } if (!other.postHookScreenshots_.isEmpty()) { if (postHookScreenshots_.isEmpty()) { postHookScreenshots_ = other.postHookScreenshots_; postHookScreenshots_.makeImmutable(); bitField0_ |= 0x00020000; } else { ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.addAll(other.postHookScreenshots_); } onChanged(); } if (other.getChunked() != false) { setChunked(other.getChunked()); } if (other.getChunkSize() != 0L) { setChunkSize(other.getChunkSize()); } if (!other.preHookScreenshotFiles_.isEmpty()) { if (preHookScreenshotFiles_.isEmpty()) { preHookScreenshotFiles_ = other.preHookScreenshotFiles_; bitField0_ |= 0x00100000; } else { ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.addAll(other.preHookScreenshotFiles_); } onChanged(); } if (!other.postHookScreenshotFiles_.isEmpty()) { if (postHookScreenshotFiles_.isEmpty()) { postHookScreenshotFiles_ = other.postHookScreenshotFiles_; bitField0_ |= 0x00200000; } else { ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.addAll(other.postHookScreenshotFiles_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { gauge.messages.Spec.ProtoSpecResult m = input.readMessage( gauge.messages.Spec.ProtoSpecResult.parser(), extensionRegistry); if (specResultsBuilder_ == null) { ensureSpecResultsIsMutable(); specResults_.add(m); } else { specResultsBuilder_.addMessage(m); } break; } // case 10 case 18: { input.readMessage( getPreHookFailureFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getPostHookFailureFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { failed_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { specsFailedCount_ = input.readInt32(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { executionTime_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 61: { successRate_ = input.readFloat(); bitField0_ |= 0x00000040; break; } // case 61 case 66: { environment_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000080; break; } // case 66 case 74: { tags_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000100; break; } // case 74 case 82: { projectName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000200; break; } // case 82 case 90: { timestamp_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 90 case 96: { specsSkippedCount_ = input.readInt32(); bitField0_ |= 0x00000800; break; } // case 96 case 106: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookMessagesIsMutable(); preHookMessages_.add(s); break; } // case 106 case 114: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookMessagesIsMutable(); postHookMessages_.add(s); break; } // case 114 case 122: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookMessageIsMutable(); preHookMessage_.add(s); break; } // case 122 case 130: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookMessageIsMutable(); postHookMessage_.add(s); break; } // case 130 case 138: { com.google.protobuf.ByteString v = input.readBytes(); ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.add(v); break; } // case 138 case 146: { com.google.protobuf.ByteString v = input.readBytes(); ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.add(v); break; } // case 146 case 152: { chunked_ = input.readBool(); bitField0_ |= 0x00040000; break; } // case 152 case 160: { chunkSize_ = input.readInt64(); bitField0_ |= 0x00080000; break; } // case 160 case 170: { java.lang.String s = input.readStringRequireUtf8(); ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(s); break; } // case 170 case 178: { java.lang.String s = input.readStringRequireUtf8(); ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(s); break; } // case 178 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List specResults_ = java.util.Collections.emptyList(); private void ensureSpecResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { specResults_ = new java.util.ArrayList(specResults_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoSpecResult, gauge.messages.Spec.ProtoSpecResult.Builder, gauge.messages.Spec.ProtoSpecResultOrBuilder> specResultsBuilder_; /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public java.util.List getSpecResultsList() { if (specResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(specResults_); } else { return specResultsBuilder_.getMessageList(); } } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public int getSpecResultsCount() { if (specResultsBuilder_ == null) { return specResults_.size(); } else { return specResultsBuilder_.getCount(); } } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public gauge.messages.Spec.ProtoSpecResult getSpecResults(int index) { if (specResultsBuilder_ == null) { return specResults_.get(index); } else { return specResultsBuilder_.getMessage(index); } } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public Builder setSpecResults( int index, gauge.messages.Spec.ProtoSpecResult value) { if (specResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpecResultsIsMutable(); specResults_.set(index, value); onChanged(); } else { specResultsBuilder_.setMessage(index, value); } return this; } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public Builder setSpecResults( int index, gauge.messages.Spec.ProtoSpecResult.Builder builderForValue) { if (specResultsBuilder_ == null) { ensureSpecResultsIsMutable(); specResults_.set(index, builderForValue.build()); onChanged(); } else { specResultsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public Builder addSpecResults(gauge.messages.Spec.ProtoSpecResult value) { if (specResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpecResultsIsMutable(); specResults_.add(value); onChanged(); } else { specResultsBuilder_.addMessage(value); } return this; } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public Builder addSpecResults( int index, gauge.messages.Spec.ProtoSpecResult value) { if (specResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSpecResultsIsMutable(); specResults_.add(index, value); onChanged(); } else { specResultsBuilder_.addMessage(index, value); } return this; } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public Builder addSpecResults( gauge.messages.Spec.ProtoSpecResult.Builder builderForValue) { if (specResultsBuilder_ == null) { ensureSpecResultsIsMutable(); specResults_.add(builderForValue.build()); onChanged(); } else { specResultsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public Builder addSpecResults( int index, gauge.messages.Spec.ProtoSpecResult.Builder builderForValue) { if (specResultsBuilder_ == null) { ensureSpecResultsIsMutable(); specResults_.add(index, builderForValue.build()); onChanged(); } else { specResultsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public Builder addAllSpecResults( java.lang.Iterable values) { if (specResultsBuilder_ == null) { ensureSpecResultsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, specResults_); onChanged(); } else { specResultsBuilder_.addAllMessages(values); } return this; } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public Builder clearSpecResults() { if (specResultsBuilder_ == null) { specResults_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { specResultsBuilder_.clear(); } return this; } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public Builder removeSpecResults(int index) { if (specResultsBuilder_ == null) { ensureSpecResultsIsMutable(); specResults_.remove(index); onChanged(); } else { specResultsBuilder_.remove(index); } return this; } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public gauge.messages.Spec.ProtoSpecResult.Builder getSpecResultsBuilder( int index) { return getSpecResultsFieldBuilder().getBuilder(index); } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public gauge.messages.Spec.ProtoSpecResultOrBuilder getSpecResultsOrBuilder( int index) { if (specResultsBuilder_ == null) { return specResults_.get(index); } else { return specResultsBuilder_.getMessageOrBuilder(index); } } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public java.util.List getSpecResultsOrBuilderList() { if (specResultsBuilder_ != null) { return specResultsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(specResults_); } } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public gauge.messages.Spec.ProtoSpecResult.Builder addSpecResultsBuilder() { return getSpecResultsFieldBuilder().addBuilder( gauge.messages.Spec.ProtoSpecResult.getDefaultInstance()); } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public gauge.messages.Spec.ProtoSpecResult.Builder addSpecResultsBuilder( int index) { return getSpecResultsFieldBuilder().addBuilder( index, gauge.messages.Spec.ProtoSpecResult.getDefaultInstance()); } /** *
       * / Contains the result from the execution
       * 
* * repeated .gauge.messages.ProtoSpecResult specResults = 1; */ public java.util.List getSpecResultsBuilderList() { return getSpecResultsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoSpecResult, gauge.messages.Spec.ProtoSpecResult.Builder, gauge.messages.Spec.ProtoSpecResultOrBuilder> getSpecResultsFieldBuilder() { if (specResultsBuilder_ == null) { specResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.ProtoSpecResult, gauge.messages.Spec.ProtoSpecResult.Builder, gauge.messages.Spec.ProtoSpecResultOrBuilder>( specResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); specResults_ = null; } return specResultsBuilder_; } private gauge.messages.Spec.ProtoHookFailure preHookFailure_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> preHookFailureBuilder_; /** *
       * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return Whether the preHookFailure field is set. */ public boolean hasPreHookFailure() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; * @return The preHookFailure. */ public gauge.messages.Spec.ProtoHookFailure getPreHookFailure() { if (preHookFailureBuilder_ == null) { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } else { return preHookFailureBuilder_.getMessage(); } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public Builder setPreHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (preHookFailureBuilder_ == null) { if (value == null) { throw new NullPointerException(); } preHookFailure_ = value; } else { preHookFailureBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public Builder setPreHookFailure( gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (preHookFailureBuilder_ == null) { preHookFailure_ = builderForValue.build(); } else { preHookFailureBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public Builder mergePreHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (preHookFailureBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && preHookFailure_ != null && preHookFailure_ != gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()) { getPreHookFailureBuilder().mergeFrom(value); } else { preHookFailure_ = value; } } else { preHookFailureBuilder_.mergeFrom(value); } if (preHookFailure_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public Builder clearPreHookFailure() { bitField0_ = (bitField0_ & ~0x00000002); preHookFailure_ = null; if (preHookFailureBuilder_ != null) { preHookFailureBuilder_.dispose(); preHookFailureBuilder_ = null; } onChanged(); return this; } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public gauge.messages.Spec.ProtoHookFailure.Builder getPreHookFailureBuilder() { bitField0_ |= 0x00000002; onChanged(); return getPreHookFailureFieldBuilder().getBuilder(); } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ public gauge.messages.Spec.ProtoHookFailureOrBuilder getPreHookFailureOrBuilder() { if (preHookFailureBuilder_ != null) { return preHookFailureBuilder_.getMessageOrBuilder(); } else { return preHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : preHookFailure_; } } /** *
       * / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure preHookFailure = 2; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> getPreHookFailureFieldBuilder() { if (preHookFailureBuilder_ == null) { preHookFailureBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder>( getPreHookFailure(), getParentForChildren(), isClean()); preHookFailure_ = null; } return preHookFailureBuilder_; } private gauge.messages.Spec.ProtoHookFailure postHookFailure_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> postHookFailureBuilder_; /** *
       * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return Whether the postHookFailure field is set. */ public boolean hasPostHookFailure() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; * @return The postHookFailure. */ public gauge.messages.Spec.ProtoHookFailure getPostHookFailure() { if (postHookFailureBuilder_ == null) { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } else { return postHookFailureBuilder_.getMessage(); } } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public Builder setPostHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (postHookFailureBuilder_ == null) { if (value == null) { throw new NullPointerException(); } postHookFailure_ = value; } else { postHookFailureBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public Builder setPostHookFailure( gauge.messages.Spec.ProtoHookFailure.Builder builderForValue) { if (postHookFailureBuilder_ == null) { postHookFailure_ = builderForValue.build(); } else { postHookFailureBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public Builder mergePostHookFailure(gauge.messages.Spec.ProtoHookFailure value) { if (postHookFailureBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && postHookFailure_ != null && postHookFailure_ != gauge.messages.Spec.ProtoHookFailure.getDefaultInstance()) { getPostHookFailureBuilder().mergeFrom(value); } else { postHookFailure_ = value; } } else { postHookFailureBuilder_.mergeFrom(value); } if (postHookFailure_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public Builder clearPostHookFailure() { bitField0_ = (bitField0_ & ~0x00000004); postHookFailure_ = null; if (postHookFailureBuilder_ != null) { postHookFailureBuilder_.dispose(); postHookFailureBuilder_ = null; } onChanged(); return this; } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public gauge.messages.Spec.ProtoHookFailure.Builder getPostHookFailureBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPostHookFailureFieldBuilder().getBuilder(); } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ public gauge.messages.Spec.ProtoHookFailureOrBuilder getPostHookFailureOrBuilder() { if (postHookFailureBuilder_ != null) { return postHookFailureBuilder_.getMessageOrBuilder(); } else { return postHookFailure_ == null ? gauge.messages.Spec.ProtoHookFailure.getDefaultInstance() : postHookFailure_; } } /** *
       * / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error
       * 
* * .gauge.messages.ProtoHookFailure postHookFailure = 3; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder> getPostHookFailureFieldBuilder() { if (postHookFailureBuilder_ == null) { postHookFailureBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoHookFailure, gauge.messages.Spec.ProtoHookFailure.Builder, gauge.messages.Spec.ProtoHookFailureOrBuilder>( getPostHookFailure(), getParentForChildren(), isClean()); postHookFailure_ = null; } return postHookFailureBuilder_; } private boolean failed_ ; /** *
       * / Flag to indicate failure
       * 
* * bool failed = 4; * @return The failed. */ @java.lang.Override public boolean getFailed() { return failed_; } /** *
       * / Flag to indicate failure
       * 
* * bool failed = 4; * @param value The failed to set. * @return This builder for chaining. */ public Builder setFailed(boolean value) { failed_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Flag to indicate failure
       * 
* * bool failed = 4; * @return This builder for chaining. */ public Builder clearFailed() { bitField0_ = (bitField0_ & ~0x00000008); failed_ = false; onChanged(); return this; } private int specsFailedCount_ ; /** *
       * / Holds the count of number of Specifications that failed.
       * 
* * int32 specsFailedCount = 5; * @return The specsFailedCount. */ @java.lang.Override public int getSpecsFailedCount() { return specsFailedCount_; } /** *
       * / Holds the count of number of Specifications that failed.
       * 
* * int32 specsFailedCount = 5; * @param value The specsFailedCount to set. * @return This builder for chaining. */ public Builder setSpecsFailedCount(int value) { specsFailedCount_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Holds the count of number of Specifications that failed.
       * 
* * int32 specsFailedCount = 5; * @return This builder for chaining. */ public Builder clearSpecsFailedCount() { bitField0_ = (bitField0_ & ~0x00000010); specsFailedCount_ = 0; onChanged(); return this; } private long executionTime_ ; /** *
       * / Holds the time taken for executing the whole suite.
       * 
* * int64 executionTime = 6; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } /** *
       * / Holds the time taken for executing the whole suite.
       * 
* * int64 executionTime = 6; * @param value The executionTime to set. * @return This builder for chaining. */ public Builder setExecutionTime(long value) { executionTime_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Holds the time taken for executing the whole suite.
       * 
* * int64 executionTime = 6; * @return This builder for chaining. */ public Builder clearExecutionTime() { bitField0_ = (bitField0_ & ~0x00000020); executionTime_ = 0L; onChanged(); return this; } private float successRate_ ; /** *
       * / Holds a metric indicating the success rate of the execution.
       * 
* * float successRate = 7; * @return The successRate. */ @java.lang.Override public float getSuccessRate() { return successRate_; } /** *
       * / Holds a metric indicating the success rate of the execution.
       * 
* * float successRate = 7; * @param value The successRate to set. * @return This builder for chaining. */ public Builder setSuccessRate(float value) { successRate_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Holds a metric indicating the success rate of the execution.
       * 
* * float successRate = 7; * @return This builder for chaining. */ public Builder clearSuccessRate() { bitField0_ = (bitField0_ & ~0x00000040); successRate_ = 0F; onChanged(); return this; } private java.lang.Object environment_ = ""; /** *
       * / The environment against which execution was done
       * 
* * string environment = 8; * @return The environment. */ public java.lang.String getEnvironment() { java.lang.Object ref = environment_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environment_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / The environment against which execution was done
       * 
* * string environment = 8; * @return The bytes for environment. */ public com.google.protobuf.ByteString getEnvironmentBytes() { java.lang.Object ref = environment_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); environment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / The environment against which execution was done
       * 
* * string environment = 8; * @param value The environment to set. * @return This builder for chaining. */ public Builder setEnvironment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } environment_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / The environment against which execution was done
       * 
* * string environment = 8; * @return This builder for chaining. */ public Builder clearEnvironment() { environment_ = getDefaultInstance().getEnvironment(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** *
       * / The environment against which execution was done
       * 
* * string environment = 8; * @param value The bytes for environment to set. * @return This builder for chaining. */ public Builder setEnvironmentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); environment_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } private java.lang.Object tags_ = ""; /** *
       * / Tag expression used for filtering specification
       * 
* * string tags = 9; * @return The tags. */ public java.lang.String getTags() { java.lang.Object ref = tags_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tags_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Tag expression used for filtering specification
       * 
* * string tags = 9; * @return The bytes for tags. */ public com.google.protobuf.ByteString getTagsBytes() { java.lang.Object ref = tags_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tags_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Tag expression used for filtering specification
       * 
* * string tags = 9; * @param value The tags to set. * @return This builder for chaining. */ public Builder setTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tags_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Tag expression used for filtering specification
       * 
* * string tags = 9; * @return This builder for chaining. */ public Builder clearTags() { tags_ = getDefaultInstance().getTags(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** *
       * / Tag expression used for filtering specification
       * 
* * string tags = 9; * @param value The bytes for tags to set. * @return This builder for chaining. */ public Builder setTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tags_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } private java.lang.Object projectName_ = ""; /** *
       * / Project name
       * 
* * string projectName = 10; * @return The projectName. */ public java.lang.String getProjectName() { java.lang.Object ref = projectName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Project name
       * 
* * string projectName = 10; * @return The bytes for projectName. */ public com.google.protobuf.ByteString getProjectNameBytes() { java.lang.Object ref = projectName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); projectName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Project name
       * 
* * string projectName = 10; * @param value The projectName to set. * @return This builder for chaining. */ public Builder setProjectName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } projectName_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * / Project name
       * 
* * string projectName = 10; * @return This builder for chaining. */ public Builder clearProjectName() { projectName_ = getDefaultInstance().getProjectName(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** *
       * / Project name
       * 
* * string projectName = 10; * @param value The bytes for projectName to set. * @return This builder for chaining. */ public Builder setProjectNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectName_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } private java.lang.Object timestamp_ = ""; /** *
       * / Timestamp of when execution started
       * 
* * string timestamp = 11; * @return The timestamp. */ public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timestamp_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Timestamp of when execution started
       * 
* * string timestamp = 11; * @return The bytes for timestamp. */ public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Timestamp of when execution started
       * 
* * string timestamp = 11; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timestamp_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * / Timestamp of when execution started
       * 
* * string timestamp = 11; * @return This builder for chaining. */ public Builder clearTimestamp() { timestamp_ = getDefaultInstance().getTimestamp(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
       * / Timestamp of when execution started
       * 
* * string timestamp = 11; * @param value The bytes for timestamp to set. * @return This builder for chaining. */ public Builder setTimestampBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timestamp_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private int specsSkippedCount_ ; /** * int32 specsSkippedCount = 12; * @return The specsSkippedCount. */ @java.lang.Override public int getSpecsSkippedCount() { return specsSkippedCount_; } /** * int32 specsSkippedCount = 12; * @param value The specsSkippedCount to set. * @return This builder for chaining. */ public Builder setSpecsSkippedCount(int value) { specsSkippedCount_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** * int32 specsSkippedCount = 12; * @return This builder for chaining. */ public Builder clearSpecsSkippedCount() { bitField0_ = (bitField0_ & ~0x00000800); specsSkippedCount_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookMessagesIsMutable() { if (!preHookMessages_.isModifiable()) { preHookMessages_ = new com.google.protobuf.LazyStringArrayList(preHookMessages_); } bitField0_ |= 0x00001000; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 13; * @return A list containing the preHookMessages. */ public com.google.protobuf.ProtocolStringList getPreHookMessagesList() { preHookMessages_.makeImmutable(); return preHookMessages_; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 13; * @return The count of preHookMessages. */ public int getPreHookMessagesCount() { return preHookMessages_.size(); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 13; * @param index The index of the element to return. * @return The preHookMessages at the given index. */ public java.lang.String getPreHookMessages(int index) { return preHookMessages_.get(index); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 13; * @param index The index of the value to return. * @return The bytes of the preHookMessages at the given index. */ public com.google.protobuf.ByteString getPreHookMessagesBytes(int index) { return preHookMessages_.getByteString(index); } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 13; * @param index The index to set the value at. * @param value The preHookMessages to set. * @return This builder for chaining. */ public Builder setPreHookMessages( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessagesIsMutable(); preHookMessages_.set(index, value); bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 13; * @param value The preHookMessages to add. * @return This builder for chaining. */ public Builder addPreHookMessages( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessagesIsMutable(); preHookMessages_.add(value); bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 13; * @param values The preHookMessages to add. * @return This builder for chaining. */ public Builder addAllPreHookMessages( java.lang.Iterable values) { ensurePreHookMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookMessages_); bitField0_ |= 0x00001000; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 13; * @return This builder for chaining. */ public Builder clearPreHookMessages() { preHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00001000);; onChanged(); return this; } /** *
       * / Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessages = 13; * @param value The bytes of the preHookMessages to add. * @return This builder for chaining. */ public Builder addPreHookMessagesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookMessagesIsMutable(); preHookMessages_.add(value); bitField0_ |= 0x00001000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookMessagesIsMutable() { if (!postHookMessages_.isModifiable()) { postHookMessages_ = new com.google.protobuf.LazyStringArrayList(postHookMessages_); } bitField0_ |= 0x00002000; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 14; * @return A list containing the postHookMessages. */ public com.google.protobuf.ProtocolStringList getPostHookMessagesList() { postHookMessages_.makeImmutable(); return postHookMessages_; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 14; * @return The count of postHookMessages. */ public int getPostHookMessagesCount() { return postHookMessages_.size(); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 14; * @param index The index of the element to return. * @return The postHookMessages at the given index. */ public java.lang.String getPostHookMessages(int index) { return postHookMessages_.get(index); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 14; * @param index The index of the value to return. * @return The bytes of the postHookMessages at the given index. */ public com.google.protobuf.ByteString getPostHookMessagesBytes(int index) { return postHookMessages_.getByteString(index); } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 14; * @param index The index to set the value at. * @param value The postHookMessages to set. * @return This builder for chaining. */ public Builder setPostHookMessages( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessagesIsMutable(); postHookMessages_.set(index, value); bitField0_ |= 0x00002000; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 14; * @param value The postHookMessages to add. * @return This builder for chaining. */ public Builder addPostHookMessages( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessagesIsMutable(); postHookMessages_.add(value); bitField0_ |= 0x00002000; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 14; * @param values The postHookMessages to add. * @return This builder for chaining. */ public Builder addAllPostHookMessages( java.lang.Iterable values) { ensurePostHookMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookMessages_); bitField0_ |= 0x00002000; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 14; * @return This builder for chaining. */ public Builder clearPostHookMessages() { postHookMessages_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00002000);; onChanged(); return this; } /** *
       * / Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessages = 14; * @param value The bytes of the postHookMessages to add. * @return This builder for chaining. */ public Builder addPostHookMessagesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookMessagesIsMutable(); postHookMessages_.add(value); bitField0_ |= 0x00002000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookMessageIsMutable() { if (!preHookMessage_.isModifiable()) { preHookMessage_ = new com.google.protobuf.LazyStringArrayList(preHookMessage_); } bitField0_ |= 0x00004000; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @return A list containing the preHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPreHookMessageList() { preHookMessage_.makeImmutable(); return preHookMessage_; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @return The count of preHookMessage. */ @java.lang.Deprecated public int getPreHookMessageCount() { return preHookMessage_.size(); } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param index The index of the element to return. * @return The preHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPreHookMessage(int index) { return preHookMessage_.get(index); } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param index The index of the value to return. * @return The bytes of the preHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookMessageBytes(int index) { return preHookMessage_.getByteString(index); } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param index The index to set the value at. * @param value The preHookMessage to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPreHookMessage( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessageIsMutable(); preHookMessage_.set(index, value); bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param value The preHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookMessageIsMutable(); preHookMessage_.add(value); bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param values The preHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPreHookMessage( java.lang.Iterable values) { ensurePreHookMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookMessage_); bitField0_ |= 0x00004000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPreHookMessage() { preHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00004000);; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports
       * 
* * repeated string preHookMessage = 15 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookMessage is deprecated. * See spec.proto;l=362 * @param value The bytes of the preHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookMessageIsMutable(); preHookMessage_.add(value); bitField0_ |= 0x00004000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookMessageIsMutable() { if (!postHookMessage_.isModifiable()) { postHookMessage_ = new com.google.protobuf.LazyStringArrayList(postHookMessage_); } bitField0_ |= 0x00008000; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @return A list containing the postHookMessage. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getPostHookMessageList() { postHookMessage_.makeImmutable(); return postHookMessage_; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @return The count of postHookMessage. */ @java.lang.Deprecated public int getPostHookMessageCount() { return postHookMessage_.size(); } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param index The index of the element to return. * @return The postHookMessage at the given index. */ @java.lang.Deprecated public java.lang.String getPostHookMessage(int index) { return postHookMessage_.get(index); } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param index The index of the value to return. * @return The bytes of the postHookMessage at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookMessageBytes(int index) { return postHookMessage_.getByteString(index); } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param index The index to set the value at. * @param value The postHookMessage to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPostHookMessage( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessageIsMutable(); postHookMessage_.set(index, value); bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param value The postHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookMessageIsMutable(); postHookMessage_.add(value); bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param values The postHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPostHookMessage( java.lang.Iterable values) { ensurePostHookMessageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookMessage_); bitField0_ |= 0x00008000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPostHookMessage() { postHookMessage_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00008000);; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports
       * 
* * repeated string postHookMessage = 16 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookMessage is deprecated. * See spec.proto;l=364 * @param value The bytes of the postHookMessage to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookMessageIsMutable(); postHookMessage_.add(value); bitField0_ |= 0x00008000; onChanged(); return this; } private com.google.protobuf.Internal.ProtobufList preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); private void ensurePreHookScreenshotsIsMutable() { if (!preHookScreenshots_.isModifiable()) { preHookScreenshots_ = makeMutableCopy(preHookScreenshots_); } bitField0_ |= 0x00010000; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @return A list containing the preHookScreenshots. */ @java.lang.Deprecated public java.util.List getPreHookScreenshotsList() { preHookScreenshots_.makeImmutable(); return preHookScreenshots_; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @return The count of preHookScreenshots. */ @java.lang.Deprecated public int getPreHookScreenshotsCount() { return preHookScreenshots_.size(); } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @param index The index of the element to return. * @return The preHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPreHookScreenshots(int index) { return preHookScreenshots_.get(index); } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @param index The index to set the value at. * @param value The preHookScreenshots to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPreHookScreenshots( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.set(index, value); bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @param value The preHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPreHookScreenshots(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotsIsMutable(); preHookScreenshots_.add(value); bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @param values The preHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPreHookScreenshots( java.lang.Iterable values) { ensurePreHookScreenshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookScreenshots_); bitField0_ |= 0x00010000; onChanged(); return this; } /** *
       * / [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports
       * 
* * repeated bytes preHookScreenshots = 17 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.preHookScreenshots is deprecated. * See spec.proto;l=366 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPreHookScreenshots() { preHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } private com.google.protobuf.Internal.ProtobufList postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); private void ensurePostHookScreenshotsIsMutable() { if (!postHookScreenshots_.isModifiable()) { postHookScreenshots_ = makeMutableCopy(postHookScreenshots_); } bitField0_ |= 0x00020000; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @return A list containing the postHookScreenshots. */ @java.lang.Deprecated public java.util.List getPostHookScreenshotsList() { postHookScreenshots_.makeImmutable(); return postHookScreenshots_; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @return The count of postHookScreenshots. */ @java.lang.Deprecated public int getPostHookScreenshotsCount() { return postHookScreenshots_.size(); } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @param index The index of the element to return. * @return The postHookScreenshots at the given index. */ @java.lang.Deprecated public com.google.protobuf.ByteString getPostHookScreenshots(int index) { return postHookScreenshots_.get(index); } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @param index The index to set the value at. * @param value The postHookScreenshots to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPostHookScreenshots( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.set(index, value); bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @param value The postHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addPostHookScreenshots(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotsIsMutable(); postHookScreenshots_.add(value); bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @param values The postHookScreenshots to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllPostHookScreenshots( java.lang.Iterable values) { ensurePostHookScreenshotsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookScreenshots_); bitField0_ |= 0x00020000; onChanged(); return this; } /** *
       * / [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports
       * 
* * repeated bytes postHookScreenshots = 18 [deprecated = true]; * @deprecated gauge.messages.ProtoSuiteResult.postHookScreenshots is deprecated. * See spec.proto;l=368 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPostHookScreenshots() { postHookScreenshots_ = emptyList(com.google.protobuf.ByteString.class); bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } private boolean chunked_ ; /** *
       * Indicates if the result is sent in chunks
       * 
* * bool chunked = 19; * @return The chunked. */ @java.lang.Override public boolean getChunked() { return chunked_; } /** *
       * Indicates if the result is sent in chunks
       * 
* * bool chunked = 19; * @param value The chunked to set. * @return This builder for chaining. */ public Builder setChunked(boolean value) { chunked_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** *
       * Indicates if the result is sent in chunks
       * 
* * bool chunked = 19; * @return This builder for chaining. */ public Builder clearChunked() { bitField0_ = (bitField0_ & ~0x00040000); chunked_ = false; onChanged(); return this; } private long chunkSize_ ; /** *
       * Indicates the number of chunks to expect after this
       * 
* * int64 chunkSize = 20; * @return The chunkSize. */ @java.lang.Override public long getChunkSize() { return chunkSize_; } /** *
       * Indicates the number of chunks to expect after this
       * 
* * int64 chunkSize = 20; * @param value The chunkSize to set. * @return This builder for chaining. */ public Builder setChunkSize(long value) { chunkSize_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** *
       * Indicates the number of chunks to expect after this
       * 
* * int64 chunkSize = 20; * @return This builder for chaining. */ public Builder clearChunkSize() { bitField0_ = (bitField0_ & ~0x00080000); chunkSize_ = 0L; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreHookScreenshotFilesIsMutable() { if (!preHookScreenshotFiles_.isModifiable()) { preHookScreenshotFiles_ = new com.google.protobuf.LazyStringArrayList(preHookScreenshotFiles_); } bitField0_ |= 0x00100000; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @return A list containing the preHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPreHookScreenshotFilesList() { preHookScreenshotFiles_.makeImmutable(); return preHookScreenshotFiles_; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @return The count of preHookScreenshotFiles. */ public int getPreHookScreenshotFilesCount() { return preHookScreenshotFiles_.size(); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the element to return. * @return The preHookScreenshotFiles at the given index. */ public java.lang.String getPreHookScreenshotFiles(int index) { return preHookScreenshotFiles_.get(index); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index of the value to return. * @return The bytes of the preHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPreHookScreenshotFilesBytes(int index) { return preHookScreenshotFiles_.getByteString(index); } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param index The index to set the value at. * @param value The preHookScreenshotFiles to set. * @return This builder for chaining. */ public Builder setPreHookScreenshotFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.set(index, value); bitField0_ |= 0x00100000; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param value The preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPreHookScreenshotFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(value); bitField0_ |= 0x00100000; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param values The preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addAllPreHookScreenshotFiles( java.lang.Iterable values) { ensurePreHookScreenshotFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preHookScreenshotFiles_); bitField0_ |= 0x00100000; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @return This builder for chaining. */ public Builder clearPreHookScreenshotFiles() { preHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00100000);; onChanged(); return this; } /** *
       * / Screenshots captured on pre hook exec time to be available on reports
       * 
* * repeated string preHookScreenshotFiles = 21; * @param value The bytes of the preHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPreHookScreenshotFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePreHookScreenshotFilesIsMutable(); preHookScreenshotFiles_.add(value); bitField0_ |= 0x00100000; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePostHookScreenshotFilesIsMutable() { if (!postHookScreenshotFiles_.isModifiable()) { postHookScreenshotFiles_ = new com.google.protobuf.LazyStringArrayList(postHookScreenshotFiles_); } bitField0_ |= 0x00200000; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @return A list containing the postHookScreenshotFiles. */ public com.google.protobuf.ProtocolStringList getPostHookScreenshotFilesList() { postHookScreenshotFiles_.makeImmutable(); return postHookScreenshotFiles_; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @return The count of postHookScreenshotFiles. */ public int getPostHookScreenshotFilesCount() { return postHookScreenshotFiles_.size(); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the element to return. * @return The postHookScreenshotFiles at the given index. */ public java.lang.String getPostHookScreenshotFiles(int index) { return postHookScreenshotFiles_.get(index); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index of the value to return. * @return The bytes of the postHookScreenshotFiles at the given index. */ public com.google.protobuf.ByteString getPostHookScreenshotFilesBytes(int index) { return postHookScreenshotFiles_.getByteString(index); } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param index The index to set the value at. * @param value The postHookScreenshotFiles to set. * @return This builder for chaining. */ public Builder setPostHookScreenshotFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.set(index, value); bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param value The postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPostHookScreenshotFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(value); bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param values The postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addAllPostHookScreenshotFiles( java.lang.Iterable values) { ensurePostHookScreenshotFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, postHookScreenshotFiles_); bitField0_ |= 0x00200000; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @return This builder for chaining. */ public Builder clearPostHookScreenshotFiles() { postHookScreenshotFiles_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00200000);; onChanged(); return this; } /** *
       * / Screenshots captured on post hook exec time to be available on reports
       * 
* * repeated string postHookScreenshotFiles = 22; * @param value The bytes of the postHookScreenshotFiles to add. * @return This builder for chaining. */ public Builder addPostHookScreenshotFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePostHookScreenshotFilesIsMutable(); postHookScreenshotFiles_.add(value); bitField0_ |= 0x00200000; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoSuiteResult) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoSuiteResult) private static final gauge.messages.Spec.ProtoSuiteResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoSuiteResult(); } public static gauge.messages.Spec.ProtoSuiteResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoSuiteResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoSuiteResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoSpecResultOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoSpecResult) com.google.protobuf.MessageOrBuilder { /** *
     * / Represents the corresponding Specification
     * 
* * .gauge.messages.ProtoSpec protoSpec = 1; * @return Whether the protoSpec field is set. */ boolean hasProtoSpec(); /** *
     * / Represents the corresponding Specification
     * 
* * .gauge.messages.ProtoSpec protoSpec = 1; * @return The protoSpec. */ gauge.messages.Spec.ProtoSpec getProtoSpec(); /** *
     * / Represents the corresponding Specification
     * 
* * .gauge.messages.ProtoSpec protoSpec = 1; */ gauge.messages.Spec.ProtoSpecOrBuilder getProtoSpecOrBuilder(); /** *
     * / Holds the number of Scenarios executed
     * 
* * int32 scenarioCount = 2; * @return The scenarioCount. */ int getScenarioCount(); /** *
     * / Holds the number of Scenarios failed
     * 
* * int32 scenarioFailedCount = 3; * @return The scenarioFailedCount. */ int getScenarioFailedCount(); /** *
     * / Flag to indicate failure
     * 
* * bool failed = 4; * @return The failed. */ boolean getFailed(); /** *
     * / Holds the row numbers, which caused the execution to fail.
     * 
* * repeated int32 failedDataTableRows = 5; * @return A list containing the failedDataTableRows. */ java.util.List getFailedDataTableRowsList(); /** *
     * / Holds the row numbers, which caused the execution to fail.
     * 
* * repeated int32 failedDataTableRows = 5; * @return The count of failedDataTableRows. */ int getFailedDataTableRowsCount(); /** *
     * / Holds the row numbers, which caused the execution to fail.
     * 
* * repeated int32 failedDataTableRows = 5; * @param index The index of the element to return. * @return The failedDataTableRows at the given index. */ int getFailedDataTableRows(int index); /** *
     * / Holds the time taken for executing the spec.
     * 
* * int64 executionTime = 6; * @return The executionTime. */ long getExecutionTime(); /** *
     * / Flag to indicate if spec is skipped
     * 
* * bool skipped = 7; * @return The skipped. */ boolean getSkipped(); /** *
     * / Holds the number of Scenarios skipped
     * 
* * int32 scenarioSkippedCount = 8; * @return The scenarioSkippedCount. */ int getScenarioSkippedCount(); /** *
     * / Holds the row numbers, for which the execution skipped.
     * 
* * repeated int32 skippedDataTableRows = 9; * @return A list containing the skippedDataTableRows. */ java.util.List getSkippedDataTableRowsList(); /** *
     * / Holds the row numbers, for which the execution skipped.
     * 
* * repeated int32 skippedDataTableRows = 9; * @return The count of skippedDataTableRows. */ int getSkippedDataTableRowsCount(); /** *
     * / Holds the row numbers, for which the execution skipped.
     * 
* * repeated int32 skippedDataTableRows = 9; * @param index The index of the element to return. * @return The skippedDataTableRows at the given index. */ int getSkippedDataTableRows(int index); /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ java.util.List getErrorsList(); /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ gauge.messages.Spec.Error getErrors(int index); /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ int getErrorsCount(); /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ java.util.List getErrorsOrBuilderList(); /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ gauge.messages.Spec.ErrorOrBuilder getErrorsOrBuilder( int index); /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 11; * @return The timestamp. */ java.lang.String getTimestamp(); /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 11; * @return The bytes for timestamp. */ com.google.protobuf.ByteString getTimestampBytes(); } /** *
   * / A proto object representing the result of Spec execution.
   * 
* * Protobuf type {@code gauge.messages.ProtoSpecResult} */ public static final class ProtoSpecResult extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoSpecResult) ProtoSpecResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoSpecResult.class.getName()); } // Use ProtoSpecResult.newBuilder() to construct. private ProtoSpecResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoSpecResult() { failedDataTableRows_ = emptyIntList(); skippedDataTableRows_ = emptyIntList(); errors_ = java.util.Collections.emptyList(); timestamp_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpecResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpecResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoSpecResult.class, gauge.messages.Spec.ProtoSpecResult.Builder.class); } private int bitField0_; public static final int PROTOSPEC_FIELD_NUMBER = 1; private gauge.messages.Spec.ProtoSpec protoSpec_; /** *
     * / Represents the corresponding Specification
     * 
* * .gauge.messages.ProtoSpec protoSpec = 1; * @return Whether the protoSpec field is set. */ @java.lang.Override public boolean hasProtoSpec() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Represents the corresponding Specification
     * 
* * .gauge.messages.ProtoSpec protoSpec = 1; * @return The protoSpec. */ @java.lang.Override public gauge.messages.Spec.ProtoSpec getProtoSpec() { return protoSpec_ == null ? gauge.messages.Spec.ProtoSpec.getDefaultInstance() : protoSpec_; } /** *
     * / Represents the corresponding Specification
     * 
* * .gauge.messages.ProtoSpec protoSpec = 1; */ @java.lang.Override public gauge.messages.Spec.ProtoSpecOrBuilder getProtoSpecOrBuilder() { return protoSpec_ == null ? gauge.messages.Spec.ProtoSpec.getDefaultInstance() : protoSpec_; } public static final int SCENARIOCOUNT_FIELD_NUMBER = 2; private int scenarioCount_ = 0; /** *
     * / Holds the number of Scenarios executed
     * 
* * int32 scenarioCount = 2; * @return The scenarioCount. */ @java.lang.Override public int getScenarioCount() { return scenarioCount_; } public static final int SCENARIOFAILEDCOUNT_FIELD_NUMBER = 3; private int scenarioFailedCount_ = 0; /** *
     * / Holds the number of Scenarios failed
     * 
* * int32 scenarioFailedCount = 3; * @return The scenarioFailedCount. */ @java.lang.Override public int getScenarioFailedCount() { return scenarioFailedCount_; } public static final int FAILED_FIELD_NUMBER = 4; private boolean failed_ = false; /** *
     * / Flag to indicate failure
     * 
* * bool failed = 4; * @return The failed. */ @java.lang.Override public boolean getFailed() { return failed_; } public static final int FAILEDDATATABLEROWS_FIELD_NUMBER = 5; @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList failedDataTableRows_ = emptyIntList(); /** *
     * / Holds the row numbers, which caused the execution to fail.
     * 
* * repeated int32 failedDataTableRows = 5; * @return A list containing the failedDataTableRows. */ @java.lang.Override public java.util.List getFailedDataTableRowsList() { return failedDataTableRows_; } /** *
     * / Holds the row numbers, which caused the execution to fail.
     * 
* * repeated int32 failedDataTableRows = 5; * @return The count of failedDataTableRows. */ public int getFailedDataTableRowsCount() { return failedDataTableRows_.size(); } /** *
     * / Holds the row numbers, which caused the execution to fail.
     * 
* * repeated int32 failedDataTableRows = 5; * @param index The index of the element to return. * @return The failedDataTableRows at the given index. */ public int getFailedDataTableRows(int index) { return failedDataTableRows_.getInt(index); } private int failedDataTableRowsMemoizedSerializedSize = -1; public static final int EXECUTIONTIME_FIELD_NUMBER = 6; private long executionTime_ = 0L; /** *
     * / Holds the time taken for executing the spec.
     * 
* * int64 executionTime = 6; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } public static final int SKIPPED_FIELD_NUMBER = 7; private boolean skipped_ = false; /** *
     * / Flag to indicate if spec is skipped
     * 
* * bool skipped = 7; * @return The skipped. */ @java.lang.Override public boolean getSkipped() { return skipped_; } public static final int SCENARIOSKIPPEDCOUNT_FIELD_NUMBER = 8; private int scenarioSkippedCount_ = 0; /** *
     * / Holds the number of Scenarios skipped
     * 
* * int32 scenarioSkippedCount = 8; * @return The scenarioSkippedCount. */ @java.lang.Override public int getScenarioSkippedCount() { return scenarioSkippedCount_; } public static final int SKIPPEDDATATABLEROWS_FIELD_NUMBER = 9; @SuppressWarnings("serial") private com.google.protobuf.Internal.IntList skippedDataTableRows_ = emptyIntList(); /** *
     * / Holds the row numbers, for which the execution skipped.
     * 
* * repeated int32 skippedDataTableRows = 9; * @return A list containing the skippedDataTableRows. */ @java.lang.Override public java.util.List getSkippedDataTableRowsList() { return skippedDataTableRows_; } /** *
     * / Holds the row numbers, for which the execution skipped.
     * 
* * repeated int32 skippedDataTableRows = 9; * @return The count of skippedDataTableRows. */ public int getSkippedDataTableRowsCount() { return skippedDataTableRows_.size(); } /** *
     * / Holds the row numbers, for which the execution skipped.
     * 
* * repeated int32 skippedDataTableRows = 9; * @param index The index of the element to return. * @return The skippedDataTableRows at the given index. */ public int getSkippedDataTableRows(int index) { return skippedDataTableRows_.getInt(index); } private int skippedDataTableRowsMemoizedSerializedSize = -1; public static final int ERRORS_FIELD_NUMBER = 10; @SuppressWarnings("serial") private java.util.List errors_; /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ @java.lang.Override public java.util.List getErrorsList() { return errors_; } /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ @java.lang.Override public java.util.List getErrorsOrBuilderList() { return errors_; } /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ @java.lang.Override public gauge.messages.Spec.Error getErrors(int index) { return errors_.get(index); } /** *
     * / Holds parse, validation and skipped errors.
     * 
* * repeated .gauge.messages.Error errors = 10; */ @java.lang.Override public gauge.messages.Spec.ErrorOrBuilder getErrorsOrBuilder( int index) { return errors_.get(index); } public static final int TIMESTAMP_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object timestamp_ = ""; /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 11; * @return The timestamp. */ @java.lang.Override public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timestamp_ = s; return s; } } /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 11; * @return The bytes for timestamp. */ @java.lang.Override public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProtoSpec()); } if (scenarioCount_ != 0) { output.writeInt32(2, scenarioCount_); } if (scenarioFailedCount_ != 0) { output.writeInt32(3, scenarioFailedCount_); } if (failed_ != false) { output.writeBool(4, failed_); } if (getFailedDataTableRowsList().size() > 0) { output.writeUInt32NoTag(42); output.writeUInt32NoTag(failedDataTableRowsMemoizedSerializedSize); } for (int i = 0; i < failedDataTableRows_.size(); i++) { output.writeInt32NoTag(failedDataTableRows_.getInt(i)); } if (executionTime_ != 0L) { output.writeInt64(6, executionTime_); } if (skipped_ != false) { output.writeBool(7, skipped_); } if (scenarioSkippedCount_ != 0) { output.writeInt32(8, scenarioSkippedCount_); } if (getSkippedDataTableRowsList().size() > 0) { output.writeUInt32NoTag(74); output.writeUInt32NoTag(skippedDataTableRowsMemoizedSerializedSize); } for (int i = 0; i < skippedDataTableRows_.size(); i++) { output.writeInt32NoTag(skippedDataTableRows_.getInt(i)); } for (int i = 0; i < errors_.size(); i++) { output.writeMessage(10, errors_.get(i)); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timestamp_)) { com.google.protobuf.GeneratedMessage.writeString(output, 11, timestamp_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getProtoSpec()); } if (scenarioCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, scenarioCount_); } if (scenarioFailedCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, scenarioFailedCount_); } if (failed_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, failed_); } { int dataSize = 0; for (int i = 0; i < failedDataTableRows_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(failedDataTableRows_.getInt(i)); } size += dataSize; if (!getFailedDataTableRowsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } failedDataTableRowsMemoizedSerializedSize = dataSize; } if (executionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, executionTime_); } if (skipped_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, skipped_); } if (scenarioSkippedCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, scenarioSkippedCount_); } { int dataSize = 0; for (int i = 0; i < skippedDataTableRows_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(skippedDataTableRows_.getInt(i)); } size += dataSize; if (!getSkippedDataTableRowsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } skippedDataTableRowsMemoizedSerializedSize = dataSize; } for (int i = 0; i < errors_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, errors_.get(i)); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timestamp_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(11, timestamp_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoSpecResult)) { return super.equals(obj); } gauge.messages.Spec.ProtoSpecResult other = (gauge.messages.Spec.ProtoSpecResult) obj; if (hasProtoSpec() != other.hasProtoSpec()) return false; if (hasProtoSpec()) { if (!getProtoSpec() .equals(other.getProtoSpec())) return false; } if (getScenarioCount() != other.getScenarioCount()) return false; if (getScenarioFailedCount() != other.getScenarioFailedCount()) return false; if (getFailed() != other.getFailed()) return false; if (!getFailedDataTableRowsList() .equals(other.getFailedDataTableRowsList())) return false; if (getExecutionTime() != other.getExecutionTime()) return false; if (getSkipped() != other.getSkipped()) return false; if (getScenarioSkippedCount() != other.getScenarioSkippedCount()) return false; if (!getSkippedDataTableRowsList() .equals(other.getSkippedDataTableRowsList())) return false; if (!getErrorsList() .equals(other.getErrorsList())) return false; if (!getTimestamp() .equals(other.getTimestamp())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasProtoSpec()) { hash = (37 * hash) + PROTOSPEC_FIELD_NUMBER; hash = (53 * hash) + getProtoSpec().hashCode(); } hash = (37 * hash) + SCENARIOCOUNT_FIELD_NUMBER; hash = (53 * hash) + getScenarioCount(); hash = (37 * hash) + SCENARIOFAILEDCOUNT_FIELD_NUMBER; hash = (53 * hash) + getScenarioFailedCount(); hash = (37 * hash) + FAILED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFailed()); if (getFailedDataTableRowsCount() > 0) { hash = (37 * hash) + FAILEDDATATABLEROWS_FIELD_NUMBER; hash = (53 * hash) + getFailedDataTableRowsList().hashCode(); } hash = (37 * hash) + EXECUTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExecutionTime()); hash = (37 * hash) + SKIPPED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSkipped()); hash = (37 * hash) + SCENARIOSKIPPEDCOUNT_FIELD_NUMBER; hash = (53 * hash) + getScenarioSkippedCount(); if (getSkippedDataTableRowsCount() > 0) { hash = (37 * hash) + SKIPPEDDATATABLEROWS_FIELD_NUMBER; hash = (53 * hash) + getSkippedDataTableRowsList().hashCode(); } if (getErrorsCount() > 0) { hash = (37 * hash) + ERRORS_FIELD_NUMBER; hash = (53 * hash) + getErrorsList().hashCode(); } hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getTimestamp().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoSpecResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoSpecResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoSpecResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoSpecResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoSpecResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoSpecResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoSpecResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoSpecResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoSpecResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoSpecResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoSpecResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoSpecResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoSpecResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing the result of Spec execution.
     * 
* * Protobuf type {@code gauge.messages.ProtoSpecResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoSpecResult) gauge.messages.Spec.ProtoSpecResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpecResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpecResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoSpecResult.class, gauge.messages.Spec.ProtoSpecResult.Builder.class); } // Construct using gauge.messages.Spec.ProtoSpecResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getProtoSpecFieldBuilder(); getErrorsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; protoSpec_ = null; if (protoSpecBuilder_ != null) { protoSpecBuilder_.dispose(); protoSpecBuilder_ = null; } scenarioCount_ = 0; scenarioFailedCount_ = 0; failed_ = false; failedDataTableRows_ = emptyIntList(); executionTime_ = 0L; skipped_ = false; scenarioSkippedCount_ = 0; skippedDataTableRows_ = emptyIntList(); if (errorsBuilder_ == null) { errors_ = java.util.Collections.emptyList(); } else { errors_ = null; errorsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); timestamp_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoSpecResult_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoSpecResult getDefaultInstanceForType() { return gauge.messages.Spec.ProtoSpecResult.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoSpecResult build() { gauge.messages.Spec.ProtoSpecResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoSpecResult buildPartial() { gauge.messages.Spec.ProtoSpecResult result = new gauge.messages.Spec.ProtoSpecResult(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(gauge.messages.Spec.ProtoSpecResult result) { if (errorsBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0)) { errors_ = java.util.Collections.unmodifiableList(errors_); bitField0_ = (bitField0_ & ~0x00000200); } result.errors_ = errors_; } else { result.errors_ = errorsBuilder_.build(); } } private void buildPartial0(gauge.messages.Spec.ProtoSpecResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.protoSpec_ = protoSpecBuilder_ == null ? protoSpec_ : protoSpecBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.scenarioCount_ = scenarioCount_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.scenarioFailedCount_ = scenarioFailedCount_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.failed_ = failed_; } if (((from_bitField0_ & 0x00000010) != 0)) { failedDataTableRows_.makeImmutable(); result.failedDataTableRows_ = failedDataTableRows_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.executionTime_ = executionTime_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.skipped_ = skipped_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.scenarioSkippedCount_ = scenarioSkippedCount_; } if (((from_bitField0_ & 0x00000100) != 0)) { skippedDataTableRows_.makeImmutable(); result.skippedDataTableRows_ = skippedDataTableRows_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.timestamp_ = timestamp_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoSpecResult) { return mergeFrom((gauge.messages.Spec.ProtoSpecResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoSpecResult other) { if (other == gauge.messages.Spec.ProtoSpecResult.getDefaultInstance()) return this; if (other.hasProtoSpec()) { mergeProtoSpec(other.getProtoSpec()); } if (other.getScenarioCount() != 0) { setScenarioCount(other.getScenarioCount()); } if (other.getScenarioFailedCount() != 0) { setScenarioFailedCount(other.getScenarioFailedCount()); } if (other.getFailed() != false) { setFailed(other.getFailed()); } if (!other.failedDataTableRows_.isEmpty()) { if (failedDataTableRows_.isEmpty()) { failedDataTableRows_ = other.failedDataTableRows_; failedDataTableRows_.makeImmutable(); bitField0_ |= 0x00000010; } else { ensureFailedDataTableRowsIsMutable(); failedDataTableRows_.addAll(other.failedDataTableRows_); } onChanged(); } if (other.getExecutionTime() != 0L) { setExecutionTime(other.getExecutionTime()); } if (other.getSkipped() != false) { setSkipped(other.getSkipped()); } if (other.getScenarioSkippedCount() != 0) { setScenarioSkippedCount(other.getScenarioSkippedCount()); } if (!other.skippedDataTableRows_.isEmpty()) { if (skippedDataTableRows_.isEmpty()) { skippedDataTableRows_ = other.skippedDataTableRows_; skippedDataTableRows_.makeImmutable(); bitField0_ |= 0x00000100; } else { ensureSkippedDataTableRowsIsMutable(); skippedDataTableRows_.addAll(other.skippedDataTableRows_); } onChanged(); } if (errorsBuilder_ == null) { if (!other.errors_.isEmpty()) { if (errors_.isEmpty()) { errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureErrorsIsMutable(); errors_.addAll(other.errors_); } onChanged(); } } else { if (!other.errors_.isEmpty()) { if (errorsBuilder_.isEmpty()) { errorsBuilder_.dispose(); errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000200); errorsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } } } if (!other.getTimestamp().isEmpty()) { timestamp_ = other.timestamp_; bitField0_ |= 0x00000400; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getProtoSpecFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { scenarioCount_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { scenarioFailedCount_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { failed_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { int v = input.readInt32(); ensureFailedDataTableRowsIsMutable(); failedDataTableRows_.addInt(v); break; } // case 40 case 42: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureFailedDataTableRowsIsMutable(); while (input.getBytesUntilLimit() > 0) { failedDataTableRows_.addInt(input.readInt32()); } input.popLimit(limit); break; } // case 42 case 48: { executionTime_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { skipped_ = input.readBool(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { scenarioSkippedCount_ = input.readInt32(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { int v = input.readInt32(); ensureSkippedDataTableRowsIsMutable(); skippedDataTableRows_.addInt(v); break; } // case 72 case 74: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureSkippedDataTableRowsIsMutable(); while (input.getBytesUntilLimit() > 0) { skippedDataTableRows_.addInt(input.readInt32()); } input.popLimit(limit); break; } // case 74 case 82: { gauge.messages.Spec.Error m = input.readMessage( gauge.messages.Spec.Error.parser(), extensionRegistry); if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(m); } else { errorsBuilder_.addMessage(m); } break; } // case 82 case 90: { timestamp_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 90 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private gauge.messages.Spec.ProtoSpec protoSpec_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoSpec, gauge.messages.Spec.ProtoSpec.Builder, gauge.messages.Spec.ProtoSpecOrBuilder> protoSpecBuilder_; /** *
       * / Represents the corresponding Specification
       * 
* * .gauge.messages.ProtoSpec protoSpec = 1; * @return Whether the protoSpec field is set. */ public boolean hasProtoSpec() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * / Represents the corresponding Specification
       * 
* * .gauge.messages.ProtoSpec protoSpec = 1; * @return The protoSpec. */ public gauge.messages.Spec.ProtoSpec getProtoSpec() { if (protoSpecBuilder_ == null) { return protoSpec_ == null ? gauge.messages.Spec.ProtoSpec.getDefaultInstance() : protoSpec_; } else { return protoSpecBuilder_.getMessage(); } } /** *
       * / Represents the corresponding Specification
       * 
* * .gauge.messages.ProtoSpec protoSpec = 1; */ public Builder setProtoSpec(gauge.messages.Spec.ProtoSpec value) { if (protoSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } protoSpec_ = value; } else { protoSpecBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Represents the corresponding Specification
       * 
* * .gauge.messages.ProtoSpec protoSpec = 1; */ public Builder setProtoSpec( gauge.messages.Spec.ProtoSpec.Builder builderForValue) { if (protoSpecBuilder_ == null) { protoSpec_ = builderForValue.build(); } else { protoSpecBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Represents the corresponding Specification
       * 
* * .gauge.messages.ProtoSpec protoSpec = 1; */ public Builder mergeProtoSpec(gauge.messages.Spec.ProtoSpec value) { if (protoSpecBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && protoSpec_ != null && protoSpec_ != gauge.messages.Spec.ProtoSpec.getDefaultInstance()) { getProtoSpecBuilder().mergeFrom(value); } else { protoSpec_ = value; } } else { protoSpecBuilder_.mergeFrom(value); } if (protoSpec_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * / Represents the corresponding Specification
       * 
* * .gauge.messages.ProtoSpec protoSpec = 1; */ public Builder clearProtoSpec() { bitField0_ = (bitField0_ & ~0x00000001); protoSpec_ = null; if (protoSpecBuilder_ != null) { protoSpecBuilder_.dispose(); protoSpecBuilder_ = null; } onChanged(); return this; } /** *
       * / Represents the corresponding Specification
       * 
* * .gauge.messages.ProtoSpec protoSpec = 1; */ public gauge.messages.Spec.ProtoSpec.Builder getProtoSpecBuilder() { bitField0_ |= 0x00000001; onChanged(); return getProtoSpecFieldBuilder().getBuilder(); } /** *
       * / Represents the corresponding Specification
       * 
* * .gauge.messages.ProtoSpec protoSpec = 1; */ public gauge.messages.Spec.ProtoSpecOrBuilder getProtoSpecOrBuilder() { if (protoSpecBuilder_ != null) { return protoSpecBuilder_.getMessageOrBuilder(); } else { return protoSpec_ == null ? gauge.messages.Spec.ProtoSpec.getDefaultInstance() : protoSpec_; } } /** *
       * / Represents the corresponding Specification
       * 
* * .gauge.messages.ProtoSpec protoSpec = 1; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoSpec, gauge.messages.Spec.ProtoSpec.Builder, gauge.messages.Spec.ProtoSpecOrBuilder> getProtoSpecFieldBuilder() { if (protoSpecBuilder_ == null) { protoSpecBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoSpec, gauge.messages.Spec.ProtoSpec.Builder, gauge.messages.Spec.ProtoSpecOrBuilder>( getProtoSpec(), getParentForChildren(), isClean()); protoSpec_ = null; } return protoSpecBuilder_; } private int scenarioCount_ ; /** *
       * / Holds the number of Scenarios executed
       * 
* * int32 scenarioCount = 2; * @return The scenarioCount. */ @java.lang.Override public int getScenarioCount() { return scenarioCount_; } /** *
       * / Holds the number of Scenarios executed
       * 
* * int32 scenarioCount = 2; * @param value The scenarioCount to set. * @return This builder for chaining. */ public Builder setScenarioCount(int value) { scenarioCount_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Holds the number of Scenarios executed
       * 
* * int32 scenarioCount = 2; * @return This builder for chaining. */ public Builder clearScenarioCount() { bitField0_ = (bitField0_ & ~0x00000002); scenarioCount_ = 0; onChanged(); return this; } private int scenarioFailedCount_ ; /** *
       * / Holds the number of Scenarios failed
       * 
* * int32 scenarioFailedCount = 3; * @return The scenarioFailedCount. */ @java.lang.Override public int getScenarioFailedCount() { return scenarioFailedCount_; } /** *
       * / Holds the number of Scenarios failed
       * 
* * int32 scenarioFailedCount = 3; * @param value The scenarioFailedCount to set. * @return This builder for chaining. */ public Builder setScenarioFailedCount(int value) { scenarioFailedCount_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Holds the number of Scenarios failed
       * 
* * int32 scenarioFailedCount = 3; * @return This builder for chaining. */ public Builder clearScenarioFailedCount() { bitField0_ = (bitField0_ & ~0x00000004); scenarioFailedCount_ = 0; onChanged(); return this; } private boolean failed_ ; /** *
       * / Flag to indicate failure
       * 
* * bool failed = 4; * @return The failed. */ @java.lang.Override public boolean getFailed() { return failed_; } /** *
       * / Flag to indicate failure
       * 
* * bool failed = 4; * @param value The failed to set. * @return This builder for chaining. */ public Builder setFailed(boolean value) { failed_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Flag to indicate failure
       * 
* * bool failed = 4; * @return This builder for chaining. */ public Builder clearFailed() { bitField0_ = (bitField0_ & ~0x00000008); failed_ = false; onChanged(); return this; } private com.google.protobuf.Internal.IntList failedDataTableRows_ = emptyIntList(); private void ensureFailedDataTableRowsIsMutable() { if (!failedDataTableRows_.isModifiable()) { failedDataTableRows_ = makeMutableCopy(failedDataTableRows_); } bitField0_ |= 0x00000010; } /** *
       * / Holds the row numbers, which caused the execution to fail.
       * 
* * repeated int32 failedDataTableRows = 5; * @return A list containing the failedDataTableRows. */ public java.util.List getFailedDataTableRowsList() { failedDataTableRows_.makeImmutable(); return failedDataTableRows_; } /** *
       * / Holds the row numbers, which caused the execution to fail.
       * 
* * repeated int32 failedDataTableRows = 5; * @return The count of failedDataTableRows. */ public int getFailedDataTableRowsCount() { return failedDataTableRows_.size(); } /** *
       * / Holds the row numbers, which caused the execution to fail.
       * 
* * repeated int32 failedDataTableRows = 5; * @param index The index of the element to return. * @return The failedDataTableRows at the given index. */ public int getFailedDataTableRows(int index) { return failedDataTableRows_.getInt(index); } /** *
       * / Holds the row numbers, which caused the execution to fail.
       * 
* * repeated int32 failedDataTableRows = 5; * @param index The index to set the value at. * @param value The failedDataTableRows to set. * @return This builder for chaining. */ public Builder setFailedDataTableRows( int index, int value) { ensureFailedDataTableRowsIsMutable(); failedDataTableRows_.setInt(index, value); bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Holds the row numbers, which caused the execution to fail.
       * 
* * repeated int32 failedDataTableRows = 5; * @param value The failedDataTableRows to add. * @return This builder for chaining. */ public Builder addFailedDataTableRows(int value) { ensureFailedDataTableRowsIsMutable(); failedDataTableRows_.addInt(value); bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Holds the row numbers, which caused the execution to fail.
       * 
* * repeated int32 failedDataTableRows = 5; * @param values The failedDataTableRows to add. * @return This builder for chaining. */ public Builder addAllFailedDataTableRows( java.lang.Iterable values) { ensureFailedDataTableRowsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, failedDataTableRows_); bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * / Holds the row numbers, which caused the execution to fail.
       * 
* * repeated int32 failedDataTableRows = 5; * @return This builder for chaining. */ public Builder clearFailedDataTableRows() { failedDataTableRows_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } private long executionTime_ ; /** *
       * / Holds the time taken for executing the spec.
       * 
* * int64 executionTime = 6; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } /** *
       * / Holds the time taken for executing the spec.
       * 
* * int64 executionTime = 6; * @param value The executionTime to set. * @return This builder for chaining. */ public Builder setExecutionTime(long value) { executionTime_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
       * / Holds the time taken for executing the spec.
       * 
* * int64 executionTime = 6; * @return This builder for chaining. */ public Builder clearExecutionTime() { bitField0_ = (bitField0_ & ~0x00000020); executionTime_ = 0L; onChanged(); return this; } private boolean skipped_ ; /** *
       * / Flag to indicate if spec is skipped
       * 
* * bool skipped = 7; * @return The skipped. */ @java.lang.Override public boolean getSkipped() { return skipped_; } /** *
       * / Flag to indicate if spec is skipped
       * 
* * bool skipped = 7; * @param value The skipped to set. * @return This builder for chaining. */ public Builder setSkipped(boolean value) { skipped_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * / Flag to indicate if spec is skipped
       * 
* * bool skipped = 7; * @return This builder for chaining. */ public Builder clearSkipped() { bitField0_ = (bitField0_ & ~0x00000040); skipped_ = false; onChanged(); return this; } private int scenarioSkippedCount_ ; /** *
       * / Holds the number of Scenarios skipped
       * 
* * int32 scenarioSkippedCount = 8; * @return The scenarioSkippedCount. */ @java.lang.Override public int getScenarioSkippedCount() { return scenarioSkippedCount_; } /** *
       * / Holds the number of Scenarios skipped
       * 
* * int32 scenarioSkippedCount = 8; * @param value The scenarioSkippedCount to set. * @return This builder for chaining. */ public Builder setScenarioSkippedCount(int value) { scenarioSkippedCount_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
       * / Holds the number of Scenarios skipped
       * 
* * int32 scenarioSkippedCount = 8; * @return This builder for chaining. */ public Builder clearScenarioSkippedCount() { bitField0_ = (bitField0_ & ~0x00000080); scenarioSkippedCount_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList skippedDataTableRows_ = emptyIntList(); private void ensureSkippedDataTableRowsIsMutable() { if (!skippedDataTableRows_.isModifiable()) { skippedDataTableRows_ = makeMutableCopy(skippedDataTableRows_); } bitField0_ |= 0x00000100; } /** *
       * / Holds the row numbers, for which the execution skipped.
       * 
* * repeated int32 skippedDataTableRows = 9; * @return A list containing the skippedDataTableRows. */ public java.util.List getSkippedDataTableRowsList() { skippedDataTableRows_.makeImmutable(); return skippedDataTableRows_; } /** *
       * / Holds the row numbers, for which the execution skipped.
       * 
* * repeated int32 skippedDataTableRows = 9; * @return The count of skippedDataTableRows. */ public int getSkippedDataTableRowsCount() { return skippedDataTableRows_.size(); } /** *
       * / Holds the row numbers, for which the execution skipped.
       * 
* * repeated int32 skippedDataTableRows = 9; * @param index The index of the element to return. * @return The skippedDataTableRows at the given index. */ public int getSkippedDataTableRows(int index) { return skippedDataTableRows_.getInt(index); } /** *
       * / Holds the row numbers, for which the execution skipped.
       * 
* * repeated int32 skippedDataTableRows = 9; * @param index The index to set the value at. * @param value The skippedDataTableRows to set. * @return This builder for chaining. */ public Builder setSkippedDataTableRows( int index, int value) { ensureSkippedDataTableRowsIsMutable(); skippedDataTableRows_.setInt(index, value); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Holds the row numbers, for which the execution skipped.
       * 
* * repeated int32 skippedDataTableRows = 9; * @param value The skippedDataTableRows to add. * @return This builder for chaining. */ public Builder addSkippedDataTableRows(int value) { ensureSkippedDataTableRowsIsMutable(); skippedDataTableRows_.addInt(value); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Holds the row numbers, for which the execution skipped.
       * 
* * repeated int32 skippedDataTableRows = 9; * @param values The skippedDataTableRows to add. * @return This builder for chaining. */ public Builder addAllSkippedDataTableRows( java.lang.Iterable values) { ensureSkippedDataTableRowsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, skippedDataTableRows_); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * / Holds the row numbers, for which the execution skipped.
       * 
* * repeated int32 skippedDataTableRows = 9; * @return This builder for chaining. */ public Builder clearSkippedDataTableRows() { skippedDataTableRows_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } private java.util.List errors_ = java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000200) != 0)) { errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000200; } } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.Error, gauge.messages.Spec.Error.Builder, gauge.messages.Spec.ErrorOrBuilder> errorsBuilder_; /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { return errorsBuilder_.getMessageList(); } } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public int getErrorsCount() { if (errorsBuilder_ == null) { return errors_.size(); } else { return errorsBuilder_.getCount(); } } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public gauge.messages.Spec.Error getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { return errorsBuilder_.getMessage(index); } } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public Builder setErrors( int index, gauge.messages.Spec.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorsIsMutable(); errors_.set(index, value); onChanged(); } else { errorsBuilder_.setMessage(index, value); } return this; } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public Builder setErrors( int index, gauge.messages.Spec.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); onChanged(); } else { errorsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public Builder addErrors(gauge.messages.Spec.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorsIsMutable(); errors_.add(value); onChanged(); } else { errorsBuilder_.addMessage(value); } return this; } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public Builder addErrors( int index, gauge.messages.Spec.Error value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureErrorsIsMutable(); errors_.add(index, value); onChanged(); } else { errorsBuilder_.addMessage(index, value); } return this; } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public Builder addErrors( gauge.messages.Spec.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); onChanged(); } else { errorsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public Builder addErrors( int index, gauge.messages.Spec.Error.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); onChanged(); } else { errorsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public Builder addAllErrors( java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); } return this; } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public Builder clearErrors() { if (errorsBuilder_ == null) { errors_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { errorsBuilder_.clear(); } return this; } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.remove(index); onChanged(); } else { errorsBuilder_.remove(index); } return this; } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public gauge.messages.Spec.Error.Builder getErrorsBuilder( int index) { return getErrorsFieldBuilder().getBuilder(index); } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public gauge.messages.Spec.ErrorOrBuilder getErrorsOrBuilder( int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public java.util.List getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(errors_); } } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public gauge.messages.Spec.Error.Builder addErrorsBuilder() { return getErrorsFieldBuilder().addBuilder( gauge.messages.Spec.Error.getDefaultInstance()); } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public gauge.messages.Spec.Error.Builder addErrorsBuilder( int index) { return getErrorsFieldBuilder().addBuilder( index, gauge.messages.Spec.Error.getDefaultInstance()); } /** *
       * / Holds parse, validation and skipped errors.
       * 
* * repeated .gauge.messages.Error errors = 10; */ public java.util.List getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.Error, gauge.messages.Spec.Error.Builder, gauge.messages.Spec.ErrorOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< gauge.messages.Spec.Error, gauge.messages.Spec.Error.Builder, gauge.messages.Spec.ErrorOrBuilder>( errors_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } private java.lang.Object timestamp_ = ""; /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 11; * @return The timestamp. */ public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timestamp_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 11; * @return The bytes for timestamp. */ public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 11; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timestamp_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 11; * @return This builder for chaining. */ public Builder clearTimestamp() { timestamp_ = getDefaultInstance().getTimestamp(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 11; * @param value The bytes for timestamp to set. * @return This builder for chaining. */ public Builder setTimestampBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timestamp_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoSpecResult) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoSpecResult) private static final gauge.messages.Spec.ProtoSpecResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoSpecResult(); } public static gauge.messages.Spec.ProtoSpecResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoSpecResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoSpecResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoScenarioResultOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoScenarioResult) com.google.protobuf.MessageOrBuilder { /** *
     * / Collection of scenarios in scenario execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return Whether the protoItem field is set. */ boolean hasProtoItem(); /** *
     * / Collection of scenarios in scenario execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return The protoItem. */ gauge.messages.Spec.ProtoItem getProtoItem(); /** *
     * / Collection of scenarios in scenario execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; */ gauge.messages.Spec.ProtoItemOrBuilder getProtoItemOrBuilder(); /** *
     * / Holds the time taken for executing the whole suite.
     * 
* * int64 executionTime = 2; * @return The executionTime. */ long getExecutionTime(); /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 3; * @return The timestamp. */ java.lang.String getTimestamp(); /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 3; * @return The bytes for timestamp. */ com.google.protobuf.ByteString getTimestampBytes(); } /** *
   * / A proto object representing the result of Scenario execution.
   * 
* * Protobuf type {@code gauge.messages.ProtoScenarioResult} */ public static final class ProtoScenarioResult extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoScenarioResult) ProtoScenarioResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoScenarioResult.class.getName()); } // Use ProtoScenarioResult.newBuilder() to construct. private ProtoScenarioResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoScenarioResult() { timestamp_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenarioResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenarioResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoScenarioResult.class, gauge.messages.Spec.ProtoScenarioResult.Builder.class); } private int bitField0_; public static final int PROTOITEM_FIELD_NUMBER = 1; private gauge.messages.Spec.ProtoItem protoItem_; /** *
     * / Collection of scenarios in scenario execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return Whether the protoItem field is set. */ @java.lang.Override public boolean hasProtoItem() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Collection of scenarios in scenario execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return The protoItem. */ @java.lang.Override public gauge.messages.Spec.ProtoItem getProtoItem() { return protoItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : protoItem_; } /** *
     * / Collection of scenarios in scenario execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; */ @java.lang.Override public gauge.messages.Spec.ProtoItemOrBuilder getProtoItemOrBuilder() { return protoItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : protoItem_; } public static final int EXECUTIONTIME_FIELD_NUMBER = 2; private long executionTime_ = 0L; /** *
     * / Holds the time taken for executing the whole suite.
     * 
* * int64 executionTime = 2; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } public static final int TIMESTAMP_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object timestamp_ = ""; /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 3; * @return The timestamp. */ @java.lang.Override public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timestamp_ = s; return s; } } /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 3; * @return The bytes for timestamp. */ @java.lang.Override public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProtoItem()); } if (executionTime_ != 0L) { output.writeInt64(2, executionTime_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timestamp_)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, timestamp_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getProtoItem()); } if (executionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, executionTime_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timestamp_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, timestamp_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoScenarioResult)) { return super.equals(obj); } gauge.messages.Spec.ProtoScenarioResult other = (gauge.messages.Spec.ProtoScenarioResult) obj; if (hasProtoItem() != other.hasProtoItem()) return false; if (hasProtoItem()) { if (!getProtoItem() .equals(other.getProtoItem())) return false; } if (getExecutionTime() != other.getExecutionTime()) return false; if (!getTimestamp() .equals(other.getTimestamp())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasProtoItem()) { hash = (37 * hash) + PROTOITEM_FIELD_NUMBER; hash = (53 * hash) + getProtoItem().hashCode(); } hash = (37 * hash) + EXECUTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExecutionTime()); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getTimestamp().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoScenarioResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoScenarioResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoScenarioResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoScenarioResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoScenarioResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoScenarioResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoScenarioResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoScenarioResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoScenarioResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoScenarioResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoScenarioResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoScenarioResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoScenarioResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing the result of Scenario execution.
     * 
* * Protobuf type {@code gauge.messages.ProtoScenarioResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoScenarioResult) gauge.messages.Spec.ProtoScenarioResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenarioResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenarioResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoScenarioResult.class, gauge.messages.Spec.ProtoScenarioResult.Builder.class); } // Construct using gauge.messages.Spec.ProtoScenarioResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getProtoItemFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; protoItem_ = null; if (protoItemBuilder_ != null) { protoItemBuilder_.dispose(); protoItemBuilder_ = null; } executionTime_ = 0L; timestamp_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoScenarioResult_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoScenarioResult getDefaultInstanceForType() { return gauge.messages.Spec.ProtoScenarioResult.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoScenarioResult build() { gauge.messages.Spec.ProtoScenarioResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoScenarioResult buildPartial() { gauge.messages.Spec.ProtoScenarioResult result = new gauge.messages.Spec.ProtoScenarioResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoScenarioResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.protoItem_ = protoItemBuilder_ == null ? protoItem_ : protoItemBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.executionTime_ = executionTime_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.timestamp_ = timestamp_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoScenarioResult) { return mergeFrom((gauge.messages.Spec.ProtoScenarioResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoScenarioResult other) { if (other == gauge.messages.Spec.ProtoScenarioResult.getDefaultInstance()) return this; if (other.hasProtoItem()) { mergeProtoItem(other.getProtoItem()); } if (other.getExecutionTime() != 0L) { setExecutionTime(other.getExecutionTime()); } if (!other.getTimestamp().isEmpty()) { timestamp_ = other.timestamp_; bitField0_ |= 0x00000004; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getProtoItemFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { executionTime_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { timestamp_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private gauge.messages.Spec.ProtoItem protoItem_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> protoItemBuilder_; /** *
       * / Collection of scenarios in scenario execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return Whether the protoItem field is set. */ public boolean hasProtoItem() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * / Collection of scenarios in scenario execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return The protoItem. */ public gauge.messages.Spec.ProtoItem getProtoItem() { if (protoItemBuilder_ == null) { return protoItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : protoItem_; } else { return protoItemBuilder_.getMessage(); } } /** *
       * / Collection of scenarios in scenario execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public Builder setProtoItem(gauge.messages.Spec.ProtoItem value) { if (protoItemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } protoItem_ = value; } else { protoItemBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Collection of scenarios in scenario execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public Builder setProtoItem( gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (protoItemBuilder_ == null) { protoItem_ = builderForValue.build(); } else { protoItemBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Collection of scenarios in scenario execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public Builder mergeProtoItem(gauge.messages.Spec.ProtoItem value) { if (protoItemBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && protoItem_ != null && protoItem_ != gauge.messages.Spec.ProtoItem.getDefaultInstance()) { getProtoItemBuilder().mergeFrom(value); } else { protoItem_ = value; } } else { protoItemBuilder_.mergeFrom(value); } if (protoItem_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * / Collection of scenarios in scenario execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public Builder clearProtoItem() { bitField0_ = (bitField0_ & ~0x00000001); protoItem_ = null; if (protoItemBuilder_ != null) { protoItemBuilder_.dispose(); protoItemBuilder_ = null; } onChanged(); return this; } /** *
       * / Collection of scenarios in scenario execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public gauge.messages.Spec.ProtoItem.Builder getProtoItemBuilder() { bitField0_ |= 0x00000001; onChanged(); return getProtoItemFieldBuilder().getBuilder(); } /** *
       * / Collection of scenarios in scenario execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public gauge.messages.Spec.ProtoItemOrBuilder getProtoItemOrBuilder() { if (protoItemBuilder_ != null) { return protoItemBuilder_.getMessageOrBuilder(); } else { return protoItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : protoItem_; } } /** *
       * / Collection of scenarios in scenario execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> getProtoItemFieldBuilder() { if (protoItemBuilder_ == null) { protoItemBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>( getProtoItem(), getParentForChildren(), isClean()); protoItem_ = null; } return protoItemBuilder_; } private long executionTime_ ; /** *
       * / Holds the time taken for executing the whole suite.
       * 
* * int64 executionTime = 2; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } /** *
       * / Holds the time taken for executing the whole suite.
       * 
* * int64 executionTime = 2; * @param value The executionTime to set. * @return This builder for chaining. */ public Builder setExecutionTime(long value) { executionTime_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Holds the time taken for executing the whole suite.
       * 
* * int64 executionTime = 2; * @return This builder for chaining. */ public Builder clearExecutionTime() { bitField0_ = (bitField0_ & ~0x00000002); executionTime_ = 0L; onChanged(); return this; } private java.lang.Object timestamp_ = ""; /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @return The timestamp. */ public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timestamp_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @return The bytes for timestamp. */ public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timestamp_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @return This builder for chaining. */ public Builder clearTimestamp() { timestamp_ = getDefaultInstance().getTimestamp(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @param value The bytes for timestamp to set. * @return This builder for chaining. */ public Builder setTimestampBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timestamp_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoScenarioResult) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoScenarioResult) private static final gauge.messages.Spec.ProtoScenarioResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoScenarioResult(); } public static gauge.messages.Spec.ProtoScenarioResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoScenarioResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoScenarioResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoStepResultOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoStepResult) com.google.protobuf.MessageOrBuilder { /** *
     * / Collection of steps in step execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return Whether the protoItem field is set. */ boolean hasProtoItem(); /** *
     * / Collection of steps in step execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return The protoItem. */ gauge.messages.Spec.ProtoItem getProtoItem(); /** *
     * / Collection of steps in step execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; */ gauge.messages.Spec.ProtoItemOrBuilder getProtoItemOrBuilder(); /** *
     * / Holds the time taken for executing the whole suite.
     * 
* * int64 executionTime = 2; * @return The executionTime. */ long getExecutionTime(); /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 3; * @return The timestamp. */ java.lang.String getTimestamp(); /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 3; * @return The bytes for timestamp. */ com.google.protobuf.ByteString getTimestampBytes(); } /** *
   * / A proto object representing the result of Step execution.
   * 
* * Protobuf type {@code gauge.messages.ProtoStepResult} */ public static final class ProtoStepResult extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoStepResult) ProtoStepResultOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoStepResult.class.getName()); } // Use ProtoStepResult.newBuilder() to construct. private ProtoStepResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoStepResult() { timestamp_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoStepResult.class, gauge.messages.Spec.ProtoStepResult.Builder.class); } private int bitField0_; public static final int PROTOITEM_FIELD_NUMBER = 1; private gauge.messages.Spec.ProtoItem protoItem_; /** *
     * / Collection of steps in step execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return Whether the protoItem field is set. */ @java.lang.Override public boolean hasProtoItem() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * / Collection of steps in step execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return The protoItem. */ @java.lang.Override public gauge.messages.Spec.ProtoItem getProtoItem() { return protoItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : protoItem_; } /** *
     * / Collection of steps in step execution result.
     * 
* * .gauge.messages.ProtoItem protoItem = 1; */ @java.lang.Override public gauge.messages.Spec.ProtoItemOrBuilder getProtoItemOrBuilder() { return protoItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : protoItem_; } public static final int EXECUTIONTIME_FIELD_NUMBER = 2; private long executionTime_ = 0L; /** *
     * / Holds the time taken for executing the whole suite.
     * 
* * int64 executionTime = 2; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } public static final int TIMESTAMP_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object timestamp_ = ""; /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 3; * @return The timestamp. */ @java.lang.Override public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timestamp_ = s; return s; } } /** *
     * / Holds the timestamp of event starting.
     * 
* * string timestamp = 3; * @return The bytes for timestamp. */ @java.lang.Override public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProtoItem()); } if (executionTime_ != 0L) { output.writeInt64(2, executionTime_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timestamp_)) { com.google.protobuf.GeneratedMessage.writeString(output, 3, timestamp_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getProtoItem()); } if (executionTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, executionTime_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(timestamp_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(3, timestamp_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoStepResult)) { return super.equals(obj); } gauge.messages.Spec.ProtoStepResult other = (gauge.messages.Spec.ProtoStepResult) obj; if (hasProtoItem() != other.hasProtoItem()) return false; if (hasProtoItem()) { if (!getProtoItem() .equals(other.getProtoItem())) return false; } if (getExecutionTime() != other.getExecutionTime()) return false; if (!getTimestamp() .equals(other.getTimestamp())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasProtoItem()) { hash = (37 * hash) + PROTOITEM_FIELD_NUMBER; hash = (53 * hash) + getProtoItem().hashCode(); } hash = (37 * hash) + EXECUTIONTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getExecutionTime()); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getTimestamp().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoStepResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStepResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStepResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStepResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStepResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStepResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStepResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStepResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoStepResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStepResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoStepResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStepResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoStepResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing the result of Step execution.
     * 
* * Protobuf type {@code gauge.messages.ProtoStepResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoStepResult) gauge.messages.Spec.ProtoStepResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepResult_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoStepResult.class, gauge.messages.Spec.ProtoStepResult.Builder.class); } // Construct using gauge.messages.Spec.ProtoStepResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage .alwaysUseFieldBuilders) { getProtoItemFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; protoItem_ = null; if (protoItemBuilder_ != null) { protoItemBuilder_.dispose(); protoItemBuilder_ = null; } executionTime_ = 0L; timestamp_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepResult_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoStepResult getDefaultInstanceForType() { return gauge.messages.Spec.ProtoStepResult.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoStepResult build() { gauge.messages.Spec.ProtoStepResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoStepResult buildPartial() { gauge.messages.Spec.ProtoStepResult result = new gauge.messages.Spec.ProtoStepResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoStepResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.protoItem_ = protoItemBuilder_ == null ? protoItem_ : protoItemBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.executionTime_ = executionTime_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.timestamp_ = timestamp_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoStepResult) { return mergeFrom((gauge.messages.Spec.ProtoStepResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoStepResult other) { if (other == gauge.messages.Spec.ProtoStepResult.getDefaultInstance()) return this; if (other.hasProtoItem()) { mergeProtoItem(other.getProtoItem()); } if (other.getExecutionTime() != 0L) { setExecutionTime(other.getExecutionTime()); } if (!other.getTimestamp().isEmpty()) { timestamp_ = other.timestamp_; bitField0_ |= 0x00000004; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getProtoItemFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { executionTime_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { timestamp_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private gauge.messages.Spec.ProtoItem protoItem_; private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> protoItemBuilder_; /** *
       * / Collection of steps in step execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return Whether the protoItem field is set. */ public boolean hasProtoItem() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * / Collection of steps in step execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; * @return The protoItem. */ public gauge.messages.Spec.ProtoItem getProtoItem() { if (protoItemBuilder_ == null) { return protoItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : protoItem_; } else { return protoItemBuilder_.getMessage(); } } /** *
       * / Collection of steps in step execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public Builder setProtoItem(gauge.messages.Spec.ProtoItem value) { if (protoItemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } protoItem_ = value; } else { protoItemBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Collection of steps in step execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public Builder setProtoItem( gauge.messages.Spec.ProtoItem.Builder builderForValue) { if (protoItemBuilder_ == null) { protoItem_ = builderForValue.build(); } else { protoItemBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Collection of steps in step execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public Builder mergeProtoItem(gauge.messages.Spec.ProtoItem value) { if (protoItemBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && protoItem_ != null && protoItem_ != gauge.messages.Spec.ProtoItem.getDefaultInstance()) { getProtoItemBuilder().mergeFrom(value); } else { protoItem_ = value; } } else { protoItemBuilder_.mergeFrom(value); } if (protoItem_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * / Collection of steps in step execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public Builder clearProtoItem() { bitField0_ = (bitField0_ & ~0x00000001); protoItem_ = null; if (protoItemBuilder_ != null) { protoItemBuilder_.dispose(); protoItemBuilder_ = null; } onChanged(); return this; } /** *
       * / Collection of steps in step execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public gauge.messages.Spec.ProtoItem.Builder getProtoItemBuilder() { bitField0_ |= 0x00000001; onChanged(); return getProtoItemFieldBuilder().getBuilder(); } /** *
       * / Collection of steps in step execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ public gauge.messages.Spec.ProtoItemOrBuilder getProtoItemOrBuilder() { if (protoItemBuilder_ != null) { return protoItemBuilder_.getMessageOrBuilder(); } else { return protoItem_ == null ? gauge.messages.Spec.ProtoItem.getDefaultInstance() : protoItem_; } } /** *
       * / Collection of steps in step execution result.
       * 
* * .gauge.messages.ProtoItem protoItem = 1; */ private com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder> getProtoItemFieldBuilder() { if (protoItemBuilder_ == null) { protoItemBuilder_ = new com.google.protobuf.SingleFieldBuilder< gauge.messages.Spec.ProtoItem, gauge.messages.Spec.ProtoItem.Builder, gauge.messages.Spec.ProtoItemOrBuilder>( getProtoItem(), getParentForChildren(), isClean()); protoItem_ = null; } return protoItemBuilder_; } private long executionTime_ ; /** *
       * / Holds the time taken for executing the whole suite.
       * 
* * int64 executionTime = 2; * @return The executionTime. */ @java.lang.Override public long getExecutionTime() { return executionTime_; } /** *
       * / Holds the time taken for executing the whole suite.
       * 
* * int64 executionTime = 2; * @param value The executionTime to set. * @return This builder for chaining. */ public Builder setExecutionTime(long value) { executionTime_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Holds the time taken for executing the whole suite.
       * 
* * int64 executionTime = 2; * @return This builder for chaining. */ public Builder clearExecutionTime() { bitField0_ = (bitField0_ & ~0x00000002); executionTime_ = 0L; onChanged(); return this; } private java.lang.Object timestamp_ = ""; /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @return The timestamp. */ public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timestamp_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @return The bytes for timestamp. */ public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timestamp_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @return This builder for chaining. */ public Builder clearTimestamp() { timestamp_ = getDefaultInstance().getTimestamp(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
       * / Holds the timestamp of event starting.
       * 
* * string timestamp = 3; * @param value The bytes for timestamp to set. * @return This builder for chaining. */ public Builder setTimestampBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timestamp_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoStepResult) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoStepResult) private static final gauge.messages.Spec.ProtoStepResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoStepResult(); } public static gauge.messages.Spec.ProtoStepResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoStepResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoStepResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.Error) com.google.protobuf.MessageOrBuilder { /** *
     * / Holds the type of error
     * 
* * .gauge.messages.Error.ErrorType type = 1; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** *
     * / Holds the type of error
     * 
* * .gauge.messages.Error.ErrorType type = 1; * @return The type. */ gauge.messages.Spec.Error.ErrorType getType(); /** *
     * / Holds the filename.
     * 
* * string filename = 2; * @return The filename. */ java.lang.String getFilename(); /** *
     * / Holds the filename.
     * 
* * string filename = 2; * @return The bytes for filename. */ com.google.protobuf.ByteString getFilenameBytes(); /** *
     * / Holds the line number of the error in file.
     * 
* * int32 lineNumber = 3; * @return The lineNumber. */ int getLineNumber(); /** *
     * / Holds the error message.
     * 
* * string message = 4; * @return The message. */ java.lang.String getMessage(); /** *
     * / Holds the error message.
     * 
* * string message = 4; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** *
   * / A proto object representing an error in spec/Scenario.
   * 
* * Protobuf type {@code gauge.messages.Error} */ public static final class Error extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.Error) ErrorOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", Error.class.getName()); } // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Error() { type_ = 0; filename_ = ""; message_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.Error.class, gauge.messages.Spec.Error.Builder.class); } /** * Protobuf enum {@code gauge.messages.Error.ErrorType} */ public enum ErrorType implements com.google.protobuf.ProtocolMessageEnum { /** * PARSE_ERROR = 0; */ PARSE_ERROR(0), /** * VALIDATION_ERROR = 1; */ VALIDATION_ERROR(1), UNRECOGNIZED(-1), ; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ErrorType.class.getName()); } /** * PARSE_ERROR = 0; */ public static final int PARSE_ERROR_VALUE = 0; /** * VALIDATION_ERROR = 1; */ public static final int VALIDATION_ERROR_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ErrorType valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static ErrorType forNumber(int value) { switch (value) { case 0: return PARSE_ERROR; case 1: return VALIDATION_ERROR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ErrorType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ErrorType findValueByNumber(int number) { return ErrorType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return gauge.messages.Spec.Error.getDescriptor().getEnumTypes().get(0); } private static final ErrorType[] VALUES = values(); public static ErrorType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private ErrorType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:gauge.messages.Error.ErrorType) } public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** *
     * / Holds the type of error
     * 
* * .gauge.messages.Error.ErrorType type = 1; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
     * / Holds the type of error
     * 
* * .gauge.messages.Error.ErrorType type = 1; * @return The type. */ @java.lang.Override public gauge.messages.Spec.Error.ErrorType getType() { gauge.messages.Spec.Error.ErrorType result = gauge.messages.Spec.Error.ErrorType.forNumber(type_); return result == null ? gauge.messages.Spec.Error.ErrorType.UNRECOGNIZED : result; } public static final int FILENAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object filename_ = ""; /** *
     * / Holds the filename.
     * 
* * string filename = 2; * @return The filename. */ @java.lang.Override public java.lang.String getFilename() { java.lang.Object ref = filename_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filename_ = s; return s; } } /** *
     * / Holds the filename.
     * 
* * string filename = 2; * @return The bytes for filename. */ @java.lang.Override public com.google.protobuf.ByteString getFilenameBytes() { java.lang.Object ref = filename_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filename_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LINENUMBER_FIELD_NUMBER = 3; private int lineNumber_ = 0; /** *
     * / Holds the line number of the error in file.
     * 
* * int32 lineNumber = 3; * @return The lineNumber. */ @java.lang.Override public int getLineNumber() { return lineNumber_; } public static final int MESSAGE_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object message_ = ""; /** *
     * / Holds the error message.
     * 
* * string message = 4; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** *
     * / Holds the error message.
     * 
* * string message = 4; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (type_ != gauge.messages.Spec.Error.ErrorType.PARSE_ERROR.getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, filename_); } if (lineNumber_ != 0) { output.writeInt32(3, lineNumber_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessage.writeString(output, 4, message_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (type_ != gauge.messages.Spec.Error.ErrorType.PARSE_ERROR.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filename_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, filename_); } if (lineNumber_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, lineNumber_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(4, message_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.Error)) { return super.equals(obj); } gauge.messages.Spec.Error other = (gauge.messages.Spec.Error) obj; if (type_ != other.type_) return false; if (!getFilename() .equals(other.getFilename())) return false; if (getLineNumber() != other.getLineNumber()) return false; if (!getMessage() .equals(other.getMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + FILENAME_FIELD_NUMBER; hash = (53 * hash) + getFilename().hashCode(); hash = (37 * hash) + LINENUMBER_FIELD_NUMBER; hash = (53 * hash) + getLineNumber(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.Error parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Error parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Error parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.Error parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.Error parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.Error parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.Error parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.Error parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.Error parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing an error in spec/Scenario.
     * 
* * Protobuf type {@code gauge.messages.Error} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.Error) gauge.messages.Spec.ErrorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.Error.class, gauge.messages.Spec.Error.Builder.class); } // Construct using gauge.messages.Spec.Error.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; type_ = 0; filename_ = ""; lineNumber_ = 0; message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_Error_descriptor; } @java.lang.Override public gauge.messages.Spec.Error getDefaultInstanceForType() { return gauge.messages.Spec.Error.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.Error build() { gauge.messages.Spec.Error result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.Error buildPartial() { gauge.messages.Spec.Error result = new gauge.messages.Spec.Error(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.Error result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.type_ = type_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.filename_ = filename_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.lineNumber_ = lineNumber_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.message_ = message_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.Error) { return mergeFrom((gauge.messages.Spec.Error)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.Error other) { if (other == gauge.messages.Spec.Error.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (!other.getFilename().isEmpty()) { filename_ = other.filename_; bitField0_ |= 0x00000002; onChanged(); } if (other.getLineNumber() != 0) { setLineNumber(other.getLineNumber()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; bitField0_ |= 0x00000008; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { type_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 18: { filename_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { lineNumber_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { message_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int type_ = 0; /** *
       * / Holds the type of error
       * 
* * .gauge.messages.Error.ErrorType type = 1; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
       * / Holds the type of error
       * 
* * .gauge.messages.Error.ErrorType type = 1; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / Holds the type of error
       * 
* * .gauge.messages.Error.ErrorType type = 1; * @return The type. */ @java.lang.Override public gauge.messages.Spec.Error.ErrorType getType() { gauge.messages.Spec.Error.ErrorType result = gauge.messages.Spec.Error.ErrorType.forNumber(type_); return result == null ? gauge.messages.Spec.Error.ErrorType.UNRECOGNIZED : result; } /** *
       * / Holds the type of error
       * 
* * .gauge.messages.Error.ErrorType type = 1; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(gauge.messages.Spec.Error.ErrorType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value.getNumber(); onChanged(); return this; } /** *
       * / Holds the type of error
       * 
* * .gauge.messages.Error.ErrorType type = 1; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 0; onChanged(); return this; } private java.lang.Object filename_ = ""; /** *
       * / Holds the filename.
       * 
* * string filename = 2; * @return The filename. */ public java.lang.String getFilename() { java.lang.Object ref = filename_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filename_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the filename.
       * 
* * string filename = 2; * @return The bytes for filename. */ public com.google.protobuf.ByteString getFilenameBytes() { java.lang.Object ref = filename_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filename_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the filename.
       * 
* * string filename = 2; * @param value The filename to set. * @return This builder for chaining. */ public Builder setFilename( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filename_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / Holds the filename.
       * 
* * string filename = 2; * @return This builder for chaining. */ public Builder clearFilename() { filename_ = getDefaultInstance().getFilename(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * / Holds the filename.
       * 
* * string filename = 2; * @param value The bytes for filename to set. * @return This builder for chaining. */ public Builder setFilenameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filename_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private int lineNumber_ ; /** *
       * / Holds the line number of the error in file.
       * 
* * int32 lineNumber = 3; * @return The lineNumber. */ @java.lang.Override public int getLineNumber() { return lineNumber_; } /** *
       * / Holds the line number of the error in file.
       * 
* * int32 lineNumber = 3; * @param value The lineNumber to set. * @return This builder for chaining. */ public Builder setLineNumber(int value) { lineNumber_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / Holds the line number of the error in file.
       * 
* * int32 lineNumber = 3; * @return This builder for chaining. */ public Builder clearLineNumber() { bitField0_ = (bitField0_ & ~0x00000004); lineNumber_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** *
       * / Holds the error message.
       * 
* * string message = 4; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / Holds the error message.
       * 
* * string message = 4; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / Holds the error message.
       * 
* * string message = 4; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * / Holds the error message.
       * 
* * string message = 4; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
       * / Holds the error message.
       * 
* * string message = 4; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.Error) } // @@protoc_insertion_point(class_scope:gauge.messages.Error) private static final gauge.messages.Spec.Error DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.Error(); } public static gauge.messages.Spec.Error getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Error parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProtoStepValueOrBuilder extends // @@protoc_insertion_point(interface_extends:gauge.messages.ProtoStepValue) com.google.protobuf.MessageOrBuilder { /** *
     * / The actual string value describing he Step
     * 
* * string stepValue = 1; * @return The stepValue. */ java.lang.String getStepValue(); /** *
     * / The actual string value describing he Step
     * 
* * string stepValue = 1; * @return The bytes for stepValue. */ com.google.protobuf.ByteString getStepValueBytes(); /** *
     * / The parameterized string value describing he Step. The parameters are replaced with placeholders.
     * 
* * string parameterizedStepValue = 2; * @return The parameterizedStepValue. */ java.lang.String getParameterizedStepValue(); /** *
     * / The parameterized string value describing he Step. The parameters are replaced with placeholders.
     * 
* * string parameterizedStepValue = 2; * @return The bytes for parameterizedStepValue. */ com.google.protobuf.ByteString getParameterizedStepValueBytes(); /** *
     * / A collection of strings representing the parameters.
     * 
* * repeated string parameters = 3; * @return A list containing the parameters. */ java.util.List getParametersList(); /** *
     * / A collection of strings representing the parameters.
     * 
* * repeated string parameters = 3; * @return The count of parameters. */ int getParametersCount(); /** *
     * / A collection of strings representing the parameters.
     * 
* * repeated string parameters = 3; * @param index The index of the element to return. * @return The parameters at the given index. */ java.lang.String getParameters(int index); /** *
     * / A collection of strings representing the parameters.
     * 
* * repeated string parameters = 3; * @param index The index of the value to return. * @return The bytes of the parameters at the given index. */ com.google.protobuf.ByteString getParametersBytes(int index); } /** *
   * / A proto object representing a Step value.
   * 
* * Protobuf type {@code gauge.messages.ProtoStepValue} */ public static final class ProtoStepValue extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:gauge.messages.ProtoStepValue) ProtoStepValueOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 1, /* suffix= */ "", ProtoStepValue.class.getName()); } // Use ProtoStepValue.newBuilder() to construct. private ProtoStepValue(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private ProtoStepValue() { stepValue_ = ""; parameterizedStepValue_ = ""; parameters_ = com.google.protobuf.LazyStringArrayList.emptyList(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepValue_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoStepValue.class, gauge.messages.Spec.ProtoStepValue.Builder.class); } public static final int STEPVALUE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object stepValue_ = ""; /** *
     * / The actual string value describing he Step
     * 
* * string stepValue = 1; * @return The stepValue. */ @java.lang.Override public java.lang.String getStepValue() { java.lang.Object ref = stepValue_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stepValue_ = s; return s; } } /** *
     * / The actual string value describing he Step
     * 
* * string stepValue = 1; * @return The bytes for stepValue. */ @java.lang.Override public com.google.protobuf.ByteString getStepValueBytes() { java.lang.Object ref = stepValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stepValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARAMETERIZEDSTEPVALUE_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object parameterizedStepValue_ = ""; /** *
     * / The parameterized string value describing he Step. The parameters are replaced with placeholders.
     * 
* * string parameterizedStepValue = 2; * @return The parameterizedStepValue. */ @java.lang.Override public java.lang.String getParameterizedStepValue() { java.lang.Object ref = parameterizedStepValue_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterizedStepValue_ = s; return s; } } /** *
     * / The parameterized string value describing he Step. The parameters are replaced with placeholders.
     * 
* * string parameterizedStepValue = 2; * @return The bytes for parameterizedStepValue. */ @java.lang.Override public com.google.protobuf.ByteString getParameterizedStepValueBytes() { java.lang.Object ref = parameterizedStepValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parameterizedStepValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARAMETERS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList parameters_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
     * / A collection of strings representing the parameters.
     * 
* * repeated string parameters = 3; * @return A list containing the parameters. */ public com.google.protobuf.ProtocolStringList getParametersList() { return parameters_; } /** *
     * / A collection of strings representing the parameters.
     * 
* * repeated string parameters = 3; * @return The count of parameters. */ public int getParametersCount() { return parameters_.size(); } /** *
     * / A collection of strings representing the parameters.
     * 
* * repeated string parameters = 3; * @param index The index of the element to return. * @return The parameters at the given index. */ public java.lang.String getParameters(int index) { return parameters_.get(index); } /** *
     * / A collection of strings representing the parameters.
     * 
* * repeated string parameters = 3; * @param index The index of the value to return. * @return The bytes of the parameters at the given index. */ public com.google.protobuf.ByteString getParametersBytes(int index) { return parameters_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stepValue_)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, stepValue_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parameterizedStepValue_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, parameterizedStepValue_); } for (int i = 0; i < parameters_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 3, parameters_.getRaw(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stepValue_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, stepValue_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parameterizedStepValue_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, parameterizedStepValue_); } { int dataSize = 0; for (int i = 0; i < parameters_.size(); i++) { dataSize += computeStringSizeNoTag(parameters_.getRaw(i)); } size += dataSize; size += 1 * getParametersList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof gauge.messages.Spec.ProtoStepValue)) { return super.equals(obj); } gauge.messages.Spec.ProtoStepValue other = (gauge.messages.Spec.ProtoStepValue) obj; if (!getStepValue() .equals(other.getStepValue())) return false; if (!getParameterizedStepValue() .equals(other.getParameterizedStepValue())) return false; if (!getParametersList() .equals(other.getParametersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STEPVALUE_FIELD_NUMBER; hash = (53 * hash) + getStepValue().hashCode(); hash = (37 * hash) + PARAMETERIZEDSTEPVALUE_FIELD_NUMBER; hash = (53 * hash) + getParameterizedStepValue().hashCode(); if (getParametersCount() > 0) { hash = (37 * hash) + PARAMETERS_FIELD_NUMBER; hash = (53 * hash) + getParametersList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static gauge.messages.Spec.ProtoStepValue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStepValue parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStepValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStepValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStepValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static gauge.messages.Spec.ProtoStepValue parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static gauge.messages.Spec.ProtoStepValue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStepValue parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoStepValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStepValue parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static gauge.messages.Spec.ProtoStepValue parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static gauge.messages.Spec.ProtoStepValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(gauge.messages.Spec.ProtoStepValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * / A proto object representing a Step value.
     * 
* * Protobuf type {@code gauge.messages.ProtoStepValue} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:gauge.messages.ProtoStepValue) gauge.messages.Spec.ProtoStepValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepValue_fieldAccessorTable .ensureFieldAccessorsInitialized( gauge.messages.Spec.ProtoStepValue.class, gauge.messages.Spec.ProtoStepValue.Builder.class); } // Construct using gauge.messages.Spec.ProtoStepValue.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; stepValue_ = ""; parameterizedStepValue_ = ""; parameters_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return gauge.messages.Spec.internal_static_gauge_messages_ProtoStepValue_descriptor; } @java.lang.Override public gauge.messages.Spec.ProtoStepValue getDefaultInstanceForType() { return gauge.messages.Spec.ProtoStepValue.getDefaultInstance(); } @java.lang.Override public gauge.messages.Spec.ProtoStepValue build() { gauge.messages.Spec.ProtoStepValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public gauge.messages.Spec.ProtoStepValue buildPartial() { gauge.messages.Spec.ProtoStepValue result = new gauge.messages.Spec.ProtoStepValue(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(gauge.messages.Spec.ProtoStepValue result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.stepValue_ = stepValue_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.parameterizedStepValue_ = parameterizedStepValue_; } if (((from_bitField0_ & 0x00000004) != 0)) { parameters_.makeImmutable(); result.parameters_ = parameters_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof gauge.messages.Spec.ProtoStepValue) { return mergeFrom((gauge.messages.Spec.ProtoStepValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(gauge.messages.Spec.ProtoStepValue other) { if (other == gauge.messages.Spec.ProtoStepValue.getDefaultInstance()) return this; if (!other.getStepValue().isEmpty()) { stepValue_ = other.stepValue_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getParameterizedStepValue().isEmpty()) { parameterizedStepValue_ = other.parameterizedStepValue_; bitField0_ |= 0x00000002; onChanged(); } if (!other.parameters_.isEmpty()) { if (parameters_.isEmpty()) { parameters_ = other.parameters_; bitField0_ |= 0x00000004; } else { ensureParametersIsMutable(); parameters_.addAll(other.parameters_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { stepValue_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { parameterizedStepValue_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { java.lang.String s = input.readStringRequireUtf8(); ensureParametersIsMutable(); parameters_.add(s); break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object stepValue_ = ""; /** *
       * / The actual string value describing he Step
       * 
* * string stepValue = 1; * @return The stepValue. */ public java.lang.String getStepValue() { java.lang.Object ref = stepValue_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stepValue_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / The actual string value describing he Step
       * 
* * string stepValue = 1; * @return The bytes for stepValue. */ public com.google.protobuf.ByteString getStepValueBytes() { java.lang.Object ref = stepValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stepValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / The actual string value describing he Step
       * 
* * string stepValue = 1; * @param value The stepValue to set. * @return This builder for chaining. */ public Builder setStepValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stepValue_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * / The actual string value describing he Step
       * 
* * string stepValue = 1; * @return This builder for chaining. */ public Builder clearStepValue() { stepValue_ = getDefaultInstance().getStepValue(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * / The actual string value describing he Step
       * 
* * string stepValue = 1; * @param value The bytes for stepValue to set. * @return This builder for chaining. */ public Builder setStepValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stepValue_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object parameterizedStepValue_ = ""; /** *
       * / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       * 
* * string parameterizedStepValue = 2; * @return The parameterizedStepValue. */ public java.lang.String getParameterizedStepValue() { java.lang.Object ref = parameterizedStepValue_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterizedStepValue_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       * 
* * string parameterizedStepValue = 2; * @return The bytes for parameterizedStepValue. */ public com.google.protobuf.ByteString getParameterizedStepValueBytes() { java.lang.Object ref = parameterizedStepValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); parameterizedStepValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       * 
* * string parameterizedStepValue = 2; * @param value The parameterizedStepValue to set. * @return This builder for chaining. */ public Builder setParameterizedStepValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } parameterizedStepValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       * 
* * string parameterizedStepValue = 2; * @return This builder for chaining. */ public Builder clearParameterizedStepValue() { parameterizedStepValue_ = getDefaultInstance().getParameterizedStepValue(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * / The parameterized string value describing he Step. The parameters are replaced with placeholders.
       * 
* * string parameterizedStepValue = 2; * @param value The bytes for parameterizedStepValue to set. * @return This builder for chaining. */ public Builder setParameterizedStepValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parameterizedStepValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList parameters_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureParametersIsMutable() { if (!parameters_.isModifiable()) { parameters_ = new com.google.protobuf.LazyStringArrayList(parameters_); } bitField0_ |= 0x00000004; } /** *
       * / A collection of strings representing the parameters.
       * 
* * repeated string parameters = 3; * @return A list containing the parameters. */ public com.google.protobuf.ProtocolStringList getParametersList() { parameters_.makeImmutable(); return parameters_; } /** *
       * / A collection of strings representing the parameters.
       * 
* * repeated string parameters = 3; * @return The count of parameters. */ public int getParametersCount() { return parameters_.size(); } /** *
       * / A collection of strings representing the parameters.
       * 
* * repeated string parameters = 3; * @param index The index of the element to return. * @return The parameters at the given index. */ public java.lang.String getParameters(int index) { return parameters_.get(index); } /** *
       * / A collection of strings representing the parameters.
       * 
* * repeated string parameters = 3; * @param index The index of the value to return. * @return The bytes of the parameters at the given index. */ public com.google.protobuf.ByteString getParametersBytes(int index) { return parameters_.getByteString(index); } /** *
       * / A collection of strings representing the parameters.
       * 
* * repeated string parameters = 3; * @param index The index to set the value at. * @param value The parameters to set. * @return This builder for chaining. */ public Builder setParameters( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureParametersIsMutable(); parameters_.set(index, value); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / A collection of strings representing the parameters.
       * 
* * repeated string parameters = 3; * @param value The parameters to add. * @return This builder for chaining. */ public Builder addParameters( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureParametersIsMutable(); parameters_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / A collection of strings representing the parameters.
       * 
* * repeated string parameters = 3; * @param values The parameters to add. * @return This builder for chaining. */ public Builder addAllParameters( java.lang.Iterable values) { ensureParametersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, parameters_); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * / A collection of strings representing the parameters.
       * 
* * repeated string parameters = 3; * @return This builder for chaining. */ public Builder clearParameters() { parameters_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** *
       * / A collection of strings representing the parameters.
       * 
* * repeated string parameters = 3; * @param value The bytes of the parameters to add. * @return This builder for chaining. */ public Builder addParametersBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureParametersIsMutable(); parameters_.add(value); bitField0_ |= 0x00000004; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:gauge.messages.ProtoStepValue) } // @@protoc_insertion_point(class_scope:gauge.messages.ProtoStepValue) private static final gauge.messages.Spec.ProtoStepValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new gauge.messages.Spec.ProtoStepValue(); } public static gauge.messages.Spec.ProtoStepValue getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProtoStepValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public gauge.messages.Spec.ProtoStepValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoSpec_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoSpec_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoItem_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoItem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoScenario_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoScenario_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_Span_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_Span_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoTableDrivenScenario_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoTableDrivenScenario_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoStep_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoStep_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoConcept_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoConcept_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoTags_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoTags_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_Fragment_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_Fragment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_Parameter_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_Parameter_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoComment_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoComment_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoTable_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoTable_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoTableRow_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoTableRow_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoStepExecutionResult_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoStepExecutionResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoExecutionResult_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoExecutionResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoHookFailure_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoHookFailure_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoSuiteResult_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoSuiteResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoSpecResult_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoSpecResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoScenarioResult_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoScenarioResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoStepResult_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoStepResult_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_Error_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_Error_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_gauge_messages_ProtoStepValue_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_gauge_messages_ProtoStepValue_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\nspec.proto\022\016gauge.messages\"\371\003\n\tProtoSp" + "ec\022\023\n\013specHeading\030\001 \001(\t\022(\n\005items\030\002 \003(\0132\031" + ".gauge.messages.ProtoItem\022\025\n\risTableDriv" + "en\030\003 \001(\010\0229\n\017preHookFailures\030\004 \003(\0132 .gaug" + "e.messages.ProtoHookFailure\022:\n\020postHookF" + "ailures\030\005 \003(\0132 .gauge.messages.ProtoHook" + "Failure\022\020\n\010fileName\030\006 \001(\t\022\014\n\004tags\030\007 \003(\t\022" + "\027\n\017preHookMessages\030\010 \003(\t\022\030\n\020postHookMess" + "ages\030\t \003(\t\022\032\n\016preHookMessage\030\n \003(\tB\002\030\001\022\033" + "\n\017postHookMessage\030\013 \003(\tB\002\030\001\022\036\n\022preHookSc" + "reenshots\030\014 \003(\014B\002\030\001\022\037\n\023postHookScreensho" + "ts\030\r \003(\014B\002\030\001\022\021\n\titemCount\030\016 \001(\003\022\036\n\026preHo" + "okScreenshotFiles\030\017 \003(\t\022\037\n\027postHookScree" + "nshotFiles\030\020 \003(\t\"\222\004\n\tProtoItem\0224\n\010itemTy" + "pe\030\001 \001(\0162\".gauge.messages.ProtoItem.Item" + "Type\022\'\n\004step\030\002 \001(\0132\031.gauge.messages.Prot" + "oStep\022-\n\007concept\030\003 \001(\0132\034.gauge.messages." + "ProtoConcept\022/\n\010scenario\030\004 \001(\0132\035.gauge.m" + "essages.ProtoScenario\022E\n\023tableDrivenScen" + "ario\030\005 \001(\0132(.gauge.messages.ProtoTableDr" + "ivenScenario\022-\n\007comment\030\006 \001(\0132\034.gauge.me" + "ssages.ProtoComment\022)\n\005table\030\007 \001(\0132\032.gau" + "ge.messages.ProtoTable\022\'\n\004tags\030\010 \001(\0132\031.g" + "auge.messages.ProtoTags\022\020\n\010fileName\030\t \001(" + "\t\"j\n\010ItemType\022\010\n\004Step\020\000\022\013\n\007Comment\020\001\022\013\n\007" + "Concept\020\002\022\014\n\010Scenario\020\003\022\027\n\023TableDrivenSc" + "enario\020\004\022\t\n\005Table\020\005\022\010\n\004Tags\020\006\"\376\005\n\rProtoS" + "cenario\022\027\n\017scenarioHeading\030\001 \001(\t\022\022\n\006fail" + "ed\030\002 \001(\010B\002\030\001\022+\n\010contexts\030\003 \003(\0132\031.gauge.m" + "essages.ProtoItem\0220\n\rscenarioItems\030\004 \003(\013" + "2\031.gauge.messages.ProtoItem\0228\n\016preHookFa" + "ilure\030\005 \001(\0132 .gauge.messages.ProtoHookFa" + "ilure\0229\n\017postHookFailure\030\006 \001(\0132 .gauge.m" + "essages.ProtoHookFailure\022\014\n\004tags\030\007 \003(\t\022\025" + "\n\rexecutionTime\030\010 \001(\003\022\023\n\007skipped\030\t \001(\010B\002" + "\030\001\022\022\n\nskipErrors\030\n \003(\t\022\n\n\002ID\030\013 \001(\t\0220\n\rte" + "arDownSteps\030\014 \003(\0132\031.gauge.messages.Proto" + "Item\022\"\n\004span\030\r \001(\0132\024.gauge.messages.Span" + "\0228\n\017executionStatus\030\016 \001(\0162\037.gauge.messag" + "es.ExecutionStatus\022\027\n\017preHookMessages\030\017 " + "\003(\t\022\030\n\020postHookMessages\030\020 \003(\t\022\032\n\016preHook" + "Message\030\021 \003(\tB\002\030\001\022\033\n\017postHookMessage\030\022 \003" + "(\tB\002\030\001\022\036\n\022preHookScreenshots\030\023 \003(\014B\002\030\001\022\037" + "\n\023postHookScreenshots\030\024 \003(\014B\002\030\001\022\036\n\026preHo" + "okScreenshotFiles\030\025 \003(\t\022\037\n\027postHookScree" + "nshotFiles\030\026 \003(\t\022\024\n\014retriesCount\030\027 \001(\003\"F" + "\n\004Span\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\022\021\n\tst" + "artChar\030\003 \001(\003\022\017\n\007endChar\030\004 \001(\003\"\250\002\n\030Proto" + "TableDrivenScenario\022/\n\010scenario\030\001 \001(\0132\035." + "gauge.messages.ProtoScenario\022\025\n\rtableRow" + "Index\030\002 \001(\005\022\035\n\025scenarioTableRowIndex\030\003 \001" + "(\005\022\031\n\021isSpecTableDriven\030\004 \001(\010\022\035\n\025isScena" + "rioTableDriven\030\005 \001(\010\0225\n\021scenarioDataTabl" + "e\030\006 \001(\0132\032.gauge.messages.ProtoTable\0224\n\020s" + "cenarioTableRow\030\007 \001(\0132\032.gauge.messages.P" + "rotoTable\"\334\002\n\tProtoStep\022\022\n\nactualText\030\001 " + "\001(\t\022\022\n\nparsedText\030\002 \001(\t\022+\n\tfragments\030\003 \003" + "(\0132\030.gauge.messages.Fragment\022E\n\023stepExec" + "utionResult\030\004 \001(\0132(.gauge.messages.Proto" + "StepExecutionResult\022\027\n\017preHookMessages\030\005" + " \003(\t\022\030\n\020postHookMessages\030\006 \003(\t\022\036\n\022preHoo" + "kScreenshots\030\007 \003(\014B\002\030\001\022\037\n\023postHookScreen" + "shots\030\010 \003(\014B\002\030\001\022\036\n\026preHookScreenshotFile" + "s\030\t \003(\t\022\037\n\027postHookScreenshotFiles\030\n \003(\t" + "\"\262\001\n\014ProtoConcept\022.\n\013conceptStep\030\001 \001(\0132\031" + ".gauge.messages.ProtoStep\022(\n\005steps\030\002 \003(\013" + "2\031.gauge.messages.ProtoItem\022H\n\026conceptEx" + "ecutionResult\030\003 \001(\0132(.gauge.messages.Pro" + "toStepExecutionResult\"\031\n\tProtoTags\022\014\n\004ta" + "gs\030\001 \003(\t\"\254\001\n\010Fragment\022;\n\014fragmentType\030\001 " + "\001(\0162%.gauge.messages.Fragment.FragmentTy" + "pe\022\014\n\004text\030\002 \001(\t\022,\n\tparameter\030\003 \001(\0132\031.ga" + "uge.messages.Parameter\"\'\n\014FragmentType\022\010" + "\n\004Text\020\000\022\r\n\tParameter\020\001\"\357\001\n\tParameter\022>\n" + "\rparameterType\030\001 \001(\0162\'.gauge.messages.Pa" + "rameter.ParameterType\022\r\n\005value\030\002 \001(\t\022\014\n\004" + "name\030\003 \001(\t\022)\n\005table\030\004 \001(\0132\032.gauge.messag" + "es.ProtoTable\"Z\n\rParameterType\022\n\n\006Static" + "\020\000\022\013\n\007Dynamic\020\001\022\022\n\016Special_String\020\002\022\021\n\rS" + "pecial_Table\020\003\022\t\n\005Table\020\004\"\034\n\014ProtoCommen" + "t\022\014\n\004text\030\001 \001(\t\"i\n\nProtoTable\022.\n\007headers" + "\030\001 \001(\0132\035.gauge.messages.ProtoTableRow\022+\n" + "\004rows\030\002 \003(\0132\035.gauge.messages.ProtoTableR" + "ow\"\036\n\rProtoTableRow\022\r\n\005cells\030\001 \003(\t\"\366\001\n\030P" + "rotoStepExecutionResult\022=\n\017executionResu" + "lt\030\001 \001(\0132$.gauge.messages.ProtoExecution" + "Result\0228\n\016preHookFailure\030\002 \001(\0132 .gauge.m" + "essages.ProtoHookFailure\0229\n\017postHookFail" + "ure\030\003 \001(\0132 .gauge.messages.ProtoHookFail" + "ure\022\017\n\007skipped\030\004 \001(\010\022\025\n\rskippedReason\030\005 " + "\001(\t\"\213\003\n\024ProtoExecutionResult\022\016\n\006failed\030\001" + " \001(\010\022\030\n\020recoverableError\030\002 \001(\010\022\024\n\014errorM" + "essage\030\003 \001(\t\022\022\n\nstackTrace\030\004 \001(\t\022\026\n\nscre" + "enShot\030\005 \001(\014B\002\030\001\022\025\n\rexecutionTime\030\006 \001(\003\022" + "\017\n\007message\030\007 \003(\t\022A\n\terrorType\030\010 \001(\0162..ga" + "uge.messages.ProtoExecutionResult.ErrorT" + "ype\022\035\n\021failureScreenshot\030\t \001(\014B\002\030\001\022\027\n\013sc" + "reenshots\030\n \003(\014B\002\030\001\022\035\n\025failureScreenshot" + "File\030\013 \001(\t\022\027\n\017screenshotFiles\030\014 \003(\t\",\n\tE" + "rrorType\022\r\n\tASSERTION\020\000\022\020\n\014VERIFICATION\020" + "\001\"\251\001\n\020ProtoHookFailure\022\022\n\nstackTrace\030\001 \001" + "(\t\022\024\n\014errorMessage\030\002 \001(\t\022\026\n\nscreenShot\030\003" + " \001(\014B\002\030\001\022\025\n\rtableRowIndex\030\004 \001(\005\022\035\n\021failu" + "reScreenshot\030\005 \001(\014B\002\030\001\022\035\n\025failureScreens" + "hotFile\030\006 \001(\t\"\213\005\n\020ProtoSuiteResult\0224\n\013sp" + "ecResults\030\001 \003(\0132\037.gauge.messages.ProtoSp" + "ecResult\0228\n\016preHookFailure\030\002 \001(\0132 .gauge" + ".messages.ProtoHookFailure\0229\n\017postHookFa" + "ilure\030\003 \001(\0132 .gauge.messages.ProtoHookFa" + "ilure\022\016\n\006failed\030\004 \001(\010\022\030\n\020specsFailedCoun" + "t\030\005 \001(\005\022\025\n\rexecutionTime\030\006 \001(\003\022\023\n\013succes" + "sRate\030\007 \001(\002\022\023\n\013environment\030\010 \001(\t\022\014\n\004tags" + "\030\t \001(\t\022\023\n\013projectName\030\n \001(\t\022\021\n\ttimestamp" + "\030\013 \001(\t\022\031\n\021specsSkippedCount\030\014 \001(\005\022\027\n\017pre" + "HookMessages\030\r \003(\t\022\030\n\020postHookMessages\030\016" + " \003(\t\022\032\n\016preHookMessage\030\017 \003(\tB\002\030\001\022\033\n\017post" + "HookMessage\030\020 \003(\tB\002\030\001\022\036\n\022preHookScreensh" + "ots\030\021 \003(\014B\002\030\001\022\037\n\023postHookScreenshots\030\022 \003" + "(\014B\002\030\001\022\017\n\007chunked\030\023 \001(\010\022\021\n\tchunkSize\030\024 \001" + "(\003\022\036\n\026preHookScreenshotFiles\030\025 \003(\t\022\037\n\027po" + "stHookScreenshotFiles\030\026 \003(\t\"\276\002\n\017ProtoSpe" + "cResult\022,\n\tprotoSpec\030\001 \001(\0132\031.gauge.messa" + "ges.ProtoSpec\022\025\n\rscenarioCount\030\002 \001(\005\022\033\n\023" + "scenarioFailedCount\030\003 \001(\005\022\016\n\006failed\030\004 \001(" + "\010\022\033\n\023failedDataTableRows\030\005 \003(\005\022\025\n\rexecut" + "ionTime\030\006 \001(\003\022\017\n\007skipped\030\007 \001(\010\022\034\n\024scenar" + "ioSkippedCount\030\010 \001(\005\022\034\n\024skippedDataTable" + "Rows\030\t \003(\005\022%\n\006errors\030\n \003(\0132\025.gauge.messa" + "ges.Error\022\021\n\ttimestamp\030\013 \001(\t\"m\n\023ProtoSce" + "narioResult\022,\n\tprotoItem\030\001 \001(\0132\031.gauge.m" + "essages.ProtoItem\022\025\n\rexecutionTime\030\002 \001(\003" + "\022\021\n\ttimestamp\030\003 \001(\t\"i\n\017ProtoStepResult\022," + "\n\tprotoItem\030\001 \001(\0132\031.gauge.messages.Proto" + "Item\022\025\n\rexecutionTime\030\002 \001(\003\022\021\n\ttimestamp" + "\030\003 \001(\t\"\241\001\n\005Error\022-\n\004type\030\001 \001(\0162\037.gauge.m" + "essages.Error.ErrorType\022\020\n\010filename\030\002 \001(" + "\t\022\022\n\nlineNumber\030\003 \001(\005\022\017\n\007message\030\004 \001(\t\"2" + "\n\tErrorType\022\017\n\013PARSE_ERROR\020\000\022\024\n\020VALIDATI" + "ON_ERROR\020\001\"W\n\016ProtoStepValue\022\021\n\tstepValu" + "e\030\001 \001(\t\022\036\n\026parameterizedStepValue\030\002 \001(\t\022" + "\022\n\nparameters\030\003 \003(\t*G\n\017ExecutionStatus\022\017" + "\n\013NOTEXECUTED\020\000\022\n\n\006PASSED\020\001\022\n\n\006FAILED\020\002\022" + "\013\n\007SKIPPED\020\003BT\n\016gauge.messagesZ1github.c" + "om/getgauge/gauge-proto/go/gauge_message" + "s\252\002\016Gauge.Messagesb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_gauge_messages_ProtoSpec_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_gauge_messages_ProtoSpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoSpec_descriptor, new java.lang.String[] { "SpecHeading", "Items", "IsTableDriven", "PreHookFailures", "PostHookFailures", "FileName", "Tags", "PreHookMessages", "PostHookMessages", "PreHookMessage", "PostHookMessage", "PreHookScreenshots", "PostHookScreenshots", "ItemCount", "PreHookScreenshotFiles", "PostHookScreenshotFiles", }); internal_static_gauge_messages_ProtoItem_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_gauge_messages_ProtoItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoItem_descriptor, new java.lang.String[] { "ItemType", "Step", "Concept", "Scenario", "TableDrivenScenario", "Comment", "Table", "Tags", "FileName", }); internal_static_gauge_messages_ProtoScenario_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_gauge_messages_ProtoScenario_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoScenario_descriptor, new java.lang.String[] { "ScenarioHeading", "Failed", "Contexts", "ScenarioItems", "PreHookFailure", "PostHookFailure", "Tags", "ExecutionTime", "Skipped", "SkipErrors", "ID", "TearDownSteps", "Span", "ExecutionStatus", "PreHookMessages", "PostHookMessages", "PreHookMessage", "PostHookMessage", "PreHookScreenshots", "PostHookScreenshots", "PreHookScreenshotFiles", "PostHookScreenshotFiles", "RetriesCount", }); internal_static_gauge_messages_Span_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_gauge_messages_Span_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_Span_descriptor, new java.lang.String[] { "Start", "End", "StartChar", "EndChar", }); internal_static_gauge_messages_ProtoTableDrivenScenario_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_gauge_messages_ProtoTableDrivenScenario_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoTableDrivenScenario_descriptor, new java.lang.String[] { "Scenario", "TableRowIndex", "ScenarioTableRowIndex", "IsSpecTableDriven", "IsScenarioTableDriven", "ScenarioDataTable", "ScenarioTableRow", }); internal_static_gauge_messages_ProtoStep_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_gauge_messages_ProtoStep_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoStep_descriptor, new java.lang.String[] { "ActualText", "ParsedText", "Fragments", "StepExecutionResult", "PreHookMessages", "PostHookMessages", "PreHookScreenshots", "PostHookScreenshots", "PreHookScreenshotFiles", "PostHookScreenshotFiles", }); internal_static_gauge_messages_ProtoConcept_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_gauge_messages_ProtoConcept_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoConcept_descriptor, new java.lang.String[] { "ConceptStep", "Steps", "ConceptExecutionResult", }); internal_static_gauge_messages_ProtoTags_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_gauge_messages_ProtoTags_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoTags_descriptor, new java.lang.String[] { "Tags", }); internal_static_gauge_messages_Fragment_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_gauge_messages_Fragment_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_Fragment_descriptor, new java.lang.String[] { "FragmentType", "Text", "Parameter", }); internal_static_gauge_messages_Parameter_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_gauge_messages_Parameter_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_Parameter_descriptor, new java.lang.String[] { "ParameterType", "Value", "Name", "Table", }); internal_static_gauge_messages_ProtoComment_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_gauge_messages_ProtoComment_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoComment_descriptor, new java.lang.String[] { "Text", }); internal_static_gauge_messages_ProtoTable_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_gauge_messages_ProtoTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoTable_descriptor, new java.lang.String[] { "Headers", "Rows", }); internal_static_gauge_messages_ProtoTableRow_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_gauge_messages_ProtoTableRow_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoTableRow_descriptor, new java.lang.String[] { "Cells", }); internal_static_gauge_messages_ProtoStepExecutionResult_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_gauge_messages_ProtoStepExecutionResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoStepExecutionResult_descriptor, new java.lang.String[] { "ExecutionResult", "PreHookFailure", "PostHookFailure", "Skipped", "SkippedReason", }); internal_static_gauge_messages_ProtoExecutionResult_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_gauge_messages_ProtoExecutionResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoExecutionResult_descriptor, new java.lang.String[] { "Failed", "RecoverableError", "ErrorMessage", "StackTrace", "ScreenShot", "ExecutionTime", "Message", "ErrorType", "FailureScreenshot", "Screenshots", "FailureScreenshotFile", "ScreenshotFiles", }); internal_static_gauge_messages_ProtoHookFailure_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_gauge_messages_ProtoHookFailure_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoHookFailure_descriptor, new java.lang.String[] { "StackTrace", "ErrorMessage", "ScreenShot", "TableRowIndex", "FailureScreenshot", "FailureScreenshotFile", }); internal_static_gauge_messages_ProtoSuiteResult_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_gauge_messages_ProtoSuiteResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoSuiteResult_descriptor, new java.lang.String[] { "SpecResults", "PreHookFailure", "PostHookFailure", "Failed", "SpecsFailedCount", "ExecutionTime", "SuccessRate", "Environment", "Tags", "ProjectName", "Timestamp", "SpecsSkippedCount", "PreHookMessages", "PostHookMessages", "PreHookMessage", "PostHookMessage", "PreHookScreenshots", "PostHookScreenshots", "Chunked", "ChunkSize", "PreHookScreenshotFiles", "PostHookScreenshotFiles", }); internal_static_gauge_messages_ProtoSpecResult_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_gauge_messages_ProtoSpecResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoSpecResult_descriptor, new java.lang.String[] { "ProtoSpec", "ScenarioCount", "ScenarioFailedCount", "Failed", "FailedDataTableRows", "ExecutionTime", "Skipped", "ScenarioSkippedCount", "SkippedDataTableRows", "Errors", "Timestamp", }); internal_static_gauge_messages_ProtoScenarioResult_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_gauge_messages_ProtoScenarioResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoScenarioResult_descriptor, new java.lang.String[] { "ProtoItem", "ExecutionTime", "Timestamp", }); internal_static_gauge_messages_ProtoStepResult_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_gauge_messages_ProtoStepResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoStepResult_descriptor, new java.lang.String[] { "ProtoItem", "ExecutionTime", "Timestamp", }); internal_static_gauge_messages_Error_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_gauge_messages_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_Error_descriptor, new java.lang.String[] { "Type", "Filename", "LineNumber", "Message", }); internal_static_gauge_messages_ProtoStepValue_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_gauge_messages_ProtoStepValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_gauge_messages_ProtoStepValue_descriptor, new java.lang.String[] { "StepValue", "ParameterizedStepValue", "Parameters", }); descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy