Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages Maven / Gradle / Ivy
// 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
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Button> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Button findValueByNumber(int number) {
return Button.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.Click.getDescriptor().getEnumTypes().get(0);
}
private static final Button[] VALUES = values();
public static Button 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 Button(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:Click.Button)
}
public interface ModifiersListOrBuilder extends
// @@protoc_insertion_point(interface_extends:Click.ModifiersList)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return A list containing the modifier.
*/
java.util.List getModifierList();
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return The count of modifier.
*/
int getModifierCount();
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param index The index of the element to return.
* @return The modifier at the given index.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier getModifier(int index);
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return A list containing the enum numeric values on the wire for modifier.
*/
java.util.List
getModifierValueList();
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of modifier at the given index.
*/
int getModifierValue(int index);
}
/**
* Protobuf type {@code Click.ModifiersList}
*/
public static final class ModifiersList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Click.ModifiersList)
ModifiersListOrBuilder {
private static final long serialVersionUID = 0L;
// Use ModifiersList.newBuilder() to construct.
private ModifiersList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ModifiersList() {
modifier_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ModifiersList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ModifiersList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
modifier_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
modifier_.add(rawValue);
break;
}
case 10: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
modifier_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
modifier_.add(rawValue);
}
input.popLimit(oldLimit);
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
modifier_ = java.util.Collections.unmodifiableList(modifier_);
}
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_ModifiersList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Click_ModifiersList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Builder.class);
}
/**
* Protobuf enum {@code Click.ModifiersList.Modifier}
*/
public enum Modifier
implements com.google.protobuf.ProtocolMessageEnum {
/**
* CTRL = 0;
*/
CTRL(0),
/**
* SHIFT = 1;
*/
SHIFT(1),
/**
* ALT = 2;
*/
ALT(2),
UNRECOGNIZED(-1),
;
/**
* CTRL = 0;
*/
public static final int CTRL_VALUE = 0;
/**
* SHIFT = 1;
*/
public static final int SHIFT_VALUE = 1;
/**
* ALT = 2;
*/
public static final int ALT_VALUE = 2;
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 Modifier 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 Modifier forNumber(int value) {
switch (value) {
case 0: return CTRL;
case 1: return SHIFT;
case 2: return ALT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Modifier> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Modifier findValueByNumber(int number) {
return Modifier.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.Click.ModifiersList.getDescriptor().getEnumTypes().get(0);
}
private static final Modifier[] VALUES = values();
public static Modifier 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 Modifier(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:Click.ModifiersList.Modifier)
}
public static final int MODIFIER_FIELD_NUMBER = 1;
private java.util.List modifier_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier> modifier_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier>() {
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier.valueOf(from);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier.UNRECOGNIZED : result;
}
};
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return A list containing the modifier.
*/
@java.lang.Override
public java.util.List getModifierList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier>(modifier_, modifier_converter_);
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return The count of modifier.
*/
@java.lang.Override
public int getModifierCount() {
return modifier_.size();
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param index The index of the element to return.
* @return The modifier at the given index.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier getModifier(int index) {
return modifier_converter_.convert(modifier_.get(index));
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return A list containing the enum numeric values on the wire for modifier.
*/
@java.lang.Override
public java.util.List
getModifierValueList() {
return modifier_;
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of modifier at the given index.
*/
@java.lang.Override
public int getModifierValue(int index) {
return modifier_.get(index);
}
private int modifierMemoizedSerializedSize;
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getModifierList().size() > 0) {
output.writeUInt32NoTag(10);
output.writeUInt32NoTag(modifierMemoizedSerializedSize);
}
for (int i = 0; i < modifier_.size(); i++) {
output.writeEnumNoTag(modifier_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < modifier_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(modifier_.get(i));
}
size += dataSize;
if (!getModifierList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}modifierMemoizedSerializedSize = dataSize;
}
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.Click.ModifiersList)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList) obj;
if (!modifier_.equals(other.modifier_)) 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();
if (getModifierCount() > 0) {
hash = (37 * hash) + MODIFIER_FIELD_NUMBER;
hash = (53 * hash) + modifier_.hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList 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.Click.ModifiersList 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.Click.ModifiersList 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.Click.ModifiersList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList 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.Click.ModifiersList 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.Click.ModifiersList 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.Click.ModifiersList 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.Click.ModifiersList 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.Click.ModifiersList 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.Click.ModifiersList 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.Click.ModifiersList 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 Click.ModifiersList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Click.ModifiersList)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Click_ModifiersList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Click_ModifiersList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.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();
modifier_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Click_ModifiersList_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
modifier_ = java.util.Collections.unmodifiableList(modifier_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.modifier_ = modifier_;
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.Click.ModifiersList) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.getDefaultInstance()) return this;
if (!other.modifier_.isEmpty()) {
if (modifier_.isEmpty()) {
modifier_ = other.modifier_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureModifierIsMutable();
modifier_.addAll(other.modifier_);
}
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.Click.ModifiersList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List modifier_ =
java.util.Collections.emptyList();
private void ensureModifierIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
modifier_ = new java.util.ArrayList(modifier_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return A list containing the modifier.
*/
public java.util.List getModifierList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier>(modifier_, modifier_converter_);
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return The count of modifier.
*/
public int getModifierCount() {
return modifier_.size();
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param index The index of the element to return.
* @return The modifier at the given index.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier getModifier(int index) {
return modifier_converter_.convert(modifier_.get(index));
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param index The index to set the value at.
* @param value The modifier to set.
* @return This builder for chaining.
*/
public Builder setModifier(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier value) {
if (value == null) {
throw new NullPointerException();
}
ensureModifierIsMutable();
modifier_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param value The modifier to add.
* @return This builder for chaining.
*/
public Builder addModifier(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier value) {
if (value == null) {
throw new NullPointerException();
}
ensureModifierIsMutable();
modifier_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param values The modifier to add.
* @return This builder for chaining.
*/
public Builder addAllModifier(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier> values) {
ensureModifierIsMutable();
for (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Modifier value : values) {
modifier_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return This builder for chaining.
*/
public Builder clearModifier() {
modifier_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @return A list containing the enum numeric values on the wire for modifier.
*/
public java.util.List
getModifierValueList() {
return java.util.Collections.unmodifiableList(modifier_);
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of modifier at the given index.
*/
public int getModifierValue(int index) {
return modifier_.get(index);
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param index The index to set the value at.
* @param value The enum numeric value on the wire for modifier to set.
* @return This builder for chaining.
*/
public Builder setModifierValue(
int index, int value) {
ensureModifierIsMutable();
modifier_.set(index, value);
onChanged();
return this;
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param value The enum numeric value on the wire for modifier to add.
* @return This builder for chaining.
*/
public Builder addModifierValue(int value) {
ensureModifierIsMutable();
modifier_.add(value);
onChanged();
return this;
}
/**
* repeated .Click.ModifiersList.Modifier modifier = 1;
* @param values The enum numeric values on the wire for modifier to add.
* @return This builder for chaining.
*/
public Builder addAllModifierValue(
java.lang.Iterable values) {
ensureModifierIsMutable();
for (int value : values) {
modifier_.add(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:Click.ModifiersList)
}
// @@protoc_insertion_point(class_scope:Click.ModifiersList)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ModifiersList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ModifiersList(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.Click.ModifiersList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BUTTON_FIELD_NUMBER = 5;
private int button_;
/**
* .Click.Button button = 5;
* @return The enum numeric value on the wire for button.
*/
@java.lang.Override public int getButtonValue() {
return button_;
}
/**
* .Click.Button button = 5;
* @return The button.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button getButton() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button.valueOf(button_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button.UNRECOGNIZED : result;
}
public static final int XOFFSET_FIELD_NUMBER = 6;
private int xOffset_;
/**
* int32 xOffset = 6;
* @return The xOffset.
*/
@java.lang.Override
public int getXOffset() {
return xOffset_;
}
public static final int YOFFSET_FIELD_NUMBER = 7;
private int yOffset_;
/**
* int32 yOffset = 7;
* @return The yOffset.
*/
@java.lang.Override
public int getYOffset() {
return yOffset_;
}
public static final int MODIFIERS_FIELD_NUMBER = 8;
private com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList modifiers_;
/**
* .Click.ModifiersList modifiers = 8;
* @return Whether the modifiers field is set.
*/
@java.lang.Override
public boolean hasModifiers() {
return modifiers_ != null;
}
/**
* .Click.ModifiersList modifiers = 8;
* @return The modifiers.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList getModifiers() {
return modifiers_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.getDefaultInstance() : modifiers_;
}
/**
* .Click.ModifiersList modifiers = 8;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersListOrBuilder getModifiersOrBuilder() {
return getModifiers();
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (button_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button.LEFT.getNumber()) {
output.writeEnum(5, button_);
}
if (xOffset_ != 0) {
output.writeInt32(6, xOffset_);
}
if (yOffset_ != 0) {
output.writeInt32(7, yOffset_);
}
if (modifiers_ != null) {
output.writeMessage(8, getModifiers());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (button_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button.LEFT.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, button_);
}
if (xOffset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, xOffset_);
}
if (yOffset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, yOffset_);
}
if (modifiers_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getModifiers());
}
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.Click)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (button_ != other.button_) return false;
if (getXOffset()
!= other.getXOffset()) return false;
if (getYOffset()
!= other.getYOffset()) return false;
if (hasModifiers() != other.hasModifiers()) return false;
if (hasModifiers()) {
if (!getModifiers()
.equals(other.getModifiers())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + BUTTON_FIELD_NUMBER;
hash = (53 * hash) + button_;
hash = (37 * hash) + XOFFSET_FIELD_NUMBER;
hash = (53 * hash) + getXOffset();
hash = (37 * hash) + YOFFSET_FIELD_NUMBER;
hash = (53 * hash) + getYOffset();
if (hasModifiers()) {
hash = (37 * hash) + MODIFIERS_FIELD_NUMBER;
hash = (53 * hash) + getModifiers().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click 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.Click 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.Click 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.Click parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click 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.Click 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.Click 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.Click 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.Click 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.Click 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.Click 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.Click 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 Click}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Click)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClickOrBuilder {
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);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
button_ = 0;
xOffset_ = 0;
yOffset_ = 0;
if (modifiersBuilder_ == null) {
modifiers_ = null;
} else {
modifiers_ = null;
modifiersBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Click_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.button_ = button_;
result.xOffset_ = xOffset_;
result.yOffset_ = yOffset_;
if (modifiersBuilder_ == null) {
result.modifiers_ = modifiers_;
} else {
result.modifiers_ = modifiersBuilder_.build();
}
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.Click) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (other.button_ != 0) {
setButtonValue(other.getButtonValue());
}
if (other.getXOffset() != 0) {
setXOffset(other.getXOffset());
}
if (other.getYOffset() != 0) {
setYOffset(other.getYOffset());
}
if (other.hasModifiers()) {
mergeModifiers(other.getModifiers());
}
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.Click parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private int button_ = 0;
/**
* .Click.Button button = 5;
* @return The enum numeric value on the wire for button.
*/
@java.lang.Override public int getButtonValue() {
return button_;
}
/**
* .Click.Button button = 5;
* @param value The enum numeric value on the wire for button to set.
* @return This builder for chaining.
*/
public Builder setButtonValue(int value) {
button_ = value;
onChanged();
return this;
}
/**
* .Click.Button button = 5;
* @return The button.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button getButton() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button.valueOf(button_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button.UNRECOGNIZED : result;
}
/**
* .Click.Button button = 5;
* @param value The button to set.
* @return This builder for chaining.
*/
public Builder setButton(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.Button value) {
if (value == null) {
throw new NullPointerException();
}
button_ = value.getNumber();
onChanged();
return this;
}
/**
* .Click.Button button = 5;
* @return This builder for chaining.
*/
public Builder clearButton() {
button_ = 0;
onChanged();
return this;
}
private int xOffset_ ;
/**
* int32 xOffset = 6;
* @return The xOffset.
*/
@java.lang.Override
public int getXOffset() {
return xOffset_;
}
/**
* int32 xOffset = 6;
* @param value The xOffset to set.
* @return This builder for chaining.
*/
public Builder setXOffset(int value) {
xOffset_ = value;
onChanged();
return this;
}
/**
* int32 xOffset = 6;
* @return This builder for chaining.
*/
public Builder clearXOffset() {
xOffset_ = 0;
onChanged();
return this;
}
private int yOffset_ ;
/**
* int32 yOffset = 7;
* @return The yOffset.
*/
@java.lang.Override
public int getYOffset() {
return yOffset_;
}
/**
* int32 yOffset = 7;
* @param value The yOffset to set.
* @return This builder for chaining.
*/
public Builder setYOffset(int value) {
yOffset_ = value;
onChanged();
return this;
}
/**
* int32 yOffset = 7;
* @return This builder for chaining.
*/
public Builder clearYOffset() {
yOffset_ = 0;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList modifiers_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersListOrBuilder> modifiersBuilder_;
/**
* .Click.ModifiersList modifiers = 8;
* @return Whether the modifiers field is set.
*/
public boolean hasModifiers() {
return modifiersBuilder_ != null || modifiers_ != null;
}
/**
* .Click.ModifiersList modifiers = 8;
* @return The modifiers.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList getModifiers() {
if (modifiersBuilder_ == null) {
return modifiers_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.getDefaultInstance() : modifiers_;
} else {
return modifiersBuilder_.getMessage();
}
}
/**
* .Click.ModifiersList modifiers = 8;
*/
public Builder setModifiers(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList value) {
if (modifiersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifiers_ = value;
onChanged();
} else {
modifiersBuilder_.setMessage(value);
}
return this;
}
/**
* .Click.ModifiersList modifiers = 8;
*/
public Builder setModifiers(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Builder builderForValue) {
if (modifiersBuilder_ == null) {
modifiers_ = builderForValue.build();
onChanged();
} else {
modifiersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Click.ModifiersList modifiers = 8;
*/
public Builder mergeModifiers(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList value) {
if (modifiersBuilder_ == null) {
if (modifiers_ != null) {
modifiers_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.newBuilder(modifiers_).mergeFrom(value).buildPartial();
} else {
modifiers_ = value;
}
onChanged();
} else {
modifiersBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Click.ModifiersList modifiers = 8;
*/
public Builder clearModifiers() {
if (modifiersBuilder_ == null) {
modifiers_ = null;
onChanged();
} else {
modifiers_ = null;
modifiersBuilder_ = null;
}
return this;
}
/**
* .Click.ModifiersList modifiers = 8;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Builder getModifiersBuilder() {
onChanged();
return getModifiersFieldBuilder().getBuilder();
}
/**
* .Click.ModifiersList modifiers = 8;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersListOrBuilder getModifiersOrBuilder() {
if (modifiersBuilder_ != null) {
return modifiersBuilder_.getMessageOrBuilder();
} else {
return modifiers_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.getDefaultInstance() : modifiers_;
}
}
/**
* .Click.ModifiersList modifiers = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersListOrBuilder>
getModifiersFieldBuilder() {
if (modifiersBuilder_ == null) {
modifiersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersList.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click.ModifiersListOrBuilder>(
getModifiers(),
getParentForChildren(),
isClean());
modifiers_ = null;
}
return modifiersBuilder_;
}
@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:Click)
}
// @@protoc_insertion_point(class_scope:Click)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Click getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Click parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Click(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.Click getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SetCheckboxOrBuilder extends
// @@protoc_insertion_point(interface_extends:SetCheckbox)
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();
/**
* bool checked = 5;
* @return The checked.
*/
boolean getChecked();
}
/**
* Protobuf type {@code SetCheckbox}
*/
public static final class SetCheckbox extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SetCheckbox)
SetCheckboxOrBuilder {
private static final long serialVersionUID = 0L;
// Use SetCheckbox.newBuilder() to construct.
private SetCheckbox(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SetCheckbox() {
locator_ = 0;
matcher_ = "";
webId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SetCheckbox();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SetCheckbox(
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: {
checked_ = input.readBool();
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_SetCheckbox_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SetCheckbox_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CHECKED_FIELD_NUMBER = 5;
private boolean checked_;
/**
* bool checked = 5;
* @return The checked.
*/
@java.lang.Override
public boolean getChecked() {
return checked_;
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (checked_ != false) {
output.writeBool(5, checked_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (checked_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, checked_);
}
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.SetCheckbox)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (getChecked()
!= other.getChecked()) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + CHECKED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getChecked());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox 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.SetCheckbox 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.SetCheckbox 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.SetCheckbox parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox 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.SetCheckbox 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.SetCheckbox 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.SetCheckbox 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.SetCheckbox 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.SetCheckbox 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.SetCheckbox 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.SetCheckbox 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 SetCheckbox}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:SetCheckbox)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckboxOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SetCheckbox_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SetCheckbox_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
checked_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SetCheckbox_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.checked_ = checked_;
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.SetCheckbox) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (other.getChecked() != false) {
setChecked(other.getChecked());
}
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.SetCheckbox parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private boolean checked_ ;
/**
* bool checked = 5;
* @return The checked.
*/
@java.lang.Override
public boolean getChecked() {
return checked_;
}
/**
* bool checked = 5;
* @param value The checked to set.
* @return This builder for chaining.
*/
public Builder setChecked(boolean value) {
checked_ = value;
onChanged();
return this;
}
/**
* bool checked = 5;
* @return This builder for chaining.
*/
public Builder clearChecked() {
checked_ = false;
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:SetCheckbox)
}
// @@protoc_insertion_point(class_scope:SetCheckbox)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetCheckbox getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SetCheckbox parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SetCheckbox(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.SetCheckbox getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SendKeysOrBuilder extends
// @@protoc_insertion_point(interface_extends:SendKeys)
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();
/**
* string text = 5;
* @return The text.
*/
java.lang.String getText();
/**
* string text = 5;
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
* int32 wait2 = 6;
* @return The wait2.
*/
int getWait2();
/**
* .Locator locator2 = 7;
* @return The enum numeric value on the wire for locator2.
*/
int getLocator2Value();
/**
* .Locator locator2 = 7;
* @return The locator2.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator2();
/**
* string matcher2 = 8;
* @return The matcher2.
*/
java.lang.String getMatcher2();
/**
* string matcher2 = 8;
* @return The bytes for matcher2.
*/
com.google.protobuf.ByteString
getMatcher2Bytes();
/**
* string text2 = 9;
* @return The text2.
*/
java.lang.String getText2();
/**
* string text2 = 9;
* @return The bytes for text2.
*/
com.google.protobuf.ByteString
getText2Bytes();
/**
* bool canBeDisabled = 10;
* @return The canBeDisabled.
*/
boolean getCanBeDisabled();
/**
* bool clear = 11;
* @return The clear.
*/
boolean getClear();
/**
* bool checkInput = 12;
* @return The checkInput.
*/
boolean getCheckInput();
/**
* bool needClick = 13;
* @return The needClick.
*/
boolean getNeedClick();
}
/**
* Protobuf type {@code SendKeys}
*/
public static final class SendKeys extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SendKeys)
SendKeysOrBuilder {
private static final long serialVersionUID = 0L;
// Use SendKeys.newBuilder() to construct.
private SendKeys(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SendKeys() {
locator_ = 0;
matcher_ = "";
webId_ = "";
text_ = "";
locator2_ = 0;
matcher2_ = "";
text2_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SendKeys();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SendKeys(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
text_ = s;
break;
}
case 48: {
wait2_ = input.readInt32();
break;
}
case 56: {
int rawValue = input.readEnum();
locator2_ = rawValue;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
matcher2_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
text2_ = s;
break;
}
case 80: {
canBeDisabled_ = input.readBool();
break;
}
case 88: {
clear_ = input.readBool();
break;
}
case 96: {
checkInput_ = input.readBool();
break;
}
case 104: {
needClick_ = input.readBool();
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_SendKeys_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SendKeys_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEXT_FIELD_NUMBER = 5;
private volatile java.lang.Object text_;
/**
* string text = 5;
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
}
}
/**
* string text = 5;
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WAIT2_FIELD_NUMBER = 6;
private int wait2_;
/**
* int32 wait2 = 6;
* @return The wait2.
*/
@java.lang.Override
public int getWait2() {
return wait2_;
}
public static final int LOCATOR2_FIELD_NUMBER = 7;
private int locator2_;
/**
* .Locator locator2 = 7;
* @return The enum numeric value on the wire for locator2.
*/
@java.lang.Override public int getLocator2Value() {
return locator2_;
}
/**
* .Locator locator2 = 7;
* @return The locator2.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator2() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator2_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER2_FIELD_NUMBER = 8;
private volatile java.lang.Object matcher2_;
/**
* string matcher2 = 8;
* @return The matcher2.
*/
@java.lang.Override
public java.lang.String getMatcher2() {
java.lang.Object ref = matcher2_;
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();
matcher2_ = s;
return s;
}
}
/**
* string matcher2 = 8;
* @return The bytes for matcher2.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcher2Bytes() {
java.lang.Object ref = matcher2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEXT2_FIELD_NUMBER = 9;
private volatile java.lang.Object text2_;
/**
* string text2 = 9;
* @return The text2.
*/
@java.lang.Override
public java.lang.String getText2() {
java.lang.Object ref = text2_;
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();
text2_ = s;
return s;
}
}
/**
* string text2 = 9;
* @return The bytes for text2.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getText2Bytes() {
java.lang.Object ref = text2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CANBEDISABLED_FIELD_NUMBER = 10;
private boolean canBeDisabled_;
/**
* bool canBeDisabled = 10;
* @return The canBeDisabled.
*/
@java.lang.Override
public boolean getCanBeDisabled() {
return canBeDisabled_;
}
public static final int CLEAR_FIELD_NUMBER = 11;
private boolean clear_;
/**
* bool clear = 11;
* @return The clear.
*/
@java.lang.Override
public boolean getClear() {
return clear_;
}
public static final int CHECKINPUT_FIELD_NUMBER = 12;
private boolean checkInput_;
/**
* bool checkInput = 12;
* @return The checkInput.
*/
@java.lang.Override
public boolean getCheckInput() {
return checkInput_;
}
public static final int NEEDCLICK_FIELD_NUMBER = 13;
private boolean needClick_;
/**
* bool needClick = 13;
* @return The needClick.
*/
@java.lang.Override
public boolean getNeedClick() {
return needClick_;
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, text_);
}
if (wait2_ != 0) {
output.writeInt32(6, wait2_);
}
if (locator2_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(7, locator2_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher2_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, matcher2_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text2_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, text2_);
}
if (canBeDisabled_ != false) {
output.writeBool(10, canBeDisabled_);
}
if (clear_ != false) {
output.writeBool(11, clear_);
}
if (checkInput_ != false) {
output.writeBool(12, checkInput_);
}
if (needClick_ != false) {
output.writeBool(13, needClick_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, text_);
}
if (wait2_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, wait2_);
}
if (locator2_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, locator2_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher2_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, matcher2_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text2_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, text2_);
}
if (canBeDisabled_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, canBeDisabled_);
}
if (clear_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, clear_);
}
if (checkInput_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, checkInput_);
}
if (needClick_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, needClick_);
}
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.SendKeys)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getText()
.equals(other.getText())) return false;
if (getWait2()
!= other.getWait2()) return false;
if (locator2_ != other.locator2_) return false;
if (!getMatcher2()
.equals(other.getMatcher2())) return false;
if (!getText2()
.equals(other.getText2())) return false;
if (getCanBeDisabled()
!= other.getCanBeDisabled()) return false;
if (getClear()
!= other.getClear()) return false;
if (getCheckInput()
!= other.getCheckInput()) return false;
if (getNeedClick()
!= other.getNeedClick()) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
hash = (37 * hash) + WAIT2_FIELD_NUMBER;
hash = (53 * hash) + getWait2();
hash = (37 * hash) + LOCATOR2_FIELD_NUMBER;
hash = (53 * hash) + locator2_;
hash = (37 * hash) + MATCHER2_FIELD_NUMBER;
hash = (53 * hash) + getMatcher2().hashCode();
hash = (37 * hash) + TEXT2_FIELD_NUMBER;
hash = (53 * hash) + getText2().hashCode();
hash = (37 * hash) + CANBEDISABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCanBeDisabled());
hash = (37 * hash) + CLEAR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getClear());
hash = (37 * hash) + CHECKINPUT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCheckInput());
hash = (37 * hash) + NEEDCLICK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNeedClick());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys 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.SendKeys 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.SendKeys 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.SendKeys parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys 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.SendKeys 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.SendKeys 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.SendKeys 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.SendKeys 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.SendKeys 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.SendKeys 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.SendKeys 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 SendKeys}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:SendKeys)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SendKeys_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SendKeys_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
text_ = "";
wait2_ = 0;
locator2_ = 0;
matcher2_ = "";
text2_ = "";
canBeDisabled_ = false;
clear_ = false;
checkInput_ = false;
needClick_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SendKeys_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.text_ = text_;
result.wait2_ = wait2_;
result.locator2_ = locator2_;
result.matcher2_ = matcher2_;
result.text2_ = text2_;
result.canBeDisabled_ = canBeDisabled_;
result.clear_ = clear_;
result.checkInput_ = checkInput_;
result.needClick_ = needClick_;
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.SendKeys) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getText().isEmpty()) {
text_ = other.text_;
onChanged();
}
if (other.getWait2() != 0) {
setWait2(other.getWait2());
}
if (other.locator2_ != 0) {
setLocator2Value(other.getLocator2Value());
}
if (!other.getMatcher2().isEmpty()) {
matcher2_ = other.matcher2_;
onChanged();
}
if (!other.getText2().isEmpty()) {
text2_ = other.text2_;
onChanged();
}
if (other.getCanBeDisabled() != false) {
setCanBeDisabled(other.getCanBeDisabled());
}
if (other.getClear() != false) {
setClear(other.getClear());
}
if (other.getCheckInput() != false) {
setCheckInput(other.getCheckInput());
}
if (other.getNeedClick() != false) {
setNeedClick(other.getNeedClick());
}
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.SendKeys parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object text_ = "";
/**
* string text = 5;
* @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string text = 5;
* @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string text = 5;
* @param value The text to set.
* @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
text_ = value;
onChanged();
return this;
}
/**
* string text = 5;
* @return This builder for chaining.
*/
public Builder clearText() {
text_ = getDefaultInstance().getText();
onChanged();
return this;
}
/**
* string text = 5;
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
text_ = value;
onChanged();
return this;
}
private int wait2_ ;
/**
* int32 wait2 = 6;
* @return The wait2.
*/
@java.lang.Override
public int getWait2() {
return wait2_;
}
/**
* int32 wait2 = 6;
* @param value The wait2 to set.
* @return This builder for chaining.
*/
public Builder setWait2(int value) {
wait2_ = value;
onChanged();
return this;
}
/**
* int32 wait2 = 6;
* @return This builder for chaining.
*/
public Builder clearWait2() {
wait2_ = 0;
onChanged();
return this;
}
private int locator2_ = 0;
/**
* .Locator locator2 = 7;
* @return The enum numeric value on the wire for locator2.
*/
@java.lang.Override public int getLocator2Value() {
return locator2_;
}
/**
* .Locator locator2 = 7;
* @param value The enum numeric value on the wire for locator2 to set.
* @return This builder for chaining.
*/
public Builder setLocator2Value(int value) {
locator2_ = value;
onChanged();
return this;
}
/**
* .Locator locator2 = 7;
* @return The locator2.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator2() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator2_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator2 = 7;
* @param value The locator2 to set.
* @return This builder for chaining.
*/
public Builder setLocator2(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator2_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator2 = 7;
* @return This builder for chaining.
*/
public Builder clearLocator2() {
locator2_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher2_ = "";
/**
* string matcher2 = 8;
* @return The matcher2.
*/
public java.lang.String getMatcher2() {
java.lang.Object ref = matcher2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher2 = 8;
* @return The bytes for matcher2.
*/
public com.google.protobuf.ByteString
getMatcher2Bytes() {
java.lang.Object ref = matcher2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher2 = 8;
* @param value The matcher2 to set.
* @return This builder for chaining.
*/
public Builder setMatcher2(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher2_ = value;
onChanged();
return this;
}
/**
* string matcher2 = 8;
* @return This builder for chaining.
*/
public Builder clearMatcher2() {
matcher2_ = getDefaultInstance().getMatcher2();
onChanged();
return this;
}
/**
* string matcher2 = 8;
* @param value The bytes for matcher2 to set.
* @return This builder for chaining.
*/
public Builder setMatcher2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher2_ = value;
onChanged();
return this;
}
private java.lang.Object text2_ = "";
/**
* string text2 = 9;
* @return The text2.
*/
public java.lang.String getText2() {
java.lang.Object ref = text2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string text2 = 9;
* @return The bytes for text2.
*/
public com.google.protobuf.ByteString
getText2Bytes() {
java.lang.Object ref = text2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string text2 = 9;
* @param value The text2 to set.
* @return This builder for chaining.
*/
public Builder setText2(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
text2_ = value;
onChanged();
return this;
}
/**
* string text2 = 9;
* @return This builder for chaining.
*/
public Builder clearText2() {
text2_ = getDefaultInstance().getText2();
onChanged();
return this;
}
/**
* string text2 = 9;
* @param value The bytes for text2 to set.
* @return This builder for chaining.
*/
public Builder setText2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
text2_ = value;
onChanged();
return this;
}
private boolean canBeDisabled_ ;
/**
* bool canBeDisabled = 10;
* @return The canBeDisabled.
*/
@java.lang.Override
public boolean getCanBeDisabled() {
return canBeDisabled_;
}
/**
* bool canBeDisabled = 10;
* @param value The canBeDisabled to set.
* @return This builder for chaining.
*/
public Builder setCanBeDisabled(boolean value) {
canBeDisabled_ = value;
onChanged();
return this;
}
/**
* bool canBeDisabled = 10;
* @return This builder for chaining.
*/
public Builder clearCanBeDisabled() {
canBeDisabled_ = false;
onChanged();
return this;
}
private boolean clear_ ;
/**
* bool clear = 11;
* @return The clear.
*/
@java.lang.Override
public boolean getClear() {
return clear_;
}
/**
* bool clear = 11;
* @param value The clear to set.
* @return This builder for chaining.
*/
public Builder setClear(boolean value) {
clear_ = value;
onChanged();
return this;
}
/**
* bool clear = 11;
* @return This builder for chaining.
*/
public Builder clearClear() {
clear_ = false;
onChanged();
return this;
}
private boolean checkInput_ ;
/**
* bool checkInput = 12;
* @return The checkInput.
*/
@java.lang.Override
public boolean getCheckInput() {
return checkInput_;
}
/**
* bool checkInput = 12;
* @param value The checkInput to set.
* @return This builder for chaining.
*/
public Builder setCheckInput(boolean value) {
checkInput_ = value;
onChanged();
return this;
}
/**
* bool checkInput = 12;
* @return This builder for chaining.
*/
public Builder clearCheckInput() {
checkInput_ = false;
onChanged();
return this;
}
private boolean needClick_ ;
/**
* bool needClick = 13;
* @return The needClick.
*/
@java.lang.Override
public boolean getNeedClick() {
return needClick_;
}
/**
* bool needClick = 13;
* @param value The needClick to set.
* @return This builder for chaining.
*/
public Builder setNeedClick(boolean value) {
needClick_ = value;
onChanged();
return this;
}
/**
* bool needClick = 13;
* @return This builder for chaining.
*/
public Builder clearNeedClick() {
needClick_ = false;
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:SendKeys)
}
// @@protoc_insertion_point(class_scope:SendKeys)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeys getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SendKeys parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SendKeys(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.SendKeys getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WaitForElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:WaitForElement)
com.google.protobuf.MessageOrBuilder {
/**
* int32 seconds = 1;
* @return The seconds.
*/
int getSeconds();
/**
* .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();
}
/**
* Protobuf type {@code WaitForElement}
*/
public static final class WaitForElement extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WaitForElement)
WaitForElementOrBuilder {
private static final long serialVersionUID = 0L;
// Use WaitForElement.newBuilder() to construct.
private WaitForElement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WaitForElement() {
locator_ = 0;
matcher_ = "";
webId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WaitForElement();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WaitForElement(
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: {
seconds_ = 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;
}
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_WaitForElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement.Builder.class);
}
public static final int SECONDS_FIELD_NUMBER = 1;
private int seconds_;
/**
* int32 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public int getSeconds() {
return seconds_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = 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 (seconds_ != 0) {
output.writeInt32(1, seconds_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (seconds_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, seconds_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
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.WaitForElement)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement) obj;
if (getSeconds()
!= other.getSeconds()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) 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) + SECONDS_FIELD_NUMBER;
hash = (53 * hash) + getSeconds();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement 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.WaitForElement 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.WaitForElement 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.WaitForElement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement 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.WaitForElement 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.WaitForElement 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.WaitForElement 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.WaitForElement 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.WaitForElement 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.WaitForElement 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.WaitForElement 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 WaitForElement}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WaitForElement)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement.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();
seconds_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForElement_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement(this);
result.seconds_ = seconds_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
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.WaitForElement) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement.getDefaultInstance()) return this;
if (other.getSeconds() != 0) {
setSeconds(other.getSeconds());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
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.WaitForElement parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int seconds_ ;
/**
* int32 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public int getSeconds() {
return seconds_;
}
/**
* int32 seconds = 1;
* @param value The seconds to set.
* @return This builder for chaining.
*/
public Builder setSeconds(int value) {
seconds_ = value;
onChanged();
return this;
}
/**
* int32 seconds = 1;
* @return This builder for chaining.
*/
public Builder clearSeconds() {
seconds_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = 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:WaitForElement)
}
// @@protoc_insertion_point(class_scope:WaitForElement)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForElement getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WaitForElement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WaitForElement(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.WaitForElement getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WaitForNewOrBuilder extends
// @@protoc_insertion_point(interface_extends:WaitForNew)
com.google.protobuf.MessageOrBuilder {
/**
* int32 seconds = 1;
* @return The seconds.
*/
int getSeconds();
/**
* int32 checkMillis = 2;
* @return The checkMillis.
*/
int getCheckMillis();
/**
* .Locator locator = 3;
* @return The enum numeric value on the wire for locator.
*/
int getLocatorValue();
/**
* .Locator locator = 3;
* @return The locator.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator();
/**
* string matcher = 4;
* @return The matcher.
*/
java.lang.String getMatcher();
/**
* string matcher = 4;
* @return The bytes for matcher.
*/
com.google.protobuf.ByteString
getMatcherBytes();
/**
* string webId = 5;
* @return The webId.
*/
java.lang.String getWebId();
/**
* string webId = 5;
* @return The bytes for webId.
*/
com.google.protobuf.ByteString
getWebIdBytes();
}
/**
* Protobuf type {@code WaitForNew}
*/
public static final class WaitForNew extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WaitForNew)
WaitForNewOrBuilder {
private static final long serialVersionUID = 0L;
// Use WaitForNew.newBuilder() to construct.
private WaitForNew(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WaitForNew() {
locator_ = 0;
matcher_ = "";
webId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WaitForNew();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WaitForNew(
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: {
seconds_ = input.readInt32();
break;
}
case 16: {
checkMillis_ = input.readInt32();
break;
}
case 24: {
int rawValue = input.readEnum();
locator_ = rawValue;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
matcher_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
webId_ = 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_WaitForNew_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForNew_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew.Builder.class);
}
public static final int SECONDS_FIELD_NUMBER = 1;
private int seconds_;
/**
* int32 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public int getSeconds() {
return seconds_;
}
public static final int CHECKMILLIS_FIELD_NUMBER = 2;
private int checkMillis_;
/**
* int32 checkMillis = 2;
* @return The checkMillis.
*/
@java.lang.Override
public int getCheckMillis() {
return checkMillis_;
}
public static final int LOCATOR_FIELD_NUMBER = 3;
private int locator_;
/**
* .Locator locator = 3;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 3;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 4;
private volatile java.lang.Object matcher_;
/**
* string matcher = 4;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 4;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 5;
private volatile java.lang.Object webId_;
/**
* string webId = 5;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 5;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = 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 (seconds_ != 0) {
output.writeInt32(1, seconds_);
}
if (checkMillis_ != 0) {
output.writeInt32(2, checkMillis_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(3, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, webId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (seconds_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, seconds_);
}
if (checkMillis_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, checkMillis_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webId_);
}
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.WaitForNew)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew) obj;
if (getSeconds()
!= other.getSeconds()) return false;
if (getCheckMillis()
!= other.getCheckMillis()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) 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) + SECONDS_FIELD_NUMBER;
hash = (53 * hash) + getSeconds();
hash = (37 * hash) + CHECKMILLIS_FIELD_NUMBER;
hash = (53 * hash) + getCheckMillis();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew 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.WaitForNew 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.WaitForNew 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.WaitForNew parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew 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.WaitForNew 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.WaitForNew 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.WaitForNew 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.WaitForNew 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.WaitForNew 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.WaitForNew 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.WaitForNew 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 WaitForNew}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WaitForNew)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNewOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForNew_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForNew_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew.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();
seconds_ = 0;
checkMillis_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForNew_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew(this);
result.seconds_ = seconds_;
result.checkMillis_ = checkMillis_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
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.WaitForNew) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew.getDefaultInstance()) return this;
if (other.getSeconds() != 0) {
setSeconds(other.getSeconds());
}
if (other.getCheckMillis() != 0) {
setCheckMillis(other.getCheckMillis());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
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.WaitForNew parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int seconds_ ;
/**
* int32 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public int getSeconds() {
return seconds_;
}
/**
* int32 seconds = 1;
* @param value The seconds to set.
* @return This builder for chaining.
*/
public Builder setSeconds(int value) {
seconds_ = value;
onChanged();
return this;
}
/**
* int32 seconds = 1;
* @return This builder for chaining.
*/
public Builder clearSeconds() {
seconds_ = 0;
onChanged();
return this;
}
private int checkMillis_ ;
/**
* int32 checkMillis = 2;
* @return The checkMillis.
*/
@java.lang.Override
public int getCheckMillis() {
return checkMillis_;
}
/**
* int32 checkMillis = 2;
* @param value The checkMillis to set.
* @return This builder for chaining.
*/
public Builder setCheckMillis(int value) {
checkMillis_ = value;
onChanged();
return this;
}
/**
* int32 checkMillis = 2;
* @return This builder for chaining.
*/
public Builder clearCheckMillis() {
checkMillis_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 3;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 3;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 3;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 3;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 3;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 4;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 4;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 4;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 4;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 4;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 5;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 5;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 5;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 5;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 5;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = 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:WaitForNew)
}
// @@protoc_insertion_point(class_scope:WaitForNew)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForNew getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WaitForNew parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WaitForNew(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.WaitForNew getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WaitOrBuilder extends
// @@protoc_insertion_point(interface_extends:Wait)
com.google.protobuf.MessageOrBuilder {
/**
* int32 seconds = 1;
* @return The seconds.
*/
int getSeconds();
}
/**
* Protobuf type {@code Wait}
*/
public static final class Wait extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Wait)
WaitOrBuilder {
private static final long serialVersionUID = 0L;
// Use Wait.newBuilder() to construct.
private Wait(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Wait() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Wait();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Wait(
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: {
seconds_ = input.readInt32();
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_Wait_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Wait_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait.Builder.class);
}
public static final int SECONDS_FIELD_NUMBER = 1;
private int seconds_;
/**
* int32 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public int getSeconds() {
return seconds_;
}
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 (seconds_ != 0) {
output.writeInt32(1, seconds_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (seconds_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, seconds_);
}
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.Wait)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait) obj;
if (getSeconds()
!= other.getSeconds()) 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) + SECONDS_FIELD_NUMBER;
hash = (53 * hash) + getSeconds();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait 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.Wait 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.Wait 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.Wait parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait 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.Wait 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.Wait 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.Wait 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.Wait 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.Wait 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.Wait 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.Wait 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 Wait}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Wait)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Wait_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Wait_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait.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();
seconds_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Wait_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait(this);
result.seconds_ = seconds_;
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.Wait) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait.getDefaultInstance()) return this;
if (other.getSeconds() != 0) {
setSeconds(other.getSeconds());
}
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.Wait parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int seconds_ ;
/**
* int32 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public int getSeconds() {
return seconds_;
}
/**
* int32 seconds = 1;
* @param value The seconds to set.
* @return This builder for chaining.
*/
public Builder setSeconds(int value) {
seconds_ = value;
onChanged();
return this;
}
/**
* int32 seconds = 1;
* @return This builder for chaining.
*/
public Builder clearSeconds() {
seconds_ = 0;
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:Wait)
}
// @@protoc_insertion_point(class_scope:Wait)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Wait getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Wait parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Wait(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.Wait getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetElement)
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();
/**
* string id = 5;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 5;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
}
/**
* Protobuf type {@code GetElement}
*/
public static final class GetElement extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetElement)
GetElementOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetElement.newBuilder() to construct.
private GetElement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetElement() {
locator_ = 0;
matcher_ = "";
webId_ = "";
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetElement();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetElement(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
id_ = 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_GetElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_FIELD_NUMBER = 5;
private volatile java.lang.Object id_;
/**
* string id = 5;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
* string id = 5;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, id_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, id_);
}
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.GetElement)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getId()
.equals(other.getId())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement 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.GetElement 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.GetElement 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.GetElement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement 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.GetElement 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.GetElement 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.GetElement 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.GetElement 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.GetElement 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.GetElement 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.GetElement 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 GetElement}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetElement)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
id_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElement_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.id_ = id_;
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.GetElement) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getId().isEmpty()) {
id_ = other.id_;
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.GetElement parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object id_ = "";
/**
* string id = 5;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 5;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 5;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string id = 5;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string id = 5;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
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:GetElement)
}
// @@protoc_insertion_point(class_scope:GetElement)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElement getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetElement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetElement(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.GetElement getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetElementInnerHtmlOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetElementInnerHtml)
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();
/**
* string id = 5;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 5;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
}
/**
* Protobuf type {@code GetElementInnerHtml}
*/
public static final class GetElementInnerHtml extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetElementInnerHtml)
GetElementInnerHtmlOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetElementInnerHtml.newBuilder() to construct.
private GetElementInnerHtml(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetElementInnerHtml() {
locator_ = 0;
matcher_ = "";
webId_ = "";
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetElementInnerHtml();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetElementInnerHtml(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
id_ = 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_GetElementInnerHtml_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementInnerHtml_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_FIELD_NUMBER = 5;
private volatile java.lang.Object id_;
/**
* string id = 5;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
* string id = 5;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, id_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, id_);
}
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.GetElementInnerHtml)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getId()
.equals(other.getId())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml 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.GetElementInnerHtml 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.GetElementInnerHtml 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.GetElementInnerHtml parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml 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.GetElementInnerHtml 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.GetElementInnerHtml 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.GetElementInnerHtml 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.GetElementInnerHtml 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.GetElementInnerHtml 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.GetElementInnerHtml 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.GetElementInnerHtml 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 GetElementInnerHtml}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetElementInnerHtml)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtmlOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementInnerHtml_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementInnerHtml_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
id_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementInnerHtml_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.id_ = id_;
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.GetElementInnerHtml) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getId().isEmpty()) {
id_ = other.id_;
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.GetElementInnerHtml parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object id_ = "";
/**
* string id = 5;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 5;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 5;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string id = 5;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string id = 5;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
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:GetElementInnerHtml)
}
// @@protoc_insertion_point(class_scope:GetElementInnerHtml)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementInnerHtml getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetElementInnerHtml parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetElementInnerHtml(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.GetElementInnerHtml getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetElementValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetElementValue)
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();
}
/**
* Protobuf type {@code GetElementValue}
*/
public static final class GetElementValue extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetElementValue)
GetElementValueOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetElementValue.newBuilder() to construct.
private GetElementValue(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetElementValue() {
locator_ = 0;
matcher_ = "";
webId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetElementValue();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetElementValue(
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;
}
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_GetElementValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = 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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
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.GetElementValue)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue 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.GetElementValue 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.GetElementValue 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.GetElementValue parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue 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.GetElementValue 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.GetElementValue 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.GetElementValue 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.GetElementValue 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.GetElementValue 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.GetElementValue 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.GetElementValue 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 GetElementValue}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetElementValue)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValueOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementValue_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementValue_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
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.GetElementValue) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
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.GetElementValue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = 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:GetElementValue)
}
// @@protoc_insertion_point(class_scope:GetElementValue)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementValue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetElementValue parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetElementValue(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.GetElementValue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetElementAttributeOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetElementAttribute)
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();
/**
* string attribute = 5;
* @return The attribute.
*/
java.lang.String getAttribute();
/**
* string attribute = 5;
* @return The bytes for attribute.
*/
com.google.protobuf.ByteString
getAttributeBytes();
}
/**
* Protobuf type {@code GetElementAttribute}
*/
public static final class GetElementAttribute extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetElementAttribute)
GetElementAttributeOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetElementAttribute.newBuilder() to construct.
private GetElementAttribute(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetElementAttribute() {
locator_ = 0;
matcher_ = "";
webId_ = "";
attribute_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetElementAttribute();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetElementAttribute(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
attribute_ = 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_GetElementAttribute_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementAttribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ATTRIBUTE_FIELD_NUMBER = 5;
private volatile java.lang.Object attribute_;
/**
* string attribute = 5;
* @return The attribute.
*/
@java.lang.Override
public java.lang.String getAttribute() {
java.lang.Object ref = attribute_;
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();
attribute_ = s;
return s;
}
}
/**
* string attribute = 5;
* @return The bytes for attribute.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAttributeBytes() {
java.lang.Object ref = attribute_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attribute_ = 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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, attribute_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attribute_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, attribute_);
}
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.GetElementAttribute)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getAttribute()
.equals(other.getAttribute())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getAttribute().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute 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.GetElementAttribute 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.GetElementAttribute 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.GetElementAttribute parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute 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.GetElementAttribute 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.GetElementAttribute 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.GetElementAttribute 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.GetElementAttribute 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.GetElementAttribute 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.GetElementAttribute 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.GetElementAttribute 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 GetElementAttribute}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetElementAttribute)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttributeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementAttribute_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementAttribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
attribute_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementAttribute_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.attribute_ = attribute_;
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.GetElementAttribute) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getAttribute().isEmpty()) {
attribute_ = other.attribute_;
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.GetElementAttribute parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object attribute_ = "";
/**
* string attribute = 5;
* @return The attribute.
*/
public java.lang.String getAttribute() {
java.lang.Object ref = attribute_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attribute_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string attribute = 5;
* @return The bytes for attribute.
*/
public com.google.protobuf.ByteString
getAttributeBytes() {
java.lang.Object ref = attribute_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attribute_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string attribute = 5;
* @param value The attribute to set.
* @return This builder for chaining.
*/
public Builder setAttribute(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
attribute_ = value;
onChanged();
return this;
}
/**
* string attribute = 5;
* @return This builder for chaining.
*/
public Builder clearAttribute() {
attribute_ = getDefaultInstance().getAttribute();
onChanged();
return this;
}
/**
* string attribute = 5;
* @param value The bytes for attribute to set.
* @return This builder for chaining.
*/
public Builder setAttributeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
attribute_ = 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:GetElementAttribute)
}
// @@protoc_insertion_point(class_scope:GetElementAttribute)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementAttribute getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetElementAttribute parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetElementAttribute(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.GetElementAttribute getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetDynamicTableOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDynamicTable)
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();
}
/**
* Protobuf type {@code GetDynamicTable}
*/
public static final class GetDynamicTable extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDynamicTable)
GetDynamicTableOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDynamicTable.newBuilder() to construct.
private GetDynamicTable(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetDynamicTable() {
locator_ = 0;
matcher_ = "";
webId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDynamicTable();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetDynamicTable(
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;
}
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_GetDynamicTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetDynamicTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = 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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
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.GetDynamicTable)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable 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.GetDynamicTable 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.GetDynamicTable 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.GetDynamicTable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable 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.GetDynamicTable 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.GetDynamicTable 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.GetDynamicTable 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.GetDynamicTable 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.GetDynamicTable 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.GetDynamicTable 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.GetDynamicTable 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 GetDynamicTable}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDynamicTable)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetDynamicTable_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetDynamicTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetDynamicTable_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
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.GetDynamicTable) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
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.GetDynamicTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = 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:GetDynamicTable)
}
// @@protoc_insertion_point(class_scope:GetDynamicTable)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDynamicTable getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetDynamicTable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetDynamicTable(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.GetDynamicTable getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ScrollToOrBuilder extends
// @@protoc_insertion_point(interface_extends:ScrollTo)
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();
}
/**
* Protobuf type {@code ScrollTo}
*/
public static final class ScrollTo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ScrollTo)
ScrollToOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScrollTo.newBuilder() to construct.
private ScrollTo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ScrollTo() {
locator_ = 0;
matcher_ = "";
webId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ScrollTo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ScrollTo(
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;
}
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_ScrollTo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollTo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = 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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
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.ScrollTo)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo 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.ScrollTo 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.ScrollTo 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.ScrollTo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo 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.ScrollTo 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.ScrollTo 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.ScrollTo 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.ScrollTo 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.ScrollTo 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.ScrollTo 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.ScrollTo 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 ScrollTo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ScrollTo)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollToOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollTo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollTo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollTo_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
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.ScrollTo) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
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.ScrollTo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = 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:ScrollTo)
}
// @@protoc_insertion_point(class_scope:ScrollTo)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollTo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ScrollTo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ScrollTo(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.ScrollTo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ScrollDivToOrBuilder extends
// @@protoc_insertion_point(interface_extends:ScrollDivTo)
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();
/**
* int32 wait2 = 5;
* @return The wait2.
*/
int getWait2();
/**
* .Locator locator2 = 6;
* @return The enum numeric value on the wire for locator2.
*/
int getLocator2Value();
/**
* .Locator locator2 = 6;
* @return The locator2.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator2();
/**
* string matcher2 = 7;
* @return The matcher2.
*/
java.lang.String getMatcher2();
/**
* string matcher2 = 7;
* @return The bytes for matcher2.
*/
com.google.protobuf.ByteString
getMatcher2Bytes();
/**
* int32 yOffset = 8;
* @return The yOffset.
*/
int getYOffset();
}
/**
* Protobuf type {@code ScrollDivTo}
*/
public static final class ScrollDivTo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ScrollDivTo)
ScrollDivToOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScrollDivTo.newBuilder() to construct.
private ScrollDivTo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ScrollDivTo() {
locator_ = 0;
matcher_ = "";
webId_ = "";
locator2_ = 0;
matcher2_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ScrollDivTo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ScrollDivTo(
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: {
wait2_ = input.readInt32();
break;
}
case 48: {
int rawValue = input.readEnum();
locator2_ = rawValue;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
matcher2_ = s;
break;
}
case 64: {
yOffset_ = input.readInt32();
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_ScrollDivTo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollDivTo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WAIT2_FIELD_NUMBER = 5;
private int wait2_;
/**
* int32 wait2 = 5;
* @return The wait2.
*/
@java.lang.Override
public int getWait2() {
return wait2_;
}
public static final int LOCATOR2_FIELD_NUMBER = 6;
private int locator2_;
/**
* .Locator locator2 = 6;
* @return The enum numeric value on the wire for locator2.
*/
@java.lang.Override public int getLocator2Value() {
return locator2_;
}
/**
* .Locator locator2 = 6;
* @return The locator2.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator2() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator2_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER2_FIELD_NUMBER = 7;
private volatile java.lang.Object matcher2_;
/**
* string matcher2 = 7;
* @return The matcher2.
*/
@java.lang.Override
public java.lang.String getMatcher2() {
java.lang.Object ref = matcher2_;
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();
matcher2_ = s;
return s;
}
}
/**
* string matcher2 = 7;
* @return The bytes for matcher2.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcher2Bytes() {
java.lang.Object ref = matcher2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int YOFFSET_FIELD_NUMBER = 8;
private int yOffset_;
/**
* int32 yOffset = 8;
* @return The yOffset.
*/
@java.lang.Override
public int getYOffset() {
return yOffset_;
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (wait2_ != 0) {
output.writeInt32(5, wait2_);
}
if (locator2_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(6, locator2_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher2_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, matcher2_);
}
if (yOffset_ != 0) {
output.writeInt32(8, yOffset_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (wait2_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, wait2_);
}
if (locator2_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, locator2_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher2_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, matcher2_);
}
if (yOffset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, yOffset_);
}
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.ScrollDivTo)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (getWait2()
!= other.getWait2()) return false;
if (locator2_ != other.locator2_) return false;
if (!getMatcher2()
.equals(other.getMatcher2())) return false;
if (getYOffset()
!= other.getYOffset()) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + WAIT2_FIELD_NUMBER;
hash = (53 * hash) + getWait2();
hash = (37 * hash) + LOCATOR2_FIELD_NUMBER;
hash = (53 * hash) + locator2_;
hash = (37 * hash) + MATCHER2_FIELD_NUMBER;
hash = (53 * hash) + getMatcher2().hashCode();
hash = (37 * hash) + YOFFSET_FIELD_NUMBER;
hash = (53 * hash) + getYOffset();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo 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.ScrollDivTo 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.ScrollDivTo 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.ScrollDivTo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo 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.ScrollDivTo 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.ScrollDivTo 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.ScrollDivTo 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.ScrollDivTo 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.ScrollDivTo 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.ScrollDivTo 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.ScrollDivTo 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 ScrollDivTo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ScrollDivTo)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivToOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollDivTo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollDivTo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
wait2_ = 0;
locator2_ = 0;
matcher2_ = "";
yOffset_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollDivTo_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.wait2_ = wait2_;
result.locator2_ = locator2_;
result.matcher2_ = matcher2_;
result.yOffset_ = yOffset_;
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.ScrollDivTo) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (other.getWait2() != 0) {
setWait2(other.getWait2());
}
if (other.locator2_ != 0) {
setLocator2Value(other.getLocator2Value());
}
if (!other.getMatcher2().isEmpty()) {
matcher2_ = other.matcher2_;
onChanged();
}
if (other.getYOffset() != 0) {
setYOffset(other.getYOffset());
}
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.ScrollDivTo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private int wait2_ ;
/**
* int32 wait2 = 5;
* @return The wait2.
*/
@java.lang.Override
public int getWait2() {
return wait2_;
}
/**
* int32 wait2 = 5;
* @param value The wait2 to set.
* @return This builder for chaining.
*/
public Builder setWait2(int value) {
wait2_ = value;
onChanged();
return this;
}
/**
* int32 wait2 = 5;
* @return This builder for chaining.
*/
public Builder clearWait2() {
wait2_ = 0;
onChanged();
return this;
}
private int locator2_ = 0;
/**
* .Locator locator2 = 6;
* @return The enum numeric value on the wire for locator2.
*/
@java.lang.Override public int getLocator2Value() {
return locator2_;
}
/**
* .Locator locator2 = 6;
* @param value The enum numeric value on the wire for locator2 to set.
* @return This builder for chaining.
*/
public Builder setLocator2Value(int value) {
locator2_ = value;
onChanged();
return this;
}
/**
* .Locator locator2 = 6;
* @return The locator2.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator2() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator2_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator2 = 6;
* @param value The locator2 to set.
* @return This builder for chaining.
*/
public Builder setLocator2(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator2_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator2 = 6;
* @return This builder for chaining.
*/
public Builder clearLocator2() {
locator2_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher2_ = "";
/**
* string matcher2 = 7;
* @return The matcher2.
*/
public java.lang.String getMatcher2() {
java.lang.Object ref = matcher2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher2 = 7;
* @return The bytes for matcher2.
*/
public com.google.protobuf.ByteString
getMatcher2Bytes() {
java.lang.Object ref = matcher2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher2 = 7;
* @param value The matcher2 to set.
* @return This builder for chaining.
*/
public Builder setMatcher2(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher2_ = value;
onChanged();
return this;
}
/**
* string matcher2 = 7;
* @return This builder for chaining.
*/
public Builder clearMatcher2() {
matcher2_ = getDefaultInstance().getMatcher2();
onChanged();
return this;
}
/**
* string matcher2 = 7;
* @param value The bytes for matcher2 to set.
* @return This builder for chaining.
*/
public Builder setMatcher2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher2_ = value;
onChanged();
return this;
}
private int yOffset_ ;
/**
* int32 yOffset = 8;
* @return The yOffset.
*/
@java.lang.Override
public int getYOffset() {
return yOffset_;
}
/**
* int32 yOffset = 8;
* @param value The yOffset to set.
* @return This builder for chaining.
*/
public Builder setYOffset(int value) {
yOffset_ = value;
onChanged();
return this;
}
/**
* int32 yOffset = 8;
* @return This builder for chaining.
*/
public Builder clearYOffset() {
yOffset_ = 0;
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:ScrollDivTo)
}
// @@protoc_insertion_point(class_scope:ScrollDivTo)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivTo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ScrollDivTo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ScrollDivTo(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.ScrollDivTo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ScrollDivUntilOrBuilder extends
// @@protoc_insertion_point(interface_extends:ScrollDivUntil)
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();
/**
* int32 wait2 = 5;
* @return The wait2.
*/
int getWait2();
/**
* .Locator locator2 = 6;
* @return The enum numeric value on the wire for locator2.
*/
int getLocator2Value();
/**
* .Locator locator2 = 6;
* @return The locator2.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator2();
/**
* string matcher2 = 7;
* @return The matcher2.
*/
java.lang.String getMatcher2();
/**
* string matcher2 = 7;
* @return The bytes for matcher2.
*/
com.google.protobuf.ByteString
getMatcher2Bytes();
/**
* .ScrollDivUntil.Direction searchDir = 8;
* @return The enum numeric value on the wire for searchDir.
*/
int getSearchDirValue();
/**
* .ScrollDivUntil.Direction searchDir = 8;
* @return The searchDir.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction getSearchDir();
/**
* int32 searchOffset = 9;
* @return The searchOffset.
*/
int getSearchOffset();
/**
* bool doScrollTo = 10;
* @return The doScrollTo.
*/
boolean getDoScrollTo();
/**
* int32 yOffset = 11;
* @return The yOffset.
*/
int getYOffset();
}
/**
* Protobuf type {@code ScrollDivUntil}
*/
public static final class ScrollDivUntil extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ScrollDivUntil)
ScrollDivUntilOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScrollDivUntil.newBuilder() to construct.
private ScrollDivUntil(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ScrollDivUntil() {
locator_ = 0;
matcher_ = "";
webId_ = "";
locator2_ = 0;
matcher2_ = "";
searchDir_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ScrollDivUntil();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ScrollDivUntil(
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: {
wait2_ = input.readInt32();
break;
}
case 48: {
int rawValue = input.readEnum();
locator2_ = rawValue;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
matcher2_ = s;
break;
}
case 64: {
int rawValue = input.readEnum();
searchDir_ = rawValue;
break;
}
case 72: {
searchOffset_ = input.readInt32();
break;
}
case 80: {
doScrollTo_ = input.readBool();
break;
}
case 88: {
yOffset_ = input.readInt32();
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_ScrollDivUntil_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollDivUntil_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Builder.class);
}
/**
* Protobuf enum {@code ScrollDivUntil.Direction}
*/
public enum Direction
implements com.google.protobuf.ProtocolMessageEnum {
/**
* BOTH = 0;
*/
BOTH(0),
/**
* UP = 1;
*/
UP(1),
/**
* DOWN = 2;
*/
DOWN(2),
UNRECOGNIZED(-1),
;
/**
* BOTH = 0;
*/
public static final int BOTH_VALUE = 0;
/**
* UP = 1;
*/
public static final int UP_VALUE = 1;
/**
* DOWN = 2;
*/
public static final int DOWN_VALUE = 2;
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 Direction 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 Direction forNumber(int value) {
switch (value) {
case 0: return BOTH;
case 1: return UP;
case 2: return DOWN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Direction> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Direction findValueByNumber(int number) {
return Direction.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.ScrollDivUntil.getDescriptor().getEnumTypes().get(0);
}
private static final Direction[] VALUES = values();
public static Direction 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 Direction(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ScrollDivUntil.Direction)
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WAIT2_FIELD_NUMBER = 5;
private int wait2_;
/**
* int32 wait2 = 5;
* @return The wait2.
*/
@java.lang.Override
public int getWait2() {
return wait2_;
}
public static final int LOCATOR2_FIELD_NUMBER = 6;
private int locator2_;
/**
* .Locator locator2 = 6;
* @return The enum numeric value on the wire for locator2.
*/
@java.lang.Override public int getLocator2Value() {
return locator2_;
}
/**
* .Locator locator2 = 6;
* @return The locator2.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator2() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator2_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER2_FIELD_NUMBER = 7;
private volatile java.lang.Object matcher2_;
/**
* string matcher2 = 7;
* @return The matcher2.
*/
@java.lang.Override
public java.lang.String getMatcher2() {
java.lang.Object ref = matcher2_;
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();
matcher2_ = s;
return s;
}
}
/**
* string matcher2 = 7;
* @return The bytes for matcher2.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcher2Bytes() {
java.lang.Object ref = matcher2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SEARCHDIR_FIELD_NUMBER = 8;
private int searchDir_;
/**
* .ScrollDivUntil.Direction searchDir = 8;
* @return The enum numeric value on the wire for searchDir.
*/
@java.lang.Override public int getSearchDirValue() {
return searchDir_;
}
/**
* .ScrollDivUntil.Direction searchDir = 8;
* @return The searchDir.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction getSearchDir() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction.valueOf(searchDir_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction.UNRECOGNIZED : result;
}
public static final int SEARCHOFFSET_FIELD_NUMBER = 9;
private int searchOffset_;
/**
* int32 searchOffset = 9;
* @return The searchOffset.
*/
@java.lang.Override
public int getSearchOffset() {
return searchOffset_;
}
public static final int DOSCROLLTO_FIELD_NUMBER = 10;
private boolean doScrollTo_;
/**
* bool doScrollTo = 10;
* @return The doScrollTo.
*/
@java.lang.Override
public boolean getDoScrollTo() {
return doScrollTo_;
}
public static final int YOFFSET_FIELD_NUMBER = 11;
private int yOffset_;
/**
* int32 yOffset = 11;
* @return The yOffset.
*/
@java.lang.Override
public int getYOffset() {
return yOffset_;
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (wait2_ != 0) {
output.writeInt32(5, wait2_);
}
if (locator2_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(6, locator2_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher2_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, matcher2_);
}
if (searchDir_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction.BOTH.getNumber()) {
output.writeEnum(8, searchDir_);
}
if (searchOffset_ != 0) {
output.writeInt32(9, searchOffset_);
}
if (doScrollTo_ != false) {
output.writeBool(10, doScrollTo_);
}
if (yOffset_ != 0) {
output.writeInt32(11, yOffset_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (wait2_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, wait2_);
}
if (locator2_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, locator2_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher2_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, matcher2_);
}
if (searchDir_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction.BOTH.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, searchDir_);
}
if (searchOffset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, searchOffset_);
}
if (doScrollTo_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, doScrollTo_);
}
if (yOffset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(11, yOffset_);
}
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.ScrollDivUntil)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (getWait2()
!= other.getWait2()) return false;
if (locator2_ != other.locator2_) return false;
if (!getMatcher2()
.equals(other.getMatcher2())) return false;
if (searchDir_ != other.searchDir_) return false;
if (getSearchOffset()
!= other.getSearchOffset()) return false;
if (getDoScrollTo()
!= other.getDoScrollTo()) return false;
if (getYOffset()
!= other.getYOffset()) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + WAIT2_FIELD_NUMBER;
hash = (53 * hash) + getWait2();
hash = (37 * hash) + LOCATOR2_FIELD_NUMBER;
hash = (53 * hash) + locator2_;
hash = (37 * hash) + MATCHER2_FIELD_NUMBER;
hash = (53 * hash) + getMatcher2().hashCode();
hash = (37 * hash) + SEARCHDIR_FIELD_NUMBER;
hash = (53 * hash) + searchDir_;
hash = (37 * hash) + SEARCHOFFSET_FIELD_NUMBER;
hash = (53 * hash) + getSearchOffset();
hash = (37 * hash) + DOSCROLLTO_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDoScrollTo());
hash = (37 * hash) + YOFFSET_FIELD_NUMBER;
hash = (53 * hash) + getYOffset();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil 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.ScrollDivUntil 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.ScrollDivUntil 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.ScrollDivUntil parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil 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.ScrollDivUntil 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.ScrollDivUntil 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.ScrollDivUntil 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.ScrollDivUntil 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.ScrollDivUntil 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.ScrollDivUntil 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.ScrollDivUntil 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 ScrollDivUntil}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ScrollDivUntil)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntilOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollDivUntil_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollDivUntil_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
wait2_ = 0;
locator2_ = 0;
matcher2_ = "";
searchDir_ = 0;
searchOffset_ = 0;
doScrollTo_ = false;
yOffset_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ScrollDivUntil_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.wait2_ = wait2_;
result.locator2_ = locator2_;
result.matcher2_ = matcher2_;
result.searchDir_ = searchDir_;
result.searchOffset_ = searchOffset_;
result.doScrollTo_ = doScrollTo_;
result.yOffset_ = yOffset_;
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.ScrollDivUntil) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (other.getWait2() != 0) {
setWait2(other.getWait2());
}
if (other.locator2_ != 0) {
setLocator2Value(other.getLocator2Value());
}
if (!other.getMatcher2().isEmpty()) {
matcher2_ = other.matcher2_;
onChanged();
}
if (other.searchDir_ != 0) {
setSearchDirValue(other.getSearchDirValue());
}
if (other.getSearchOffset() != 0) {
setSearchOffset(other.getSearchOffset());
}
if (other.getDoScrollTo() != false) {
setDoScrollTo(other.getDoScrollTo());
}
if (other.getYOffset() != 0) {
setYOffset(other.getYOffset());
}
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.ScrollDivUntil parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private int wait2_ ;
/**
* int32 wait2 = 5;
* @return The wait2.
*/
@java.lang.Override
public int getWait2() {
return wait2_;
}
/**
* int32 wait2 = 5;
* @param value The wait2 to set.
* @return This builder for chaining.
*/
public Builder setWait2(int value) {
wait2_ = value;
onChanged();
return this;
}
/**
* int32 wait2 = 5;
* @return This builder for chaining.
*/
public Builder clearWait2() {
wait2_ = 0;
onChanged();
return this;
}
private int locator2_ = 0;
/**
* .Locator locator2 = 6;
* @return The enum numeric value on the wire for locator2.
*/
@java.lang.Override public int getLocator2Value() {
return locator2_;
}
/**
* .Locator locator2 = 6;
* @param value The enum numeric value on the wire for locator2 to set.
* @return This builder for chaining.
*/
public Builder setLocator2Value(int value) {
locator2_ = value;
onChanged();
return this;
}
/**
* .Locator locator2 = 6;
* @return The locator2.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator2() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator2_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator2 = 6;
* @param value The locator2 to set.
* @return This builder for chaining.
*/
public Builder setLocator2(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator2_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator2 = 6;
* @return This builder for chaining.
*/
public Builder clearLocator2() {
locator2_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher2_ = "";
/**
* string matcher2 = 7;
* @return The matcher2.
*/
public java.lang.String getMatcher2() {
java.lang.Object ref = matcher2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher2 = 7;
* @return The bytes for matcher2.
*/
public com.google.protobuf.ByteString
getMatcher2Bytes() {
java.lang.Object ref = matcher2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher2 = 7;
* @param value The matcher2 to set.
* @return This builder for chaining.
*/
public Builder setMatcher2(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher2_ = value;
onChanged();
return this;
}
/**
* string matcher2 = 7;
* @return This builder for chaining.
*/
public Builder clearMatcher2() {
matcher2_ = getDefaultInstance().getMatcher2();
onChanged();
return this;
}
/**
* string matcher2 = 7;
* @param value The bytes for matcher2 to set.
* @return This builder for chaining.
*/
public Builder setMatcher2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher2_ = value;
onChanged();
return this;
}
private int searchDir_ = 0;
/**
* .ScrollDivUntil.Direction searchDir = 8;
* @return The enum numeric value on the wire for searchDir.
*/
@java.lang.Override public int getSearchDirValue() {
return searchDir_;
}
/**
* .ScrollDivUntil.Direction searchDir = 8;
* @param value The enum numeric value on the wire for searchDir to set.
* @return This builder for chaining.
*/
public Builder setSearchDirValue(int value) {
searchDir_ = value;
onChanged();
return this;
}
/**
* .ScrollDivUntil.Direction searchDir = 8;
* @return The searchDir.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction getSearchDir() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction.valueOf(searchDir_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction.UNRECOGNIZED : result;
}
/**
* .ScrollDivUntil.Direction searchDir = 8;
* @param value The searchDir to set.
* @return This builder for chaining.
*/
public Builder setSearchDir(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil.Direction value) {
if (value == null) {
throw new NullPointerException();
}
searchDir_ = value.getNumber();
onChanged();
return this;
}
/**
* .ScrollDivUntil.Direction searchDir = 8;
* @return This builder for chaining.
*/
public Builder clearSearchDir() {
searchDir_ = 0;
onChanged();
return this;
}
private int searchOffset_ ;
/**
* int32 searchOffset = 9;
* @return The searchOffset.
*/
@java.lang.Override
public int getSearchOffset() {
return searchOffset_;
}
/**
* int32 searchOffset = 9;
* @param value The searchOffset to set.
* @return This builder for chaining.
*/
public Builder setSearchOffset(int value) {
searchOffset_ = value;
onChanged();
return this;
}
/**
* int32 searchOffset = 9;
* @return This builder for chaining.
*/
public Builder clearSearchOffset() {
searchOffset_ = 0;
onChanged();
return this;
}
private boolean doScrollTo_ ;
/**
* bool doScrollTo = 10;
* @return The doScrollTo.
*/
@java.lang.Override
public boolean getDoScrollTo() {
return doScrollTo_;
}
/**
* bool doScrollTo = 10;
* @param value The doScrollTo to set.
* @return This builder for chaining.
*/
public Builder setDoScrollTo(boolean value) {
doScrollTo_ = value;
onChanged();
return this;
}
/**
* bool doScrollTo = 10;
* @return This builder for chaining.
*/
public Builder clearDoScrollTo() {
doScrollTo_ = false;
onChanged();
return this;
}
private int yOffset_ ;
/**
* int32 yOffset = 11;
* @return The yOffset.
*/
@java.lang.Override
public int getYOffset() {
return yOffset_;
}
/**
* int32 yOffset = 11;
* @param value The yOffset to set.
* @return This builder for chaining.
*/
public Builder setYOffset(int value) {
yOffset_ = value;
onChanged();
return this;
}
/**
* int32 yOffset = 11;
* @return This builder for chaining.
*/
public Builder clearYOffset() {
yOffset_ = 0;
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:ScrollDivUntil)
}
// @@protoc_insertion_point(class_scope:ScrollDivUntil)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ScrollDivUntil getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ScrollDivUntil parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ScrollDivUntil(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.ScrollDivUntil getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PageSourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:PageSource)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code PageSource}
*/
public static final class PageSource extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:PageSource)
PageSourceOrBuilder {
private static final long serialVersionUID = 0L;
// Use PageSource.newBuilder() to construct.
private PageSource(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PageSource() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PageSource();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PageSource(
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;
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_PageSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_PageSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.PageSource)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource 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.PageSource 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.PageSource 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.PageSource parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource 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.PageSource 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.PageSource 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.PageSource 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.PageSource 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.PageSource 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.PageSource 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.PageSource 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 PageSource}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:PageSource)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSourceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_PageSource_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_PageSource_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_PageSource_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource(this);
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.PageSource) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource.getDefaultInstance()) return this;
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.PageSource parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:PageSource)
}
// @@protoc_insertion_point(class_scope:PageSource)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PageSource getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PageSource parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PageSource(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.PageSource getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RefreshOrBuilder extends
// @@protoc_insertion_point(interface_extends:Refresh)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code Refresh}
*/
public static final class Refresh extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Refresh)
RefreshOrBuilder {
private static final long serialVersionUID = 0L;
// Use Refresh.newBuilder() to construct.
private Refresh(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Refresh() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Refresh();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Refresh(
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;
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_Refresh_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Refresh_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.Refresh)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh 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.Refresh 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.Refresh 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.Refresh parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh 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.Refresh 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.Refresh 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.Refresh 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.Refresh 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.Refresh 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.Refresh 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.Refresh 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 Refresh}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Refresh)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RefreshOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Refresh_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Refresh_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Refresh_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh(this);
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.Refresh) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh.getDefaultInstance()) return this;
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.Refresh parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:Refresh)
}
// @@protoc_insertion_point(class_scope:Refresh)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Refresh getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Refresh parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Refresh(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.Refresh getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SelectOrBuilder extends
// @@protoc_insertion_point(interface_extends:Select)
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();
/**
* string text = 5;
* @return The text.
*/
java.lang.String getText();
/**
* string text = 5;
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
* string default = 6;
* @return The default.
*/
java.lang.String getDefault();
/**
* string default = 6;
* @return The bytes for default.
*/
com.google.protobuf.ByteString
getDefaultBytes();
/**
* bool noOptionalFail = 7;
* @return The noOptionalFail.
*/
boolean getNoOptionalFail();
}
/**
* Protobuf type {@code Select}
*/
public static final class Select extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Select)
SelectOrBuilder {
private static final long serialVersionUID = 0L;
// Use Select.newBuilder() to construct.
private Select(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Select() {
locator_ = 0;
matcher_ = "";
webId_ = "";
text_ = "";
default_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Select();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Select(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
text_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
default_ = s;
break;
}
case 56: {
noOptionalFail_ = input.readBool();
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_Select_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Select_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEXT_FIELD_NUMBER = 5;
private volatile java.lang.Object text_;
/**
* string text = 5;
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
}
}
/**
* string text = 5;
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFAULT_FIELD_NUMBER = 6;
private volatile java.lang.Object default_;
/**
* string default = 6;
* @return The default.
*/
@java.lang.Override
public java.lang.String getDefault() {
java.lang.Object ref = default_;
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();
default_ = s;
return s;
}
}
/**
* string default = 6;
* @return The bytes for default.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultBytes() {
java.lang.Object ref = default_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
default_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NOOPTIONALFAIL_FIELD_NUMBER = 7;
private boolean noOptionalFail_;
/**
* bool noOptionalFail = 7;
* @return The noOptionalFail.
*/
@java.lang.Override
public boolean getNoOptionalFail() {
return noOptionalFail_;
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, text_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(default_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, default_);
}
if (noOptionalFail_ != false) {
output.writeBool(7, noOptionalFail_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, text_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(default_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, default_);
}
if (noOptionalFail_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, noOptionalFail_);
}
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.Select)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getText()
.equals(other.getText())) return false;
if (!getDefault()
.equals(other.getDefault())) return false;
if (getNoOptionalFail()
!= other.getNoOptionalFail()) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
hash = (37 * hash) + DEFAULT_FIELD_NUMBER;
hash = (53 * hash) + getDefault().hashCode();
hash = (37 * hash) + NOOPTIONALFAIL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNoOptionalFail());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select 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.Select 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.Select 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.Select parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select 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.Select 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.Select 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.Select 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.Select 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.Select 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.Select 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.Select 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 Select}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Select)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Select_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Select_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
text_ = "";
default_ = "";
noOptionalFail_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Select_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.text_ = text_;
result.default_ = default_;
result.noOptionalFail_ = noOptionalFail_;
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.Select) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getText().isEmpty()) {
text_ = other.text_;
onChanged();
}
if (!other.getDefault().isEmpty()) {
default_ = other.default_;
onChanged();
}
if (other.getNoOptionalFail() != false) {
setNoOptionalFail(other.getNoOptionalFail());
}
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.Select parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object text_ = "";
/**
* string text = 5;
* @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string text = 5;
* @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string text = 5;
* @param value The text to set.
* @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
text_ = value;
onChanged();
return this;
}
/**
* string text = 5;
* @return This builder for chaining.
*/
public Builder clearText() {
text_ = getDefaultInstance().getText();
onChanged();
return this;
}
/**
* string text = 5;
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
text_ = value;
onChanged();
return this;
}
private java.lang.Object default_ = "";
/**
* string default = 6;
* @return The default.
*/
public java.lang.String getDefault() {
java.lang.Object ref = default_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
default_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string default = 6;
* @return The bytes for default.
*/
public com.google.protobuf.ByteString
getDefaultBytes() {
java.lang.Object ref = default_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
default_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string default = 6;
* @param value The default to set.
* @return This builder for chaining.
*/
public Builder setDefault(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
default_ = value;
onChanged();
return this;
}
/**
* string default = 6;
* @return This builder for chaining.
*/
public Builder clearDefault() {
default_ = getDefaultInstance().getDefault();
onChanged();
return this;
}
/**
* string default = 6;
* @param value The bytes for default to set.
* @return This builder for chaining.
*/
public Builder setDefaultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
default_ = value;
onChanged();
return this;
}
private boolean noOptionalFail_ ;
/**
* bool noOptionalFail = 7;
* @return The noOptionalFail.
*/
@java.lang.Override
public boolean getNoOptionalFail() {
return noOptionalFail_;
}
/**
* bool noOptionalFail = 7;
* @param value The noOptionalFail to set.
* @return This builder for chaining.
*/
public Builder setNoOptionalFail(boolean value) {
noOptionalFail_ = value;
onChanged();
return this;
}
/**
* bool noOptionalFail = 7;
* @return This builder for chaining.
*/
public Builder clearNoOptionalFail() {
noOptionalFail_ = false;
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:Select)
}
// @@protoc_insertion_point(class_scope:Select)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Select getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Select parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Select(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.Select getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ClearElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:ClearElement)
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();
}
/**
* Protobuf type {@code ClearElement}
*/
public static final class ClearElement extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ClearElement)
ClearElementOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClearElement.newBuilder() to construct.
private ClearElement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ClearElement() {
locator_ = 0;
matcher_ = "";
webId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ClearElement();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ClearElement(
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;
}
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_ClearElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ClearElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = 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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
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.ClearElement)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement 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.ClearElement 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.ClearElement 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.ClearElement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement 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.ClearElement 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.ClearElement 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.ClearElement 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.ClearElement 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.ClearElement 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.ClearElement 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.ClearElement 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 ClearElement}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ClearElement)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ClearElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ClearElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ClearElement_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
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.ClearElement) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
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.ClearElement parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = 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:ClearElement)
}
// @@protoc_insertion_point(class_scope:ClearElement)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ClearElement getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ClearElement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ClearElement(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.ClearElement getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface OutputOrBuilder extends
// @@protoc_insertion_point(interface_extends:Output)
com.google.protobuf.MessageOrBuilder {
/**
* string text = 1;
* @return The text.
*/
java.lang.String getText();
/**
* string text = 1;
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
}
/**
* Protobuf type {@code Output}
*/
public static final class Output extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Output)
OutputOrBuilder {
private static final long serialVersionUID = 0L;
// Use Output.newBuilder() to construct.
private Output(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Output() {
text_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Output();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Output(
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();
text_ = 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_Output_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Output_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output.Builder.class);
}
public static final int TEXT_FIELD_NUMBER = 1;
private volatile java.lang.Object text_;
/**
* string text = 1;
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
}
}
/**
* string text = 1;
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_);
}
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(text_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_);
}
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.Output)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output) obj;
if (!getText()
.equals(other.getText())) 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) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output 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.Output 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.Output 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.Output parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output 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.Output 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.Output 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.Output 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.Output 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.Output 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.Output 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.Output 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 Output}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Output)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.OutputOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Output_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Output_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output.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();
text_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_Output_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output(this);
result.text_ = text_;
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.Output) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output.getDefaultInstance()) return this;
if (!other.getText().isEmpty()) {
text_ = other.text_;
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.Output parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object text_ = "";
/**
* string text = 1;
* @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string text = 1;
* @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string text = 1;
* @param value The text to set.
* @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
text_ = value;
onChanged();
return this;
}
/**
* string text = 1;
* @return This builder for chaining.
*/
public Builder clearText() {
text_ = getDefaultInstance().getText();
onChanged();
return this;
}
/**
* string text = 1;
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
text_ = value;
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:Output)
}
// @@protoc_insertion_point(class_scope:Output)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Output getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Output parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Output(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.Output getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FindElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:FindElement)
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();
/**
* string id = 5;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 5;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
}
/**
* Protobuf type {@code FindElement}
*/
public static final class FindElement extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:FindElement)
FindElementOrBuilder {
private static final long serialVersionUID = 0L;
// Use FindElement.newBuilder() to construct.
private FindElement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FindElement() {
locator_ = 0;
matcher_ = "";
webId_ = "";
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FindElement();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FindElement(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
id_ = 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_FindElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_FindElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_FIELD_NUMBER = 5;
private volatile java.lang.Object id_;
/**
* string id = 5;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
* string id = 5;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, id_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, id_);
}
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.FindElement)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getId()
.equals(other.getId())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement 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.FindElement 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.FindElement 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.FindElement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement 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.FindElement 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.FindElement 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.FindElement 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.FindElement 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.FindElement 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.FindElement 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.FindElement 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 FindElement}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:FindElement)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_FindElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_FindElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
id_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_FindElement_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.id_ = id_;
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.FindElement) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getId().isEmpty()) {
id_ = other.id_;
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.FindElement parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object id_ = "";
/**
* string id = 5;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 5;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 5;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string id = 5;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string id = 5;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
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:FindElement)
}
// @@protoc_insertion_point(class_scope:FindElement)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.FindElement getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FindElement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FindElement(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.FindElement getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface KeyActionOrBuilder extends
// @@protoc_insertion_point(interface_extends:KeyAction)
com.google.protobuf.MessageOrBuilder {
/**
* string key = 1;
* @return The key.
*/
java.lang.String getKey();
/**
* string key = 1;
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* .KeyAction.ActionType keyAction = 2;
* @return The enum numeric value on the wire for keyAction.
*/
int getKeyActionValue();
/**
* .KeyAction.ActionType keyAction = 2;
* @return The keyAction.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType getKeyAction();
}
/**
* Protobuf type {@code KeyAction}
*/
public static final class KeyAction extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:KeyAction)
KeyActionOrBuilder {
private static final long serialVersionUID = 0L;
// Use KeyAction.newBuilder() to construct.
private KeyAction(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private KeyAction() {
key_ = "";
keyAction_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new KeyAction();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private KeyAction(
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();
key_ = s;
break;
}
case 16: {
int rawValue = input.readEnum();
keyAction_ = rawValue;
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_KeyAction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_KeyAction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.Builder.class);
}
/**
* Protobuf enum {@code KeyAction.ActionType}
*/
public enum ActionType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* PRESS = 0;
*/
PRESS(0),
/**
* UP = 1;
*/
UP(1),
/**
* DOWN = 2;
*/
DOWN(2),
UNRECOGNIZED(-1),
;
/**
* PRESS = 0;
*/
public static final int PRESS_VALUE = 0;
/**
* UP = 1;
*/
public static final int UP_VALUE = 1;
/**
* DOWN = 2;
*/
public static final int DOWN_VALUE = 2;
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 ActionType 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 ActionType forNumber(int value) {
switch (value) {
case 0: return PRESS;
case 1: return UP;
case 2: return DOWN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ActionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ActionType findValueByNumber(int number) {
return ActionType.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.KeyAction.getDescriptor().getEnumTypes().get(0);
}
private static final ActionType[] VALUES = values();
public static ActionType 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 ActionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:KeyAction.ActionType)
}
public static final int KEY_FIELD_NUMBER = 1;
private volatile java.lang.Object key_;
/**
* string key = 1;
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
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();
key_ = s;
return s;
}
}
/**
* string key = 1;
* @return The bytes for key.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEYACTION_FIELD_NUMBER = 2;
private int keyAction_;
/**
* .KeyAction.ActionType keyAction = 2;
* @return The enum numeric value on the wire for keyAction.
*/
@java.lang.Override public int getKeyActionValue() {
return keyAction_;
}
/**
* .KeyAction.ActionType keyAction = 2;
* @return The keyAction.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType getKeyAction() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType.valueOf(keyAction_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType.UNRECOGNIZED : result;
}
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(key_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
}
if (keyAction_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType.PRESS.getNumber()) {
output.writeEnum(2, keyAction_);
}
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(key_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
}
if (keyAction_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType.PRESS.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, keyAction_);
}
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.KeyAction)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction) obj;
if (!getKey()
.equals(other.getKey())) return false;
if (keyAction_ != other.keyAction_) 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) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (37 * hash) + KEYACTION_FIELD_NUMBER;
hash = (53 * hash) + keyAction_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction 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.KeyAction 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.KeyAction 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.KeyAction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction 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.KeyAction 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.KeyAction 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.KeyAction 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.KeyAction 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.KeyAction 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.KeyAction 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.KeyAction 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 KeyAction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:KeyAction)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyActionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_KeyAction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_KeyAction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.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();
key_ = "";
keyAction_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_KeyAction_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction(this);
result.key_ = key_;
result.keyAction_ = keyAction_;
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.KeyAction) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.getDefaultInstance()) return this;
if (!other.getKey().isEmpty()) {
key_ = other.key_;
onChanged();
}
if (other.keyAction_ != 0) {
setKeyActionValue(other.getKeyActionValue());
}
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.KeyAction parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object key_ = "";
/**
* string key = 1;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string key = 1;
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string key = 1;
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
* string key = 1;
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* string key = 1;
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
key_ = value;
onChanged();
return this;
}
private int keyAction_ = 0;
/**
* .KeyAction.ActionType keyAction = 2;
* @return The enum numeric value on the wire for keyAction.
*/
@java.lang.Override public int getKeyActionValue() {
return keyAction_;
}
/**
* .KeyAction.ActionType keyAction = 2;
* @param value The enum numeric value on the wire for keyAction to set.
* @return This builder for chaining.
*/
public Builder setKeyActionValue(int value) {
keyAction_ = value;
onChanged();
return this;
}
/**
* .KeyAction.ActionType keyAction = 2;
* @return The keyAction.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType getKeyAction() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType.valueOf(keyAction_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType.UNRECOGNIZED : result;
}
/**
* .KeyAction.ActionType keyAction = 2;
* @param value The keyAction to set.
* @return This builder for chaining.
*/
public Builder setKeyAction(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction.ActionType value) {
if (value == null) {
throw new NullPointerException();
}
keyAction_ = value.getNumber();
onChanged();
return this;
}
/**
* .KeyAction.ActionType keyAction = 2;
* @return This builder for chaining.
*/
public Builder clearKeyAction() {
keyAction_ = 0;
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:KeyAction)
}
// @@protoc_insertion_point(class_scope:KeyAction)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.KeyAction getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public KeyAction parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new KeyAction(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.KeyAction getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PressKeyOrBuilder extends
// @@protoc_insertion_point(interface_extends:PressKey)
com.google.protobuf.MessageOrBuilder {
/**
* string key = 1;
* @return The key.
*/
java.lang.String getKey();
/**
* string key = 1;
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
}
/**
* Protobuf type {@code PressKey}
*/
public static final class PressKey extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:PressKey)
PressKeyOrBuilder {
private static final long serialVersionUID = 0L;
// Use PressKey.newBuilder() to construct.
private PressKey(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PressKey() {
key_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PressKey();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PressKey(
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();
key_ = 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_PressKey_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_PressKey_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey.Builder.class);
}
public static final int KEY_FIELD_NUMBER = 1;
private volatile java.lang.Object key_;
/**
* string key = 1;
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
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();
key_ = s;
return s;
}
}
/**
* string key = 1;
* @return The bytes for key.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = 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(key_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
}
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(key_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
}
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.PressKey)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey) obj;
if (!getKey()
.equals(other.getKey())) 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) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey 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.PressKey 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.PressKey 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.PressKey parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey 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.PressKey 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.PressKey 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.PressKey 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.PressKey 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.PressKey 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.PressKey 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.PressKey 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 PressKey}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:PressKey)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKeyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_PressKey_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_PressKey_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey.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();
key_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_PressKey_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey(this);
result.key_ = key_;
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.PressKey) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey.getDefaultInstance()) return this;
if (!other.getKey().isEmpty()) {
key_ = other.key_;
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.PressKey parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object key_ = "";
/**
* string key = 1;
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string key = 1;
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string key = 1;
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
* string key = 1;
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* string key = 1;
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
key_ = 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:PressKey)
}
// @@protoc_insertion_point(class_scope:PressKey)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.PressKey getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PressKey parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PressKey(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.PressKey getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SendKeysToActiveOrBuilder extends
// @@protoc_insertion_point(interface_extends:SendKeysToActive)
com.google.protobuf.MessageOrBuilder {
/**
* string text = 1;
* @return The text.
*/
java.lang.String getText();
/**
* string text = 1;
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
* string text2 = 2;
* @return The text2.
*/
java.lang.String getText2();
/**
* string text2 = 2;
* @return The bytes for text2.
*/
com.google.protobuf.ByteString
getText2Bytes();
}
/**
* Protobuf type {@code SendKeysToActive}
*/
public static final class SendKeysToActive extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SendKeysToActive)
SendKeysToActiveOrBuilder {
private static final long serialVersionUID = 0L;
// Use SendKeysToActive.newBuilder() to construct.
private SendKeysToActive(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SendKeysToActive() {
text_ = "";
text2_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SendKeysToActive();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SendKeysToActive(
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();
text_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
text2_ = 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_SendKeysToActive_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SendKeysToActive_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive.Builder.class);
}
public static final int TEXT_FIELD_NUMBER = 1;
private volatile java.lang.Object text_;
/**
* string text = 1;
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
}
}
/**
* string text = 1;
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEXT2_FIELD_NUMBER = 2;
private volatile java.lang.Object text2_;
/**
* string text2 = 2;
* @return The text2.
*/
@java.lang.Override
public java.lang.String getText2() {
java.lang.Object ref = text2_;
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();
text2_ = s;
return s;
}
}
/**
* string text2 = 2;
* @return The bytes for text2.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getText2Bytes() {
java.lang.Object ref = text2_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text2_ = 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(text_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text2_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, text2_);
}
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(text_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, text_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text2_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, text2_);
}
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.SendKeysToActive)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive) obj;
if (!getText()
.equals(other.getText())) return false;
if (!getText2()
.equals(other.getText2())) 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) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
hash = (37 * hash) + TEXT2_FIELD_NUMBER;
hash = (53 * hash) + getText2().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive 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.SendKeysToActive 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.SendKeysToActive 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.SendKeysToActive parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive 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.SendKeysToActive 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.SendKeysToActive 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.SendKeysToActive 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.SendKeysToActive 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.SendKeysToActive 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.SendKeysToActive 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.SendKeysToActive 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 SendKeysToActive}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:SendKeysToActive)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActiveOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SendKeysToActive_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SendKeysToActive_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive.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();
text_ = "";
text2_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SendKeysToActive_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive(this);
result.text_ = text_;
result.text2_ = text2_;
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.SendKeysToActive) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive.getDefaultInstance()) return this;
if (!other.getText().isEmpty()) {
text_ = other.text_;
onChanged();
}
if (!other.getText2().isEmpty()) {
text2_ = other.text2_;
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.SendKeysToActive parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object text_ = "";
/**
* string text = 1;
* @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string text = 1;
* @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string text = 1;
* @param value The text to set.
* @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
text_ = value;
onChanged();
return this;
}
/**
* string text = 1;
* @return This builder for chaining.
*/
public Builder clearText() {
text_ = getDefaultInstance().getText();
onChanged();
return this;
}
/**
* string text = 1;
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
text_ = value;
onChanged();
return this;
}
private java.lang.Object text2_ = "";
/**
* string text2 = 2;
* @return The text2.
*/
public java.lang.String getText2() {
java.lang.Object ref = text2_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text2_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string text2 = 2;
* @return The bytes for text2.
*/
public com.google.protobuf.ByteString
getText2Bytes() {
java.lang.Object ref = text2_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text2_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string text2 = 2;
* @param value The text2 to set.
* @return This builder for chaining.
*/
public Builder setText2(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
text2_ = value;
onChanged();
return this;
}
/**
* string text2 = 2;
* @return This builder for chaining.
*/
public Builder clearText2() {
text2_ = getDefaultInstance().getText2();
onChanged();
return this;
}
/**
* string text2 = 2;
* @param value The bytes for text2 to set.
* @return This builder for chaining.
*/
public Builder setText2Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
text2_ = 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:SendKeysToActive)
}
// @@protoc_insertion_point(class_scope:SendKeysToActive)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SendKeysToActive getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SendKeysToActive parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SendKeysToActive(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.SendKeysToActive getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UploadFileOrBuilder extends
// @@protoc_insertion_point(interface_extends:UploadFile)
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();
/**
* string absolutePath = 5;
* @return The absolutePath.
*/
java.lang.String getAbsolutePath();
/**
* string absolutePath = 5;
* @return The bytes for absolutePath.
*/
com.google.protobuf.ByteString
getAbsolutePathBytes();
}
/**
* Protobuf type {@code UploadFile}
*/
public static final class UploadFile extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:UploadFile)
UploadFileOrBuilder {
private static final long serialVersionUID = 0L;
// Use UploadFile.newBuilder() to construct.
private UploadFile(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UploadFile() {
locator_ = 0;
matcher_ = "";
webId_ = "";
absolutePath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UploadFile();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UploadFile(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
absolutePath_ = 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_UploadFile_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_UploadFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ABSOLUTEPATH_FIELD_NUMBER = 5;
private volatile java.lang.Object absolutePath_;
/**
* string absolutePath = 5;
* @return The absolutePath.
*/
@java.lang.Override
public java.lang.String getAbsolutePath() {
java.lang.Object ref = absolutePath_;
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();
absolutePath_ = s;
return s;
}
}
/**
* string absolutePath = 5;
* @return The bytes for absolutePath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAbsolutePathBytes() {
java.lang.Object ref = absolutePath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
absolutePath_ = 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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(absolutePath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, absolutePath_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(absolutePath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, absolutePath_);
}
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.UploadFile)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getAbsolutePath()
.equals(other.getAbsolutePath())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + ABSOLUTEPATH_FIELD_NUMBER;
hash = (53 * hash) + getAbsolutePath().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile 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.UploadFile 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.UploadFile 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.UploadFile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile 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.UploadFile 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.UploadFile 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.UploadFile 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.UploadFile 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.UploadFile 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.UploadFile 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.UploadFile 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 UploadFile}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:UploadFile)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_UploadFile_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_UploadFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
absolutePath_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_UploadFile_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.absolutePath_ = absolutePath_;
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.UploadFile) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getAbsolutePath().isEmpty()) {
absolutePath_ = other.absolutePath_;
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.UploadFile parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object absolutePath_ = "";
/**
* string absolutePath = 5;
* @return The absolutePath.
*/
public java.lang.String getAbsolutePath() {
java.lang.Object ref = absolutePath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
absolutePath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string absolutePath = 5;
* @return The bytes for absolutePath.
*/
public com.google.protobuf.ByteString
getAbsolutePathBytes() {
java.lang.Object ref = absolutePath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
absolutePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string absolutePath = 5;
* @param value The absolutePath to set.
* @return This builder for chaining.
*/
public Builder setAbsolutePath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
absolutePath_ = value;
onChanged();
return this;
}
/**
* string absolutePath = 5;
* @return This builder for chaining.
*/
public Builder clearAbsolutePath() {
absolutePath_ = getDefaultInstance().getAbsolutePath();
onChanged();
return this;
}
/**
* string absolutePath = 5;
* @param value The bytes for absolutePath to set.
* @return This builder for chaining.
*/
public Builder setAbsolutePathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
absolutePath_ = 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:UploadFile)
}
// @@protoc_insertion_point(class_scope:UploadFile)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.UploadFile getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UploadFile parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UploadFile(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.UploadFile getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DownloadFileOrBuilder extends
// @@protoc_insertion_point(interface_extends:DownloadFile)
com.google.protobuf.MessageOrBuilder {
/**
* int32 wait = 1;
* @return The wait.
*/
int getWait();
/**
* .DownloadFile.DownloadActionType actionType = 2;
* @return The enum numeric value on the wire for actionType.
*/
int getActionTypeValue();
/**
* .DownloadFile.DownloadActionType actionType = 2;
* @return The actionType.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType getActionType();
/**
* bool localPath = 3;
* @return The localPath.
*/
boolean getLocalPath();
}
/**
* Protobuf type {@code DownloadFile}
*/
public static final class DownloadFile extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DownloadFile)
DownloadFileOrBuilder {
private static final long serialVersionUID = 0L;
// Use DownloadFile.newBuilder() to construct.
private DownloadFile(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DownloadFile() {
actionType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DownloadFile();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DownloadFile(
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();
actionType_ = rawValue;
break;
}
case 24: {
localPath_ = input.readBool();
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_DownloadFile_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DownloadFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.Builder.class);
}
/**
* Protobuf enum {@code DownloadFile.DownloadActionType}
*/
public enum DownloadActionType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* SNAPSHOT = 0;
*/
SNAPSHOT(0),
/**
* DOWNLOAD = 1;
*/
DOWNLOAD(1),
UNRECOGNIZED(-1),
;
/**
* SNAPSHOT = 0;
*/
public static final int SNAPSHOT_VALUE = 0;
/**
* DOWNLOAD = 1;
*/
public static final int DOWNLOAD_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DownloadActionType 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 DownloadActionType forNumber(int value) {
switch (value) {
case 0: return SNAPSHOT;
case 1: return DOWNLOAD;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DownloadActionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public DownloadActionType findValueByNumber(int number) {
return DownloadActionType.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.DownloadFile.getDescriptor().getEnumTypes().get(0);
}
private static final DownloadActionType[] VALUES = values();
public static DownloadActionType 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 DownloadActionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DownloadFile.DownloadActionType)
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int ACTIONTYPE_FIELD_NUMBER = 2;
private int actionType_;
/**
* .DownloadFile.DownloadActionType actionType = 2;
* @return The enum numeric value on the wire for actionType.
*/
@java.lang.Override public int getActionTypeValue() {
return actionType_;
}
/**
* .DownloadFile.DownloadActionType actionType = 2;
* @return The actionType.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType getActionType() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType.valueOf(actionType_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType.UNRECOGNIZED : result;
}
public static final int LOCALPATH_FIELD_NUMBER = 3;
private boolean localPath_;
/**
* bool localPath = 3;
* @return The localPath.
*/
@java.lang.Override
public boolean getLocalPath() {
return localPath_;
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (actionType_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType.SNAPSHOT.getNumber()) {
output.writeEnum(2, actionType_);
}
if (localPath_ != false) {
output.writeBool(3, localPath_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (actionType_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType.SNAPSHOT.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, actionType_);
}
if (localPath_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, localPath_);
}
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.DownloadFile)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile) obj;
if (getWait()
!= other.getWait()) return false;
if (actionType_ != other.actionType_) return false;
if (getLocalPath()
!= other.getLocalPath()) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + ACTIONTYPE_FIELD_NUMBER;
hash = (53 * hash) + actionType_;
hash = (37 * hash) + LOCALPATH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getLocalPath());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile 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.DownloadFile 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.DownloadFile 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.DownloadFile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile 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.DownloadFile 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.DownloadFile 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.DownloadFile 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.DownloadFile 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.DownloadFile 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.DownloadFile 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.DownloadFile 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 DownloadFile}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DownloadFile)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DownloadFile_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DownloadFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.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();
wait_ = 0;
actionType_ = 0;
localPath_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DownloadFile_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile(this);
result.wait_ = wait_;
result.actionType_ = actionType_;
result.localPath_ = localPath_;
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.DownloadFile) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.actionType_ != 0) {
setActionTypeValue(other.getActionTypeValue());
}
if (other.getLocalPath() != false) {
setLocalPath(other.getLocalPath());
}
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.DownloadFile parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int actionType_ = 0;
/**
* .DownloadFile.DownloadActionType actionType = 2;
* @return The enum numeric value on the wire for actionType.
*/
@java.lang.Override public int getActionTypeValue() {
return actionType_;
}
/**
* .DownloadFile.DownloadActionType actionType = 2;
* @param value The enum numeric value on the wire for actionType to set.
* @return This builder for chaining.
*/
public Builder setActionTypeValue(int value) {
actionType_ = value;
onChanged();
return this;
}
/**
* .DownloadFile.DownloadActionType actionType = 2;
* @return The actionType.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType getActionType() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType.valueOf(actionType_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType.UNRECOGNIZED : result;
}
/**
* .DownloadFile.DownloadActionType actionType = 2;
* @param value The actionType to set.
* @return This builder for chaining.
*/
public Builder setActionType(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile.DownloadActionType value) {
if (value == null) {
throw new NullPointerException();
}
actionType_ = value.getNumber();
onChanged();
return this;
}
/**
* .DownloadFile.DownloadActionType actionType = 2;
* @return This builder for chaining.
*/
public Builder clearActionType() {
actionType_ = 0;
onChanged();
return this;
}
private boolean localPath_ ;
/**
* bool localPath = 3;
* @return The localPath.
*/
@java.lang.Override
public boolean getLocalPath() {
return localPath_;
}
/**
* bool localPath = 3;
* @param value The localPath to set.
* @return This builder for chaining.
*/
public Builder setLocalPath(boolean value) {
localPath_ = value;
onChanged();
return this;
}
/**
* bool localPath = 3;
* @return This builder for chaining.
*/
public Builder clearLocalPath() {
localPath_ = false;
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:DownloadFile)
}
// @@protoc_insertion_point(class_scope:DownloadFile)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DownloadFile getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DownloadFile parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DownloadFile(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.DownloadFile getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SwitchWindowOrBuilder extends
// @@protoc_insertion_point(interface_extends:SwitchWindow)
com.google.protobuf.MessageOrBuilder {
/**
* int32 window = 1;
* @return The window.
*/
int getWindow();
}
/**
* Protobuf type {@code SwitchWindow}
*/
public static final class SwitchWindow extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SwitchWindow)
SwitchWindowOrBuilder {
private static final long serialVersionUID = 0L;
// Use SwitchWindow.newBuilder() to construct.
private SwitchWindow(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SwitchWindow() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SwitchWindow();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SwitchWindow(
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: {
window_ = input.readInt32();
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_SwitchWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SwitchWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow.Builder.class);
}
public static final int WINDOW_FIELD_NUMBER = 1;
private int window_;
/**
* int32 window = 1;
* @return The window.
*/
@java.lang.Override
public int getWindow() {
return window_;
}
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 (window_ != 0) {
output.writeInt32(1, window_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (window_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, window_);
}
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.SwitchWindow)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow) obj;
if (getWindow()
!= other.getWindow()) 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) + WINDOW_FIELD_NUMBER;
hash = (53 * hash) + getWindow();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow 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.SwitchWindow 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.SwitchWindow 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.SwitchWindow parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow 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.SwitchWindow 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.SwitchWindow 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.SwitchWindow 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.SwitchWindow 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.SwitchWindow 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.SwitchWindow 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.SwitchWindow 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 SwitchWindow}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:SwitchWindow)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindowOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SwitchWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SwitchWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow.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();
window_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SwitchWindow_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow(this);
result.window_ = window_;
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.SwitchWindow) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow.getDefaultInstance()) return this;
if (other.getWindow() != 0) {
setWindow(other.getWindow());
}
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.SwitchWindow parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int window_ ;
/**
* int32 window = 1;
* @return The window.
*/
@java.lang.Override
public int getWindow() {
return window_;
}
/**
* int32 window = 1;
* @param value The window to set.
* @return This builder for chaining.
*/
public Builder setWindow(int value) {
window_ = value;
onChanged();
return this;
}
/**
* int32 window = 1;
* @return This builder for chaining.
*/
public Builder clearWindow() {
window_ = 0;
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:SwitchWindow)
}
// @@protoc_insertion_point(class_scope:SwitchWindow)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SwitchWindow getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SwitchWindow parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SwitchWindow(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.SwitchWindow getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CloseWindowOrBuilder extends
// @@protoc_insertion_point(interface_extends:CloseWindow)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CloseWindow}
*/
public static final class CloseWindow extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CloseWindow)
CloseWindowOrBuilder {
private static final long serialVersionUID = 0L;
// Use CloseWindow.newBuilder() to construct.
private CloseWindow(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CloseWindow() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CloseWindow();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CloseWindow(
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;
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_CloseWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_CloseWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.CloseWindow)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow 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.CloseWindow 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.CloseWindow 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.CloseWindow parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow 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.CloseWindow 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.CloseWindow 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.CloseWindow 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.CloseWindow 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.CloseWindow 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.CloseWindow 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.CloseWindow 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 CloseWindow}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:CloseWindow)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindowOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_CloseWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_CloseWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_CloseWindow_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow(this);
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.CloseWindow) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow.getDefaultInstance()) return this;
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.CloseWindow parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:CloseWindow)
}
// @@protoc_insertion_point(class_scope:CloseWindow)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CloseWindow getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CloseWindow parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CloseWindow(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.CloseWindow getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetCurrentURLOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetCurrentURL)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code GetCurrentURL}
*/
public static final class GetCurrentURL extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetCurrentURL)
GetCurrentURLOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCurrentURL.newBuilder() to construct.
private GetCurrentURL(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetCurrentURL() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCurrentURL();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetCurrentURL(
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;
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_GetCurrentURL_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetCurrentURL_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL.Builder.class);
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.GetCurrentURL)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL) obj;
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 = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL 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.GetCurrentURL 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.GetCurrentURL 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.GetCurrentURL parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL 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.GetCurrentURL 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.GetCurrentURL 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.GetCurrentURL 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.GetCurrentURL 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.GetCurrentURL 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.GetCurrentURL 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.GetCurrentURL 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 GetCurrentURL}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetCurrentURL)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURLOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetCurrentURL_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetCurrentURL_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetCurrentURL_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL(this);
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.GetCurrentURL) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL.getDefaultInstance()) return this;
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.GetCurrentURL parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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:GetCurrentURL)
}
// @@protoc_insertion_point(class_scope:GetCurrentURL)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetCurrentURL getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetCurrentURL parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetCurrentURL(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.GetCurrentURL getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SetZoomOrBuilder extends
// @@protoc_insertion_point(interface_extends:SetZoom)
com.google.protobuf.MessageOrBuilder {
/**
* string value = 1;
* @return The value.
*/
java.lang.String getValue();
/**
* string value = 1;
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code SetZoom}
*/
public static final class SetZoom extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SetZoom)
SetZoomOrBuilder {
private static final long serialVersionUID = 0L;
// Use SetZoom.newBuilder() to construct.
private SetZoom(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SetZoom() {
value_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SetZoom();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SetZoom(
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();
value_ = 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_SetZoom_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SetZoom_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private volatile java.lang.Object value_;
/**
* string value = 1;
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
value_ = s;
return s;
}
}
/**
* string value = 1;
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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(value_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, value_);
}
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(value_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, value_);
}
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.SetZoom)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom) obj;
if (!getValue()
.equals(other.getValue())) 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) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom 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.SetZoom 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.SetZoom 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.SetZoom parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom 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.SetZoom 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.SetZoom 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.SetZoom 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.SetZoom 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.SetZoom 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.SetZoom 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.SetZoom 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 SetZoom}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:SetZoom)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoomOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SetZoom_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SetZoom_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom.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();
value_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SetZoom_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom(this);
result.value_ = value_;
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.SetZoom) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom.getDefaultInstance()) return this;
if (!other.getValue().isEmpty()) {
value_ = other.value_;
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.SetZoom parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object value_ = "";
/**
* string value = 1;
* @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string value = 1;
* @return The bytes for value.
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string value = 1;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
return this;
}
/**
* string value = 1;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* string value = 1;
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
value_ = value;
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:SetZoom)
}
// @@protoc_insertion_point(class_scope:SetZoom)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SetZoom getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SetZoom parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SetZoom(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.SetZoom getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DurationStartOrBuilder extends
// @@protoc_insertion_point(interface_extends:DurationStart)
com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
}
/**
* Protobuf type {@code DurationStart}
*/
public static final class DurationStart extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DurationStart)
DurationStartOrBuilder {
private static final long serialVersionUID = 0L;
// Use DurationStart.newBuilder() to construct.
private DurationStart(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DurationStart() {
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DurationStart();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DurationStart(
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();
id_ = 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_DurationStart_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DurationStart_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
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(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
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.DurationStart)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart) obj;
if (!getId()
.equals(other.getId())) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart 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.DurationStart 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.DurationStart 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.DurationStart parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart 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.DurationStart 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.DurationStart 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.DurationStart 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.DurationStart 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.DurationStart 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.DurationStart 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.DurationStart 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 DurationStart}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DurationStart)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStartOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DurationStart_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DurationStart_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart.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();
id_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DurationStart_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart(this);
result.id_ = id_;
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.DurationStart) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
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.DurationStart parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 1;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
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:DurationStart)
}
// @@protoc_insertion_point(class_scope:DurationStart)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DurationStart getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DurationStart parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DurationStart(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.DurationStart getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetDurationOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetDuration)
com.google.protobuf.MessageOrBuilder {
/**
* string startId = 1;
* @return The startId.
*/
java.lang.String getStartId();
/**
* string startId = 1;
* @return The bytes for startId.
*/
com.google.protobuf.ByteString
getStartIdBytes();
/**
* string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
}
/**
* Protobuf type {@code GetDuration}
*/
public static final class GetDuration extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetDuration)
GetDurationOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDuration.newBuilder() to construct.
private GetDuration(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetDuration() {
startId_ = "";
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDuration();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetDuration(
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();
startId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = 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_GetDuration_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetDuration_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration.Builder.class);
}
public static final int STARTID_FIELD_NUMBER = 1;
private volatile java.lang.Object startId_;
/**
* string startId = 1;
* @return The startId.
*/
@java.lang.Override
public java.lang.String getStartId() {
java.lang.Object ref = startId_;
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();
startId_ = s;
return s;
}
}
/**
* string startId = 1;
* @return The bytes for startId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStartIdBytes() {
java.lang.Object ref = startId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* string name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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(startId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, startId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
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(startId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, startId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
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.GetDuration)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration) obj;
if (!getStartId()
.equals(other.getStartId())) return false;
if (!getName()
.equals(other.getName())) 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) + STARTID_FIELD_NUMBER;
hash = (53 * hash) + getStartId().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration 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.GetDuration 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.GetDuration 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.GetDuration parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration 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.GetDuration 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.GetDuration 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.GetDuration 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.GetDuration 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.GetDuration 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.GetDuration 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.GetDuration 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 GetDuration}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetDuration)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDurationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetDuration_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetDuration_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration.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();
startId_ = "";
name_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetDuration_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration(this);
result.startId_ = startId_;
result.name_ = name_;
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.GetDuration) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration.getDefaultInstance()) return this;
if (!other.getStartId().isEmpty()) {
startId_ = other.startId_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
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.GetDuration parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object startId_ = "";
/**
* string startId = 1;
* @return The startId.
*/
public java.lang.String getStartId() {
java.lang.Object ref = startId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string startId = 1;
* @return The bytes for startId.
*/
public com.google.protobuf.ByteString
getStartIdBytes() {
java.lang.Object ref = startId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string startId = 1;
* @param value The startId to set.
* @return This builder for chaining.
*/
public Builder setStartId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startId_ = value;
onChanged();
return this;
}
/**
* string startId = 1;
* @return This builder for chaining.
*/
public Builder clearStartId() {
startId_ = getDefaultInstance().getStartId();
onChanged();
return this;
}
/**
* string startId = 1;
* @param value The bytes for startId to set.
* @return This builder for chaining.
*/
public Builder setStartIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startId_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
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:GetDuration)
}
// @@protoc_insertion_point(class_scope:GetDuration)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetDuration getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetDuration parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetDuration(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.GetDuration getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StoreElementStateOrBuilder extends
// @@protoc_insertion_point(interface_extends:StoreElementState)
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();
/**
* string id = 5;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 5;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
}
/**
* Protobuf type {@code StoreElementState}
*/
public static final class StoreElementState extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:StoreElementState)
StoreElementStateOrBuilder {
private static final long serialVersionUID = 0L;
// Use StoreElementState.newBuilder() to construct.
private StoreElementState(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StoreElementState() {
locator_ = 0;
matcher_ = "";
webId_ = "";
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StoreElementState();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StoreElementState(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
id_ = 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_StoreElementState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_StoreElementState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_FIELD_NUMBER = 5;
private volatile java.lang.Object id_;
/**
* string id = 5;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
* string id = 5;
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, id_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, id_);
}
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.StoreElementState)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getId()
.equals(other.getId())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState 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.StoreElementState 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.StoreElementState 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.StoreElementState parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState 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.StoreElementState 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.StoreElementState 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.StoreElementState 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.StoreElementState 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.StoreElementState 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.StoreElementState 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.StoreElementState 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 StoreElementState}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:StoreElementState)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementStateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_StoreElementState_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_StoreElementState_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
id_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_StoreElementState_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.id_ = id_;
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.StoreElementState) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getId().isEmpty()) {
id_ = other.id_;
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.StoreElementState parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object id_ = "";
/**
* string id = 5;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 5;
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 5;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string id = 5;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string id = 5;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
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:StoreElementState)
}
// @@protoc_insertion_point(class_scope:StoreElementState)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.StoreElementState getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StoreElementState parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StoreElementState(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.StoreElementState getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WaitForChangesOrBuilder extends
// @@protoc_insertion_point(interface_extends:WaitForChanges)
com.google.protobuf.MessageOrBuilder {
/**
* int32 seconds = 1;
* @return The seconds.
*/
int getSeconds();
/**
* int32 checkMillis = 2;
* @return The checkMillis.
*/
int getCheckMillis();
/**
* .Locator locator = 3;
* @return The enum numeric value on the wire for locator.
*/
int getLocatorValue();
/**
* .Locator locator = 3;
* @return The locator.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator();
/**
* string matcher = 4;
* @return The matcher.
*/
java.lang.String getMatcher();
/**
* string matcher = 4;
* @return The bytes for matcher.
*/
com.google.protobuf.ByteString
getMatcherBytes();
/**
* string webId = 5;
* @return The webId.
*/
java.lang.String getWebId();
/**
* string webId = 5;
* @return The bytes for webId.
*/
com.google.protobuf.ByteString
getWebIdBytes();
/**
* string screenshotId = 6;
* @return The screenshotId.
*/
java.lang.String getScreenshotId();
/**
* string screenshotId = 6;
* @return The bytes for screenshotId.
*/
com.google.protobuf.ByteString
getScreenshotIdBytes();
}
/**
* Protobuf type {@code WaitForChanges}
*/
public static final class WaitForChanges extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WaitForChanges)
WaitForChangesOrBuilder {
private static final long serialVersionUID = 0L;
// Use WaitForChanges.newBuilder() to construct.
private WaitForChanges(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WaitForChanges() {
locator_ = 0;
matcher_ = "";
webId_ = "";
screenshotId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WaitForChanges();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WaitForChanges(
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: {
seconds_ = input.readInt32();
break;
}
case 16: {
checkMillis_ = input.readInt32();
break;
}
case 24: {
int rawValue = input.readEnum();
locator_ = rawValue;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
matcher_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
webId_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
screenshotId_ = 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_WaitForChanges_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForChanges_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges.Builder.class);
}
public static final int SECONDS_FIELD_NUMBER = 1;
private int seconds_;
/**
* int32 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public int getSeconds() {
return seconds_;
}
public static final int CHECKMILLIS_FIELD_NUMBER = 2;
private int checkMillis_;
/**
* int32 checkMillis = 2;
* @return The checkMillis.
*/
@java.lang.Override
public int getCheckMillis() {
return checkMillis_;
}
public static final int LOCATOR_FIELD_NUMBER = 3;
private int locator_;
/**
* .Locator locator = 3;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 3;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 4;
private volatile java.lang.Object matcher_;
/**
* string matcher = 4;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 4;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 5;
private volatile java.lang.Object webId_;
/**
* string webId = 5;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 5;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SCREENSHOTID_FIELD_NUMBER = 6;
private volatile java.lang.Object screenshotId_;
/**
* string screenshotId = 6;
* @return The screenshotId.
*/
@java.lang.Override
public java.lang.String getScreenshotId() {
java.lang.Object ref = screenshotId_;
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();
screenshotId_ = s;
return s;
}
}
/**
* string screenshotId = 6;
* @return The bytes for screenshotId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getScreenshotIdBytes() {
java.lang.Object ref = screenshotId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
screenshotId_ = 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 (seconds_ != 0) {
output.writeInt32(1, seconds_);
}
if (checkMillis_ != 0) {
output.writeInt32(2, checkMillis_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(3, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(screenshotId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, screenshotId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (seconds_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, seconds_);
}
if (checkMillis_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, checkMillis_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(screenshotId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, screenshotId_);
}
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.WaitForChanges)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges) obj;
if (getSeconds()
!= other.getSeconds()) return false;
if (getCheckMillis()
!= other.getCheckMillis()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getScreenshotId()
.equals(other.getScreenshotId())) 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) + SECONDS_FIELD_NUMBER;
hash = (53 * hash) + getSeconds();
hash = (37 * hash) + CHECKMILLIS_FIELD_NUMBER;
hash = (53 * hash) + getCheckMillis();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + SCREENSHOTID_FIELD_NUMBER;
hash = (53 * hash) + getScreenshotId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges 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.WaitForChanges 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.WaitForChanges 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.WaitForChanges parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges 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.WaitForChanges 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.WaitForChanges 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.WaitForChanges 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.WaitForChanges 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.WaitForChanges 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.WaitForChanges 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.WaitForChanges 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 WaitForChanges}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WaitForChanges)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChangesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForChanges_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForChanges_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges.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();
seconds_ = 0;
checkMillis_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
screenshotId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_WaitForChanges_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges(this);
result.seconds_ = seconds_;
result.checkMillis_ = checkMillis_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.screenshotId_ = screenshotId_;
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.WaitForChanges) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges.getDefaultInstance()) return this;
if (other.getSeconds() != 0) {
setSeconds(other.getSeconds());
}
if (other.getCheckMillis() != 0) {
setCheckMillis(other.getCheckMillis());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getScreenshotId().isEmpty()) {
screenshotId_ = other.screenshotId_;
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.WaitForChanges parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int seconds_ ;
/**
* int32 seconds = 1;
* @return The seconds.
*/
@java.lang.Override
public int getSeconds() {
return seconds_;
}
/**
* int32 seconds = 1;
* @param value The seconds to set.
* @return This builder for chaining.
*/
public Builder setSeconds(int value) {
seconds_ = value;
onChanged();
return this;
}
/**
* int32 seconds = 1;
* @return This builder for chaining.
*/
public Builder clearSeconds() {
seconds_ = 0;
onChanged();
return this;
}
private int checkMillis_ ;
/**
* int32 checkMillis = 2;
* @return The checkMillis.
*/
@java.lang.Override
public int getCheckMillis() {
return checkMillis_;
}
/**
* int32 checkMillis = 2;
* @param value The checkMillis to set.
* @return This builder for chaining.
*/
public Builder setCheckMillis(int value) {
checkMillis_ = value;
onChanged();
return this;
}
/**
* int32 checkMillis = 2;
* @return This builder for chaining.
*/
public Builder clearCheckMillis() {
checkMillis_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 3;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 3;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 3;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 3;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 3;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 4;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 4;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 4;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 4;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 4;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 5;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 5;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 5;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 5;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 5;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object screenshotId_ = "";
/**
* string screenshotId = 6;
* @return The screenshotId.
*/
public java.lang.String getScreenshotId() {
java.lang.Object ref = screenshotId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
screenshotId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string screenshotId = 6;
* @return The bytes for screenshotId.
*/
public com.google.protobuf.ByteString
getScreenshotIdBytes() {
java.lang.Object ref = screenshotId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
screenshotId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string screenshotId = 6;
* @param value The screenshotId to set.
* @return This builder for chaining.
*/
public Builder setScreenshotId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
screenshotId_ = value;
onChanged();
return this;
}
/**
* string screenshotId = 6;
* @return This builder for chaining.
*/
public Builder clearScreenshotId() {
screenshotId_ = getDefaultInstance().getScreenshotId();
onChanged();
return this;
}
/**
* string screenshotId = 6;
* @param value The bytes for screenshotId to set.
* @return This builder for chaining.
*/
public Builder setScreenshotIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
screenshotId_ = 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:WaitForChanges)
}
// @@protoc_insertion_point(class_scope:WaitForChanges)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.WaitForChanges getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WaitForChanges parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WaitForChanges(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.WaitForChanges getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AcceptAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:AcceptAlert)
com.google.protobuf.MessageOrBuilder {
/**
* int32 wait = 1;
* @return The wait.
*/
int getWait();
}
/**
* Protobuf type {@code AcceptAlert}
*/
public static final class AcceptAlert extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AcceptAlert)
AcceptAlertOrBuilder {
private static final long serialVersionUID = 0L;
// Use AcceptAlert.newBuilder() to construct.
private AcceptAlert(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AcceptAlert() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AcceptAlert();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AcceptAlert(
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;
}
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_AcceptAlert_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_AcceptAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
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.AcceptAlert)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert) obj;
if (getWait()
!= other.getWait()) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert 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.AcceptAlert 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.AcceptAlert 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.AcceptAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert 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.AcceptAlert 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.AcceptAlert 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.AcceptAlert 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.AcceptAlert 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.AcceptAlert 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.AcceptAlert 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.AcceptAlert 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 AcceptAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AcceptAlert)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_AcceptAlert_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_AcceptAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert.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();
wait_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_AcceptAlert_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert(this);
result.wait_ = wait_;
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.AcceptAlert) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
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.AcceptAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
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:AcceptAlert)
}
// @@protoc_insertion_point(class_scope:AcceptAlert)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.AcceptAlert getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AcceptAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AcceptAlert(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.AcceptAlert getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DismissAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:DismissAlert)
com.google.protobuf.MessageOrBuilder {
/**
* int32 wait = 1;
* @return The wait.
*/
int getWait();
}
/**
* Protobuf type {@code DismissAlert}
*/
public static final class DismissAlert extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DismissAlert)
DismissAlertOrBuilder {
private static final long serialVersionUID = 0L;
// Use DismissAlert.newBuilder() to construct.
private DismissAlert(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DismissAlert() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DismissAlert();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DismissAlert(
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;
}
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_DismissAlert_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DismissAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
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.DismissAlert)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert) obj;
if (getWait()
!= other.getWait()) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert 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.DismissAlert 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.DismissAlert 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.DismissAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert 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.DismissAlert 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.DismissAlert 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.DismissAlert 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.DismissAlert 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.DismissAlert 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.DismissAlert 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.DismissAlert 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 DismissAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DismissAlert)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DismissAlert_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DismissAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert.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();
wait_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_DismissAlert_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert(this);
result.wait_ = wait_;
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.DismissAlert) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
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.DismissAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
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:DismissAlert)
}
// @@protoc_insertion_point(class_scope:DismissAlert)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.DismissAlert getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DismissAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DismissAlert(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.DismissAlert getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CheckImageAvailabilityOrBuilder extends
// @@protoc_insertion_point(interface_extends:CheckImageAvailability)
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();
}
/**
* Protobuf type {@code CheckImageAvailability}
*/
public static final class CheckImageAvailability extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CheckImageAvailability)
CheckImageAvailabilityOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckImageAvailability.newBuilder() to construct.
private CheckImageAvailability(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CheckImageAvailability() {
locator_ = 0;
matcher_ = "";
webId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CheckImageAvailability();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CheckImageAvailability(
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;
}
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_CheckImageAvailability_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_CheckImageAvailability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = 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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
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.CheckImageAvailability)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability 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.CheckImageAvailability 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.CheckImageAvailability 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.CheckImageAvailability parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability 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.CheckImageAvailability 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.CheckImageAvailability 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.CheckImageAvailability 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.CheckImageAvailability 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.CheckImageAvailability 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.CheckImageAvailability 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.CheckImageAvailability 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 CheckImageAvailability}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:CheckImageAvailability)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailabilityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_CheckImageAvailability_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_CheckImageAvailability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_CheckImageAvailability_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
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.CheckImageAvailability) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
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.CheckImageAvailability parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = 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:CheckImageAvailability)
}
// @@protoc_insertion_point(class_scope:CheckImageAvailability)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.CheckImageAvailability getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CheckImageAvailability parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CheckImageAvailability(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.CheckImageAvailability getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetScreenshotOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetScreenshot)
com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
}
/**
* Protobuf type {@code GetScreenshot}
*/
public static final class GetScreenshot extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetScreenshot)
GetScreenshotOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetScreenshot.newBuilder() to construct.
private GetScreenshot(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetScreenshot() {
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetScreenshot();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetScreenshot(
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();
name_ = 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_GetScreenshot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetScreenshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* string name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
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(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
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.GetScreenshot)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot) obj;
if (!getName()
.equals(other.getName())) 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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot 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.GetScreenshot 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.GetScreenshot 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.GetScreenshot parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot 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.GetScreenshot 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.GetScreenshot 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.GetScreenshot 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.GetScreenshot 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.GetScreenshot 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.GetScreenshot 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.GetScreenshot 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 GetScreenshot}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetScreenshot)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshotOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetScreenshot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetScreenshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot.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();
name_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetScreenshot_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot(this);
result.name_ = name_;
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.GetScreenshot) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
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.GetScreenshot parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
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:GetScreenshot)
}
// @@protoc_insertion_point(class_scope:GetScreenshot)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetScreenshot getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetScreenshot parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetScreenshot(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.GetScreenshot getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetElementScreenshotOrBuilder extends
// @@protoc_insertion_point(interface_extends:GetElementScreenshot)
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();
/**
* string name = 5;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 5;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
}
/**
* Protobuf type {@code GetElementScreenshot}
*/
public static final class GetElementScreenshot extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GetElementScreenshot)
GetElementScreenshotOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetElementScreenshot.newBuilder() to construct.
private GetElementScreenshot(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetElementScreenshot() {
locator_ = 0;
matcher_ = "";
webId_ = "";
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetElementScreenshot();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetElementScreenshot(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
name_ = 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_GetElementScreenshot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementScreenshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 5;
private volatile java.lang.Object name_;
/**
* string name = 5;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 5;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, name_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_);
}
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.GetElementScreenshot)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getName()
.equals(other.getName())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot 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.GetElementScreenshot 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.GetElementScreenshot 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.GetElementScreenshot parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot 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.GetElementScreenshot 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.GetElementScreenshot 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.GetElementScreenshot 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.GetElementScreenshot 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.GetElementScreenshot 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.GetElementScreenshot 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.GetElementScreenshot 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 GetElementScreenshot}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GetElementScreenshot)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshotOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementScreenshot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementScreenshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
name_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_GetElementScreenshot_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.name_ = name_;
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.GetElementScreenshot) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
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.GetElementScreenshot parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 5;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 5;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 5;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 5;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 5;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
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:GetElementScreenshot)
}
// @@protoc_insertion_point(class_scope:GetElementScreenshot)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.GetElementScreenshot getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetElementScreenshot parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetElementScreenshot(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.GetElementScreenshot getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecuteJSOrBuilder extends
// @@protoc_insertion_point(interface_extends:ExecuteJS)
com.google.protobuf.MessageOrBuilder {
/**
* string commands = 1;
* @return The commands.
*/
java.lang.String getCommands();
/**
* string commands = 1;
* @return The bytes for commands.
*/
com.google.protobuf.ByteString
getCommandsBytes();
}
/**
* Protobuf type {@code ExecuteJS}
*/
public static final class ExecuteJS extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ExecuteJS)
ExecuteJSOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteJS.newBuilder() to construct.
private ExecuteJS(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecuteJS() {
commands_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExecuteJS();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecuteJS(
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();
commands_ = 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_ExecuteJS_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ExecuteJS_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS.Builder.class);
}
public static final int COMMANDS_FIELD_NUMBER = 1;
private volatile java.lang.Object commands_;
/**
* string commands = 1;
* @return The commands.
*/
@java.lang.Override
public java.lang.String getCommands() {
java.lang.Object ref = commands_;
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();
commands_ = s;
return s;
}
}
/**
* string commands = 1;
* @return The bytes for commands.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommandsBytes() {
java.lang.Object ref = commands_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commands_ = 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(commands_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, commands_);
}
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(commands_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, commands_);
}
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.ExecuteJS)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS) obj;
if (!getCommands()
.equals(other.getCommands())) 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) + COMMANDS_FIELD_NUMBER;
hash = (53 * hash) + getCommands().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS 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.ExecuteJS 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.ExecuteJS 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.ExecuteJS parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS 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.ExecuteJS 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.ExecuteJS 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.ExecuteJS 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.ExecuteJS 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.ExecuteJS 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.ExecuteJS 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.ExecuteJS 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 ExecuteJS}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ExecuteJS)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ExecuteJS_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ExecuteJS_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS.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();
commands_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ExecuteJS_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS(this);
result.commands_ = commands_;
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.ExecuteJS) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS.getDefaultInstance()) return this;
if (!other.getCommands().isEmpty()) {
commands_ = other.commands_;
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.ExecuteJS parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object commands_ = "";
/**
* string commands = 1;
* @return The commands.
*/
public java.lang.String getCommands() {
java.lang.Object ref = commands_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
commands_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string commands = 1;
* @return The bytes for commands.
*/
public com.google.protobuf.ByteString
getCommandsBytes() {
java.lang.Object ref = commands_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commands_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string commands = 1;
* @param value The commands to set.
* @return This builder for chaining.
*/
public Builder setCommands(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
commands_ = value;
onChanged();
return this;
}
/**
* string commands = 1;
* @return This builder for chaining.
*/
public Builder clearCommands() {
commands_ = getDefaultInstance().getCommands();
onChanged();
return this;
}
/**
* string commands = 1;
* @param value The bytes for commands to set.
* @return This builder for chaining.
*/
public Builder setCommandsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
commands_ = 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:ExecuteJS)
}
// @@protoc_insertion_point(class_scope:ExecuteJS)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJS getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecuteJS parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecuteJS(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.ExecuteJS getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExecuteJSElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:ExecuteJSElement)
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();
/**
* string commands = 5;
* @return The commands.
*/
java.lang.String getCommands();
/**
* string commands = 5;
* @return The bytes for commands.
*/
com.google.protobuf.ByteString
getCommandsBytes();
}
/**
* Protobuf type {@code ExecuteJSElement}
*/
public static final class ExecuteJSElement extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ExecuteJSElement)
ExecuteJSElementOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteJSElement.newBuilder() to construct.
private ExecuteJSElement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecuteJSElement() {
locator_ = 0;
matcher_ = "";
webId_ = "";
commands_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExecuteJSElement();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExecuteJSElement(
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 42: {
java.lang.String s = input.readStringRequireUtf8();
commands_ = 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_ExecuteJSElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ExecuteJSElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WEBID_FIELD_NUMBER = 4;
private volatile java.lang.Object webId_;
/**
* string webId = 4;
* @return The webId.
*/
@java.lang.Override
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
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();
webId_ = s;
return s;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMMANDS_FIELD_NUMBER = 5;
private volatile java.lang.Object commands_;
/**
* string commands = 5;
* @return The commands.
*/
@java.lang.Override
public java.lang.String getCommands() {
java.lang.Object ref = commands_;
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();
commands_ = s;
return s;
}
}
/**
* string commands = 5;
* @return The bytes for commands.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommandsBytes() {
java.lang.Object ref = commands_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commands_ = 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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(commands_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, commands_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(webId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, webId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(commands_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, commands_);
}
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.ExecuteJSElement)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (!getWebId()
.equals(other.getWebId())) return false;
if (!getCommands()
.equals(other.getCommands())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (37 * hash) + WEBID_FIELD_NUMBER;
hash = (53 * hash) + getWebId().hashCode();
hash = (37 * hash) + COMMANDS_FIELD_NUMBER;
hash = (53 * hash) + getCommands().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement 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.ExecuteJSElement 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.ExecuteJSElement 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.ExecuteJSElement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement 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.ExecuteJSElement 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.ExecuteJSElement 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.ExecuteJSElement 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.ExecuteJSElement 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.ExecuteJSElement 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.ExecuteJSElement 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.ExecuteJSElement 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 ExecuteJSElement}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ExecuteJSElement)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ExecuteJSElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ExecuteJSElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
webId_ = "";
commands_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_ExecuteJSElement_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
result.webId_ = webId_;
result.commands_ = commands_;
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.ExecuteJSElement) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (!other.getWebId().isEmpty()) {
webId_ = other.webId_;
onChanged();
}
if (!other.getCommands().isEmpty()) {
commands_ = other.commands_;
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.ExecuteJSElement parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = value;
onChanged();
return this;
}
private java.lang.Object webId_ = "";
/**
* string webId = 4;
* @return The webId.
*/
public java.lang.String getWebId() {
java.lang.Object ref = webId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
webId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string webId = 4;
* @return The bytes for webId.
*/
public com.google.protobuf.ByteString
getWebIdBytes() {
java.lang.Object ref = webId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
webId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string webId = 4;
* @param value The webId to set.
* @return This builder for chaining.
*/
public Builder setWebId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
webId_ = value;
onChanged();
return this;
}
/**
* string webId = 4;
* @return This builder for chaining.
*/
public Builder clearWebId() {
webId_ = getDefaultInstance().getWebId();
onChanged();
return this;
}
/**
* string webId = 4;
* @param value The bytes for webId to set.
* @return This builder for chaining.
*/
public Builder setWebIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
webId_ = value;
onChanged();
return this;
}
private java.lang.Object commands_ = "";
/**
* string commands = 5;
* @return The commands.
*/
public java.lang.String getCommands() {
java.lang.Object ref = commands_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
commands_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string commands = 5;
* @return The bytes for commands.
*/
public com.google.protobuf.ByteString
getCommandsBytes() {
java.lang.Object ref = commands_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commands_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string commands = 5;
* @param value The commands to set.
* @return This builder for chaining.
*/
public Builder setCommands(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
commands_ = value;
onChanged();
return this;
}
/**
* string commands = 5;
* @return This builder for chaining.
*/
public Builder clearCommands() {
commands_ = getDefaultInstance().getCommands();
onChanged();
return this;
}
/**
* string commands = 5;
* @param value The bytes for commands to set.
* @return This builder for chaining.
*/
public Builder setCommandsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
commands_ = 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:ExecuteJSElement)
}
// @@protoc_insertion_point(class_scope:ExecuteJSElement)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.ExecuteJSElement getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecuteJSElement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExecuteJSElement(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.ExecuteJSElement getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SelectFrameOrBuilder extends
// @@protoc_insertion_point(interface_extends:SelectFrame)
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();
}
/**
* Protobuf type {@code SelectFrame}
*/
public static final class SelectFrame extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:SelectFrame)
SelectFrameOrBuilder {
private static final long serialVersionUID = 0L;
// Use SelectFrame.newBuilder() to construct.
private SelectFrame(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SelectFrame() {
locator_ = 0;
matcher_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SelectFrame();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SelectFrame(
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;
}
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_SelectFrame_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SelectFrame_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame.Builder.class);
}
public static final int WAIT_FIELD_NUMBER = 1;
private int wait_;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
public static final int LOCATOR_FIELD_NUMBER = 2;
private int locator_;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
public static final int MATCHER_FIELD_NUMBER = 3;
private volatile java.lang.Object matcher_;
/**
* string matcher = 3;
* @return The matcher.
*/
@java.lang.Override
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
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();
matcher_ = s;
return s;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = 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 (wait_ != 0) {
output.writeInt32(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
output.writeEnum(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, matcher_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (wait_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wait_);
}
if (locator_ != com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.NOT_SET.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, matcher_);
}
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.SelectFrame)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame) obj;
if (getWait()
!= other.getWait()) return false;
if (locator_ != other.locator_) return false;
if (!getMatcher()
.equals(other.getMatcher())) 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) + WAIT_FIELD_NUMBER;
hash = (53 * hash) + getWait();
hash = (37 * hash) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + locator_;
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame 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.SelectFrame 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.SelectFrame 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.SelectFrame parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame 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.SelectFrame 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.SelectFrame 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.SelectFrame 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.SelectFrame 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.SelectFrame 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.SelectFrame 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.SelectFrame 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 SelectFrame}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:SelectFrame)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrameOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SelectFrame_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SelectFrame_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame.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();
wait_ = 0;
locator_ = 0;
matcher_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_SelectFrame_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame(this);
result.wait_ = wait_;
result.locator_ = locator_;
result.matcher_ = matcher_;
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.SelectFrame) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame.getDefaultInstance()) return this;
if (other.getWait() != 0) {
setWait(other.getWait());
}
if (other.locator_ != 0) {
setLocatorValue(other.getLocatorValue());
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
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.SelectFrame parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int wait_ ;
/**
* int32 wait = 1;
* @return The wait.
*/
@java.lang.Override
public int getWait() {
return wait_;
}
/**
* int32 wait = 1;
* @param value The wait to set.
* @return This builder for chaining.
*/
public Builder setWait(int value) {
wait_ = value;
onChanged();
return this;
}
/**
* int32 wait = 1;
* @return This builder for chaining.
*/
public Builder clearWait() {
wait_ = 0;
onChanged();
return this;
}
private int locator_ = 0;
/**
* .Locator locator = 2;
* @return The enum numeric value on the wire for locator.
*/
@java.lang.Override public int getLocatorValue() {
return locator_;
}
/**
* .Locator locator = 2;
* @param value The enum numeric value on the wire for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorValue(int value) {
locator_ = value;
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return The locator.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator getLocator() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator result = com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.valueOf(locator_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator.UNRECOGNIZED : result;
}
/**
* .Locator locator = 2;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.Locator value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value.getNumber();
onChanged();
return this;
}
/**
* .Locator locator = 2;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = 0;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 3;
* @return The matcher.
*/
public java.lang.String getMatcher() {
java.lang.Object ref = matcher_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
matcher_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string matcher = 3;
* @return The bytes for matcher.
*/
public com.google.protobuf.ByteString
getMatcherBytes() {
java.lang.Object ref = matcher_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
matcher_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string matcher = 3;
* @param value The matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcher(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
matcher_ = value;
onChanged();
return this;
}
/**
* string matcher = 3;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 3;
* @param value The bytes for matcher to set.
* @return This builder for chaining.
*/
public Builder setMatcherBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
matcher_ = 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:SelectFrame)
}
// @@protoc_insertion_point(class_scope:SelectFrame)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.SelectFrame getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SelectFrame parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SelectFrame(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.SelectFrame getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RhWebActionListOrBuilder extends
// @@protoc_insertion_point(interface_extends:RhWebActionList)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .RhWebActions webActionList = 1;
*/
java.util.List
getWebActionListList();
/**
* repeated .RhWebActions webActionList = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions getWebActionList(int index);
/**
* repeated .RhWebActions webActionList = 1;
*/
int getWebActionListCount();
/**
* repeated .RhWebActions webActionList = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionsOrBuilder>
getWebActionListOrBuilderList();
/**
* repeated .RhWebActions webActionList = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionsOrBuilder getWebActionListOrBuilder(
int index);
}
/**
* Protobuf type {@code RhWebActionList}
*/
public static final class RhWebActionList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:RhWebActionList)
RhWebActionListOrBuilder {
private static final long serialVersionUID = 0L;
// Use RhWebActionList.newBuilder() to construct.
private RhWebActionList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RhWebActionList() {
webActionList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RhWebActionList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RhWebActionList(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
webActionList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
webActionList_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
webActionList_ = java.util.Collections.unmodifiableList(webActionList_);
}
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_RhWebActionList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_RhWebActionList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList.Builder.class);
}
public static final int WEBACTIONLIST_FIELD_NUMBER = 1;
private java.util.List webActionList_;
/**
* repeated .RhWebActions webActionList = 1;
*/
@java.lang.Override
public java.util.List getWebActionListList() {
return webActionList_;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionsOrBuilder>
getWebActionListOrBuilderList() {
return webActionList_;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
@java.lang.Override
public int getWebActionListCount() {
return webActionList_.size();
}
/**
* repeated .RhWebActions webActionList = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions getWebActionList(int index) {
return webActionList_.get(index);
}
/**
* repeated .RhWebActions webActionList = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionsOrBuilder getWebActionListOrBuilder(
int index) {
return webActionList_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < webActionList_.size(); i++) {
output.writeMessage(1, webActionList_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < webActionList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, webActionList_.get(i));
}
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.RhWebActionList)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList other = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList) obj;
if (!getWebActionListList()
.equals(other.getWebActionListList())) 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();
if (getWebActionListCount() > 0) {
hash = (37 * hash) + WEBACTIONLIST_FIELD_NUMBER;
hash = (53 * hash) + getWebActionListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList 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.RhWebActionList 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.RhWebActionList 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.RhWebActionList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList 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.RhWebActionList 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.RhWebActionList 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.RhWebActionList 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.RhWebActionList 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.RhWebActionList 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.RhWebActionList 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.RhWebActionList 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 RhWebActionList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:RhWebActionList)
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_RhWebActionList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_RhWebActionList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList.class, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getWebActionListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (webActionListBuilder_ == null) {
webActionList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
webActionListBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.internal_static_RhWebActionList_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList result = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList(this);
int from_bitField0_ = bitField0_;
if (webActionListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
webActionList_ = java.util.Collections.unmodifiableList(webActionList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.webActionList_ = webActionList_;
} else {
result.webActionList_ = webActionListBuilder_.build();
}
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.RhWebActionList) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList.getDefaultInstance()) return this;
if (webActionListBuilder_ == null) {
if (!other.webActionList_.isEmpty()) {
if (webActionList_.isEmpty()) {
webActionList_ = other.webActionList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureWebActionListIsMutable();
webActionList_.addAll(other.webActionList_);
}
onChanged();
}
} else {
if (!other.webActionList_.isEmpty()) {
if (webActionListBuilder_.isEmpty()) {
webActionListBuilder_.dispose();
webActionListBuilder_ = null;
webActionList_ = other.webActionList_;
bitField0_ = (bitField0_ & ~0x00000001);
webActionListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getWebActionListFieldBuilder() : null;
} else {
webActionListBuilder_.addAllMessages(other.webActionList_);
}
}
}
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.RhWebActionList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List webActionList_ =
java.util.Collections.emptyList();
private void ensureWebActionListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
webActionList_ = new java.util.ArrayList(webActionList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionsOrBuilder> webActionListBuilder_;
/**
* repeated .RhWebActions webActionList = 1;
*/
public java.util.List getWebActionListList() {
if (webActionListBuilder_ == null) {
return java.util.Collections.unmodifiableList(webActionList_);
} else {
return webActionListBuilder_.getMessageList();
}
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public int getWebActionListCount() {
if (webActionListBuilder_ == null) {
return webActionList_.size();
} else {
return webActionListBuilder_.getCount();
}
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions getWebActionList(int index) {
if (webActionListBuilder_ == null) {
return webActionList_.get(index);
} else {
return webActionListBuilder_.getMessage(index);
}
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public Builder setWebActionList(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions value) {
if (webActionListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWebActionListIsMutable();
webActionList_.set(index, value);
onChanged();
} else {
webActionListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public Builder setWebActionList(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.Builder builderForValue) {
if (webActionListBuilder_ == null) {
ensureWebActionListIsMutable();
webActionList_.set(index, builderForValue.build());
onChanged();
} else {
webActionListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public Builder addWebActionList(com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions value) {
if (webActionListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWebActionListIsMutable();
webActionList_.add(value);
onChanged();
} else {
webActionListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public Builder addWebActionList(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions value) {
if (webActionListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWebActionListIsMutable();
webActionList_.add(index, value);
onChanged();
} else {
webActionListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public Builder addWebActionList(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.Builder builderForValue) {
if (webActionListBuilder_ == null) {
ensureWebActionListIsMutable();
webActionList_.add(builderForValue.build());
onChanged();
} else {
webActionListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public Builder addWebActionList(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.Builder builderForValue) {
if (webActionListBuilder_ == null) {
ensureWebActionListIsMutable();
webActionList_.add(index, builderForValue.build());
onChanged();
} else {
webActionListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public Builder addAllWebActionList(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions> values) {
if (webActionListBuilder_ == null) {
ensureWebActionListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, webActionList_);
onChanged();
} else {
webActionListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public Builder clearWebActionList() {
if (webActionListBuilder_ == null) {
webActionList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
webActionListBuilder_.clear();
}
return this;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public Builder removeWebActionList(int index) {
if (webActionListBuilder_ == null) {
ensureWebActionListIsMutable();
webActionList_.remove(index);
onChanged();
} else {
webActionListBuilder_.remove(index);
}
return this;
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.Builder getWebActionListBuilder(
int index) {
return getWebActionListFieldBuilder().getBuilder(index);
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionsOrBuilder getWebActionListOrBuilder(
int index) {
if (webActionListBuilder_ == null) {
return webActionList_.get(index); } else {
return webActionListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionsOrBuilder>
getWebActionListOrBuilderList() {
if (webActionListBuilder_ != null) {
return webActionListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(webActionList_);
}
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.Builder addWebActionListBuilder() {
return getWebActionListFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.getDefaultInstance());
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.Builder addWebActionListBuilder(
int index) {
return getWebActionListFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.getDefaultInstance());
}
/**
* repeated .RhWebActions webActionList = 1;
*/
public java.util.List
getWebActionListBuilderList() {
return getWebActionListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionsOrBuilder>
getWebActionListFieldBuilder() {
if (webActionListBuilder_ == null) {
webActionListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActions.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionsOrBuilder>(
webActionList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
webActionList_ = null;
}
return webActionListBuilder_;
}
@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:RhWebActionList)
}
// @@protoc_insertion_point(class_scope:RhWebActionList)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhActionsMessages.RhWebActionList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RhWebActionList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RhWebActionList(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser