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

com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages Maven / Gradle / Ivy

There is a newer version: 3.0.0-dev
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: th2_grpc_hand/rhactionsmessages_web.proto

package com.exactpro.th2.act.grpc.hand.rhactions;

public final class RhActionsMessages {
  private RhActionsMessages() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code Locator}
   */
  public enum Locator
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * NOT_SET = 0;
     */
    NOT_SET(0),
    /**
     * CSS_SELECTOR = 1;
     */
    CSS_SELECTOR(1),
    /**
     * TAG_NAME = 2;
     */
    TAG_NAME(2),
    /**
     * ID = 3;
     */
    ID(3),
    /**
     * XPATH = 4;
     */
    XPATH(4),
    UNRECOGNIZED(-1),
    ;

    /**
     * NOT_SET = 0;
     */
    public static final int NOT_SET_VALUE = 0;
    /**
     * CSS_SELECTOR = 1;
     */
    public static final int CSS_SELECTOR_VALUE = 1;
    /**
     * TAG_NAME = 2;
     */
    public static final int TAG_NAME_VALUE = 2;
    /**
     * ID = 3;
     */
    public static final int ID_VALUE = 3;
    /**
     * XPATH = 4;
     */
    public static final int XPATH_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 Locator 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 Locator forNumber(int value) {
      switch (value) {
        case 0: return NOT_SET;
        case 1: return CSS_SELECTOR;
        case 2: return TAG_NAME;
        case 3: return ID;
        case 4: return XPATH;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        Locator> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public Locator findValueByNumber(int number) {
              return Locator.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 com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.getDescriptor().getEnumTypes().get(0);
    }

    private static final Locator[] VALUES = values();

    public static Locator 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 Locator(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:Locator)
  }

  public interface OpenOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Open)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string url = 1;
     * @return The url.
     */
    java.lang.String getUrl();
    /**
     * string url = 1;
     * @return The bytes for url.
     */
    com.google.protobuf.ByteString
        getUrlBytes();
  }
  /**
   * Protobuf type {@code Open}
   */
  public static final class Open extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:Open)
      OpenOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Open.newBuilder() to construct.
    private Open(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Open() {
      url_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Open();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Open(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      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();

              url_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Open_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Open_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open.Builder.class);
    }

    public static final int URL_FIELD_NUMBER = 1;
    private volatile java.lang.Object url_;
    /**
     * string url = 1;
     * @return The url.
     */
    @java.lang.Override
    public java.lang.String getUrl() {
      java.lang.Object ref = url_;
      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();
        url_ = s;
        return s;
      }
    }
    /**
     * string url = 1;
     * @return The bytes for url.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUrlBytes() {
      java.lang.Object ref = url_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        url_ = 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.GeneratedMessageV3.isStringEmpty(url_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open)) {
        return super.equals(obj);
      }
      com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open) obj;

      if (!getUrl()
          .equals(other.getUrl())) return false;
      if (!unknownFields.equals(other.unknownFields)) 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) + URL_FIELD_NUMBER;
      hash = (53 * hash) + getUrl().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open 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.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code Open}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:Open)
        com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.OpenOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Open_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Open_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open.Builder.class);
      }

      // Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        url_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Open_descriptor;
      }

      @java.lang.Override
      public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open getDefaultInstanceForType() {
        return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open.getDefaultInstance();
      }

      @java.lang.Override
      public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open build() {
        com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open buildPartial() {
        com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open(this);
        result.url_ = url_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open) {
          return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open other) {
        if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open.getDefaultInstance()) return this;
        if (!other.getUrl().isEmpty()) {
          url_ = other.url_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        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 {
        com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object url_ = "";
      /**
       * string url = 1;
       * @return The url.
       */
      public java.lang.String getUrl() {
        java.lang.Object ref = url_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          url_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string url = 1;
       * @return The bytes for url.
       */
      public com.google.protobuf.ByteString
          getUrlBytes() {
        java.lang.Object ref = url_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          url_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string url = 1;
       * @param value The url to set.
       * @return This builder for chaining.
       */
      public Builder setUrl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        url_ = value;
        onChanged();
        return this;
      }
      /**
       * string url = 1;
       * @return This builder for chaining.
       */
      public Builder clearUrl() {
        
        url_ = getDefaultInstance().getUrl();
        onChanged();
        return this;
      }
      /**
       * string url = 1;
       * @param value The bytes for url to set.
       * @return This builder for chaining.
       */
      public Builder setUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        url_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:Open)
    }

    // @@protoc_insertion_point(class_scope:Open)
    private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open();
    }

    public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Open parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Open(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Open getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ClickOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Click)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int32 wait = 1;
     * @return The wait.
     */
    int getWait();

    /**
     * .Locator locator = 2;
     * @return The enum numeric value on the wire for locator.
     */
    int getLocatorValue();
    /**
     * .Locator locator = 2;
     * @return The locator.
     */
    com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator();

    /**
     * string matcher = 3;
     * @return The matcher.
     */
    java.lang.String getMatcher();
    /**
     * string matcher = 3;
     * @return The bytes for matcher.
     */
    com.google.protobuf.ByteString
        getMatcherBytes();

    /**
     * string webId = 4;
     * @return The webId.
     */
    java.lang.String getWebId();
    /**
     * string webId = 4;
     * @return The bytes for webId.
     */
    com.google.protobuf.ByteString
        getWebIdBytes();

    /**
     * .Click.Button button = 5;
     * @return The enum numeric value on the wire for button.
     */
    int getButtonValue();
    /**
     * .Click.Button button = 5;
     * @return The button.
     */
    com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button getButton();

    /**
     * int32 xOffset = 6;
     * @return The xOffset.
     */
    int getXOffset();

    /**
     * int32 yOffset = 7;
     * @return The yOffset.
     */
    int getYOffset();

    /**
     * .Click.ModifiersList modifiers = 8;
     * @return Whether the modifiers field is set.
     */
    boolean hasModifiers();
    /**
     * .Click.ModifiersList modifiers = 8;
     * @return The modifiers.
     */
    com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList getModifiers();
    /**
     * .Click.ModifiersList modifiers = 8;
     */
    com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersListOrBuilder getModifiersOrBuilder();
  }
  /**
   * Protobuf type {@code Click}
   */
  public static final class Click extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:Click)
      ClickOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Click.newBuilder() to construct.
    private Click(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Click() {
      locator_ = 0;
      matcher_ = "";
      webId_ = "";
      button_ = 0;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Click();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Click(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              wait_ = input.readInt32();
              break;
            }
            case 16: {
              int rawValue = input.readEnum();

              locator_ = rawValue;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              matcher_ = s;
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();

              webId_ = s;
              break;
            }
            case 40: {
              int rawValue = input.readEnum();

              button_ = rawValue;
              break;
            }
            case 48: {

              xOffset_ = input.readInt32();
              break;
            }
            case 56: {

              yOffset_ = input.readInt32();
              break;
            }
            case 66: {
              com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Builder subBuilder = null;
              if (modifiers_ != null) {
                subBuilder = modifiers_.toBuilder();
              }
              modifiers_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(modifiers_);
                modifiers_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Click_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Click_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Builder.class);
    }

    /**
     * Protobuf enum {@code Click.Button}
     */
    public enum Button
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * LEFT = 0;
       */
      LEFT(0),
      /**
       * RIGHT = 1;
       */
      RIGHT(1),
      /**
       * MIDDLE = 2;
       */
      MIDDLE(2),
      /**
       * DOUBLE = 3;
       */
      DOUBLE(3),
      UNRECOGNIZED(-1),
      ;

      /**
       * LEFT = 0;
       */
      public static final int LEFT_VALUE = 0;
      /**
       * RIGHT = 1;
       */
      public static final int RIGHT_VALUE = 1;
      /**
       * MIDDLE = 2;
       */
      public static final int MIDDLE_VALUE = 2;
      /**
       * DOUBLE = 3;
       */
      public static final int DOUBLE_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 Button 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 Button forNumber(int value) {
        switch (value) {
          case 0: return LEFT;
          case 1: return RIGHT;
          case 2: return MIDDLE;
          case 3: return DOUBLE;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap




© 2015 - 2024 Weber Informatics LLC | Privacy Policy