public final class

WebActions

extends java.lang.Object

 java.lang.Object

↳androidx.test.espresso.web.proto.action.WebActions

Summary

Methods
public static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)

Source

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

package androidx.test.espresso.web.proto.action;

public final class WebActions {
  private WebActions() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  public interface AtomActionProtoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.test.remote.web.action.AtomActionProto)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <code>string id = 1;</code>
     * @return The id.
     */
    java.lang.String getId();
    /**
     * <code>string id = 1;</code>
     * @return The bytes for id.
     */
    com.google.protobuf.ByteString
        getIdBytes();

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

    /**
     * <code>.google.protobuf.Any window = 3;</code>
     * @return Whether the window field is set.
     */
    boolean hasWindow();
    /**
     * <code>.google.protobuf.Any window = 3;</code>
     * @return The window.
     */
    com.google.protobuf.Any getWindow();

    /**
     * <code>.google.protobuf.Any element = 4;</code>
     * @return Whether the element field is set.
     */
    boolean hasElement();
    /**
     * <code>.google.protobuf.Any element = 4;</code>
     * @return The element.
     */
    com.google.protobuf.Any getElement();
  }
  /**
   * Protobuf type {@code google.test.remote.web.action.AtomActionProto}
   */
  public  static final class AtomActionProto extends
      com.google.protobuf.GeneratedMessageLite<
          AtomActionProto, AtomActionProto.Builder> implements
      // @@protoc_insertion_point(message_implements:google.test.remote.web.action.AtomActionProto)
      AtomActionProtoOrBuilder {
    private AtomActionProto() {
      id_ = "";
    }
    public static final int ID_FIELD_NUMBER = 1;
    private java.lang.String id_;
    /**
     * <code>string id = 1;</code>
     * @return The id.
     */
    @java.lang.Override
    public java.lang.String getId() {
      return id_;
    }
    /**
     * <code>string id = 1;</code>
     * @return The bytes for id.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getIdBytes() {
      return com.google.protobuf.ByteString.copyFromUtf8(id_);
    }
    /**
     * <code>string id = 1;</code>
     * @param value The id to set.
     */
    private void setId(
        java.lang.String value) {
      java.lang.Class<?> valueClass = value.getClass();
  
      id_ = value;
    }
    /**
     * <code>string id = 1;</code>
     */
    private void clearId() {
      
      id_ = getDefaultInstance().getId();
    }
    /**
     * <code>string id = 1;</code>
     * @param value The bytes for id to set.
     */
    private void setIdBytes(
        com.google.protobuf.ByteString value) {
      checkByteStringIsUtf8(value);
      id_ = value.toStringUtf8();
      
    }

    public static final int ATOM_FIELD_NUMBER = 2;
    private com.google.protobuf.Any atom_;
    /**
     * <code>.google.protobuf.Any atom = 2;</code>
     */
    @java.lang.Override
    public boolean hasAtom() {
      return atom_ != null;
    }
    /**
     * <code>.google.protobuf.Any atom = 2;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Any getAtom() {
      return atom_ == null ? com.google.protobuf.Any.getDefaultInstance() : atom_;
    }
    /**
     * <code>.google.protobuf.Any atom = 2;</code>
     */
    private void setAtom(com.google.protobuf.Any value) {
      value.getClass();
  atom_ = value;
      
      }
    /**
     * <code>.google.protobuf.Any atom = 2;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeAtom(com.google.protobuf.Any value) {
      value.getClass();
  if (atom_ != null &&
          atom_ != com.google.protobuf.Any.getDefaultInstance()) {
        atom_ =
          com.google.protobuf.Any.newBuilder(atom_).mergeFrom(value).buildPartial();
      } else {
        atom_ = value;
      }
      
    }
    /**
     * <code>.google.protobuf.Any atom = 2;</code>
     */
    private void clearAtom() {  atom_ = null;
      
    }

    public static final int WINDOW_FIELD_NUMBER = 3;
    private com.google.protobuf.Any window_;
    /**
     * <code>.google.protobuf.Any window = 3;</code>
     */
    @java.lang.Override
    public boolean hasWindow() {
      return window_ != null;
    }
    /**
     * <code>.google.protobuf.Any window = 3;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Any getWindow() {
      return window_ == null ? com.google.protobuf.Any.getDefaultInstance() : window_;
    }
    /**
     * <code>.google.protobuf.Any window = 3;</code>
     */
    private void setWindow(com.google.protobuf.Any value) {
      value.getClass();
  window_ = value;
      
      }
    /**
     * <code>.google.protobuf.Any window = 3;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeWindow(com.google.protobuf.Any value) {
      value.getClass();
  if (window_ != null &&
          window_ != com.google.protobuf.Any.getDefaultInstance()) {
        window_ =
          com.google.protobuf.Any.newBuilder(window_).mergeFrom(value).buildPartial();
      } else {
        window_ = value;
      }
      
    }
    /**
     * <code>.google.protobuf.Any window = 3;</code>
     */
    private void clearWindow() {  window_ = null;
      
    }

    public static final int ELEMENT_FIELD_NUMBER = 4;
    private com.google.protobuf.Any element_;
    /**
     * <code>.google.protobuf.Any element = 4;</code>
     */
    @java.lang.Override
    public boolean hasElement() {
      return element_ != null;
    }
    /**
     * <code>.google.protobuf.Any element = 4;</code>
     */
    @java.lang.Override
    public com.google.protobuf.Any getElement() {
      return element_ == null ? com.google.protobuf.Any.getDefaultInstance() : element_;
    }
    /**
     * <code>.google.protobuf.Any element = 4;</code>
     */
    private void setElement(com.google.protobuf.Any value) {
      value.getClass();
  element_ = value;
      
      }
    /**
     * <code>.google.protobuf.Any element = 4;</code>
     */
    @java.lang.SuppressWarnings({"ReferenceEquality"})
    private void mergeElement(com.google.protobuf.Any value) {
      value.getClass();
  if (element_ != null &&
          element_ != com.google.protobuf.Any.getDefaultInstance()) {
        element_ =
          com.google.protobuf.Any.newBuilder(element_).mergeFrom(value).buildPartial();
      } else {
        element_ = value;
      }
      
    }
    /**
     * <code>.google.protobuf.Any element = 4;</code>
     */
    private void clearElement() {  element_ = null;
      
    }

    public static androidx.test.espresso.web.proto.action.WebActions.AtomActionProto parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.web.proto.action.WebActions.AtomActionProto 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.web.proto.action.WebActions.AtomActionProto 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.web.proto.action.WebActions.AtomActionProto 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.web.proto.action.WebActions.AtomActionProto parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static androidx.test.espresso.web.proto.action.WebActions.AtomActionProto 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.web.proto.action.WebActions.AtomActionProto parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.web.proto.action.WebActions.AtomActionProto 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.web.proto.action.WebActions.AtomActionProto parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.web.proto.action.WebActions.AtomActionProto 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.web.proto.action.WebActions.AtomActionProto parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static androidx.test.espresso.web.proto.action.WebActions.AtomActionProto 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.web.proto.action.WebActions.AtomActionProto prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

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


      /**
       * <code>string id = 1;</code>
       * @return The id.
       */
      @java.lang.Override
      public java.lang.String getId() {
        return instance.getId();
      }
      /**
       * <code>string id = 1;</code>
       * @return The bytes for id.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString
          getIdBytes() {
        return instance.getIdBytes();
      }
      /**
       * <code>string id = 1;</code>
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(
          java.lang.String value) {
        copyOnWrite();
        instance.setId(value);
        return this;
      }
      /**
       * <code>string id = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearId() {
        copyOnWrite();
        instance.clearId();
        return this;
      }
      /**
       * <code>string id = 1;</code>
       * @param value The bytes for id to set.
       * @return This builder for chaining.
       */
      public Builder setIdBytes(
          com.google.protobuf.ByteString value) {
        copyOnWrite();
        instance.setIdBytes(value);
        return this;
      }

      /**
       * <code>.google.protobuf.Any atom = 2;</code>
       */
      @java.lang.Override
      public boolean hasAtom() {
        return instance.hasAtom();
      }
      /**
       * <code>.google.protobuf.Any atom = 2;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Any getAtom() {
        return instance.getAtom();
      }
      /**
       * <code>.google.protobuf.Any atom = 2;</code>
       */
      public Builder setAtom(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.setAtom(value);
        return this;
        }
      /**
       * <code>.google.protobuf.Any atom = 2;</code>
       */
      public Builder setAtom(
          com.google.protobuf.Any.Builder builderForValue) {
        copyOnWrite();
        instance.setAtom(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.protobuf.Any atom = 2;</code>
       */
      public Builder mergeAtom(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.mergeAtom(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any atom = 2;</code>
       */
      public Builder clearAtom() {  copyOnWrite();
        instance.clearAtom();
        return this;
      }

      /**
       * <code>.google.protobuf.Any window = 3;</code>
       */
      @java.lang.Override
      public boolean hasWindow() {
        return instance.hasWindow();
      }
      /**
       * <code>.google.protobuf.Any window = 3;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Any getWindow() {
        return instance.getWindow();
      }
      /**
       * <code>.google.protobuf.Any window = 3;</code>
       */
      public Builder setWindow(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.setWindow(value);
        return this;
        }
      /**
       * <code>.google.protobuf.Any window = 3;</code>
       */
      public Builder setWindow(
          com.google.protobuf.Any.Builder builderForValue) {
        copyOnWrite();
        instance.setWindow(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.protobuf.Any window = 3;</code>
       */
      public Builder mergeWindow(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.mergeWindow(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any window = 3;</code>
       */
      public Builder clearWindow() {  copyOnWrite();
        instance.clearWindow();
        return this;
      }

      /**
       * <code>.google.protobuf.Any element = 4;</code>
       */
      @java.lang.Override
      public boolean hasElement() {
        return instance.hasElement();
      }
      /**
       * <code>.google.protobuf.Any element = 4;</code>
       */
      @java.lang.Override
      public com.google.protobuf.Any getElement() {
        return instance.getElement();
      }
      /**
       * <code>.google.protobuf.Any element = 4;</code>
       */
      public Builder setElement(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.setElement(value);
        return this;
        }
      /**
       * <code>.google.protobuf.Any element = 4;</code>
       */
      public Builder setElement(
          com.google.protobuf.Any.Builder builderForValue) {
        copyOnWrite();
        instance.setElement(builderForValue.build());
        return this;
      }
      /**
       * <code>.google.protobuf.Any element = 4;</code>
       */
      public Builder mergeElement(com.google.protobuf.Any value) {
        copyOnWrite();
        instance.mergeElement(value);
        return this;
      }
      /**
       * <code>.google.protobuf.Any element = 4;</code>
       */
      public Builder clearElement() {  copyOnWrite();
        instance.clearElement();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:google.test.remote.web.action.AtomActionProto)
    }
    @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.web.proto.action.WebActions.AtomActionProto();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "id_",
              "atom_",
              "window_",
              "element_",
            };
            java.lang.String info =
                "\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0208\u0002\t" +
                "\u0003\t\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.web.proto.action.WebActions.AtomActionProto> parser = PARSER;
          if (parser == null) {
            synchronized (androidx.test.espresso.web.proto.action.WebActions.AtomActionProto.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<androidx.test.espresso.web.proto.action.WebActions.AtomActionProto>(
                        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.web.action.AtomActionProto)
    private static final androidx.test.espresso.web.proto.action.WebActions.AtomActionProto DEFAULT_INSTANCE;
    static {
      AtomActionProto defaultInstance = new AtomActionProto();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        AtomActionProto.class, defaultInstance);
    }

    public static androidx.test.espresso.web.proto.action.WebActions.AtomActionProto getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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


  static {
  }

  // @@protoc_insertion_point(outer_class_scope)
}