UiInteraction.java

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: espresso/remote/java/androidx/test/espresso/proto/ui_interaction.proto

package androidx.test.espresso.proto;

public final class UiInteraction {
  private UiInteraction() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  public interface InteractionRequestProtoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.test.remote.ui.InteractionRequestProto)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>.google.protobuf.Any view_matcher = 1;</code>
     * @return Whether the viewMatcher field is set.
     */
    boolean hasViewMatcher();
    /**
     * <code>.google.protobuf.Any view_matcher = 1;</code>
     * @return The viewMatcher.
     */
    com.google.protobuf.Any getViewMatcher();

    /**
     * <code>.google.protobuf.Any view_action = 2;</code>
     * @return Whether the viewAction field is set.
     */
    boolean hasViewAction();
    /**
     * <code>.google.protobuf.Any view_action = 2;</code>
     * @return The viewAction.
     */
    com.google.protobuf.Any getViewAction();

    /**
     * <code>.google.protobuf.Any view_assertion = 3;</code>
     * @return Whether the viewAssertion field is set.
     */
    boolean hasViewAssertion();
    /**
     * <code>.google.protobuf.Any view_assertion = 3;</code>
     * @return The viewAssertion.
     */
    com.google.protobuf.Any getViewAssertion();

    /**
     * <code>.google.protobuf.Any root_matcher = 4;</code>
     * @return Whether the rootMatcher field is set.
     */
    boolean hasRootMatcher();
    /**
     * <code>.google.protobuf.Any root_matcher = 4;</code>
     * @return The rootMatcher.
     */
    com.google.protobuf.Any getRootMatcher();

    public androidx.test.espresso.proto.UiInteraction.InteractionRequestProto.ActionOrAssertionCase getActionOrAssertionCase();
  }
  /**
   * Protobuf type {@code google.test.remote.ui.InteractionRequestProto}
   */
  public  static final class InteractionRequestProto extends
      com.google.protobuf.GeneratedMessageLite<
          InteractionRequestProto, InteractionRequestProto.Builder> implements
      // @@protoc_insertion_point(message_implements:google.test.remote.ui.InteractionRequestProto)
      InteractionRequestProtoOrBuilder {
    private InteractionRequestProto() {
    }
    private int actionOrAssertionCase_ = 0;
    private java.lang.Object actionOrAssertion_;
    public enum ActionOrAssertionCase {
      VIEW_ACTION(2),
      VIEW_ASSERTION(3),
      ACTIONORASSERTION_NOT_SET(0);
      private final int value;
      private ActionOrAssertionCase(int value) {
        this.value = value;
      }
      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ActionOrAssertionCase valueOf(int value) {
        return forNumber(value);
      }

      public static ActionOrAssertionCase forNumber(int value) {
        switch (value) {
          case 2: return VIEW_ACTION;
          case 3: return VIEW_ASSERTION;
          case 0: return ACTIONORASSERTION_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    @java.lang.Override
    public ActionOrAssertionCase
    getActionOrAssertionCase() {
      return ActionOrAssertionCase.forNumber(
          actionOrAssertionCase_);
    }

    private void clearActionOrAssertion() {
      actionOrAssertionCase_ = 0;
      actionOrAssertion_ = null;
    }

    public static final int VIEW_MATCHER_FIELD_NUMBER = 1;
    private com.google.protobuf.Any viewMatcher_;
    /**
     * <code>.google.protobuf.Any view_matcher = 1;</code>
     */
    @java.lang.Override
    public boolean hasViewMatcher() {
      return viewMatcher_ != null;
    }
    /**
     * <code>.google.protobuf.Any view_matcher = 1;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Any getViewMatcher() {
      return viewMatcher_ == null ? com.google.protobuf.Any.getDefaultInstance() : viewMatcher_;
    }
    /**
     * <code>.google.protobuf.Any view_matcher = 1;</code>
     */
    private void setViewMatcher(com.google.protobuf.Any value) {
      value.getClass();
  viewMatcher_ = value;
      
      }
    /**
     * <code>.google.protobuf.Any view_matcher = 1;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeViewMatcher(com.google.protobuf.Any value) {
      value.getClass();
  if (viewMatcher_ != null &&
          viewMatcher_ != com.google.protobuf.Any.getDefaultInstance()) {
        viewMatcher_ =
          com.google.protobuf.Any.newBuilder(viewMatcher_).mergeFrom(value).buildPartial();
      } else {
        viewMatcher_ = value;
      }
      
    }
    /**
     * <code>.google.protobuf.Any view_matcher = 1;</code>
     */
    private void clearViewMatcher() {  viewMatcher_ = null;
      
    }

    public static final int VIEW_ACTION_FIELD_NUMBER = 2;
    /**
     * <code>.google.protobuf.Any view_action = 2;</code>
     */
    @java.lang.Override
    public boolean hasViewAction() {
      return actionOrAssertionCase_ == 2;
    }
    /**
     * <code>.google.protobuf.Any view_action = 2;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Any getViewAction() {
      if (actionOrAssertionCase_ == 2) {
         return (com.google.protobuf.Any) actionOrAssertion_;
      }
      return com.google.protobuf.Any.getDefaultInstance();
    }
    /**
     * <code>.google.protobuf.Any view_action = 2;</code>
     */
    private void setViewAction(com.google.protobuf.Any value) {
      value.getClass();
  actionOrAssertion_ = value;
      actionOrAssertionCase_ = 2;
    }
    /**
     * <code>.google.protobuf.Any view_action = 2;</code>
     */
    private void mergeViewAction(com.google.protobuf.Any value) {
      value.getClass();
  if (actionOrAssertionCase_ == 2 &&
          actionOrAssertion_ != com.google.protobuf.Any.getDefaultInstance()) {
        actionOrAssertion_ = com.google.protobuf.Any.newBuilder((com.google.protobuf.Any) actionOrAssertion_)
            .mergeFrom(value).buildPartial();
      } else {
        actionOrAssertion_ = value;
      }
      actionOrAssertionCase_ = 2;
    }
    /**
     * <code>.google.protobuf.Any view_action = 2;</code>
     */
    private void clearViewAction() {
      if (actionOrAssertionCase_ == 2) {
        actionOrAssertionCase_ = 0;
        actionOrAssertion_ = null;
      }
    }

    public static final int VIEW_ASSERTION_FIELD_NUMBER = 3;
    /**
     * <code>.google.protobuf.Any view_assertion = 3;</code>
     */
    @java.lang.Override
    public boolean hasViewAssertion() {
      return actionOrAssertionCase_ == 3;
    }
    /**
     * <code>.google.protobuf.Any view_assertion = 3;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Any getViewAssertion() {
      if (actionOrAssertionCase_ == 3) {
         return (com.google.protobuf.Any) actionOrAssertion_;
      }
      return com.google.protobuf.Any.getDefaultInstance();
    }
    /**
     * <code>.google.protobuf.Any view_assertion = 3;</code>
     */
    private void setViewAssertion(com.google.protobuf.Any value) {
      value.getClass();
  actionOrAssertion_ = value;
      actionOrAssertionCase_ = 3;
    }
    /**
     * <code>.google.protobuf.Any view_assertion = 3;</code>
     */
    private void mergeViewAssertion(com.google.protobuf.Any value) {
      value.getClass();
  if (actionOrAssertionCase_ == 3 &&
          actionOrAssertion_ != com.google.protobuf.Any.getDefaultInstance()) {
        actionOrAssertion_ = com.google.protobuf.Any.newBuilder((com.google.protobuf.Any) actionOrAssertion_)
            .mergeFrom(value).buildPartial();
      } else {
        actionOrAssertion_ = value;
      }
      actionOrAssertionCase_ = 3;
    }
    /**
     * <code>.google.protobuf.Any view_assertion = 3;</code>
     */
    private void clearViewAssertion() {
      if (actionOrAssertionCase_ == 3) {
        actionOrAssertionCase_ = 0;
        actionOrAssertion_ = null;
      }
    }

    public static final int ROOT_MATCHER_FIELD_NUMBER = 4;
    private com.google.protobuf.Any rootMatcher_;
    /**
     * <code>.google.protobuf.Any root_matcher = 4;</code>
     */
    @java.lang.Override
    public boolean hasRootMatcher() {
      return rootMatcher_ != null;
    }
    /**
     * <code>.google.protobuf.Any root_matcher = 4;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Any getRootMatcher() {
      return rootMatcher_ == null ? com.google.protobuf.Any.getDefaultInstance() : rootMatcher_;
    }
    /**
     * <code>.google.protobuf.Any root_matcher = 4;</code>
     */
    private void setRootMatcher(com.google.protobuf.Any value) {
      value.getClass();
  rootMatcher_ = value;
      
      }
    /**
     * <code>.google.protobuf.Any root_matcher = 4;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeRootMatcher(com.google.protobuf.Any value) {
      value.getClass();
  if (rootMatcher_ != null &&
          rootMatcher_ != com.google.protobuf.Any.getDefaultInstance()) {
        rootMatcher_ =
          com.google.protobuf.Any.newBuilder(rootMatcher_).mergeFrom(value).buildPartial();
      } else {
        rootMatcher_ = value;
      }
      
    }
    /**
     * <code>.google.protobuf.Any root_matcher = 4;</code>
     */
    private void clearRootMatcher() {  rootMatcher_ = null;
      
    }

    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(androidx.test.espresso.proto.UiInteraction.InteractionRequestProto prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code google.test.remote.ui.InteractionRequestProto}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.test.espresso.proto.UiInteraction.InteractionRequestProto, Builder> implements
        // @@protoc_insertion_point(builder_implements:google.test.remote.ui.InteractionRequestProto)
        androidx.test.espresso.proto.UiInteraction.InteractionRequestProtoOrBuilder {
      // Construct using androidx.test.espresso.proto.UiInteraction.InteractionRequestProto.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }

      @java.lang.Override
      public ActionOrAssertionCase
          getActionOrAssertionCase() {
        return instance.getActionOrAssertionCase();
      }

      public Builder clearActionOrAssertion() {
        copyOnWrite();
        instance.clearActionOrAssertion();
        return this;
      }


      /**
       * <code>.google.protobuf.Any view_matcher = 1;</code>
       */
      @java.lang.Override
      public boolean hasViewMatcher() {
        return instance.hasViewMatcher();
      }
      /**
       * <code>.google.protobuf.Any view_matcher = 1;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Any getViewMatcher() {
        return instance.getViewMatcher();
      }
      /**
       * <code>.google.protobuf.Any view_matcher = 1;</code>
       */
      public Builder setViewMatcher(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.setViewMatcher(value);
        return this;
        }
      /**
       * <code>.google.protobuf.Any view_matcher = 1;</code>
       */
      public Builder setViewMatcher(
          com.google.protobuf.Any.Builder builderForValue) {
        copyOnWrite();
        instance.setViewMatcher(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.protobuf.Any view_matcher = 1;</code>
       */
      public Builder mergeViewMatcher(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.mergeViewMatcher(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any view_matcher = 1;</code>
       */
      public Builder clearViewMatcher() {  copyOnWrite();
        instance.clearViewMatcher();
        return this;
      }

      /**
       * <code>.google.protobuf.Any view_action = 2;</code>
       */
      @java.lang.Override
      public boolean hasViewAction() {
        return instance.hasViewAction();
      }
      /**
       * <code>.google.protobuf.Any view_action = 2;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Any getViewAction() {
        return instance.getViewAction();
      }
      /**
       * <code>.google.protobuf.Any view_action = 2;</code>
       */
      public Builder setViewAction(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.setViewAction(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any view_action = 2;</code>
       */
      public Builder setViewAction(
          com.google.protobuf.Any.Builder builderForValue) {
        copyOnWrite();
        instance.setViewAction(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.protobuf.Any view_action = 2;</code>
       */
      public Builder mergeViewAction(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.mergeViewAction(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any view_action = 2;</code>
       */
      public Builder clearViewAction() {
        copyOnWrite();
        instance.clearViewAction();
        return this;
      }

      /**
       * <code>.google.protobuf.Any view_assertion = 3;</code>
       */
      @java.lang.Override
      public boolean hasViewAssertion() {
        return instance.hasViewAssertion();
      }
      /**
       * <code>.google.protobuf.Any view_assertion = 3;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Any getViewAssertion() {
        return instance.getViewAssertion();
      }
      /**
       * <code>.google.protobuf.Any view_assertion = 3;</code>
       */
      public Builder setViewAssertion(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.setViewAssertion(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any view_assertion = 3;</code>
       */
      public Builder setViewAssertion(
          com.google.protobuf.Any.Builder builderForValue) {
        copyOnWrite();
        instance.setViewAssertion(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.protobuf.Any view_assertion = 3;</code>
       */
      public Builder mergeViewAssertion(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.mergeViewAssertion(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any view_assertion = 3;</code>
       */
      public Builder clearViewAssertion() {
        copyOnWrite();
        instance.clearViewAssertion();
        return this;
      }

      /**
       * <code>.google.protobuf.Any root_matcher = 4;</code>
       */
      @java.lang.Override
      public boolean hasRootMatcher() {
        return instance.hasRootMatcher();
      }
      /**
       * <code>.google.protobuf.Any root_matcher = 4;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Any getRootMatcher() {
        return instance.getRootMatcher();
      }
      /**
       * <code>.google.protobuf.Any root_matcher = 4;</code>
       */
      public Builder setRootMatcher(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.setRootMatcher(value);
        return this;
        }
      /**
       * <code>.google.protobuf.Any root_matcher = 4;</code>
       */
      public Builder setRootMatcher(
          com.google.protobuf.Any.Builder builderForValue) {
        copyOnWrite();
        instance.setRootMatcher(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.protobuf.Any root_matcher = 4;</code>
       */
      public Builder mergeRootMatcher(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.mergeRootMatcher(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any root_matcher = 4;</code>
       */
      public Builder clearRootMatcher() {  copyOnWrite();
        instance.clearRootMatcher();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:google.test.remote.ui.InteractionRequestProto)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new androidx.test.espresso.proto.UiInteraction.InteractionRequestProto();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "actionOrAssertion_",
              "actionOrAssertionCase_",
              "viewMatcher_",
              com.google.protobuf.Any.class,
              com.google.protobuf.Any.class,
              "rootMatcher_",
            };
            java.lang.String info =
                "\u0000\u0004\u0001\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\t\u0002<\u0000" +
                "\u0003<\u0000\u0004\t";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.test.espresso.proto.UiInteraction.InteractionRequestProto> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.test.espresso.proto.UiInteraction.InteractionRequestProto.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.test.espresso.proto.UiInteraction.InteractionRequestProto>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:google.test.remote.ui.InteractionRequestProto)
    private static final androidx.test.espresso.proto.UiInteraction.InteractionRequestProto DEFAULT_INSTANCE;
    static {
      InteractionRequestProto defaultInstance = new InteractionRequestProto();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        InteractionRequestProto.class, defaultInstance);
    }

    public static androidx.test.espresso.proto.UiInteraction.InteractionRequestProto getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<InteractionRequestProto> PARSER;

    public static com.google.protobuf.Parser<InteractionRequestProto> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface ErrorOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.test.remote.ui.Error)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>int32 code = 1;</code>
     * @return The code.
     */
    int getCode();

    /**
     * <code>string description = 2;</code>
     * @return The description.
     */
    java.lang.String getDescription();
    /**
     * <code>string description = 2;</code>
     * @return The bytes for description.
     */
    com.google.protobuf.ByteString
        getDescriptionBytes();

    /**
     * <code>.google.test.remote.ui.Error nested_error = 3;</code>
     * @return Whether the nestedError field is set.
     */
    boolean hasNestedError();
    /**
     * <code>.google.test.remote.ui.Error nested_error = 3;</code>
     * @return The nestedError.
     */
    androidx.test.espresso.proto.UiInteraction.Error getNestedError();
  }
  /**
   * Protobuf type {@code google.test.remote.ui.Error}
   */
  public  static final class Error extends
      com.google.protobuf.GeneratedMessageLite<
          Error, Error.Builder> implements
      // @@protoc_insertion_point(message_implements:google.test.remote.ui.Error)
      ErrorOrBuilder {
    private Error() {
      description_ = "";
    }
    public static final int CODE_FIELD_NUMBER = 1;
    private int code_;
    /**
     * <code>int32 code = 1;</code>
     * @return The code.
     */
    @java.lang.Override
    public int getCode() {
      return code_;
    }
    /**
     * <code>int32 code = 1;</code>
     * @param value The code to set.
     */
    private void setCode(int value) {
      
      code_ = value;
    }
    /**
     * <code>int32 code = 1;</code>
     */
    private void clearCode() {
      
      code_ = 0;
    }

    public static final int DESCRIPTION_FIELD_NUMBER = 2;
    private java.lang.String description_;
    /**
     * <code>string description = 2;</code>
     * @return The description.
     */
    @java.lang.Override
    public java.lang.String getDescription() {
      return description_;
    }
    /**
     * <code>string description = 2;</code>
     * @return The bytes for description.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDescriptionBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(description_);
    }
    /**
     * <code>string description = 2;</code>
     * @param value The description to set.
     */
    private void setDescription(
        java.lang.String value) {
      value.getClass();
  
      description_ = value;
    }
    /**
     * <code>string description = 2;</code>
     */
    private void clearDescription() {
      
      description_ = getDefaultInstance().getDescription();
    }
    /**
     * <code>string description = 2;</code>
     * @param value The bytes for description to set.
     */
    private void setDescriptionBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      description_ = value.toStringUtf8();
      
    }

    public static final int NESTED_ERROR_FIELD_NUMBER = 3;
    private androidx.test.espresso.proto.UiInteraction.Error nestedError_;
    /**
     * <code>.google.test.remote.ui.Error nested_error = 3;</code>
     */
    @java.lang.Override
    public boolean hasNestedError() {
      return nestedError_ != null;
    }
    /**
     * <code>.google.test.remote.ui.Error nested_error = 3;</code>
     */
    @java.lang.Override
    public androidx.test.espresso.proto.UiInteraction.Error getNestedError() {
      return nestedError_ == null ? androidx.test.espresso.proto.UiInteraction.Error.getDefaultInstance() : nestedError_;
    }
    /**
     * <code>.google.test.remote.ui.Error nested_error = 3;</code>
     */
    private void setNestedError(androidx.test.espresso.proto.UiInteraction.Error value) {
      value.getClass();
  nestedError_ = value;
      
      }
    /**
     * <code>.google.test.remote.ui.Error nested_error = 3;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeNestedError(androidx.test.espresso.proto.UiInteraction.Error value) {
      value.getClass();
  if (nestedError_ != null &&
          nestedError_ != androidx.test.espresso.proto.UiInteraction.Error.getDefaultInstance()) {
        nestedError_ =
          androidx.test.espresso.proto.UiInteraction.Error.newBuilder(nestedError_).mergeFrom(value).buildPartial();
      } else {
        nestedError_ = value;
      }
      
    }
    /**
     * <code>.google.test.remote.ui.Error nested_error = 3;</code>
     */
    private void clearNestedError() {  nestedError_ = null;
      
    }

    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.proto.UiInteraction.Error parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(androidx.test.espresso.proto.UiInteraction.Error prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code google.test.remote.ui.Error}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.test.espresso.proto.UiInteraction.Error, Builder> implements
        // @@protoc_insertion_point(builder_implements:google.test.remote.ui.Error)
        androidx.test.espresso.proto.UiInteraction.ErrorOrBuilder {
      // Construct using androidx.test.espresso.proto.UiInteraction.Error.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <code>int32 code = 1;</code>
       * @return The code.
       */
      @java.lang.Override
      public int getCode() {
        return instance.getCode();
      }
      /**
       * <code>int32 code = 1;</code>
       * @param value The code to set.
       * @return This builder for chaining.
       */
      public Builder setCode(int value) {
        copyOnWrite();
        instance.setCode(value);
        return this;
      }
      /**
       * <code>int32 code = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearCode() {
        copyOnWrite();
        instance.clearCode();
        return this;
      }

      /**
       * <code>string description = 2;</code>
       * @return The description.
       */
      @java.lang.Override
      public java.lang.String getDescription() {
        return instance.getDescription();
      }
      /**
       * <code>string description = 2;</code>
       * @return The bytes for description.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getDescriptionBytes() {
        return instance.getDescriptionBytes();
      }
      /**
       * <code>string description = 2;</code>
       * @param value The description to set.
       * @return This builder for chaining.
       */
      public Builder setDescription(
          java.lang.String value) {
        copyOnWrite();
        instance.setDescription(value);
        return this;
      }
      /**
       * <code>string description = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearDescription() {
        copyOnWrite();
        instance.clearDescription();
        return this;
      }
      /**
       * <code>string description = 2;</code>
       * @param value The bytes for description to set.
       * @return This builder for chaining.
       */
      public Builder setDescriptionBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setDescriptionBytes(value);
        return this;
      }

      /**
       * <code>.google.test.remote.ui.Error nested_error = 3;</code>
       */
      @java.lang.Override
      public boolean hasNestedError() {
        return instance.hasNestedError();
      }
      /**
       * <code>.google.test.remote.ui.Error nested_error = 3;</code>
       */
      @java.lang.Override
      public androidx.test.espresso.proto.UiInteraction.Error getNestedError() {
        return instance.getNestedError();
      }
      /**
       * <code>.google.test.remote.ui.Error nested_error = 3;</code>
       */
      public Builder setNestedError(androidx.test.espresso.proto.UiInteraction.Error value) {
        copyOnWrite();
        instance.setNestedError(value);
        return this;
        }
      /**
       * <code>.google.test.remote.ui.Error nested_error = 3;</code>
       */
      public Builder setNestedError(
          androidx.test.espresso.proto.UiInteraction.Error.Builder builderForValue) {
        copyOnWrite();
        instance.setNestedError(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.test.remote.ui.Error nested_error = 3;</code>
       */
      public Builder mergeNestedError(androidx.test.espresso.proto.UiInteraction.Error value) {
        copyOnWrite();
        instance.mergeNestedError(value);
        return this;
      }
      /**
       * <code>.google.test.remote.ui.Error nested_error = 3;</code>
       */
      public Builder clearNestedError() {  copyOnWrite();
        instance.clearNestedError();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:google.test.remote.ui.Error)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new androidx.test.espresso.proto.UiInteraction.Error();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "code_",
              "description_",
              "nestedError_",
            };
            java.lang.String info =
                "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0004\u0002\u0208" +
                "\u0003\t";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.test.espresso.proto.UiInteraction.Error> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.test.espresso.proto.UiInteraction.Error.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.test.espresso.proto.UiInteraction.Error>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:google.test.remote.ui.Error)
    private static final androidx.test.espresso.proto.UiInteraction.Error DEFAULT_INSTANCE;
    static {
      Error defaultInstance = new Error();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        Error.class, defaultInstance);
    }

    public static androidx.test.espresso.proto.UiInteraction.Error getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<Error> PARSER;

    public static com.google.protobuf.Parser<Error> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public interface InteractionResultProtoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.test.remote.ui.InteractionResultProto)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>bool ok = 1;</code>
     * @return The ok.
     */
    boolean getOk();

    /**
     * <code>.google.protobuf.Any payload = 2;</code>
     * @return Whether the payload field is set.
     */
    boolean hasPayload();
    /**
     * <code>.google.protobuf.Any payload = 2;</code>
     * @return The payload.
     */
    com.google.protobuf.Any getPayload();

    /**
     * <code>.google.test.remote.ui.Error error_msg = 3;</code>
     * @return Whether the errorMsg field is set.
     */
    boolean hasErrorMsg();
    /**
     * <code>.google.test.remote.ui.Error error_msg = 3;</code>
     * @return The errorMsg.
     */
    androidx.test.espresso.proto.UiInteraction.Error getErrorMsg();
  }
  /**
   * Protobuf type {@code google.test.remote.ui.InteractionResultProto}
   */
  public  static final class InteractionResultProto extends
      com.google.protobuf.GeneratedMessageLite<
          InteractionResultProto, InteractionResultProto.Builder> implements
      // @@protoc_insertion_point(message_implements:google.test.remote.ui.InteractionResultProto)
      InteractionResultProtoOrBuilder {
    private InteractionResultProto() {
    }
    public static final int OK_FIELD_NUMBER = 1;
    private boolean ok_;
    /**
     * <code>bool ok = 1;</code>
     * @return The ok.
     */
    @java.lang.Override
    public boolean getOk() {
      return ok_;
    }
    /**
     * <code>bool ok = 1;</code>
     * @param value The ok to set.
     */
    private void setOk(boolean value) {
      
      ok_ = value;
    }
    /**
     * <code>bool ok = 1;</code>
     */
    private void clearOk() {
      
      ok_ = false;
    }

    public static final int PAYLOAD_FIELD_NUMBER = 2;
    private com.google.protobuf.Any payload_;
    /**
     * <code>.google.protobuf.Any payload = 2;</code>
     */
    @java.lang.Override
    public boolean hasPayload() {
      return payload_ != null;
    }
    /**
     * <code>.google.protobuf.Any payload = 2;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Any getPayload() {
      return payload_ == null ? com.google.protobuf.Any.getDefaultInstance() : payload_;
    }
    /**
     * <code>.google.protobuf.Any payload = 2;</code>
     */
    private void setPayload(com.google.protobuf.Any value) {
      value.getClass();
  payload_ = value;
      
      }
    /**
     * <code>.google.protobuf.Any payload = 2;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergePayload(com.google.protobuf.Any value) {
      value.getClass();
  if (payload_ != null &&
          payload_ != com.google.protobuf.Any.getDefaultInstance()) {
        payload_ =
          com.google.protobuf.Any.newBuilder(payload_).mergeFrom(value).buildPartial();
      } else {
        payload_ = value;
      }
      
    }
    /**
     * <code>.google.protobuf.Any payload = 2;</code>
     */
    private void clearPayload() {  payload_ = null;
      
    }

    public static final int ERROR_MSG_FIELD_NUMBER = 3;
    private androidx.test.espresso.proto.UiInteraction.Error errorMsg_;
    /**
     * <code>.google.test.remote.ui.Error error_msg = 3;</code>
     */
    @java.lang.Override
    public boolean hasErrorMsg() {
      return errorMsg_ != null;
    }
    /**
     * <code>.google.test.remote.ui.Error error_msg = 3;</code>
     */
    @java.lang.Override
    public androidx.test.espresso.proto.UiInteraction.Error getErrorMsg() {
      return errorMsg_ == null ? androidx.test.espresso.proto.UiInteraction.Error.getDefaultInstance() : errorMsg_;
    }
    /**
     * <code>.google.test.remote.ui.Error error_msg = 3;</code>
     */
    private void setErrorMsg(androidx.test.espresso.proto.UiInteraction.Error value) {
      value.getClass();
  errorMsg_ = value;
      
      }
    /**
     * <code>.google.test.remote.ui.Error error_msg = 3;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeErrorMsg(androidx.test.espresso.proto.UiInteraction.Error value) {
      value.getClass();
  if (errorMsg_ != null &&
          errorMsg_ != androidx.test.espresso.proto.UiInteraction.Error.getDefaultInstance()) {
        errorMsg_ =
          androidx.test.espresso.proto.UiInteraction.Error.newBuilder(errorMsg_).mergeFrom(value).buildPartial();
      } else {
        errorMsg_ = value;
      }
      
    }
    /**
     * <code>.google.test.remote.ui.Error error_msg = 3;</code>
     */
    private void clearErrorMsg() {  errorMsg_ = null;
      
    }

    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(androidx.test.espresso.proto.UiInteraction.InteractionResultProto prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * Protobuf type {@code google.test.remote.ui.InteractionResultProto}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          androidx.test.espresso.proto.UiInteraction.InteractionResultProto, Builder> implements
        // @@protoc_insertion_point(builder_implements:google.test.remote.ui.InteractionResultProto)
        androidx.test.espresso.proto.UiInteraction.InteractionResultProtoOrBuilder {
      // Construct using androidx.test.espresso.proto.UiInteraction.InteractionResultProto.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <code>bool ok = 1;</code>
       * @return The ok.
       */
      @java.lang.Override
      public boolean getOk() {
        return instance.getOk();
      }
      /**
       * <code>bool ok = 1;</code>
       * @param value The ok to set.
       * @return This builder for chaining.
       */
      public Builder setOk(boolean value) {
        copyOnWrite();
        instance.setOk(value);
        return this;
      }
      /**
       * <code>bool ok = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearOk() {
        copyOnWrite();
        instance.clearOk();
        return this;
      }

      /**
       * <code>.google.protobuf.Any payload = 2;</code>
       */
      @java.lang.Override
      public boolean hasPayload() {
        return instance.hasPayload();
      }
      /**
       * <code>.google.protobuf.Any payload = 2;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Any getPayload() {
        return instance.getPayload();
      }
      /**
       * <code>.google.protobuf.Any payload = 2;</code>
       */
      public Builder setPayload(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.setPayload(value);
        return this;
        }
      /**
       * <code>.google.protobuf.Any payload = 2;</code>
       */
      public Builder setPayload(
          com.google.protobuf.Any.Builder builderForValue) {
        copyOnWrite();
        instance.setPayload(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.protobuf.Any payload = 2;</code>
       */
      public Builder mergePayload(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.mergePayload(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any payload = 2;</code>
       */
      public Builder clearPayload() {  copyOnWrite();
        instance.clearPayload();
        return this;
      }

      /**
       * <code>.google.test.remote.ui.Error error_msg = 3;</code>
       */
      @java.lang.Override
      public boolean hasErrorMsg() {
        return instance.hasErrorMsg();
      }
      /**
       * <code>.google.test.remote.ui.Error error_msg = 3;</code>
       */
      @java.lang.Override
      public androidx.test.espresso.proto.UiInteraction.Error getErrorMsg() {
        return instance.getErrorMsg();
      }
      /**
       * <code>.google.test.remote.ui.Error error_msg = 3;</code>
       */
      public Builder setErrorMsg(androidx.test.espresso.proto.UiInteraction.Error value) {
        copyOnWrite();
        instance.setErrorMsg(value);
        return this;
        }
      /**
       * <code>.google.test.remote.ui.Error error_msg = 3;</code>
       */
      public Builder setErrorMsg(
          androidx.test.espresso.proto.UiInteraction.Error.Builder builderForValue) {
        copyOnWrite();
        instance.setErrorMsg(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.test.remote.ui.Error error_msg = 3;</code>
       */
      public Builder mergeErrorMsg(androidx.test.espresso.proto.UiInteraction.Error value) {
        copyOnWrite();
        instance.mergeErrorMsg(value);
        return this;
      }
      /**
       * <code>.google.test.remote.ui.Error error_msg = 3;</code>
       */
      public Builder clearErrorMsg() {  copyOnWrite();
        instance.clearErrorMsg();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:google.test.remote.ui.InteractionResultProto)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new androidx.test.espresso.proto.UiInteraction.InteractionResultProto();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "ok_",
              "payload_",
              "errorMsg_",
            };
            java.lang.String info =
                "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0007\u0002\t" +
                "\u0003\t";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<androidx.test.espresso.proto.UiInteraction.InteractionResultProto> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.test.espresso.proto.UiInteraction.InteractionResultProto.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.test.espresso.proto.UiInteraction.InteractionResultProto>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:google.test.remote.ui.InteractionResultProto)
    private static final androidx.test.espresso.proto.UiInteraction.InteractionResultProto DEFAULT_INSTANCE;
    static {
      InteractionResultProto defaultInstance = new InteractionResultProto();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        InteractionResultProto.class, defaultInstance);
    }

    public static androidx.test.espresso.proto.UiInteraction.InteractionResultProto getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<InteractionResultProto> PARSER;

    public static com.google.protobuf.Parser<InteractionResultProto> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}