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.RhWinActionsMessages Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: th2_grpc_hand/rhactionsmessages_win.proto
package com.exactpro.th2.act.grpc.hand.rhactions;
public final class RhWinActionsMessages {
private RhWinActionsMessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface WinLocatorOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinLocator)
com.google.protobuf.MessageOrBuilder {
/**
* string locator = 1;
* @return The locator.
*/
java.lang.String getLocator();
/**
* string locator = 1;
* @return The bytes for locator.
*/
com.google.protobuf.ByteString
getLocatorBytes();
/**
* string matcher = 2;
* @return The matcher.
*/
java.lang.String getMatcher();
/**
* string matcher = 2;
* @return The bytes for matcher.
*/
com.google.protobuf.ByteString
getMatcherBytes();
/**
* .google.protobuf.Int32Value matcherIndex = 3;
* @return Whether the matcherIndex field is set.
*/
boolean hasMatcherIndex();
/**
* .google.protobuf.Int32Value matcherIndex = 3;
* @return The matcherIndex.
*/
com.google.protobuf.Int32Value getMatcherIndex();
/**
* .google.protobuf.Int32Value matcherIndex = 3;
*/
com.google.protobuf.Int32ValueOrBuilder getMatcherIndexOrBuilder();
}
/**
* Protobuf type {@code WinLocator}
*/
public static final class WinLocator extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinLocator)
WinLocatorOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinLocator.newBuilder() to construct.
private WinLocator(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinLocator() {
locator_ = "";
matcher_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinLocator();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinLocator(
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();
locator_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
matcher_ = s;
break;
}
case 26: {
com.google.protobuf.Int32Value.Builder subBuilder = null;
if (matcherIndex_ != null) {
subBuilder = matcherIndex_.toBuilder();
}
matcherIndex_ = input.readMessage(com.google.protobuf.Int32Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(matcherIndex_);
matcherIndex_ = 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.RhWinActionsMessages.internal_static_WinLocator_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinLocator_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder.class);
}
public static final int LOCATOR_FIELD_NUMBER = 1;
private volatile java.lang.Object locator_;
/**
* string locator = 1;
* @return The locator.
*/
@java.lang.Override
public java.lang.String getLocator() {
java.lang.Object ref = locator_;
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();
locator_ = s;
return s;
}
}
/**
* string locator = 1;
* @return The bytes for locator.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLocatorBytes() {
java.lang.Object ref = locator_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locator_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MATCHER_FIELD_NUMBER = 2;
private volatile java.lang.Object matcher_;
/**
* string matcher = 2;
* @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 = 2;
* @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 MATCHERINDEX_FIELD_NUMBER = 3;
private com.google.protobuf.Int32Value matcherIndex_;
/**
* .google.protobuf.Int32Value matcherIndex = 3;
* @return Whether the matcherIndex field is set.
*/
@java.lang.Override
public boolean hasMatcherIndex() {
return matcherIndex_ != null;
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
* @return The matcherIndex.
*/
@java.lang.Override
public com.google.protobuf.Int32Value getMatcherIndex() {
return matcherIndex_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : matcherIndex_;
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
*/
@java.lang.Override
public com.google.protobuf.Int32ValueOrBuilder getMatcherIndexOrBuilder() {
return getMatcherIndex();
}
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(locator_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, matcher_);
}
if (matcherIndex_ != null) {
output.writeMessage(3, getMatcherIndex());
}
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(locator_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, locator_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matcher_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, matcher_);
}
if (matcherIndex_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getMatcherIndex());
}
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.RhWinActionsMessages.WinLocator)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator) obj;
if (!getLocator()
.equals(other.getLocator())) return false;
if (!getMatcher()
.equals(other.getMatcher())) return false;
if (hasMatcherIndex() != other.hasMatcherIndex()) return false;
if (hasMatcherIndex()) {
if (!getMatcherIndex()
.equals(other.getMatcherIndex())) 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) + LOCATOR_FIELD_NUMBER;
hash = (53 * hash) + getLocator().hashCode();
hash = (37 * hash) + MATCHER_FIELD_NUMBER;
hash = (53 * hash) + getMatcher().hashCode();
if (hasMatcherIndex()) {
hash = (37 * hash) + MATCHERINDEX_FIELD_NUMBER;
hash = (53 * hash) + getMatcherIndex().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator 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.RhWinActionsMessages.WinLocator parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator 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.RhWinActionsMessages.WinLocator parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator 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.RhWinActionsMessages.WinLocator 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.RhWinActionsMessages.WinLocator 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.RhWinActionsMessages.WinLocator 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.RhWinActionsMessages.WinLocator 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.RhWinActionsMessages.WinLocator 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.RhWinActionsMessages.WinLocator 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.RhWinActionsMessages.WinLocator 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 WinLocator}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinLocator)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinLocator_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinLocator_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.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();
locator_ = "";
matcher_ = "";
if (matcherIndexBuilder_ == null) {
matcherIndex_ = null;
} else {
matcherIndex_ = null;
matcherIndexBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinLocator_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator(this);
result.locator_ = locator_;
result.matcher_ = matcher_;
if (matcherIndexBuilder_ == null) {
result.matcherIndex_ = matcherIndex_;
} else {
result.matcherIndex_ = matcherIndexBuilder_.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.RhWinActionsMessages.WinLocator) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance()) return this;
if (!other.getLocator().isEmpty()) {
locator_ = other.locator_;
onChanged();
}
if (!other.getMatcher().isEmpty()) {
matcher_ = other.matcher_;
onChanged();
}
if (other.hasMatcherIndex()) {
mergeMatcherIndex(other.getMatcherIndex());
}
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.RhWinActionsMessages.WinLocator parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object locator_ = "";
/**
* string locator = 1;
* @return The locator.
*/
public java.lang.String getLocator() {
java.lang.Object ref = locator_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
locator_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string locator = 1;
* @return The bytes for locator.
*/
public com.google.protobuf.ByteString
getLocatorBytes() {
java.lang.Object ref = locator_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
locator_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string locator = 1;
* @param value The locator to set.
* @return This builder for chaining.
*/
public Builder setLocator(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
locator_ = value;
onChanged();
return this;
}
/**
* string locator = 1;
* @return This builder for chaining.
*/
public Builder clearLocator() {
locator_ = getDefaultInstance().getLocator();
onChanged();
return this;
}
/**
* string locator = 1;
* @param value The bytes for locator to set.
* @return This builder for chaining.
*/
public Builder setLocatorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
locator_ = value;
onChanged();
return this;
}
private java.lang.Object matcher_ = "";
/**
* string matcher = 2;
* @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 = 2;
* @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 = 2;
* @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 = 2;
* @return This builder for chaining.
*/
public Builder clearMatcher() {
matcher_ = getDefaultInstance().getMatcher();
onChanged();
return this;
}
/**
* string matcher = 2;
* @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 com.google.protobuf.Int32Value matcherIndex_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> matcherIndexBuilder_;
/**
* .google.protobuf.Int32Value matcherIndex = 3;
* @return Whether the matcherIndex field is set.
*/
public boolean hasMatcherIndex() {
return matcherIndexBuilder_ != null || matcherIndex_ != null;
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
* @return The matcherIndex.
*/
public com.google.protobuf.Int32Value getMatcherIndex() {
if (matcherIndexBuilder_ == null) {
return matcherIndex_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : matcherIndex_;
} else {
return matcherIndexBuilder_.getMessage();
}
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
*/
public Builder setMatcherIndex(com.google.protobuf.Int32Value value) {
if (matcherIndexBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
matcherIndex_ = value;
onChanged();
} else {
matcherIndexBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
*/
public Builder setMatcherIndex(
com.google.protobuf.Int32Value.Builder builderForValue) {
if (matcherIndexBuilder_ == null) {
matcherIndex_ = builderForValue.build();
onChanged();
} else {
matcherIndexBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
*/
public Builder mergeMatcherIndex(com.google.protobuf.Int32Value value) {
if (matcherIndexBuilder_ == null) {
if (matcherIndex_ != null) {
matcherIndex_ =
com.google.protobuf.Int32Value.newBuilder(matcherIndex_).mergeFrom(value).buildPartial();
} else {
matcherIndex_ = value;
}
onChanged();
} else {
matcherIndexBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
*/
public Builder clearMatcherIndex() {
if (matcherIndexBuilder_ == null) {
matcherIndex_ = null;
onChanged();
} else {
matcherIndex_ = null;
matcherIndexBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
*/
public com.google.protobuf.Int32Value.Builder getMatcherIndexBuilder() {
onChanged();
return getMatcherIndexFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
*/
public com.google.protobuf.Int32ValueOrBuilder getMatcherIndexOrBuilder() {
if (matcherIndexBuilder_ != null) {
return matcherIndexBuilder_.getMessageOrBuilder();
} else {
return matcherIndex_ == null ?
com.google.protobuf.Int32Value.getDefaultInstance() : matcherIndex_;
}
}
/**
* .google.protobuf.Int32Value matcherIndex = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>
getMatcherIndexFieldBuilder() {
if (matcherIndexBuilder_ == null) {
matcherIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder>(
getMatcherIndex(),
getParentForChildren(),
isClean());
matcherIndex_ = null;
}
return matcherIndexBuilder_;
}
@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:WinLocator)
}
// @@protoc_insertion_point(class_scope:WinLocator)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinLocator parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinLocator(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.RhWinActionsMessages.WinLocator getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BaseWinParamsOrBuilder extends
// @@protoc_insertion_point(interface_extends:BaseWinParams)
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();
/**
* string execute = 2;
* @return The execute.
*/
java.lang.String getExecute();
/**
* string execute = 2;
* @return The bytes for execute.
*/
com.google.protobuf.ByteString
getExecuteBytes();
/**
* bool fromRoot = 3;
* @return The fromRoot.
*/
boolean getFromRoot();
/**
* bool experimentalDriver = 4;
* @return The experimentalDriver.
*/
boolean getExperimentalDriver();
}
/**
* Protobuf type {@code BaseWinParams}
*/
public static final class BaseWinParams extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:BaseWinParams)
BaseWinParamsOrBuilder {
private static final long serialVersionUID = 0L;
// Use BaseWinParams.newBuilder() to construct.
private BaseWinParams(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BaseWinParams() {
id_ = "";
execute_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BaseWinParams();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BaseWinParams(
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;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
execute_ = s;
break;
}
case 24: {
fromRoot_ = input.readBool();
break;
}
case 32: {
experimentalDriver_ = 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.RhWinActionsMessages.internal_static_BaseWinParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_BaseWinParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.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;
}
}
public static final int EXECUTE_FIELD_NUMBER = 2;
private volatile java.lang.Object execute_;
/**
* string execute = 2;
* @return The execute.
*/
@java.lang.Override
public java.lang.String getExecute() {
java.lang.Object ref = execute_;
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();
execute_ = s;
return s;
}
}
/**
* string execute = 2;
* @return The bytes for execute.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExecuteBytes() {
java.lang.Object ref = execute_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
execute_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FROMROOT_FIELD_NUMBER = 3;
private boolean fromRoot_;
/**
* bool fromRoot = 3;
* @return The fromRoot.
*/
@java.lang.Override
public boolean getFromRoot() {
return fromRoot_;
}
public static final int EXPERIMENTALDRIVER_FIELD_NUMBER = 4;
private boolean experimentalDriver_;
/**
* bool experimentalDriver = 4;
* @return The experimentalDriver.
*/
@java.lang.Override
public boolean getExperimentalDriver() {
return experimentalDriver_;
}
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_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(execute_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, execute_);
}
if (fromRoot_ != false) {
output.writeBool(3, fromRoot_);
}
if (experimentalDriver_ != false) {
output.writeBool(4, experimentalDriver_);
}
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_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(execute_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, execute_);
}
if (fromRoot_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, fromRoot_);
}
if (experimentalDriver_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, experimentalDriver_);
}
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.RhWinActionsMessages.BaseWinParams)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getExecute()
.equals(other.getExecute())) return false;
if (getFromRoot()
!= other.getFromRoot()) return false;
if (getExperimentalDriver()
!= other.getExperimentalDriver()) 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 = (37 * hash) + EXECUTE_FIELD_NUMBER;
hash = (53 * hash) + getExecute().hashCode();
hash = (37 * hash) + FROMROOT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getFromRoot());
hash = (37 * hash) + EXPERIMENTALDRIVER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getExperimentalDriver());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams 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.RhWinActionsMessages.BaseWinParams parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams 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.RhWinActionsMessages.BaseWinParams parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams 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.RhWinActionsMessages.BaseWinParams 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.RhWinActionsMessages.BaseWinParams 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.RhWinActionsMessages.BaseWinParams 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.RhWinActionsMessages.BaseWinParams 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.RhWinActionsMessages.BaseWinParams 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.RhWinActionsMessages.BaseWinParams 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.RhWinActionsMessages.BaseWinParams 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 BaseWinParams}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:BaseWinParams)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_BaseWinParams_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_BaseWinParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.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_ = "";
execute_ = "";
fromRoot_ = false;
experimentalDriver_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_BaseWinParams_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams(this);
result.id_ = id_;
result.execute_ = execute_;
result.fromRoot_ = fromRoot_;
result.experimentalDriver_ = experimentalDriver_;
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.RhWinActionsMessages.BaseWinParams) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (!other.getExecute().isEmpty()) {
execute_ = other.execute_;
onChanged();
}
if (other.getFromRoot() != false) {
setFromRoot(other.getFromRoot());
}
if (other.getExperimentalDriver() != false) {
setExperimentalDriver(other.getExperimentalDriver());
}
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.RhWinActionsMessages.BaseWinParams parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams) 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;
}
private java.lang.Object execute_ = "";
/**
* string execute = 2;
* @return The execute.
*/
public java.lang.String getExecute() {
java.lang.Object ref = execute_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
execute_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string execute = 2;
* @return The bytes for execute.
*/
public com.google.protobuf.ByteString
getExecuteBytes() {
java.lang.Object ref = execute_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
execute_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string execute = 2;
* @param value The execute to set.
* @return This builder for chaining.
*/
public Builder setExecute(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
execute_ = value;
onChanged();
return this;
}
/**
* string execute = 2;
* @return This builder for chaining.
*/
public Builder clearExecute() {
execute_ = getDefaultInstance().getExecute();
onChanged();
return this;
}
/**
* string execute = 2;
* @param value The bytes for execute to set.
* @return This builder for chaining.
*/
public Builder setExecuteBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
execute_ = value;
onChanged();
return this;
}
private boolean fromRoot_ ;
/**
* bool fromRoot = 3;
* @return The fromRoot.
*/
@java.lang.Override
public boolean getFromRoot() {
return fromRoot_;
}
/**
* bool fromRoot = 3;
* @param value The fromRoot to set.
* @return This builder for chaining.
*/
public Builder setFromRoot(boolean value) {
fromRoot_ = value;
onChanged();
return this;
}
/**
* bool fromRoot = 3;
* @return This builder for chaining.
*/
public Builder clearFromRoot() {
fromRoot_ = false;
onChanged();
return this;
}
private boolean experimentalDriver_ ;
/**
* bool experimentalDriver = 4;
* @return The experimentalDriver.
*/
@java.lang.Override
public boolean getExperimentalDriver() {
return experimentalDriver_;
}
/**
* bool experimentalDriver = 4;
* @param value The experimentalDriver to set.
* @return This builder for chaining.
*/
public Builder setExperimentalDriver(boolean value) {
experimentalDriver_ = value;
onChanged();
return this;
}
/**
* bool experimentalDriver = 4;
* @return This builder for chaining.
*/
public Builder clearExperimentalDriver() {
experimentalDriver_ = 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:BaseWinParams)
}
// @@protoc_insertion_point(class_scope:BaseWinParams)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BaseWinParams parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BaseWinParams(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.RhWinActionsMessages.BaseWinParams getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinOpenOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinOpen)
com.google.protobuf.MessageOrBuilder {
/**
* string workDir = 4;
* @return The workDir.
*/
java.lang.String getWorkDir();
/**
* string workDir = 4;
* @return The bytes for workDir.
*/
com.google.protobuf.ByteString
getWorkDirBytes();
/**
* string appFile = 5;
* @return The appFile.
*/
java.lang.String getAppFile();
/**
* string appFile = 5;
* @return The bytes for appFile.
*/
com.google.protobuf.ByteString
getAppFileBytes();
/**
* string appArgs = 6;
* @return The appArgs.
*/
java.lang.String getAppArgs();
/**
* string appArgs = 6;
* @return The bytes for appArgs.
*/
com.google.protobuf.ByteString
getAppArgsBytes();
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 7;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinOpen}
*/
public static final class WinOpen extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinOpen)
WinOpenOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinOpen.newBuilder() to construct.
private WinOpen(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinOpen() {
workDir_ = "";
appFile_ = "";
appArgs_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinOpen();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinOpen(
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 34: {
java.lang.String s = input.readStringRequireUtf8();
workDir_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
appFile_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
appArgs_ = s;
break;
}
case 58: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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.RhWinActionsMessages.internal_static_WinOpen_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinOpen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen.Builder.class);
}
public static final int WORKDIR_FIELD_NUMBER = 4;
private volatile java.lang.Object workDir_;
/**
* string workDir = 4;
* @return The workDir.
*/
@java.lang.Override
public java.lang.String getWorkDir() {
java.lang.Object ref = workDir_;
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();
workDir_ = s;
return s;
}
}
/**
* string workDir = 4;
* @return The bytes for workDir.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWorkDirBytes() {
java.lang.Object ref = workDir_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workDir_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APPFILE_FIELD_NUMBER = 5;
private volatile java.lang.Object appFile_;
/**
* string appFile = 5;
* @return The appFile.
*/
@java.lang.Override
public java.lang.String getAppFile() {
java.lang.Object ref = appFile_;
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();
appFile_ = s;
return s;
}
}
/**
* string appFile = 5;
* @return The bytes for appFile.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppFileBytes() {
java.lang.Object ref = appFile_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appFile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int APPARGS_FIELD_NUMBER = 6;
private volatile java.lang.Object appArgs_;
/**
* string appArgs = 6;
* @return The appArgs.
*/
@java.lang.Override
public java.lang.String getAppArgs() {
java.lang.Object ref = appArgs_;
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();
appArgs_ = s;
return s;
}
}
/**
* string appArgs = 6;
* @return The bytes for appArgs.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppArgsBytes() {
java.lang.Object ref = appArgs_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appArgs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 7;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 7;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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(workDir_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, workDir_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appFile_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, appFile_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appArgs_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, appArgs_);
}
if (baseParams_ != null) {
output.writeMessage(7, getBaseParams());
}
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(workDir_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, workDir_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appFile_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appFile_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appArgs_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, appArgs_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getBaseParams());
}
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.RhWinActionsMessages.WinOpen)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen) obj;
if (!getWorkDir()
.equals(other.getWorkDir())) return false;
if (!getAppFile()
.equals(other.getAppFile())) return false;
if (!getAppArgs()
.equals(other.getAppArgs())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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) + WORKDIR_FIELD_NUMBER;
hash = (53 * hash) + getWorkDir().hashCode();
hash = (37 * hash) + APPFILE_FIELD_NUMBER;
hash = (53 * hash) + getAppFile().hashCode();
hash = (37 * hash) + APPARGS_FIELD_NUMBER;
hash = (53 * hash) + getAppArgs().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen 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.RhWinActionsMessages.WinOpen parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen 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.RhWinActionsMessages.WinOpen parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen 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.RhWinActionsMessages.WinOpen 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.RhWinActionsMessages.WinOpen 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.RhWinActionsMessages.WinOpen 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.RhWinActionsMessages.WinOpen 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.RhWinActionsMessages.WinOpen 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.RhWinActionsMessages.WinOpen 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.RhWinActionsMessages.WinOpen 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 WinOpen}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinOpen)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpenOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinOpen_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinOpen_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen.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();
workDir_ = "";
appFile_ = "";
appArgs_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinOpen_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen(this);
result.workDir_ = workDir_;
result.appFile_ = appFile_;
result.appArgs_ = appArgs_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinOpen) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen.getDefaultInstance()) return this;
if (!other.getWorkDir().isEmpty()) {
workDir_ = other.workDir_;
onChanged();
}
if (!other.getAppFile().isEmpty()) {
appFile_ = other.appFile_;
onChanged();
}
if (!other.getAppArgs().isEmpty()) {
appArgs_ = other.appArgs_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinOpen parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object workDir_ = "";
/**
* string workDir = 4;
* @return The workDir.
*/
public java.lang.String getWorkDir() {
java.lang.Object ref = workDir_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workDir_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string workDir = 4;
* @return The bytes for workDir.
*/
public com.google.protobuf.ByteString
getWorkDirBytes() {
java.lang.Object ref = workDir_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workDir_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string workDir = 4;
* @param value The workDir to set.
* @return This builder for chaining.
*/
public Builder setWorkDir(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
workDir_ = value;
onChanged();
return this;
}
/**
* string workDir = 4;
* @return This builder for chaining.
*/
public Builder clearWorkDir() {
workDir_ = getDefaultInstance().getWorkDir();
onChanged();
return this;
}
/**
* string workDir = 4;
* @param value The bytes for workDir to set.
* @return This builder for chaining.
*/
public Builder setWorkDirBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
workDir_ = value;
onChanged();
return this;
}
private java.lang.Object appFile_ = "";
/**
* string appFile = 5;
* @return The appFile.
*/
public java.lang.String getAppFile() {
java.lang.Object ref = appFile_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
appFile_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string appFile = 5;
* @return The bytes for appFile.
*/
public com.google.protobuf.ByteString
getAppFileBytes() {
java.lang.Object ref = appFile_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appFile_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string appFile = 5;
* @param value The appFile to set.
* @return This builder for chaining.
*/
public Builder setAppFile(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
appFile_ = value;
onChanged();
return this;
}
/**
* string appFile = 5;
* @return This builder for chaining.
*/
public Builder clearAppFile() {
appFile_ = getDefaultInstance().getAppFile();
onChanged();
return this;
}
/**
* string appFile = 5;
* @param value The bytes for appFile to set.
* @return This builder for chaining.
*/
public Builder setAppFileBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
appFile_ = value;
onChanged();
return this;
}
private java.lang.Object appArgs_ = "";
/**
* string appArgs = 6;
* @return The appArgs.
*/
public java.lang.String getAppArgs() {
java.lang.Object ref = appArgs_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
appArgs_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string appArgs = 6;
* @return The bytes for appArgs.
*/
public com.google.protobuf.ByteString
getAppArgsBytes() {
java.lang.Object ref = appArgs_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
appArgs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string appArgs = 6;
* @param value The appArgs to set.
* @return This builder for chaining.
*/
public Builder setAppArgs(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
appArgs_ = value;
onChanged();
return this;
}
/**
* string appArgs = 6;
* @return This builder for chaining.
*/
public Builder clearAppArgs() {
appArgs_ = getDefaultInstance().getAppArgs();
onChanged();
return this;
}
/**
* string appArgs = 6;
* @param value The bytes for appArgs to set.
* @return This builder for chaining.
*/
public Builder setAppArgsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
appArgs_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinOpen)
}
// @@protoc_insertion_point(class_scope:WinOpen)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinOpen getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinOpen parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinOpen(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.RhWinActionsMessages.WinOpen getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinClickOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinClick)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* .WinClick.Button button = 4;
* @return The enum numeric value on the wire for button.
*/
int getButtonValue();
/**
* .WinClick.Button button = 4;
* @return The button.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button getButton();
/**
* string xOffset = 5;
* @return The xOffset.
*/
java.lang.String getXOffset();
/**
* string xOffset = 5;
* @return The bytes for xOffset.
*/
com.google.protobuf.ByteString
getXOffsetBytes();
/**
* string yOffset = 6;
* @return The yOffset.
*/
java.lang.String getYOffset();
/**
* string yOffset = 6;
* @return The bytes for yOffset.
*/
com.google.protobuf.ByteString
getYOffsetBytes();
/**
* .BaseWinParams baseParams = 8;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 8;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 8;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
/**
* string modifiers = 9;
* @return The modifiers.
*/
java.lang.String getModifiers();
/**
* string modifiers = 9;
* @return The bytes for modifiers.
*/
com.google.protobuf.ByteString
getModifiersBytes();
}
/**
* Protobuf type {@code WinClick}
*/
public static final class WinClick extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinClick)
WinClickOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinClick.newBuilder() to construct.
private WinClick(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinClick() {
locators_ = java.util.Collections.emptyList();
button_ = 0;
xOffset_ = "";
yOffset_ = "";
modifiers_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinClick();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinClick(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 32: {
int rawValue = input.readEnum();
button_ = rawValue;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
xOffset_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
yOffset_ = s;
break;
}
case 66: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = subBuilder.buildPartial();
}
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
modifiers_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinClick_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinClick_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Builder.class);
}
/**
* Protobuf enum {@code WinClick.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.RhWinActionsMessages.WinClick.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:WinClick.Button)
}
/**
* Protobuf enum {@code WinClick.AttachedBorder}
*/
public enum AttachedBorder
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NONE = 0;
*/
NONE(0),
/**
* LEFT_TOP = 1;
*/
LEFT_TOP(1),
/**
* LEFT_BOTTOM = 2;
*/
LEFT_BOTTOM(2),
/**
* RIGHT_TOP = 3;
*/
RIGHT_TOP(3),
/**
* RIGHT_BOTTOM = 4;
*/
RIGHT_BOTTOM(4),
UNRECOGNIZED(-1),
;
/**
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
* LEFT_TOP = 1;
*/
public static final int LEFT_TOP_VALUE = 1;
/**
* LEFT_BOTTOM = 2;
*/
public static final int LEFT_BOTTOM_VALUE = 2;
/**
* RIGHT_TOP = 3;
*/
public static final int RIGHT_TOP_VALUE = 3;
/**
* RIGHT_BOTTOM = 4;
*/
public static final int RIGHT_BOTTOM_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 AttachedBorder 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 AttachedBorder forNumber(int value) {
switch (value) {
case 0: return NONE;
case 1: return LEFT_TOP;
case 2: return LEFT_BOTTOM;
case 3: return RIGHT_TOP;
case 4: return RIGHT_BOTTOM;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AttachedBorder> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public AttachedBorder findValueByNumber(int number) {
return AttachedBorder.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.RhWinActionsMessages.WinClick.getDescriptor().getEnumTypes().get(1);
}
private static final AttachedBorder[] VALUES = values();
public static AttachedBorder 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 AttachedBorder(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:WinClick.AttachedBorder)
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int BUTTON_FIELD_NUMBER = 4;
private int button_;
/**
* .WinClick.Button button = 4;
* @return The enum numeric value on the wire for button.
*/
@java.lang.Override public int getButtonValue() {
return button_;
}
/**
* .WinClick.Button button = 4;
* @return The button.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button getButton() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button result = com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button.valueOf(button_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button.UNRECOGNIZED : result;
}
public static final int XOFFSET_FIELD_NUMBER = 5;
private volatile java.lang.Object xOffset_;
/**
* string xOffset = 5;
* @return The xOffset.
*/
@java.lang.Override
public java.lang.String getXOffset() {
java.lang.Object ref = xOffset_;
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();
xOffset_ = s;
return s;
}
}
/**
* string xOffset = 5;
* @return The bytes for xOffset.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getXOffsetBytes() {
java.lang.Object ref = xOffset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
xOffset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int YOFFSET_FIELD_NUMBER = 6;
private volatile java.lang.Object yOffset_;
/**
* string yOffset = 6;
* @return The yOffset.
*/
@java.lang.Override
public java.lang.String getYOffset() {
java.lang.Object ref = yOffset_;
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();
yOffset_ = s;
return s;
}
}
/**
* string yOffset = 6;
* @return The bytes for yOffset.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getYOffsetBytes() {
java.lang.Object ref = yOffset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
yOffset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 8;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 8;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 8;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 8;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
public static final int MODIFIERS_FIELD_NUMBER = 9;
private volatile java.lang.Object modifiers_;
/**
* string modifiers = 9;
* @return The modifiers.
*/
@java.lang.Override
public java.lang.String getModifiers() {
java.lang.Object ref = modifiers_;
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();
modifiers_ = s;
return s;
}
}
/**
* string modifiers = 9;
* @return The bytes for modifiers.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getModifiersBytes() {
java.lang.Object ref = modifiers_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
modifiers_ = 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 {
for (int i = 0; i < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (button_ != com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button.LEFT.getNumber()) {
output.writeEnum(4, button_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(xOffset_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, xOffset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yOffset_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, yOffset_);
}
if (baseParams_ != null) {
output.writeMessage(8, getBaseParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modifiers_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, modifiers_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (button_ != com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button.LEFT.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, button_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(xOffset_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, xOffset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yOffset_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, yOffset_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getBaseParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(modifiers_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, modifiers_);
}
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.RhWinActionsMessages.WinClick)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (button_ != other.button_) return false;
if (!getXOffset()
.equals(other.getXOffset())) return false;
if (!getYOffset()
.equals(other.getYOffset())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) return false;
}
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();
if (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + BUTTON_FIELD_NUMBER;
hash = (53 * hash) + button_;
hash = (37 * hash) + XOFFSET_FIELD_NUMBER;
hash = (53 * hash) + getXOffset().hashCode();
hash = (37 * hash) + YOFFSET_FIELD_NUMBER;
hash = (53 * hash) + getYOffset().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
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.RhWinActionsMessages.WinClick parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick 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.RhWinActionsMessages.WinClick parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick 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.RhWinActionsMessages.WinClick parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick 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.RhWinActionsMessages.WinClick 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.RhWinActionsMessages.WinClick 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.RhWinActionsMessages.WinClick 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.RhWinActionsMessages.WinClick 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.RhWinActionsMessages.WinClick 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.RhWinActionsMessages.WinClick 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.RhWinActionsMessages.WinClick 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 WinClick}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinClick)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClickOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinClick_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinClick_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
button_ = 0;
xOffset_ = "";
yOffset_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
modifiers_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinClick_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.button_ = button_;
result.xOffset_ = xOffset_;
result.yOffset_ = yOffset_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.build();
}
result.modifiers_ = modifiers_;
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.RhWinActionsMessages.WinClick) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (other.button_ != 0) {
setButtonValue(other.getButtonValue());
}
if (!other.getXOffset().isEmpty()) {
xOffset_ = other.xOffset_;
onChanged();
}
if (!other.getYOffset().isEmpty()) {
yOffset_ = other.yOffset_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
if (!other.getModifiers().isEmpty()) {
modifiers_ = other.modifiers_;
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.RhWinActionsMessages.WinClick parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private int button_ = 0;
/**
* .WinClick.Button button = 4;
* @return The enum numeric value on the wire for button.
*/
@java.lang.Override public int getButtonValue() {
return button_;
}
/**
* .WinClick.Button button = 4;
* @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;
}
/**
* .WinClick.Button button = 4;
* @return The button.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button getButton() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button result = com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button.valueOf(button_);
return result == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button.UNRECOGNIZED : result;
}
/**
* .WinClick.Button button = 4;
* @param value The button to set.
* @return This builder for chaining.
*/
public Builder setButton(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick.Button value) {
if (value == null) {
throw new NullPointerException();
}
button_ = value.getNumber();
onChanged();
return this;
}
/**
* .WinClick.Button button = 4;
* @return This builder for chaining.
*/
public Builder clearButton() {
button_ = 0;
onChanged();
return this;
}
private java.lang.Object xOffset_ = "";
/**
* string xOffset = 5;
* @return The xOffset.
*/
public java.lang.String getXOffset() {
java.lang.Object ref = xOffset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
xOffset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string xOffset = 5;
* @return The bytes for xOffset.
*/
public com.google.protobuf.ByteString
getXOffsetBytes() {
java.lang.Object ref = xOffset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
xOffset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string xOffset = 5;
* @param value The xOffset to set.
* @return This builder for chaining.
*/
public Builder setXOffset(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
xOffset_ = value;
onChanged();
return this;
}
/**
* string xOffset = 5;
* @return This builder for chaining.
*/
public Builder clearXOffset() {
xOffset_ = getDefaultInstance().getXOffset();
onChanged();
return this;
}
/**
* string xOffset = 5;
* @param value The bytes for xOffset to set.
* @return This builder for chaining.
*/
public Builder setXOffsetBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
xOffset_ = value;
onChanged();
return this;
}
private java.lang.Object yOffset_ = "";
/**
* string yOffset = 6;
* @return The yOffset.
*/
public java.lang.String getYOffset() {
java.lang.Object ref = yOffset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
yOffset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string yOffset = 6;
* @return The bytes for yOffset.
*/
public com.google.protobuf.ByteString
getYOffsetBytes() {
java.lang.Object ref = yOffset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
yOffset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string yOffset = 6;
* @param value The yOffset to set.
* @return This builder for chaining.
*/
public Builder setYOffset(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
yOffset_ = value;
onChanged();
return this;
}
/**
* string yOffset = 6;
* @return This builder for chaining.
*/
public Builder clearYOffset() {
yOffset_ = getDefaultInstance().getYOffset();
onChanged();
return this;
}
/**
* string yOffset = 6;
* @param value The bytes for yOffset to set.
* @return This builder for chaining.
*/
public Builder setYOffsetBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
yOffset_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 8;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 8;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 8;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 8;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 8;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 8;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 8;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 8;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
private java.lang.Object modifiers_ = "";
/**
* string modifiers = 9;
* @return The modifiers.
*/
public java.lang.String getModifiers() {
java.lang.Object ref = modifiers_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
modifiers_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string modifiers = 9;
* @return The bytes for modifiers.
*/
public com.google.protobuf.ByteString
getModifiersBytes() {
java.lang.Object ref = modifiers_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
modifiers_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string modifiers = 9;
* @param value The modifiers to set.
* @return This builder for chaining.
*/
public Builder setModifiers(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
modifiers_ = value;
onChanged();
return this;
}
/**
* string modifiers = 9;
* @return This builder for chaining.
*/
public Builder clearModifiers() {
modifiers_ = getDefaultInstance().getModifiers();
onChanged();
return this;
}
/**
* string modifiers = 9;
* @param value The bytes for modifiers to set.
* @return This builder for chaining.
*/
public Builder setModifiersBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
modifiers_ = 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:WinClick)
}
// @@protoc_insertion_point(class_scope:WinClick)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinClick getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinClick parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinClick(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.RhWinActionsMessages.WinClick getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinSendTextOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinSendText)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string text = 4;
* @return The text.
*/
java.lang.String getText();
/**
* string text = 4;
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
* string clearBefore = 5;
* @return The clearBefore.
*/
java.lang.String getClearBefore();
/**
* string clearBefore = 5;
* @return The bytes for clearBefore.
*/
com.google.protobuf.ByteString
getClearBeforeBytes();
/**
* string isDirectText = 6;
* @return The isDirectText.
*/
java.lang.String getIsDirectText();
/**
* string isDirectText = 6;
* @return The bytes for isDirectText.
*/
com.google.protobuf.ByteString
getIsDirectTextBytes();
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 7;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinSendText}
*/
public static final class WinSendText extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinSendText)
WinSendTextOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinSendText.newBuilder() to construct.
private WinSendText(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinSendText() {
locators_ = java.util.Collections.emptyList();
text_ = "";
clearBefore_ = "";
isDirectText_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinSendText();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinSendText(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
text_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
clearBefore_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
isDirectText_ = s;
break;
}
case 58: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSendText_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSendText_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int TEXT_FIELD_NUMBER = 4;
private volatile java.lang.Object text_;
/**
* string text = 4;
* @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 = 4;
* @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 CLEARBEFORE_FIELD_NUMBER = 5;
private volatile java.lang.Object clearBefore_;
/**
* string clearBefore = 5;
* @return The clearBefore.
*/
@java.lang.Override
public java.lang.String getClearBefore() {
java.lang.Object ref = clearBefore_;
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();
clearBefore_ = s;
return s;
}
}
/**
* string clearBefore = 5;
* @return The bytes for clearBefore.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClearBeforeBytes() {
java.lang.Object ref = clearBefore_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clearBefore_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISDIRECTTEXT_FIELD_NUMBER = 6;
private volatile java.lang.Object isDirectText_;
/**
* string isDirectText = 6;
* @return The isDirectText.
*/
@java.lang.Override
public java.lang.String getIsDirectText() {
java.lang.Object ref = isDirectText_;
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();
isDirectText_ = s;
return s;
}
}
/**
* string isDirectText = 6;
* @return The bytes for isDirectText.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIsDirectTextBytes() {
java.lang.Object ref = isDirectText_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
isDirectText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 7;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 7;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, text_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clearBefore_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, clearBefore_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isDirectText_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, isDirectText_);
}
if (baseParams_ != null) {
output.writeMessage(7, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, text_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clearBefore_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, clearBefore_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(isDirectText_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, isDirectText_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getBaseParams());
}
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.RhWinActionsMessages.WinSendText)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getText()
.equals(other.getText())) return false;
if (!getClearBefore()
.equals(other.getClearBefore())) return false;
if (!getIsDirectText()
.equals(other.getIsDirectText())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + TEXT_FIELD_NUMBER;
hash = (53 * hash) + getText().hashCode();
hash = (37 * hash) + CLEARBEFORE_FIELD_NUMBER;
hash = (53 * hash) + getClearBefore().hashCode();
hash = (37 * hash) + ISDIRECTTEXT_FIELD_NUMBER;
hash = (53 * hash) + getIsDirectText().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText 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.RhWinActionsMessages.WinSendText parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText 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.RhWinActionsMessages.WinSendText parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText 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.RhWinActionsMessages.WinSendText 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.RhWinActionsMessages.WinSendText 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.RhWinActionsMessages.WinSendText 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.RhWinActionsMessages.WinSendText 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.RhWinActionsMessages.WinSendText 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.RhWinActionsMessages.WinSendText 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.RhWinActionsMessages.WinSendText 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 WinSendText}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinSendText)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendTextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSendText_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSendText_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
text_ = "";
clearBefore_ = "";
isDirectText_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSendText_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.text_ = text_;
result.clearBefore_ = clearBefore_;
result.isDirectText_ = isDirectText_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinSendText) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getText().isEmpty()) {
text_ = other.text_;
onChanged();
}
if (!other.getClearBefore().isEmpty()) {
clearBefore_ = other.clearBefore_;
onChanged();
}
if (!other.getIsDirectText().isEmpty()) {
isDirectText_ = other.isDirectText_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinSendText parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private java.lang.Object text_ = "";
/**
* string text = 4;
* @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 = 4;
* @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 = 4;
* @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 = 4;
* @return This builder for chaining.
*/
public Builder clearText() {
text_ = getDefaultInstance().getText();
onChanged();
return this;
}
/**
* string text = 4;
* @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 clearBefore_ = "";
/**
* string clearBefore = 5;
* @return The clearBefore.
*/
public java.lang.String getClearBefore() {
java.lang.Object ref = clearBefore_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clearBefore_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string clearBefore = 5;
* @return The bytes for clearBefore.
*/
public com.google.protobuf.ByteString
getClearBeforeBytes() {
java.lang.Object ref = clearBefore_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clearBefore_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string clearBefore = 5;
* @param value The clearBefore to set.
* @return This builder for chaining.
*/
public Builder setClearBefore(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
clearBefore_ = value;
onChanged();
return this;
}
/**
* string clearBefore = 5;
* @return This builder for chaining.
*/
public Builder clearClearBefore() {
clearBefore_ = getDefaultInstance().getClearBefore();
onChanged();
return this;
}
/**
* string clearBefore = 5;
* @param value The bytes for clearBefore to set.
* @return This builder for chaining.
*/
public Builder setClearBeforeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
clearBefore_ = value;
onChanged();
return this;
}
private java.lang.Object isDirectText_ = "";
/**
* string isDirectText = 6;
* @return The isDirectText.
*/
public java.lang.String getIsDirectText() {
java.lang.Object ref = isDirectText_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
isDirectText_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string isDirectText = 6;
* @return The bytes for isDirectText.
*/
public com.google.protobuf.ByteString
getIsDirectTextBytes() {
java.lang.Object ref = isDirectText_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
isDirectText_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string isDirectText = 6;
* @param value The isDirectText to set.
* @return This builder for chaining.
*/
public Builder setIsDirectText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
isDirectText_ = value;
onChanged();
return this;
}
/**
* string isDirectText = 6;
* @return This builder for chaining.
*/
public Builder clearIsDirectText() {
isDirectText_ = getDefaultInstance().getIsDirectText();
onChanged();
return this;
}
/**
* string isDirectText = 6;
* @param value The bytes for isDirectText to set.
* @return This builder for chaining.
*/
public Builder setIsDirectTextBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
isDirectText_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinSendText)
}
// @@protoc_insertion_point(class_scope:WinSendText)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSendText getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinSendText parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinSendText(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.RhWinActionsMessages.WinSendText getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinGetActiveWindowOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinGetActiveWindow)
com.google.protobuf.MessageOrBuilder {
/**
* string windowName = 4;
* @return The windowName.
*/
java.lang.String getWindowName();
/**
* string windowName = 4;
* @return The bytes for windowName.
*/
com.google.protobuf.ByteString
getWindowNameBytes();
/**
* string accessibilityId = 5;
* @return The accessibilityId.
*/
java.lang.String getAccessibilityId();
/**
* string accessibilityId = 5;
* @return The bytes for accessibilityId.
*/
com.google.protobuf.ByteString
getAccessibilityIdBytes();
/**
* int32 maxTimeout = 6;
* @return The maxTimeout.
*/
int getMaxTimeout();
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 7;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinGetActiveWindow}
*/
public static final class WinGetActiveWindow extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinGetActiveWindow)
WinGetActiveWindowOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinGetActiveWindow.newBuilder() to construct.
private WinGetActiveWindow(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinGetActiveWindow() {
windowName_ = "";
accessibilityId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinGetActiveWindow();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinGetActiveWindow(
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 34: {
java.lang.String s = input.readStringRequireUtf8();
windowName_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
accessibilityId_ = s;
break;
}
case 48: {
maxTimeout_ = input.readInt32();
break;
}
case 58: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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.RhWinActionsMessages.internal_static_WinGetActiveWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetActiveWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow.Builder.class);
}
public static final int WINDOWNAME_FIELD_NUMBER = 4;
private volatile java.lang.Object windowName_;
/**
* string windowName = 4;
* @return The windowName.
*/
@java.lang.Override
public java.lang.String getWindowName() {
java.lang.Object ref = windowName_;
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();
windowName_ = s;
return s;
}
}
/**
* string windowName = 4;
* @return The bytes for windowName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWindowNameBytes() {
java.lang.Object ref = windowName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
windowName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCESSIBILITYID_FIELD_NUMBER = 5;
private volatile java.lang.Object accessibilityId_;
/**
* string accessibilityId = 5;
* @return The accessibilityId.
*/
@java.lang.Override
public java.lang.String getAccessibilityId() {
java.lang.Object ref = accessibilityId_;
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();
accessibilityId_ = s;
return s;
}
}
/**
* string accessibilityId = 5;
* @return The bytes for accessibilityId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccessibilityIdBytes() {
java.lang.Object ref = accessibilityId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessibilityId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MAXTIMEOUT_FIELD_NUMBER = 6;
private int maxTimeout_;
/**
* int32 maxTimeout = 6;
* @return The maxTimeout.
*/
@java.lang.Override
public int getMaxTimeout() {
return maxTimeout_;
}
public static final int BASEPARAMS_FIELD_NUMBER = 7;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 7;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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(windowName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, windowName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessibilityId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, accessibilityId_);
}
if (maxTimeout_ != 0) {
output.writeInt32(6, maxTimeout_);
}
if (baseParams_ != null) {
output.writeMessage(7, getBaseParams());
}
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(windowName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, windowName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessibilityId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, accessibilityId_);
}
if (maxTimeout_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, maxTimeout_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getBaseParams());
}
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.RhWinActionsMessages.WinGetActiveWindow)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow) obj;
if (!getWindowName()
.equals(other.getWindowName())) return false;
if (!getAccessibilityId()
.equals(other.getAccessibilityId())) return false;
if (getMaxTimeout()
!= other.getMaxTimeout()) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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) + WINDOWNAME_FIELD_NUMBER;
hash = (53 * hash) + getWindowName().hashCode();
hash = (37 * hash) + ACCESSIBILITYID_FIELD_NUMBER;
hash = (53 * hash) + getAccessibilityId().hashCode();
hash = (37 * hash) + MAXTIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getMaxTimeout();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow 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.RhWinActionsMessages.WinGetActiveWindow parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow 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.RhWinActionsMessages.WinGetActiveWindow parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow 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.RhWinActionsMessages.WinGetActiveWindow 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.RhWinActionsMessages.WinGetActiveWindow 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.RhWinActionsMessages.WinGetActiveWindow 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.RhWinActionsMessages.WinGetActiveWindow 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.RhWinActionsMessages.WinGetActiveWindow 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.RhWinActionsMessages.WinGetActiveWindow 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.RhWinActionsMessages.WinGetActiveWindow 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 WinGetActiveWindow}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinGetActiveWindow)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindowOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetActiveWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetActiveWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow.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();
windowName_ = "";
accessibilityId_ = "";
maxTimeout_ = 0;
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetActiveWindow_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow(this);
result.windowName_ = windowName_;
result.accessibilityId_ = accessibilityId_;
result.maxTimeout_ = maxTimeout_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinGetActiveWindow) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow.getDefaultInstance()) return this;
if (!other.getWindowName().isEmpty()) {
windowName_ = other.windowName_;
onChanged();
}
if (!other.getAccessibilityId().isEmpty()) {
accessibilityId_ = other.accessibilityId_;
onChanged();
}
if (other.getMaxTimeout() != 0) {
setMaxTimeout(other.getMaxTimeout());
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinGetActiveWindow parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object windowName_ = "";
/**
* string windowName = 4;
* @return The windowName.
*/
public java.lang.String getWindowName() {
java.lang.Object ref = windowName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
windowName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string windowName = 4;
* @return The bytes for windowName.
*/
public com.google.protobuf.ByteString
getWindowNameBytes() {
java.lang.Object ref = windowName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
windowName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string windowName = 4;
* @param value The windowName to set.
* @return This builder for chaining.
*/
public Builder setWindowName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
windowName_ = value;
onChanged();
return this;
}
/**
* string windowName = 4;
* @return This builder for chaining.
*/
public Builder clearWindowName() {
windowName_ = getDefaultInstance().getWindowName();
onChanged();
return this;
}
/**
* string windowName = 4;
* @param value The bytes for windowName to set.
* @return This builder for chaining.
*/
public Builder setWindowNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
windowName_ = value;
onChanged();
return this;
}
private java.lang.Object accessibilityId_ = "";
/**
* string accessibilityId = 5;
* @return The accessibilityId.
*/
public java.lang.String getAccessibilityId() {
java.lang.Object ref = accessibilityId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accessibilityId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string accessibilityId = 5;
* @return The bytes for accessibilityId.
*/
public com.google.protobuf.ByteString
getAccessibilityIdBytes() {
java.lang.Object ref = accessibilityId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessibilityId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string accessibilityId = 5;
* @param value The accessibilityId to set.
* @return This builder for chaining.
*/
public Builder setAccessibilityId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accessibilityId_ = value;
onChanged();
return this;
}
/**
* string accessibilityId = 5;
* @return This builder for chaining.
*/
public Builder clearAccessibilityId() {
accessibilityId_ = getDefaultInstance().getAccessibilityId();
onChanged();
return this;
}
/**
* string accessibilityId = 5;
* @param value The bytes for accessibilityId to set.
* @return This builder for chaining.
*/
public Builder setAccessibilityIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accessibilityId_ = value;
onChanged();
return this;
}
private int maxTimeout_ ;
/**
* int32 maxTimeout = 6;
* @return The maxTimeout.
*/
@java.lang.Override
public int getMaxTimeout() {
return maxTimeout_;
}
/**
* int32 maxTimeout = 6;
* @param value The maxTimeout to set.
* @return This builder for chaining.
*/
public Builder setMaxTimeout(int value) {
maxTimeout_ = value;
onChanged();
return this;
}
/**
* int32 maxTimeout = 6;
* @return This builder for chaining.
*/
public Builder clearMaxTimeout() {
maxTimeout_ = 0;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinGetActiveWindow)
}
// @@protoc_insertion_point(class_scope:WinGetActiveWindow)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetActiveWindow getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinGetActiveWindow parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinGetActiveWindow(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.RhWinActionsMessages.WinGetActiveWindow getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MaximizeMainWindowOrBuilder extends
// @@protoc_insertion_point(interface_extends:MaximizeMainWindow)
com.google.protobuf.MessageOrBuilder {
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 4;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code MaximizeMainWindow}
*/
public static final class MaximizeMainWindow extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:MaximizeMainWindow)
MaximizeMainWindowOrBuilder {
private static final long serialVersionUID = 0L;
// Use MaximizeMainWindow.newBuilder() to construct.
private MaximizeMainWindow(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MaximizeMainWindow() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MaximizeMainWindow();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MaximizeMainWindow(
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 34: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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.RhWinActionsMessages.internal_static_MaximizeMainWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_MaximizeMainWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow.Builder.class);
}
public static final int BASEPARAMS_FIELD_NUMBER = 4;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 4;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 (baseParams_ != null) {
output.writeMessage(4, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getBaseParams());
}
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.RhWinActionsMessages.MaximizeMainWindow)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow) obj;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow 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.RhWinActionsMessages.MaximizeMainWindow parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow 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.RhWinActionsMessages.MaximizeMainWindow parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow 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.RhWinActionsMessages.MaximizeMainWindow 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.RhWinActionsMessages.MaximizeMainWindow 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.RhWinActionsMessages.MaximizeMainWindow 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.RhWinActionsMessages.MaximizeMainWindow 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.RhWinActionsMessages.MaximizeMainWindow 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.RhWinActionsMessages.MaximizeMainWindow 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.RhWinActionsMessages.MaximizeMainWindow 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 MaximizeMainWindow}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:MaximizeMainWindow)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindowOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_MaximizeMainWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_MaximizeMainWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow.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();
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_MaximizeMainWindow_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow(this);
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.MaximizeMainWindow) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow.getDefaultInstance()) return this;
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.MaximizeMainWindow parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:MaximizeMainWindow)
}
// @@protoc_insertion_point(class_scope:MaximizeMainWindow)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.MaximizeMainWindow getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MaximizeMainWindow parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MaximizeMainWindow(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.RhWinActionsMessages.MaximizeMainWindow getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinGetElementAttributeOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinGetElementAttribute)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string attributeName = 4;
* @return The attributeName.
*/
java.lang.String getAttributeName();
/**
* string attributeName = 4;
* @return The bytes for attributeName.
*/
com.google.protobuf.ByteString
getAttributeNameBytes();
/**
* .BaseWinParams baseParams = 5;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 5;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 5;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinGetElementAttribute}
*/
public static final class WinGetElementAttribute extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinGetElementAttribute)
WinGetElementAttributeOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinGetElementAttribute.newBuilder() to construct.
private WinGetElementAttribute(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinGetElementAttribute() {
locators_ = java.util.Collections.emptyList();
attributeName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinGetElementAttribute();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinGetElementAttribute(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
attributeName_ = s;
break;
}
case 42: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementAttribute_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementAttribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int ATTRIBUTENAME_FIELD_NUMBER = 4;
private volatile java.lang.Object attributeName_;
/**
* string attributeName = 4;
* @return The attributeName.
*/
@java.lang.Override
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
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();
attributeName_ = s;
return s;
}
}
/**
* string attributeName = 4;
* @return The bytes for attributeName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 5;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 5;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 5;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 5;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, attributeName_);
}
if (baseParams_ != null) {
output.writeMessage(5, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, attributeName_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getBaseParams());
}
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.RhWinActionsMessages.WinGetElementAttribute)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getAttributeName()
.equals(other.getAttributeName())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + ATTRIBUTENAME_FIELD_NUMBER;
hash = (53 * hash) + getAttributeName().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute 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.RhWinActionsMessages.WinGetElementAttribute parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute 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.RhWinActionsMessages.WinGetElementAttribute parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute 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.RhWinActionsMessages.WinGetElementAttribute 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.RhWinActionsMessages.WinGetElementAttribute 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.RhWinActionsMessages.WinGetElementAttribute 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.RhWinActionsMessages.WinGetElementAttribute 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.RhWinActionsMessages.WinGetElementAttribute 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.RhWinActionsMessages.WinGetElementAttribute 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.RhWinActionsMessages.WinGetElementAttribute 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 WinGetElementAttribute}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinGetElementAttribute)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttributeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementAttribute_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementAttribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
attributeName_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementAttribute_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.attributeName_ = attributeName_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinGetElementAttribute) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getAttributeName().isEmpty()) {
attributeName_ = other.attributeName_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinGetElementAttribute parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private java.lang.Object attributeName_ = "";
/**
* string attributeName = 4;
* @return The attributeName.
*/
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attributeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string attributeName = 4;
* @return The bytes for attributeName.
*/
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string attributeName = 4;
* @param value The attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
attributeName_ = value;
onChanged();
return this;
}
/**
* string attributeName = 4;
* @return This builder for chaining.
*/
public Builder clearAttributeName() {
attributeName_ = getDefaultInstance().getAttributeName();
onChanged();
return this;
}
/**
* string attributeName = 4;
* @param value The bytes for attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
attributeName_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 5;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 5;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 5;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinGetElementAttribute)
}
// @@protoc_insertion_point(class_scope:WinGetElementAttribute)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementAttribute getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinGetElementAttribute parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinGetElementAttribute(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.RhWinActionsMessages.WinGetElementAttribute getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinWaitOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinWait)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 millis = 4;
* @return The millis.
*/
int getMillis();
/**
* .BaseWinParams baseParams = 5;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 5;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 5;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinWait}
*/
public static final class WinWait extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinWait)
WinWaitOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinWait.newBuilder() to construct.
private WinWait(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinWait() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinWait();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinWait(
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 32: {
millis_ = input.readUInt32();
break;
}
case 42: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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.RhWinActionsMessages.internal_static_WinWait_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWait_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait.Builder.class);
}
public static final int MILLIS_FIELD_NUMBER = 4;
private int millis_;
/**
* uint32 millis = 4;
* @return The millis.
*/
@java.lang.Override
public int getMillis() {
return millis_;
}
public static final int BASEPARAMS_FIELD_NUMBER = 5;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 5;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 5;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 5;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 (millis_ != 0) {
output.writeUInt32(4, millis_);
}
if (baseParams_ != null) {
output.writeMessage(5, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (millis_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, millis_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getBaseParams());
}
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.RhWinActionsMessages.WinWait)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait) obj;
if (getMillis()
!= other.getMillis()) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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) + MILLIS_FIELD_NUMBER;
hash = (53 * hash) + getMillis();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait 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.RhWinActionsMessages.WinWait parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait 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.RhWinActionsMessages.WinWait parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait 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.RhWinActionsMessages.WinWait 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.RhWinActionsMessages.WinWait 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.RhWinActionsMessages.WinWait 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.RhWinActionsMessages.WinWait 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.RhWinActionsMessages.WinWait 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.RhWinActionsMessages.WinWait 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.RhWinActionsMessages.WinWait 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 WinWait}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinWait)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWait_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWait_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait.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();
millis_ = 0;
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWait_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait(this);
result.millis_ = millis_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinWait) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait.getDefaultInstance()) return this;
if (other.getMillis() != 0) {
setMillis(other.getMillis());
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinWait parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int millis_ ;
/**
* uint32 millis = 4;
* @return The millis.
*/
@java.lang.Override
public int getMillis() {
return millis_;
}
/**
* uint32 millis = 4;
* @param value The millis to set.
* @return This builder for chaining.
*/
public Builder setMillis(int value) {
millis_ = value;
onChanged();
return this;
}
/**
* uint32 millis = 4;
* @return This builder for chaining.
*/
public Builder clearMillis() {
millis_ = 0;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 5;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 5;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 5;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinWait)
}
// @@protoc_insertion_point(class_scope:WinWait)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWait getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinWait parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinWait(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.RhWinActionsMessages.WinWait getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinToggleCheckBoxOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinToggleCheckBox)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string expectedState = 4;
* @return The expectedState.
*/
java.lang.String getExpectedState();
/**
* string expectedState = 4;
* @return The bytes for expectedState.
*/
com.google.protobuf.ByteString
getExpectedStateBytes();
/**
* .BaseWinParams baseParams = 5;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 5;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 5;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinToggleCheckBox}
*/
public static final class WinToggleCheckBox extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinToggleCheckBox)
WinToggleCheckBoxOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinToggleCheckBox.newBuilder() to construct.
private WinToggleCheckBox(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinToggleCheckBox() {
locators_ = java.util.Collections.emptyList();
expectedState_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinToggleCheckBox();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinToggleCheckBox(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
expectedState_ = s;
break;
}
case 42: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinToggleCheckBox_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinToggleCheckBox_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int EXPECTEDSTATE_FIELD_NUMBER = 4;
private volatile java.lang.Object expectedState_;
/**
* string expectedState = 4;
* @return The expectedState.
*/
@java.lang.Override
public java.lang.String getExpectedState() {
java.lang.Object ref = expectedState_;
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();
expectedState_ = s;
return s;
}
}
/**
* string expectedState = 4;
* @return The bytes for expectedState.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExpectedStateBytes() {
java.lang.Object ref = expectedState_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
expectedState_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 5;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 5;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 5;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 5;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expectedState_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, expectedState_);
}
if (baseParams_ != null) {
output.writeMessage(5, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expectedState_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, expectedState_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getBaseParams());
}
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.RhWinActionsMessages.WinToggleCheckBox)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getExpectedState()
.equals(other.getExpectedState())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + EXPECTEDSTATE_FIELD_NUMBER;
hash = (53 * hash) + getExpectedState().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox 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.RhWinActionsMessages.WinToggleCheckBox parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox 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.RhWinActionsMessages.WinToggleCheckBox parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox 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.RhWinActionsMessages.WinToggleCheckBox 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.RhWinActionsMessages.WinToggleCheckBox 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.RhWinActionsMessages.WinToggleCheckBox 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.RhWinActionsMessages.WinToggleCheckBox 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.RhWinActionsMessages.WinToggleCheckBox 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.RhWinActionsMessages.WinToggleCheckBox 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.RhWinActionsMessages.WinToggleCheckBox 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 WinToggleCheckBox}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinToggleCheckBox)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBoxOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinToggleCheckBox_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinToggleCheckBox_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
expectedState_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinToggleCheckBox_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.expectedState_ = expectedState_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinToggleCheckBox) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getExpectedState().isEmpty()) {
expectedState_ = other.expectedState_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinToggleCheckBox parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private java.lang.Object expectedState_ = "";
/**
* string expectedState = 4;
* @return The expectedState.
*/
public java.lang.String getExpectedState() {
java.lang.Object ref = expectedState_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
expectedState_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string expectedState = 4;
* @return The bytes for expectedState.
*/
public com.google.protobuf.ByteString
getExpectedStateBytes() {
java.lang.Object ref = expectedState_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
expectedState_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string expectedState = 4;
* @param value The expectedState to set.
* @return This builder for chaining.
*/
public Builder setExpectedState(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
expectedState_ = value;
onChanged();
return this;
}
/**
* string expectedState = 4;
* @return This builder for chaining.
*/
public Builder clearExpectedState() {
expectedState_ = getDefaultInstance().getExpectedState();
onChanged();
return this;
}
/**
* string expectedState = 4;
* @param value The bytes for expectedState to set.
* @return This builder for chaining.
*/
public Builder setExpectedStateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
expectedState_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 5;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 5;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 5;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 5;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinToggleCheckBox)
}
// @@protoc_insertion_point(class_scope:WinToggleCheckBox)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinToggleCheckBox getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinToggleCheckBox parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinToggleCheckBox(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.RhWinActionsMessages.WinToggleCheckBox getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinCheckElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinCheckElement)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 4;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
/**
* bool saveElement = 5;
* @return The saveElement.
*/
boolean getSaveElement();
}
/**
* Protobuf type {@code WinCheckElement}
*/
public static final class WinCheckElement extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinCheckElement)
WinCheckElementOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinCheckElement.newBuilder() to construct.
private WinCheckElement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinCheckElement() {
locators_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinCheckElement();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinCheckElement(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = subBuilder.buildPartial();
}
break;
}
case 40: {
saveElement_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinCheckElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinCheckElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int BASEPARAMS_FIELD_NUMBER = 4;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 4;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
public static final int SAVEELEMENT_FIELD_NUMBER = 5;
private boolean saveElement_;
/**
* bool saveElement = 5;
* @return The saveElement.
*/
@java.lang.Override
public boolean getSaveElement() {
return saveElement_;
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (baseParams_ != null) {
output.writeMessage(4, getBaseParams());
}
if (saveElement_ != false) {
output.writeBool(5, saveElement_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getBaseParams());
}
if (saveElement_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, saveElement_);
}
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.RhWinActionsMessages.WinCheckElement)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) return false;
}
if (getSaveElement()
!= other.getSaveElement()) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (37 * hash) + SAVEELEMENT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSaveElement());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement 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.RhWinActionsMessages.WinCheckElement parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement 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.RhWinActionsMessages.WinCheckElement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement 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.RhWinActionsMessages.WinCheckElement 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.RhWinActionsMessages.WinCheckElement 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.RhWinActionsMessages.WinCheckElement 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.RhWinActionsMessages.WinCheckElement 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.RhWinActionsMessages.WinCheckElement 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.RhWinActionsMessages.WinCheckElement 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.RhWinActionsMessages.WinCheckElement 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 WinCheckElement}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinCheckElement)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinCheckElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinCheckElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
saveElement_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinCheckElement_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.build();
}
result.saveElement_ = saveElement_;
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.RhWinActionsMessages.WinCheckElement) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
if (other.getSaveElement() != false) {
setSaveElement(other.getSaveElement());
}
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.RhWinActionsMessages.WinCheckElement parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
private boolean saveElement_ ;
/**
* bool saveElement = 5;
* @return The saveElement.
*/
@java.lang.Override
public boolean getSaveElement() {
return saveElement_;
}
/**
* bool saveElement = 5;
* @param value The saveElement to set.
* @return This builder for chaining.
*/
public Builder setSaveElement(boolean value) {
saveElement_ = value;
onChanged();
return this;
}
/**
* bool saveElement = 5;
* @return This builder for chaining.
*/
public Builder clearSaveElement() {
saveElement_ = 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:WinCheckElement)
}
// @@protoc_insertion_point(class_scope:WinCheckElement)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinCheckElement getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinCheckElement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinCheckElement(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.RhWinActionsMessages.WinCheckElement getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinGetWindowOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinGetWindow)
com.google.protobuf.MessageOrBuilder {
/**
* string windowName = 4;
* @return The windowName.
*/
java.lang.String getWindowName();
/**
* string windowName = 4;
* @return The bytes for windowName.
*/
com.google.protobuf.ByteString
getWindowNameBytes();
/**
* string accessibilityId = 5;
* @return The accessibilityId.
*/
java.lang.String getAccessibilityId();
/**
* string accessibilityId = 5;
* @return The bytes for accessibilityId.
*/
com.google.protobuf.ByteString
getAccessibilityIdBytes();
/**
* .BaseWinParams baseParams = 6;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 6;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 6;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinGetWindow}
*/
public static final class WinGetWindow extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinGetWindow)
WinGetWindowOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinGetWindow.newBuilder() to construct.
private WinGetWindow(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinGetWindow() {
windowName_ = "";
accessibilityId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinGetWindow();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinGetWindow(
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 34: {
java.lang.String s = input.readStringRequireUtf8();
windowName_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
accessibilityId_ = s;
break;
}
case 50: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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.RhWinActionsMessages.internal_static_WinGetWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow.Builder.class);
}
public static final int WINDOWNAME_FIELD_NUMBER = 4;
private volatile java.lang.Object windowName_;
/**
* string windowName = 4;
* @return The windowName.
*/
@java.lang.Override
public java.lang.String getWindowName() {
java.lang.Object ref = windowName_;
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();
windowName_ = s;
return s;
}
}
/**
* string windowName = 4;
* @return The bytes for windowName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWindowNameBytes() {
java.lang.Object ref = windowName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
windowName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCESSIBILITYID_FIELD_NUMBER = 5;
private volatile java.lang.Object accessibilityId_;
/**
* string accessibilityId = 5;
* @return The accessibilityId.
*/
@java.lang.Override
public java.lang.String getAccessibilityId() {
java.lang.Object ref = accessibilityId_;
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();
accessibilityId_ = s;
return s;
}
}
/**
* string accessibilityId = 5;
* @return The bytes for accessibilityId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccessibilityIdBytes() {
java.lang.Object ref = accessibilityId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessibilityId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 6;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 6;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 6;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 6;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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(windowName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, windowName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessibilityId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, accessibilityId_);
}
if (baseParams_ != null) {
output.writeMessage(6, getBaseParams());
}
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(windowName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, windowName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessibilityId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, accessibilityId_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getBaseParams());
}
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.RhWinActionsMessages.WinGetWindow)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow) obj;
if (!getWindowName()
.equals(other.getWindowName())) return false;
if (!getAccessibilityId()
.equals(other.getAccessibilityId())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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) + WINDOWNAME_FIELD_NUMBER;
hash = (53 * hash) + getWindowName().hashCode();
hash = (37 * hash) + ACCESSIBILITYID_FIELD_NUMBER;
hash = (53 * hash) + getAccessibilityId().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow 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.RhWinActionsMessages.WinGetWindow parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow 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.RhWinActionsMessages.WinGetWindow parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow 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.RhWinActionsMessages.WinGetWindow 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.RhWinActionsMessages.WinGetWindow 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.RhWinActionsMessages.WinGetWindow 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.RhWinActionsMessages.WinGetWindow 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.RhWinActionsMessages.WinGetWindow 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.RhWinActionsMessages.WinGetWindow 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.RhWinActionsMessages.WinGetWindow 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 WinGetWindow}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinGetWindow)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindowOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetWindow_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetWindow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow.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();
windowName_ = "";
accessibilityId_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetWindow_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow(this);
result.windowName_ = windowName_;
result.accessibilityId_ = accessibilityId_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinGetWindow) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow.getDefaultInstance()) return this;
if (!other.getWindowName().isEmpty()) {
windowName_ = other.windowName_;
onChanged();
}
if (!other.getAccessibilityId().isEmpty()) {
accessibilityId_ = other.accessibilityId_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinGetWindow parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object windowName_ = "";
/**
* string windowName = 4;
* @return The windowName.
*/
public java.lang.String getWindowName() {
java.lang.Object ref = windowName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
windowName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string windowName = 4;
* @return The bytes for windowName.
*/
public com.google.protobuf.ByteString
getWindowNameBytes() {
java.lang.Object ref = windowName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
windowName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string windowName = 4;
* @param value The windowName to set.
* @return This builder for chaining.
*/
public Builder setWindowName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
windowName_ = value;
onChanged();
return this;
}
/**
* string windowName = 4;
* @return This builder for chaining.
*/
public Builder clearWindowName() {
windowName_ = getDefaultInstance().getWindowName();
onChanged();
return this;
}
/**
* string windowName = 4;
* @param value The bytes for windowName to set.
* @return This builder for chaining.
*/
public Builder setWindowNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
windowName_ = value;
onChanged();
return this;
}
private java.lang.Object accessibilityId_ = "";
/**
* string accessibilityId = 5;
* @return The accessibilityId.
*/
public java.lang.String getAccessibilityId() {
java.lang.Object ref = accessibilityId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accessibilityId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string accessibilityId = 5;
* @return The bytes for accessibilityId.
*/
public com.google.protobuf.ByteString
getAccessibilityIdBytes() {
java.lang.Object ref = accessibilityId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessibilityId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string accessibilityId = 5;
* @param value The accessibilityId to set.
* @return This builder for chaining.
*/
public Builder setAccessibilityId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accessibilityId_ = value;
onChanged();
return this;
}
/**
* string accessibilityId = 5;
* @return This builder for chaining.
*/
public Builder clearAccessibilityId() {
accessibilityId_ = getDefaultInstance().getAccessibilityId();
onChanged();
return this;
}
/**
* string accessibilityId = 5;
* @param value The bytes for accessibilityId to set.
* @return This builder for chaining.
*/
public Builder setAccessibilityIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accessibilityId_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 6;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 6;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinGetWindow)
}
// @@protoc_insertion_point(class_scope:WinGetWindow)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetWindow getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinGetWindow parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinGetWindow(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.RhWinActionsMessages.WinGetWindow getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinSearchElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinSearchElement)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 4;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
/**
* bool multipleElements = 5;
* @return The multipleElements.
*/
boolean getMultipleElements();
}
/**
* Protobuf type {@code WinSearchElement}
*/
public static final class WinSearchElement extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinSearchElement)
WinSearchElementOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinSearchElement.newBuilder() to construct.
private WinSearchElement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinSearchElement() {
locators_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinSearchElement();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinSearchElement(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = subBuilder.buildPartial();
}
break;
}
case 40: {
multipleElements_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSearchElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSearchElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int BASEPARAMS_FIELD_NUMBER = 4;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 4;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
public static final int MULTIPLEELEMENTS_FIELD_NUMBER = 5;
private boolean multipleElements_;
/**
* bool multipleElements = 5;
* @return The multipleElements.
*/
@java.lang.Override
public boolean getMultipleElements() {
return multipleElements_;
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (baseParams_ != null) {
output.writeMessage(4, getBaseParams());
}
if (multipleElements_ != false) {
output.writeBool(5, multipleElements_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getBaseParams());
}
if (multipleElements_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, multipleElements_);
}
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.RhWinActionsMessages.WinSearchElement)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) return false;
}
if (getMultipleElements()
!= other.getMultipleElements()) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (37 * hash) + MULTIPLEELEMENTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getMultipleElements());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement 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.RhWinActionsMessages.WinSearchElement parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement 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.RhWinActionsMessages.WinSearchElement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement 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.RhWinActionsMessages.WinSearchElement 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.RhWinActionsMessages.WinSearchElement 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.RhWinActionsMessages.WinSearchElement 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.RhWinActionsMessages.WinSearchElement 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.RhWinActionsMessages.WinSearchElement 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.RhWinActionsMessages.WinSearchElement 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.RhWinActionsMessages.WinSearchElement 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 WinSearchElement}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinSearchElement)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSearchElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSearchElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
multipleElements_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinSearchElement_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.build();
}
result.multipleElements_ = multipleElements_;
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.RhWinActionsMessages.WinSearchElement) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
if (other.getMultipleElements() != false) {
setMultipleElements(other.getMultipleElements());
}
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.RhWinActionsMessages.WinSearchElement parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
private boolean multipleElements_ ;
/**
* bool multipleElements = 5;
* @return The multipleElements.
*/
@java.lang.Override
public boolean getMultipleElements() {
return multipleElements_;
}
/**
* bool multipleElements = 5;
* @param value The multipleElements to set.
* @return This builder for chaining.
*/
public Builder setMultipleElements(boolean value) {
multipleElements_ = value;
onChanged();
return this;
}
/**
* bool multipleElements = 5;
* @return This builder for chaining.
*/
public Builder clearMultipleElements() {
multipleElements_ = 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:WinSearchElement)
}
// @@protoc_insertion_point(class_scope:WinSearchElement)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinSearchElement getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinSearchElement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinSearchElement(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.RhWinActionsMessages.WinSearchElement getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinWaitForAttributeOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinWaitForAttribute)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string attributeName = 4;
* @return The attributeName.
*/
java.lang.String getAttributeName();
/**
* string attributeName = 4;
* @return The bytes for attributeName.
*/
com.google.protobuf.ByteString
getAttributeNameBytes();
/**
* string expectedValue = 5;
* @return The expectedValue.
*/
java.lang.String getExpectedValue();
/**
* string expectedValue = 5;
* @return The bytes for expectedValue.
*/
com.google.protobuf.ByteString
getExpectedValueBytes();
/**
* string maxTimeout = 6;
* @return The maxTimeout.
*/
java.lang.String getMaxTimeout();
/**
* string maxTimeout = 6;
* @return The bytes for maxTimeout.
*/
com.google.protobuf.ByteString
getMaxTimeoutBytes();
/**
* string checkInterval = 7;
* @return The checkInterval.
*/
java.lang.String getCheckInterval();
/**
* string checkInterval = 7;
* @return The bytes for checkInterval.
*/
com.google.protobuf.ByteString
getCheckIntervalBytes();
/**
* .BaseWinParams baseParams = 9;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 9;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 9;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinWaitForAttribute}
*/
public static final class WinWaitForAttribute extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinWaitForAttribute)
WinWaitForAttributeOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinWaitForAttribute.newBuilder() to construct.
private WinWaitForAttribute(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinWaitForAttribute() {
locators_ = java.util.Collections.emptyList();
attributeName_ = "";
expectedValue_ = "";
maxTimeout_ = "";
checkInterval_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinWaitForAttribute();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinWaitForAttribute(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
attributeName_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
expectedValue_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
maxTimeout_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
checkInterval_ = s;
break;
}
case 74: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForAttribute_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForAttribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int ATTRIBUTENAME_FIELD_NUMBER = 4;
private volatile java.lang.Object attributeName_;
/**
* string attributeName = 4;
* @return The attributeName.
*/
@java.lang.Override
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
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();
attributeName_ = s;
return s;
}
}
/**
* string attributeName = 4;
* @return The bytes for attributeName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXPECTEDVALUE_FIELD_NUMBER = 5;
private volatile java.lang.Object expectedValue_;
/**
* string expectedValue = 5;
* @return The expectedValue.
*/
@java.lang.Override
public java.lang.String getExpectedValue() {
java.lang.Object ref = expectedValue_;
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();
expectedValue_ = s;
return s;
}
}
/**
* string expectedValue = 5;
* @return The bytes for expectedValue.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExpectedValueBytes() {
java.lang.Object ref = expectedValue_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
expectedValue_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MAXTIMEOUT_FIELD_NUMBER = 6;
private volatile java.lang.Object maxTimeout_;
/**
* string maxTimeout = 6;
* @return The maxTimeout.
*/
@java.lang.Override
public java.lang.String getMaxTimeout() {
java.lang.Object ref = maxTimeout_;
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();
maxTimeout_ = s;
return s;
}
}
/**
* string maxTimeout = 6;
* @return The bytes for maxTimeout.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMaxTimeoutBytes() {
java.lang.Object ref = maxTimeout_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maxTimeout_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CHECKINTERVAL_FIELD_NUMBER = 7;
private volatile java.lang.Object checkInterval_;
/**
* string checkInterval = 7;
* @return The checkInterval.
*/
@java.lang.Override
public java.lang.String getCheckInterval() {
java.lang.Object ref = checkInterval_;
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();
checkInterval_ = s;
return s;
}
}
/**
* string checkInterval = 7;
* @return The bytes for checkInterval.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCheckIntervalBytes() {
java.lang.Object ref = checkInterval_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
checkInterval_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 9;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 9;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 9;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 9;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, attributeName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expectedValue_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, expectedValue_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maxTimeout_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, maxTimeout_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkInterval_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, checkInterval_);
}
if (baseParams_ != null) {
output.writeMessage(9, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attributeName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, attributeName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expectedValue_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, expectedValue_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maxTimeout_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, maxTimeout_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkInterval_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, checkInterval_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getBaseParams());
}
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.RhWinActionsMessages.WinWaitForAttribute)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getAttributeName()
.equals(other.getAttributeName())) return false;
if (!getExpectedValue()
.equals(other.getExpectedValue())) return false;
if (!getMaxTimeout()
.equals(other.getMaxTimeout())) return false;
if (!getCheckInterval()
.equals(other.getCheckInterval())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + ATTRIBUTENAME_FIELD_NUMBER;
hash = (53 * hash) + getAttributeName().hashCode();
hash = (37 * hash) + EXPECTEDVALUE_FIELD_NUMBER;
hash = (53 * hash) + getExpectedValue().hashCode();
hash = (37 * hash) + MAXTIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getMaxTimeout().hashCode();
hash = (37 * hash) + CHECKINTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getCheckInterval().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute 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.RhWinActionsMessages.WinWaitForAttribute parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute 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.RhWinActionsMessages.WinWaitForAttribute parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute 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.RhWinActionsMessages.WinWaitForAttribute 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.RhWinActionsMessages.WinWaitForAttribute 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.RhWinActionsMessages.WinWaitForAttribute 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.RhWinActionsMessages.WinWaitForAttribute 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.RhWinActionsMessages.WinWaitForAttribute 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.RhWinActionsMessages.WinWaitForAttribute 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.RhWinActionsMessages.WinWaitForAttribute 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 WinWaitForAttribute}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinWaitForAttribute)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttributeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForAttribute_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForAttribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
attributeName_ = "";
expectedValue_ = "";
maxTimeout_ = "";
checkInterval_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForAttribute_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.attributeName_ = attributeName_;
result.expectedValue_ = expectedValue_;
result.maxTimeout_ = maxTimeout_;
result.checkInterval_ = checkInterval_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinWaitForAttribute) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getAttributeName().isEmpty()) {
attributeName_ = other.attributeName_;
onChanged();
}
if (!other.getExpectedValue().isEmpty()) {
expectedValue_ = other.expectedValue_;
onChanged();
}
if (!other.getMaxTimeout().isEmpty()) {
maxTimeout_ = other.maxTimeout_;
onChanged();
}
if (!other.getCheckInterval().isEmpty()) {
checkInterval_ = other.checkInterval_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinWaitForAttribute parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private java.lang.Object attributeName_ = "";
/**
* string attributeName = 4;
* @return The attributeName.
*/
public java.lang.String getAttributeName() {
java.lang.Object ref = attributeName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
attributeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string attributeName = 4;
* @return The bytes for attributeName.
*/
public com.google.protobuf.ByteString
getAttributeNameBytes() {
java.lang.Object ref = attributeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attributeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string attributeName = 4;
* @param value The attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
attributeName_ = value;
onChanged();
return this;
}
/**
* string attributeName = 4;
* @return This builder for chaining.
*/
public Builder clearAttributeName() {
attributeName_ = getDefaultInstance().getAttributeName();
onChanged();
return this;
}
/**
* string attributeName = 4;
* @param value The bytes for attributeName to set.
* @return This builder for chaining.
*/
public Builder setAttributeNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
attributeName_ = value;
onChanged();
return this;
}
private java.lang.Object expectedValue_ = "";
/**
* string expectedValue = 5;
* @return The expectedValue.
*/
public java.lang.String getExpectedValue() {
java.lang.Object ref = expectedValue_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
expectedValue_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string expectedValue = 5;
* @return The bytes for expectedValue.
*/
public com.google.protobuf.ByteString
getExpectedValueBytes() {
java.lang.Object ref = expectedValue_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
expectedValue_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string expectedValue = 5;
* @param value The expectedValue to set.
* @return This builder for chaining.
*/
public Builder setExpectedValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
expectedValue_ = value;
onChanged();
return this;
}
/**
* string expectedValue = 5;
* @return This builder for chaining.
*/
public Builder clearExpectedValue() {
expectedValue_ = getDefaultInstance().getExpectedValue();
onChanged();
return this;
}
/**
* string expectedValue = 5;
* @param value The bytes for expectedValue to set.
* @return This builder for chaining.
*/
public Builder setExpectedValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
expectedValue_ = value;
onChanged();
return this;
}
private java.lang.Object maxTimeout_ = "";
/**
* string maxTimeout = 6;
* @return The maxTimeout.
*/
public java.lang.String getMaxTimeout() {
java.lang.Object ref = maxTimeout_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
maxTimeout_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string maxTimeout = 6;
* @return The bytes for maxTimeout.
*/
public com.google.protobuf.ByteString
getMaxTimeoutBytes() {
java.lang.Object ref = maxTimeout_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maxTimeout_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string maxTimeout = 6;
* @param value The maxTimeout to set.
* @return This builder for chaining.
*/
public Builder setMaxTimeout(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
maxTimeout_ = value;
onChanged();
return this;
}
/**
* string maxTimeout = 6;
* @return This builder for chaining.
*/
public Builder clearMaxTimeout() {
maxTimeout_ = getDefaultInstance().getMaxTimeout();
onChanged();
return this;
}
/**
* string maxTimeout = 6;
* @param value The bytes for maxTimeout to set.
* @return This builder for chaining.
*/
public Builder setMaxTimeoutBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
maxTimeout_ = value;
onChanged();
return this;
}
private java.lang.Object checkInterval_ = "";
/**
* string checkInterval = 7;
* @return The checkInterval.
*/
public java.lang.String getCheckInterval() {
java.lang.Object ref = checkInterval_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
checkInterval_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string checkInterval = 7;
* @return The bytes for checkInterval.
*/
public com.google.protobuf.ByteString
getCheckIntervalBytes() {
java.lang.Object ref = checkInterval_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
checkInterval_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string checkInterval = 7;
* @param value The checkInterval to set.
* @return This builder for chaining.
*/
public Builder setCheckInterval(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
checkInterval_ = value;
onChanged();
return this;
}
/**
* string checkInterval = 7;
* @return This builder for chaining.
*/
public Builder clearCheckInterval() {
checkInterval_ = getDefaultInstance().getCheckInterval();
onChanged();
return this;
}
/**
* string checkInterval = 7;
* @param value The bytes for checkInterval to set.
* @return This builder for chaining.
*/
public Builder setCheckIntervalBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
checkInterval_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 9;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 9;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 9;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 9;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 9;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 9;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 9;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 9;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinWaitForAttribute)
}
// @@protoc_insertion_point(class_scope:WinWaitForAttribute)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForAttribute getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinWaitForAttribute parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinWaitForAttribute(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.RhWinActionsMessages.WinWaitForAttribute getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinScrollUsingTextOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinScrollUsingText)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string textToSend = 4;
* @return The textToSend.
*/
java.lang.String getTextToSend();
/**
* string textToSend = 4;
* @return The bytes for textToSend.
*/
com.google.protobuf.ByteString
getTextToSendBytes();
/**
* string maxIterations = 5;
* @return The maxIterations.
*/
java.lang.String getMaxIterations();
/**
* string maxIterations = 5;
* @return The bytes for maxIterations.
*/
com.google.protobuf.ByteString
getMaxIterationsBytes();
/**
* repeated .WinLocator textLocators = 6;
*/
java.util.List
getTextLocatorsList();
/**
* repeated .WinLocator textLocators = 6;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getTextLocators(int index);
/**
* repeated .WinLocator textLocators = 6;
*/
int getTextLocatorsCount();
/**
* repeated .WinLocator textLocators = 6;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getTextLocatorsOrBuilderList();
/**
* repeated .WinLocator textLocators = 6;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getTextLocatorsOrBuilder(
int index);
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 7;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinScrollUsingText}
*/
public static final class WinScrollUsingText extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinScrollUsingText)
WinScrollUsingTextOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinScrollUsingText.newBuilder() to construct.
private WinScrollUsingText(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinScrollUsingText() {
locators_ = java.util.Collections.emptyList();
textToSend_ = "";
maxIterations_ = "";
textLocators_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinScrollUsingText();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinScrollUsingText(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
textToSend_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
maxIterations_ = s;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
textLocators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
textLocators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 58: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
textLocators_ = java.util.Collections.unmodifiableList(textLocators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinScrollUsingText_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinScrollUsingText_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int TEXTTOSEND_FIELD_NUMBER = 4;
private volatile java.lang.Object textToSend_;
/**
* string textToSend = 4;
* @return The textToSend.
*/
@java.lang.Override
public java.lang.String getTextToSend() {
java.lang.Object ref = textToSend_;
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();
textToSend_ = s;
return s;
}
}
/**
* string textToSend = 4;
* @return The bytes for textToSend.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextToSendBytes() {
java.lang.Object ref = textToSend_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
textToSend_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MAXITERATIONS_FIELD_NUMBER = 5;
private volatile java.lang.Object maxIterations_;
/**
* string maxIterations = 5;
* @return The maxIterations.
*/
@java.lang.Override
public java.lang.String getMaxIterations() {
java.lang.Object ref = maxIterations_;
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();
maxIterations_ = s;
return s;
}
}
/**
* string maxIterations = 5;
* @return The bytes for maxIterations.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMaxIterationsBytes() {
java.lang.Object ref = maxIterations_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maxIterations_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEXTLOCATORS_FIELD_NUMBER = 6;
private java.util.List textLocators_;
/**
* repeated .WinLocator textLocators = 6;
*/
@java.lang.Override
public java.util.List getTextLocatorsList() {
return textLocators_;
}
/**
* repeated .WinLocator textLocators = 6;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getTextLocatorsOrBuilderList() {
return textLocators_;
}
/**
* repeated .WinLocator textLocators = 6;
*/
@java.lang.Override
public int getTextLocatorsCount() {
return textLocators_.size();
}
/**
* repeated .WinLocator textLocators = 6;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getTextLocators(int index) {
return textLocators_.get(index);
}
/**
* repeated .WinLocator textLocators = 6;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getTextLocatorsOrBuilder(
int index) {
return textLocators_.get(index);
}
public static final int BASEPARAMS_FIELD_NUMBER = 7;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 7;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(textToSend_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, textToSend_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maxIterations_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, maxIterations_);
}
for (int i = 0; i < textLocators_.size(); i++) {
output.writeMessage(6, textLocators_.get(i));
}
if (baseParams_ != null) {
output.writeMessage(7, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(textToSend_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, textToSend_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(maxIterations_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, maxIterations_);
}
for (int i = 0; i < textLocators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, textLocators_.get(i));
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getBaseParams());
}
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.RhWinActionsMessages.WinScrollUsingText)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getTextToSend()
.equals(other.getTextToSend())) return false;
if (!getMaxIterations()
.equals(other.getMaxIterations())) return false;
if (!getTextLocatorsList()
.equals(other.getTextLocatorsList())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + TEXTTOSEND_FIELD_NUMBER;
hash = (53 * hash) + getTextToSend().hashCode();
hash = (37 * hash) + MAXITERATIONS_FIELD_NUMBER;
hash = (53 * hash) + getMaxIterations().hashCode();
if (getTextLocatorsCount() > 0) {
hash = (37 * hash) + TEXTLOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getTextLocatorsList().hashCode();
}
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText 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.RhWinActionsMessages.WinScrollUsingText parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText 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.RhWinActionsMessages.WinScrollUsingText parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText 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.RhWinActionsMessages.WinScrollUsingText 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.RhWinActionsMessages.WinScrollUsingText 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.RhWinActionsMessages.WinScrollUsingText 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.RhWinActionsMessages.WinScrollUsingText 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.RhWinActionsMessages.WinScrollUsingText 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.RhWinActionsMessages.WinScrollUsingText 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.RhWinActionsMessages.WinScrollUsingText 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 WinScrollUsingText}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinScrollUsingText)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingTextOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinScrollUsingText_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinScrollUsingText_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
getTextLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
textToSend_ = "";
maxIterations_ = "";
if (textLocatorsBuilder_ == null) {
textLocators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
textLocatorsBuilder_.clear();
}
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinScrollUsingText_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.textToSend_ = textToSend_;
result.maxIterations_ = maxIterations_;
if (textLocatorsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
textLocators_ = java.util.Collections.unmodifiableList(textLocators_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.textLocators_ = textLocators_;
} else {
result.textLocators_ = textLocatorsBuilder_.build();
}
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinScrollUsingText) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getTextToSend().isEmpty()) {
textToSend_ = other.textToSend_;
onChanged();
}
if (!other.getMaxIterations().isEmpty()) {
maxIterations_ = other.maxIterations_;
onChanged();
}
if (textLocatorsBuilder_ == null) {
if (!other.textLocators_.isEmpty()) {
if (textLocators_.isEmpty()) {
textLocators_ = other.textLocators_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTextLocatorsIsMutable();
textLocators_.addAll(other.textLocators_);
}
onChanged();
}
} else {
if (!other.textLocators_.isEmpty()) {
if (textLocatorsBuilder_.isEmpty()) {
textLocatorsBuilder_.dispose();
textLocatorsBuilder_ = null;
textLocators_ = other.textLocators_;
bitField0_ = (bitField0_ & ~0x00000002);
textLocatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTextLocatorsFieldBuilder() : null;
} else {
textLocatorsBuilder_.addAllMessages(other.textLocators_);
}
}
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinScrollUsingText parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private java.lang.Object textToSend_ = "";
/**
* string textToSend = 4;
* @return The textToSend.
*/
public java.lang.String getTextToSend() {
java.lang.Object ref = textToSend_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
textToSend_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string textToSend = 4;
* @return The bytes for textToSend.
*/
public com.google.protobuf.ByteString
getTextToSendBytes() {
java.lang.Object ref = textToSend_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
textToSend_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string textToSend = 4;
* @param value The textToSend to set.
* @return This builder for chaining.
*/
public Builder setTextToSend(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
textToSend_ = value;
onChanged();
return this;
}
/**
* string textToSend = 4;
* @return This builder for chaining.
*/
public Builder clearTextToSend() {
textToSend_ = getDefaultInstance().getTextToSend();
onChanged();
return this;
}
/**
* string textToSend = 4;
* @param value The bytes for textToSend to set.
* @return This builder for chaining.
*/
public Builder setTextToSendBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
textToSend_ = value;
onChanged();
return this;
}
private java.lang.Object maxIterations_ = "";
/**
* string maxIterations = 5;
* @return The maxIterations.
*/
public java.lang.String getMaxIterations() {
java.lang.Object ref = maxIterations_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
maxIterations_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string maxIterations = 5;
* @return The bytes for maxIterations.
*/
public com.google.protobuf.ByteString
getMaxIterationsBytes() {
java.lang.Object ref = maxIterations_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maxIterations_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string maxIterations = 5;
* @param value The maxIterations to set.
* @return This builder for chaining.
*/
public Builder setMaxIterations(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
maxIterations_ = value;
onChanged();
return this;
}
/**
* string maxIterations = 5;
* @return This builder for chaining.
*/
public Builder clearMaxIterations() {
maxIterations_ = getDefaultInstance().getMaxIterations();
onChanged();
return this;
}
/**
* string maxIterations = 5;
* @param value The bytes for maxIterations to set.
* @return This builder for chaining.
*/
public Builder setMaxIterationsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
maxIterations_ = value;
onChanged();
return this;
}
private java.util.List textLocators_ =
java.util.Collections.emptyList();
private void ensureTextLocatorsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
textLocators_ = new java.util.ArrayList(textLocators_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> textLocatorsBuilder_;
/**
* repeated .WinLocator textLocators = 6;
*/
public java.util.List getTextLocatorsList() {
if (textLocatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(textLocators_);
} else {
return textLocatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator textLocators = 6;
*/
public int getTextLocatorsCount() {
if (textLocatorsBuilder_ == null) {
return textLocators_.size();
} else {
return textLocatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator textLocators = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getTextLocators(int index) {
if (textLocatorsBuilder_ == null) {
return textLocators_.get(index);
} else {
return textLocatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator textLocators = 6;
*/
public Builder setTextLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (textLocatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTextLocatorsIsMutable();
textLocators_.set(index, value);
onChanged();
} else {
textLocatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator textLocators = 6;
*/
public Builder setTextLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (textLocatorsBuilder_ == null) {
ensureTextLocatorsIsMutable();
textLocators_.set(index, builderForValue.build());
onChanged();
} else {
textLocatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator textLocators = 6;
*/
public Builder addTextLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (textLocatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTextLocatorsIsMutable();
textLocators_.add(value);
onChanged();
} else {
textLocatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator textLocators = 6;
*/
public Builder addTextLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (textLocatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTextLocatorsIsMutable();
textLocators_.add(index, value);
onChanged();
} else {
textLocatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator textLocators = 6;
*/
public Builder addTextLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (textLocatorsBuilder_ == null) {
ensureTextLocatorsIsMutable();
textLocators_.add(builderForValue.build());
onChanged();
} else {
textLocatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator textLocators = 6;
*/
public Builder addTextLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (textLocatorsBuilder_ == null) {
ensureTextLocatorsIsMutable();
textLocators_.add(index, builderForValue.build());
onChanged();
} else {
textLocatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator textLocators = 6;
*/
public Builder addAllTextLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (textLocatorsBuilder_ == null) {
ensureTextLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, textLocators_);
onChanged();
} else {
textLocatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator textLocators = 6;
*/
public Builder clearTextLocators() {
if (textLocatorsBuilder_ == null) {
textLocators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
textLocatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator textLocators = 6;
*/
public Builder removeTextLocators(int index) {
if (textLocatorsBuilder_ == null) {
ensureTextLocatorsIsMutable();
textLocators_.remove(index);
onChanged();
} else {
textLocatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator textLocators = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getTextLocatorsBuilder(
int index) {
return getTextLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator textLocators = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getTextLocatorsOrBuilder(
int index) {
if (textLocatorsBuilder_ == null) {
return textLocators_.get(index); } else {
return textLocatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator textLocators = 6;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getTextLocatorsOrBuilderList() {
if (textLocatorsBuilder_ != null) {
return textLocatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(textLocators_);
}
}
/**
* repeated .WinLocator textLocators = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addTextLocatorsBuilder() {
return getTextLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator textLocators = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addTextLocatorsBuilder(
int index) {
return getTextLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator textLocators = 6;
*/
public java.util.List
getTextLocatorsBuilderList() {
return getTextLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getTextLocatorsFieldBuilder() {
if (textLocatorsBuilder_ == null) {
textLocatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
textLocators_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
textLocators_ = null;
}
return textLocatorsBuilder_;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinScrollUsingText)
}
// @@protoc_insertion_point(class_scope:WinScrollUsingText)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinScrollUsingText getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinScrollUsingText parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinScrollUsingText(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.RhWinActionsMessages.WinScrollUsingText getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinGetDataFromClipboardOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinGetDataFromClipboard)
com.google.protobuf.MessageOrBuilder {
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 4;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinGetDataFromClipboard}
*/
public static final class WinGetDataFromClipboard extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinGetDataFromClipboard)
WinGetDataFromClipboardOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinGetDataFromClipboard.newBuilder() to construct.
private WinGetDataFromClipboard(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinGetDataFromClipboard() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinGetDataFromClipboard();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinGetDataFromClipboard(
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 34: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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.RhWinActionsMessages.internal_static_WinGetDataFromClipboard_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetDataFromClipboard_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard.Builder.class);
}
public static final int BASEPARAMS_FIELD_NUMBER = 4;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 4;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 (baseParams_ != null) {
output.writeMessage(4, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getBaseParams());
}
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.RhWinActionsMessages.WinGetDataFromClipboard)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard) obj;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard 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.RhWinActionsMessages.WinGetDataFromClipboard parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard 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.RhWinActionsMessages.WinGetDataFromClipboard parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard 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.RhWinActionsMessages.WinGetDataFromClipboard 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.RhWinActionsMessages.WinGetDataFromClipboard 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.RhWinActionsMessages.WinGetDataFromClipboard 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.RhWinActionsMessages.WinGetDataFromClipboard 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.RhWinActionsMessages.WinGetDataFromClipboard 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.RhWinActionsMessages.WinGetDataFromClipboard 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.RhWinActionsMessages.WinGetDataFromClipboard 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 WinGetDataFromClipboard}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinGetDataFromClipboard)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboardOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetDataFromClipboard_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetDataFromClipboard_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard.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();
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetDataFromClipboard_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard(this);
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinGetDataFromClipboard) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard.getDefaultInstance()) return this;
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinGetDataFromClipboard parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinGetDataFromClipboard)
}
// @@protoc_insertion_point(class_scope:WinGetDataFromClipboard)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetDataFromClipboard getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinGetDataFromClipboard parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinGetDataFromClipboard(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.RhWinActionsMessages.WinGetDataFromClipboard getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
@java.lang.Deprecated public interface WinTableClickOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinTableClick)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string searchParams = 4;
* @return The searchParams.
*/
java.lang.String getSearchParams();
/**
* string searchParams = 4;
* @return The bytes for searchParams.
*/
com.google.protobuf.ByteString
getSearchParamsBytes();
/**
* string targetColumn = 5;
* @return The targetColumn.
*/
java.lang.String getTargetColumn();
/**
* string targetColumn = 5;
* @return The bytes for targetColumn.
*/
com.google.protobuf.ByteString
getTargetColumnBytes();
/**
* string columnIndex = 6;
* @return The columnIndex.
*/
java.lang.String getColumnIndex();
/**
* string columnIndex = 6;
* @return The bytes for columnIndex.
*/
com.google.protobuf.ByteString
getColumnIndexBytes();
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 7;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinTableClick}
*/
@java.lang.Deprecated public static final class WinTableClick extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinTableClick)
WinTableClickOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinTableClick.newBuilder() to construct.
private WinTableClick(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinTableClick() {
locators_ = java.util.Collections.emptyList();
searchParams_ = "";
targetColumn_ = "";
columnIndex_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinTableClick();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinTableClick(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
searchParams_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
targetColumn_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
columnIndex_ = s;
break;
}
case 58: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableClick_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableClick_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int SEARCHPARAMS_FIELD_NUMBER = 4;
private volatile java.lang.Object searchParams_;
/**
* string searchParams = 4;
* @return The searchParams.
*/
@java.lang.Override
public java.lang.String getSearchParams() {
java.lang.Object ref = searchParams_;
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();
searchParams_ = s;
return s;
}
}
/**
* string searchParams = 4;
* @return The bytes for searchParams.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSearchParamsBytes() {
java.lang.Object ref = searchParams_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchParams_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TARGETCOLUMN_FIELD_NUMBER = 5;
private volatile java.lang.Object targetColumn_;
/**
* string targetColumn = 5;
* @return The targetColumn.
*/
@java.lang.Override
public java.lang.String getTargetColumn() {
java.lang.Object ref = targetColumn_;
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();
targetColumn_ = s;
return s;
}
}
/**
* string targetColumn = 5;
* @return The bytes for targetColumn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTargetColumnBytes() {
java.lang.Object ref = targetColumn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
targetColumn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COLUMNINDEX_FIELD_NUMBER = 6;
private volatile java.lang.Object columnIndex_;
/**
* string columnIndex = 6;
* @return The columnIndex.
*/
@java.lang.Override
public java.lang.String getColumnIndex() {
java.lang.Object ref = columnIndex_;
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();
columnIndex_ = s;
return s;
}
}
/**
* string columnIndex = 6;
* @return The bytes for columnIndex.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getColumnIndexBytes() {
java.lang.Object ref = columnIndex_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
columnIndex_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 7;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 7;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchParams_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, searchParams_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetColumn_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, targetColumn_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnIndex_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, columnIndex_);
}
if (baseParams_ != null) {
output.writeMessage(7, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchParams_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchParams_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetColumn_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, targetColumn_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnIndex_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, columnIndex_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getBaseParams());
}
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.RhWinActionsMessages.WinTableClick)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getSearchParams()
.equals(other.getSearchParams())) return false;
if (!getTargetColumn()
.equals(other.getTargetColumn())) return false;
if (!getColumnIndex()
.equals(other.getColumnIndex())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + SEARCHPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getSearchParams().hashCode();
hash = (37 * hash) + TARGETCOLUMN_FIELD_NUMBER;
hash = (53 * hash) + getTargetColumn().hashCode();
hash = (37 * hash) + COLUMNINDEX_FIELD_NUMBER;
hash = (53 * hash) + getColumnIndex().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick 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.RhWinActionsMessages.WinTableClick parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick 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.RhWinActionsMessages.WinTableClick parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick 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.RhWinActionsMessages.WinTableClick 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.RhWinActionsMessages.WinTableClick 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.RhWinActionsMessages.WinTableClick 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.RhWinActionsMessages.WinTableClick 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.RhWinActionsMessages.WinTableClick 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.RhWinActionsMessages.WinTableClick 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.RhWinActionsMessages.WinTableClick 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 WinTableClick}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinTableClick)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClickOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableClick_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableClick_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
searchParams_ = "";
targetColumn_ = "";
columnIndex_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableClick_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.searchParams_ = searchParams_;
result.targetColumn_ = targetColumn_;
result.columnIndex_ = columnIndex_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinTableClick) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getSearchParams().isEmpty()) {
searchParams_ = other.searchParams_;
onChanged();
}
if (!other.getTargetColumn().isEmpty()) {
targetColumn_ = other.targetColumn_;
onChanged();
}
if (!other.getColumnIndex().isEmpty()) {
columnIndex_ = other.columnIndex_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinTableClick parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private java.lang.Object searchParams_ = "";
/**
* string searchParams = 4;
* @return The searchParams.
*/
public java.lang.String getSearchParams() {
java.lang.Object ref = searchParams_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
searchParams_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string searchParams = 4;
* @return The bytes for searchParams.
*/
public com.google.protobuf.ByteString
getSearchParamsBytes() {
java.lang.Object ref = searchParams_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchParams_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string searchParams = 4;
* @param value The searchParams to set.
* @return This builder for chaining.
*/
public Builder setSearchParams(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
searchParams_ = value;
onChanged();
return this;
}
/**
* string searchParams = 4;
* @return This builder for chaining.
*/
public Builder clearSearchParams() {
searchParams_ = getDefaultInstance().getSearchParams();
onChanged();
return this;
}
/**
* string searchParams = 4;
* @param value The bytes for searchParams to set.
* @return This builder for chaining.
*/
public Builder setSearchParamsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
searchParams_ = value;
onChanged();
return this;
}
private java.lang.Object targetColumn_ = "";
/**
* string targetColumn = 5;
* @return The targetColumn.
*/
public java.lang.String getTargetColumn() {
java.lang.Object ref = targetColumn_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
targetColumn_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string targetColumn = 5;
* @return The bytes for targetColumn.
*/
public com.google.protobuf.ByteString
getTargetColumnBytes() {
java.lang.Object ref = targetColumn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
targetColumn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string targetColumn = 5;
* @param value The targetColumn to set.
* @return This builder for chaining.
*/
public Builder setTargetColumn(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
targetColumn_ = value;
onChanged();
return this;
}
/**
* string targetColumn = 5;
* @return This builder for chaining.
*/
public Builder clearTargetColumn() {
targetColumn_ = getDefaultInstance().getTargetColumn();
onChanged();
return this;
}
/**
* string targetColumn = 5;
* @param value The bytes for targetColumn to set.
* @return This builder for chaining.
*/
public Builder setTargetColumnBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
targetColumn_ = value;
onChanged();
return this;
}
private java.lang.Object columnIndex_ = "";
/**
* string columnIndex = 6;
* @return The columnIndex.
*/
public java.lang.String getColumnIndex() {
java.lang.Object ref = columnIndex_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
columnIndex_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string columnIndex = 6;
* @return The bytes for columnIndex.
*/
public com.google.protobuf.ByteString
getColumnIndexBytes() {
java.lang.Object ref = columnIndex_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
columnIndex_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string columnIndex = 6;
* @param value The columnIndex to set.
* @return This builder for chaining.
*/
public Builder setColumnIndex(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
columnIndex_ = value;
onChanged();
return this;
}
/**
* string columnIndex = 6;
* @return This builder for chaining.
*/
public Builder clearColumnIndex() {
columnIndex_ = getDefaultInstance().getColumnIndex();
onChanged();
return this;
}
/**
* string columnIndex = 6;
* @param value The bytes for columnIndex to set.
* @return This builder for chaining.
*/
public Builder setColumnIndexBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
columnIndex_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 7;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 7;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 7;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinTableClick)
}
// @@protoc_insertion_point(class_scope:WinTableClick)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableClick getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinTableClick parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinTableClick(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.RhWinActionsMessages.WinTableClick getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinTableSearchOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinTableSearch)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string searchParams = 4;
* @return The searchParams.
*/
java.lang.String getSearchParams();
/**
* string searchParams = 4;
* @return The bytes for searchParams.
*/
com.google.protobuf.ByteString
getSearchParamsBytes();
/**
* string targetColumn = 5;
* @return The targetColumn.
*/
java.lang.String getTargetColumn();
/**
* string targetColumn = 5;
* @return The bytes for targetColumn.
*/
com.google.protobuf.ByteString
getTargetColumnBytes();
/**
* string columnIndex = 6;
* @return The columnIndex.
*/
java.lang.String getColumnIndex();
/**
* string columnIndex = 6;
* @return The bytes for columnIndex.
*/
com.google.protobuf.ByteString
getColumnIndexBytes();
/**
* string firstRowIndex = 7;
* @return The firstRowIndex.
*/
java.lang.String getFirstRowIndex();
/**
* string firstRowIndex = 7;
* @return The bytes for firstRowIndex.
*/
com.google.protobuf.ByteString
getFirstRowIndexBytes();
/**
* string rowNameFormat = 8;
* @return The rowNameFormat.
*/
java.lang.String getRowNameFormat();
/**
* string rowNameFormat = 8;
* @return The bytes for rowNameFormat.
*/
com.google.protobuf.ByteString
getRowNameFormatBytes();
/**
* string rowElementNameFormat = 9;
* @return The rowElementNameFormat.
*/
java.lang.String getRowElementNameFormat();
/**
* string rowElementNameFormat = 9;
* @return The bytes for rowElementNameFormat.
*/
com.google.protobuf.ByteString
getRowElementNameFormatBytes();
/**
* string rowElementValueFormat = 10;
* @return The rowElementValueFormat.
*/
java.lang.String getRowElementValueFormat();
/**
* string rowElementValueFormat = 10;
* @return The bytes for rowElementValueFormat.
*/
com.google.protobuf.ByteString
getRowElementValueFormatBytes();
/**
* string saveResult = 11;
* @return The saveResult.
*/
java.lang.String getSaveResult();
/**
* string saveResult = 11;
* @return The bytes for saveResult.
*/
com.google.protobuf.ByteString
getSaveResultBytes();
/**
* .BaseWinParams baseParams = 12;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 12;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 12;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinTableSearch}
*/
public static final class WinTableSearch extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinTableSearch)
WinTableSearchOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinTableSearch.newBuilder() to construct.
private WinTableSearch(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinTableSearch() {
locators_ = java.util.Collections.emptyList();
searchParams_ = "";
targetColumn_ = "";
columnIndex_ = "";
firstRowIndex_ = "";
rowNameFormat_ = "";
rowElementNameFormat_ = "";
rowElementValueFormat_ = "";
saveResult_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinTableSearch();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinTableSearch(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
searchParams_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
targetColumn_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
columnIndex_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
firstRowIndex_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
rowNameFormat_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
rowElementNameFormat_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
rowElementValueFormat_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
saveResult_ = s;
break;
}
case 98: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableSearch_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableSearch_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int SEARCHPARAMS_FIELD_NUMBER = 4;
private volatile java.lang.Object searchParams_;
/**
* string searchParams = 4;
* @return The searchParams.
*/
@java.lang.Override
public java.lang.String getSearchParams() {
java.lang.Object ref = searchParams_;
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();
searchParams_ = s;
return s;
}
}
/**
* string searchParams = 4;
* @return The bytes for searchParams.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSearchParamsBytes() {
java.lang.Object ref = searchParams_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchParams_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TARGETCOLUMN_FIELD_NUMBER = 5;
private volatile java.lang.Object targetColumn_;
/**
* string targetColumn = 5;
* @return The targetColumn.
*/
@java.lang.Override
public java.lang.String getTargetColumn() {
java.lang.Object ref = targetColumn_;
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();
targetColumn_ = s;
return s;
}
}
/**
* string targetColumn = 5;
* @return The bytes for targetColumn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTargetColumnBytes() {
java.lang.Object ref = targetColumn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
targetColumn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COLUMNINDEX_FIELD_NUMBER = 6;
private volatile java.lang.Object columnIndex_;
/**
* string columnIndex = 6;
* @return The columnIndex.
*/
@java.lang.Override
public java.lang.String getColumnIndex() {
java.lang.Object ref = columnIndex_;
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();
columnIndex_ = s;
return s;
}
}
/**
* string columnIndex = 6;
* @return The bytes for columnIndex.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getColumnIndexBytes() {
java.lang.Object ref = columnIndex_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
columnIndex_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FIRSTROWINDEX_FIELD_NUMBER = 7;
private volatile java.lang.Object firstRowIndex_;
/**
* string firstRowIndex = 7;
* @return The firstRowIndex.
*/
@java.lang.Override
public java.lang.String getFirstRowIndex() {
java.lang.Object ref = firstRowIndex_;
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();
firstRowIndex_ = s;
return s;
}
}
/**
* string firstRowIndex = 7;
* @return The bytes for firstRowIndex.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFirstRowIndexBytes() {
java.lang.Object ref = firstRowIndex_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstRowIndex_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ROWNAMEFORMAT_FIELD_NUMBER = 8;
private volatile java.lang.Object rowNameFormat_;
/**
* string rowNameFormat = 8;
* @return The rowNameFormat.
*/
@java.lang.Override
public java.lang.String getRowNameFormat() {
java.lang.Object ref = rowNameFormat_;
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();
rowNameFormat_ = s;
return s;
}
}
/**
* string rowNameFormat = 8;
* @return The bytes for rowNameFormat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRowNameFormatBytes() {
java.lang.Object ref = rowNameFormat_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rowNameFormat_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ROWELEMENTNAMEFORMAT_FIELD_NUMBER = 9;
private volatile java.lang.Object rowElementNameFormat_;
/**
* string rowElementNameFormat = 9;
* @return The rowElementNameFormat.
*/
@java.lang.Override
public java.lang.String getRowElementNameFormat() {
java.lang.Object ref = rowElementNameFormat_;
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();
rowElementNameFormat_ = s;
return s;
}
}
/**
* string rowElementNameFormat = 9;
* @return The bytes for rowElementNameFormat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRowElementNameFormatBytes() {
java.lang.Object ref = rowElementNameFormat_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rowElementNameFormat_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ROWELEMENTVALUEFORMAT_FIELD_NUMBER = 10;
private volatile java.lang.Object rowElementValueFormat_;
/**
* string rowElementValueFormat = 10;
* @return The rowElementValueFormat.
*/
@java.lang.Override
public java.lang.String getRowElementValueFormat() {
java.lang.Object ref = rowElementValueFormat_;
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();
rowElementValueFormat_ = s;
return s;
}
}
/**
* string rowElementValueFormat = 10;
* @return The bytes for rowElementValueFormat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRowElementValueFormatBytes() {
java.lang.Object ref = rowElementValueFormat_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rowElementValueFormat_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SAVERESULT_FIELD_NUMBER = 11;
private volatile java.lang.Object saveResult_;
/**
* string saveResult = 11;
* @return The saveResult.
*/
@java.lang.Override
public java.lang.String getSaveResult() {
java.lang.Object ref = saveResult_;
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();
saveResult_ = s;
return s;
}
}
/**
* string saveResult = 11;
* @return The bytes for saveResult.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSaveResultBytes() {
java.lang.Object ref = saveResult_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
saveResult_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 12;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 12;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 12;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 12;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchParams_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, searchParams_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetColumn_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, targetColumn_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnIndex_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, columnIndex_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firstRowIndex_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, firstRowIndex_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowNameFormat_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, rowNameFormat_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowElementNameFormat_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, rowElementNameFormat_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowElementValueFormat_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, rowElementValueFormat_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saveResult_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, saveResult_);
}
if (baseParams_ != null) {
output.writeMessage(12, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchParams_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, searchParams_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetColumn_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, targetColumn_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnIndex_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, columnIndex_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firstRowIndex_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, firstRowIndex_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowNameFormat_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, rowNameFormat_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowElementNameFormat_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, rowElementNameFormat_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rowElementValueFormat_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, rowElementValueFormat_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saveResult_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, saveResult_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getBaseParams());
}
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.RhWinActionsMessages.WinTableSearch)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getSearchParams()
.equals(other.getSearchParams())) return false;
if (!getTargetColumn()
.equals(other.getTargetColumn())) return false;
if (!getColumnIndex()
.equals(other.getColumnIndex())) return false;
if (!getFirstRowIndex()
.equals(other.getFirstRowIndex())) return false;
if (!getRowNameFormat()
.equals(other.getRowNameFormat())) return false;
if (!getRowElementNameFormat()
.equals(other.getRowElementNameFormat())) return false;
if (!getRowElementValueFormat()
.equals(other.getRowElementValueFormat())) return false;
if (!getSaveResult()
.equals(other.getSaveResult())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + SEARCHPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getSearchParams().hashCode();
hash = (37 * hash) + TARGETCOLUMN_FIELD_NUMBER;
hash = (53 * hash) + getTargetColumn().hashCode();
hash = (37 * hash) + COLUMNINDEX_FIELD_NUMBER;
hash = (53 * hash) + getColumnIndex().hashCode();
hash = (37 * hash) + FIRSTROWINDEX_FIELD_NUMBER;
hash = (53 * hash) + getFirstRowIndex().hashCode();
hash = (37 * hash) + ROWNAMEFORMAT_FIELD_NUMBER;
hash = (53 * hash) + getRowNameFormat().hashCode();
hash = (37 * hash) + ROWELEMENTNAMEFORMAT_FIELD_NUMBER;
hash = (53 * hash) + getRowElementNameFormat().hashCode();
hash = (37 * hash) + ROWELEMENTVALUEFORMAT_FIELD_NUMBER;
hash = (53 * hash) + getRowElementValueFormat().hashCode();
hash = (37 * hash) + SAVERESULT_FIELD_NUMBER;
hash = (53 * hash) + getSaveResult().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch 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.RhWinActionsMessages.WinTableSearch parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch 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.RhWinActionsMessages.WinTableSearch parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch 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.RhWinActionsMessages.WinTableSearch 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.RhWinActionsMessages.WinTableSearch 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.RhWinActionsMessages.WinTableSearch 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.RhWinActionsMessages.WinTableSearch 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.RhWinActionsMessages.WinTableSearch 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.RhWinActionsMessages.WinTableSearch 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.RhWinActionsMessages.WinTableSearch 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 WinTableSearch}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinTableSearch)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearchOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableSearch_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableSearch_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
searchParams_ = "";
targetColumn_ = "";
columnIndex_ = "";
firstRowIndex_ = "";
rowNameFormat_ = "";
rowElementNameFormat_ = "";
rowElementValueFormat_ = "";
saveResult_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTableSearch_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.searchParams_ = searchParams_;
result.targetColumn_ = targetColumn_;
result.columnIndex_ = columnIndex_;
result.firstRowIndex_ = firstRowIndex_;
result.rowNameFormat_ = rowNameFormat_;
result.rowElementNameFormat_ = rowElementNameFormat_;
result.rowElementValueFormat_ = rowElementValueFormat_;
result.saveResult_ = saveResult_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinTableSearch) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getSearchParams().isEmpty()) {
searchParams_ = other.searchParams_;
onChanged();
}
if (!other.getTargetColumn().isEmpty()) {
targetColumn_ = other.targetColumn_;
onChanged();
}
if (!other.getColumnIndex().isEmpty()) {
columnIndex_ = other.columnIndex_;
onChanged();
}
if (!other.getFirstRowIndex().isEmpty()) {
firstRowIndex_ = other.firstRowIndex_;
onChanged();
}
if (!other.getRowNameFormat().isEmpty()) {
rowNameFormat_ = other.rowNameFormat_;
onChanged();
}
if (!other.getRowElementNameFormat().isEmpty()) {
rowElementNameFormat_ = other.rowElementNameFormat_;
onChanged();
}
if (!other.getRowElementValueFormat().isEmpty()) {
rowElementValueFormat_ = other.rowElementValueFormat_;
onChanged();
}
if (!other.getSaveResult().isEmpty()) {
saveResult_ = other.saveResult_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinTableSearch parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private java.lang.Object searchParams_ = "";
/**
* string searchParams = 4;
* @return The searchParams.
*/
public java.lang.String getSearchParams() {
java.lang.Object ref = searchParams_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
searchParams_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string searchParams = 4;
* @return The bytes for searchParams.
*/
public com.google.protobuf.ByteString
getSearchParamsBytes() {
java.lang.Object ref = searchParams_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
searchParams_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string searchParams = 4;
* @param value The searchParams to set.
* @return This builder for chaining.
*/
public Builder setSearchParams(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
searchParams_ = value;
onChanged();
return this;
}
/**
* string searchParams = 4;
* @return This builder for chaining.
*/
public Builder clearSearchParams() {
searchParams_ = getDefaultInstance().getSearchParams();
onChanged();
return this;
}
/**
* string searchParams = 4;
* @param value The bytes for searchParams to set.
* @return This builder for chaining.
*/
public Builder setSearchParamsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
searchParams_ = value;
onChanged();
return this;
}
private java.lang.Object targetColumn_ = "";
/**
* string targetColumn = 5;
* @return The targetColumn.
*/
public java.lang.String getTargetColumn() {
java.lang.Object ref = targetColumn_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
targetColumn_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string targetColumn = 5;
* @return The bytes for targetColumn.
*/
public com.google.protobuf.ByteString
getTargetColumnBytes() {
java.lang.Object ref = targetColumn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
targetColumn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string targetColumn = 5;
* @param value The targetColumn to set.
* @return This builder for chaining.
*/
public Builder setTargetColumn(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
targetColumn_ = value;
onChanged();
return this;
}
/**
* string targetColumn = 5;
* @return This builder for chaining.
*/
public Builder clearTargetColumn() {
targetColumn_ = getDefaultInstance().getTargetColumn();
onChanged();
return this;
}
/**
* string targetColumn = 5;
* @param value The bytes for targetColumn to set.
* @return This builder for chaining.
*/
public Builder setTargetColumnBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
targetColumn_ = value;
onChanged();
return this;
}
private java.lang.Object columnIndex_ = "";
/**
* string columnIndex = 6;
* @return The columnIndex.
*/
public java.lang.String getColumnIndex() {
java.lang.Object ref = columnIndex_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
columnIndex_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string columnIndex = 6;
* @return The bytes for columnIndex.
*/
public com.google.protobuf.ByteString
getColumnIndexBytes() {
java.lang.Object ref = columnIndex_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
columnIndex_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string columnIndex = 6;
* @param value The columnIndex to set.
* @return This builder for chaining.
*/
public Builder setColumnIndex(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
columnIndex_ = value;
onChanged();
return this;
}
/**
* string columnIndex = 6;
* @return This builder for chaining.
*/
public Builder clearColumnIndex() {
columnIndex_ = getDefaultInstance().getColumnIndex();
onChanged();
return this;
}
/**
* string columnIndex = 6;
* @param value The bytes for columnIndex to set.
* @return This builder for chaining.
*/
public Builder setColumnIndexBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
columnIndex_ = value;
onChanged();
return this;
}
private java.lang.Object firstRowIndex_ = "";
/**
* string firstRowIndex = 7;
* @return The firstRowIndex.
*/
public java.lang.String getFirstRowIndex() {
java.lang.Object ref = firstRowIndex_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
firstRowIndex_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string firstRowIndex = 7;
* @return The bytes for firstRowIndex.
*/
public com.google.protobuf.ByteString
getFirstRowIndexBytes() {
java.lang.Object ref = firstRowIndex_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
firstRowIndex_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string firstRowIndex = 7;
* @param value The firstRowIndex to set.
* @return This builder for chaining.
*/
public Builder setFirstRowIndex(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
firstRowIndex_ = value;
onChanged();
return this;
}
/**
* string firstRowIndex = 7;
* @return This builder for chaining.
*/
public Builder clearFirstRowIndex() {
firstRowIndex_ = getDefaultInstance().getFirstRowIndex();
onChanged();
return this;
}
/**
* string firstRowIndex = 7;
* @param value The bytes for firstRowIndex to set.
* @return This builder for chaining.
*/
public Builder setFirstRowIndexBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
firstRowIndex_ = value;
onChanged();
return this;
}
private java.lang.Object rowNameFormat_ = "";
/**
* string rowNameFormat = 8;
* @return The rowNameFormat.
*/
public java.lang.String getRowNameFormat() {
java.lang.Object ref = rowNameFormat_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
rowNameFormat_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string rowNameFormat = 8;
* @return The bytes for rowNameFormat.
*/
public com.google.protobuf.ByteString
getRowNameFormatBytes() {
java.lang.Object ref = rowNameFormat_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rowNameFormat_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string rowNameFormat = 8;
* @param value The rowNameFormat to set.
* @return This builder for chaining.
*/
public Builder setRowNameFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
rowNameFormat_ = value;
onChanged();
return this;
}
/**
* string rowNameFormat = 8;
* @return This builder for chaining.
*/
public Builder clearRowNameFormat() {
rowNameFormat_ = getDefaultInstance().getRowNameFormat();
onChanged();
return this;
}
/**
* string rowNameFormat = 8;
* @param value The bytes for rowNameFormat to set.
* @return This builder for chaining.
*/
public Builder setRowNameFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
rowNameFormat_ = value;
onChanged();
return this;
}
private java.lang.Object rowElementNameFormat_ = "";
/**
* string rowElementNameFormat = 9;
* @return The rowElementNameFormat.
*/
public java.lang.String getRowElementNameFormat() {
java.lang.Object ref = rowElementNameFormat_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
rowElementNameFormat_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string rowElementNameFormat = 9;
* @return The bytes for rowElementNameFormat.
*/
public com.google.protobuf.ByteString
getRowElementNameFormatBytes() {
java.lang.Object ref = rowElementNameFormat_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rowElementNameFormat_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string rowElementNameFormat = 9;
* @param value The rowElementNameFormat to set.
* @return This builder for chaining.
*/
public Builder setRowElementNameFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
rowElementNameFormat_ = value;
onChanged();
return this;
}
/**
* string rowElementNameFormat = 9;
* @return This builder for chaining.
*/
public Builder clearRowElementNameFormat() {
rowElementNameFormat_ = getDefaultInstance().getRowElementNameFormat();
onChanged();
return this;
}
/**
* string rowElementNameFormat = 9;
* @param value The bytes for rowElementNameFormat to set.
* @return This builder for chaining.
*/
public Builder setRowElementNameFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
rowElementNameFormat_ = value;
onChanged();
return this;
}
private java.lang.Object rowElementValueFormat_ = "";
/**
* string rowElementValueFormat = 10;
* @return The rowElementValueFormat.
*/
public java.lang.String getRowElementValueFormat() {
java.lang.Object ref = rowElementValueFormat_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
rowElementValueFormat_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string rowElementValueFormat = 10;
* @return The bytes for rowElementValueFormat.
*/
public com.google.protobuf.ByteString
getRowElementValueFormatBytes() {
java.lang.Object ref = rowElementValueFormat_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
rowElementValueFormat_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string rowElementValueFormat = 10;
* @param value The rowElementValueFormat to set.
* @return This builder for chaining.
*/
public Builder setRowElementValueFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
rowElementValueFormat_ = value;
onChanged();
return this;
}
/**
* string rowElementValueFormat = 10;
* @return This builder for chaining.
*/
public Builder clearRowElementValueFormat() {
rowElementValueFormat_ = getDefaultInstance().getRowElementValueFormat();
onChanged();
return this;
}
/**
* string rowElementValueFormat = 10;
* @param value The bytes for rowElementValueFormat to set.
* @return This builder for chaining.
*/
public Builder setRowElementValueFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
rowElementValueFormat_ = value;
onChanged();
return this;
}
private java.lang.Object saveResult_ = "";
/**
* string saveResult = 11;
* @return The saveResult.
*/
public java.lang.String getSaveResult() {
java.lang.Object ref = saveResult_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
saveResult_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string saveResult = 11;
* @return The bytes for saveResult.
*/
public com.google.protobuf.ByteString
getSaveResultBytes() {
java.lang.Object ref = saveResult_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
saveResult_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string saveResult = 11;
* @param value The saveResult to set.
* @return This builder for chaining.
*/
public Builder setSaveResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
saveResult_ = value;
onChanged();
return this;
}
/**
* string saveResult = 11;
* @return This builder for chaining.
*/
public Builder clearSaveResult() {
saveResult_ = getDefaultInstance().getSaveResult();
onChanged();
return this;
}
/**
* string saveResult = 11;
* @param value The bytes for saveResult to set.
* @return This builder for chaining.
*/
public Builder setSaveResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
saveResult_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 12;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 12;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 12;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 12;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 12;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 12;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 12;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 12;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinTableSearch)
}
// @@protoc_insertion_point(class_scope:WinTableSearch)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTableSearch getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinTableSearch parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinTableSearch(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.RhWinActionsMessages.WinTableSearch getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinWaitForElementOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinWaitForElement)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string timeout = 4;
* @return The timeout.
*/
java.lang.String getTimeout();
/**
* string timeout = 4;
* @return The bytes for timeout.
*/
com.google.protobuf.ByteString
getTimeoutBytes();
/**
* .BaseWinParams baseParams = 6;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 6;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 6;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinWaitForElement}
*/
public static final class WinWaitForElement extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinWaitForElement)
WinWaitForElementOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinWaitForElement.newBuilder() to construct.
private WinWaitForElement(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinWaitForElement() {
locators_ = java.util.Collections.emptyList();
timeout_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinWaitForElement();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinWaitForElement(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
timeout_ = s;
break;
}
case 50: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int TIMEOUT_FIELD_NUMBER = 4;
private volatile java.lang.Object timeout_;
/**
* string timeout = 4;
* @return The timeout.
*/
@java.lang.Override
public java.lang.String getTimeout() {
java.lang.Object ref = timeout_;
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();
timeout_ = s;
return s;
}
}
/**
* string timeout = 4;
* @return The bytes for timeout.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTimeoutBytes() {
java.lang.Object ref = timeout_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timeout_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 6;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 6;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 6;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 6;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeout_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, timeout_);
}
if (baseParams_ != null) {
output.writeMessage(6, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timeout_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, timeout_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getBaseParams());
}
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.RhWinActionsMessages.WinWaitForElement)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getTimeout()
.equals(other.getTimeout())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getTimeout().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement 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.RhWinActionsMessages.WinWaitForElement parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement 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.RhWinActionsMessages.WinWaitForElement parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement 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.RhWinActionsMessages.WinWaitForElement 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.RhWinActionsMessages.WinWaitForElement 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.RhWinActionsMessages.WinWaitForElement 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.RhWinActionsMessages.WinWaitForElement 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.RhWinActionsMessages.WinWaitForElement 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.RhWinActionsMessages.WinWaitForElement 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.RhWinActionsMessages.WinWaitForElement 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 WinWaitForElement}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinWaitForElement)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElementOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForElement_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForElement_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
timeout_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinWaitForElement_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.timeout_ = timeout_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinWaitForElement) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getTimeout().isEmpty()) {
timeout_ = other.timeout_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinWaitForElement parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private java.lang.Object timeout_ = "";
/**
* string timeout = 4;
* @return The timeout.
*/
public java.lang.String getTimeout() {
java.lang.Object ref = timeout_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
timeout_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string timeout = 4;
* @return The bytes for timeout.
*/
public com.google.protobuf.ByteString
getTimeoutBytes() {
java.lang.Object ref = timeout_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timeout_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string timeout = 4;
* @param value The timeout to set.
* @return This builder for chaining.
*/
public Builder setTimeout(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
timeout_ = value;
onChanged();
return this;
}
/**
* string timeout = 4;
* @return This builder for chaining.
*/
public Builder clearTimeout() {
timeout_ = getDefaultInstance().getTimeout();
onChanged();
return this;
}
/**
* string timeout = 4;
* @param value The bytes for timeout to set.
* @return This builder for chaining.
*/
public Builder setTimeoutBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
timeout_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 6;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 6;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinWaitForElement)
}
// @@protoc_insertion_point(class_scope:WinWaitForElement)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinWaitForElement getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinWaitForElement parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinWaitForElement(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.RhWinActionsMessages.WinWaitForElement getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinGetScreenshotOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinGetScreenshot)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 4;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinGetScreenshot}
*/
public static final class WinGetScreenshot extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinGetScreenshot)
WinGetScreenshotOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinGetScreenshot.newBuilder() to construct.
private WinGetScreenshot(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinGetScreenshot() {
locators_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinGetScreenshot();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinGetScreenshot(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetScreenshot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetScreenshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int BASEPARAMS_FIELD_NUMBER = 4;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 4;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (baseParams_ != null) {
output.writeMessage(4, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getBaseParams());
}
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.RhWinActionsMessages.WinGetScreenshot)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot 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.RhWinActionsMessages.WinGetScreenshot parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot 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.RhWinActionsMessages.WinGetScreenshot parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot 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.RhWinActionsMessages.WinGetScreenshot 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.RhWinActionsMessages.WinGetScreenshot 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.RhWinActionsMessages.WinGetScreenshot 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.RhWinActionsMessages.WinGetScreenshot 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.RhWinActionsMessages.WinGetScreenshot 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.RhWinActionsMessages.WinGetScreenshot 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.RhWinActionsMessages.WinGetScreenshot 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 WinGetScreenshot}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinGetScreenshot)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshotOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetScreenshot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetScreenshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetScreenshot_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinGetScreenshot) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinGetScreenshot parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 4;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 4;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 4;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinGetScreenshot)
}
// @@protoc_insertion_point(class_scope:WinGetScreenshot)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetScreenshot getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinGetScreenshot parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinGetScreenshot(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.RhWinActionsMessages.WinGetScreenshot getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinTakeScreenshotOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinTakeScreenshot)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string name = 2;
* @return The name.
*/
java.lang.String getName();
/**
* string name = 2;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* .BaseWinParams baseParams = 3;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 3;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 3;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinTakeScreenshot}
*/
public static final class WinTakeScreenshot extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinTakeScreenshot)
WinTakeScreenshotOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinTakeScreenshot.newBuilder() to construct.
private WinTakeScreenshot(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinTakeScreenshot() {
locators_ = java.util.Collections.emptyList();
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinTakeScreenshot();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinTakeScreenshot(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 26: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTakeScreenshot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTakeScreenshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
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;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 3;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 3;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 3;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 3;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (baseParams_ != null) {
output.writeMessage(3, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getBaseParams());
}
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.RhWinActionsMessages.WinTakeScreenshot)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getName()
.equals(other.getName())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot 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.RhWinActionsMessages.WinTakeScreenshot parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot 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.RhWinActionsMessages.WinTakeScreenshot parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot 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.RhWinActionsMessages.WinTakeScreenshot 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.RhWinActionsMessages.WinTakeScreenshot 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.RhWinActionsMessages.WinTakeScreenshot 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.RhWinActionsMessages.WinTakeScreenshot 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.RhWinActionsMessages.WinTakeScreenshot 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.RhWinActionsMessages.WinTakeScreenshot 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.RhWinActionsMessages.WinTakeScreenshot 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 WinTakeScreenshot}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinTakeScreenshot)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshotOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTakeScreenshot_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTakeScreenshot_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
name_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinTakeScreenshot_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.name_ = name_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinTakeScreenshot) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinTakeScreenshot parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
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;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 3;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 3;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 3;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 3;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 3;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 3;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 3;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 3;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinTakeScreenshot)
}
// @@protoc_insertion_point(class_scope:WinTakeScreenshot)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinTakeScreenshot getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinTakeScreenshot parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinTakeScreenshot(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.RhWinActionsMessages.WinTakeScreenshot getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinRestartDriverOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinRestartDriver)
com.google.protobuf.MessageOrBuilder {
/**
* .BaseWinParams baseParams = 1;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 1;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinRestartDriver}
*/
public static final class WinRestartDriver extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinRestartDriver)
WinRestartDriverOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinRestartDriver.newBuilder() to construct.
private WinRestartDriver(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinRestartDriver() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinRestartDriver();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinRestartDriver(
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: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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.RhWinActionsMessages.internal_static_WinRestartDriver_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinRestartDriver_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver.Builder.class);
}
public static final int BASEPARAMS_FIELD_NUMBER = 1;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 1;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 1;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 (baseParams_ != null) {
output.writeMessage(1, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getBaseParams());
}
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.RhWinActionsMessages.WinRestartDriver)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver) obj;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver 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.RhWinActionsMessages.WinRestartDriver parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver 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.RhWinActionsMessages.WinRestartDriver parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver 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.RhWinActionsMessages.WinRestartDriver 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.RhWinActionsMessages.WinRestartDriver 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.RhWinActionsMessages.WinRestartDriver 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.RhWinActionsMessages.WinRestartDriver 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.RhWinActionsMessages.WinRestartDriver 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.RhWinActionsMessages.WinRestartDriver 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.RhWinActionsMessages.WinRestartDriver 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 WinRestartDriver}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinRestartDriver)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriverOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinRestartDriver_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinRestartDriver_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver.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();
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinRestartDriver_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver(this);
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinRestartDriver) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver.getDefaultInstance()) return this;
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinRestartDriver parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 1;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 1;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 1;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 1;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 1;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 1;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinRestartDriver)
}
// @@protoc_insertion_point(class_scope:WinRestartDriver)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinRestartDriver getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinRestartDriver parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinRestartDriver(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.RhWinActionsMessages.WinRestartDriver getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinGetElementColorOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinGetElementColor)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator locators = 1;
*/
java.util.List
getLocatorsList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index);
/**
* repeated .WinLocator locators = 1;
*/
int getLocatorsCount();
/**
* repeated .WinLocator locators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList();
/**
* repeated .WinLocator locators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index);
/**
* string xOffset = 4;
* @return The xOffset.
*/
java.lang.String getXOffset();
/**
* string xOffset = 4;
* @return The bytes for xOffset.
*/
com.google.protobuf.ByteString
getXOffsetBytes();
/**
* string yOffset = 5;
* @return The yOffset.
*/
java.lang.String getYOffset();
/**
* string yOffset = 5;
* @return The bytes for yOffset.
*/
com.google.protobuf.ByteString
getYOffsetBytes();
/**
* .BaseWinParams baseParams = 6;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 6;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 6;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinGetElementColor}
*/
public static final class WinGetElementColor extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinGetElementColor)
WinGetElementColorOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinGetElementColor.newBuilder() to construct.
private WinGetElementColor(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinGetElementColor() {
locators_ = java.util.Collections.emptyList();
xOffset_ = "";
yOffset_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinGetElementColor();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinGetElementColor(
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)) {
locators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
locators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
xOffset_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
yOffset_ = s;
break;
}
case 50: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementColor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementColor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor.Builder.class);
}
public static final int LOCATORS_FIELD_NUMBER = 1;
private java.util.List locators_;
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List getLocatorsList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
return locators_;
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public int getLocatorsCount() {
return locators_.size();
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
return locators_.get(index);
}
/**
* repeated .WinLocator locators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
return locators_.get(index);
}
public static final int XOFFSET_FIELD_NUMBER = 4;
private volatile java.lang.Object xOffset_;
/**
* string xOffset = 4;
* @return The xOffset.
*/
@java.lang.Override
public java.lang.String getXOffset() {
java.lang.Object ref = xOffset_;
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();
xOffset_ = s;
return s;
}
}
/**
* string xOffset = 4;
* @return The bytes for xOffset.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getXOffsetBytes() {
java.lang.Object ref = xOffset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
xOffset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int YOFFSET_FIELD_NUMBER = 5;
private volatile java.lang.Object yOffset_;
/**
* string yOffset = 5;
* @return The yOffset.
*/
@java.lang.Override
public java.lang.String getYOffset() {
java.lang.Object ref = yOffset_;
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();
yOffset_ = s;
return s;
}
}
/**
* string yOffset = 5;
* @return The bytes for yOffset.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getYOffsetBytes() {
java.lang.Object ref = yOffset_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
yOffset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 6;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 6;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 6;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 6;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < locators_.size(); i++) {
output.writeMessage(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(xOffset_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, xOffset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yOffset_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, yOffset_);
}
if (baseParams_ != null) {
output.writeMessage(6, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < locators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, locators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(xOffset_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, xOffset_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(yOffset_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, yOffset_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getBaseParams());
}
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.RhWinActionsMessages.WinGetElementColor)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor) obj;
if (!getLocatorsList()
.equals(other.getLocatorsList())) return false;
if (!getXOffset()
.equals(other.getXOffset())) return false;
if (!getYOffset()
.equals(other.getYOffset())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getLocatorsCount() > 0) {
hash = (37 * hash) + LOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getLocatorsList().hashCode();
}
hash = (37 * hash) + XOFFSET_FIELD_NUMBER;
hash = (53 * hash) + getXOffset().hashCode();
hash = (37 * hash) + YOFFSET_FIELD_NUMBER;
hash = (53 * hash) + getYOffset().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor 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.RhWinActionsMessages.WinGetElementColor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor 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.RhWinActionsMessages.WinGetElementColor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor 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.RhWinActionsMessages.WinGetElementColor 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.RhWinActionsMessages.WinGetElementColor 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.RhWinActionsMessages.WinGetElementColor 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.RhWinActionsMessages.WinGetElementColor 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.RhWinActionsMessages.WinGetElementColor 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.RhWinActionsMessages.WinGetElementColor 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.RhWinActionsMessages.WinGetElementColor 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 WinGetElementColor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinGetElementColor)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementColor_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementColor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
locatorsBuilder_.clear();
}
xOffset_ = "";
yOffset_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinGetElementColor_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor(this);
int from_bitField0_ = bitField0_;
if (locatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
locators_ = java.util.Collections.unmodifiableList(locators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.locators_ = locators_;
} else {
result.locators_ = locatorsBuilder_.build();
}
result.xOffset_ = xOffset_;
result.yOffset_ = yOffset_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinGetElementColor) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor.getDefaultInstance()) return this;
if (locatorsBuilder_ == null) {
if (!other.locators_.isEmpty()) {
if (locators_.isEmpty()) {
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLocatorsIsMutable();
locators_.addAll(other.locators_);
}
onChanged();
}
} else {
if (!other.locators_.isEmpty()) {
if (locatorsBuilder_.isEmpty()) {
locatorsBuilder_.dispose();
locatorsBuilder_ = null;
locators_ = other.locators_;
bitField0_ = (bitField0_ & ~0x00000001);
locatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLocatorsFieldBuilder() : null;
} else {
locatorsBuilder_.addAllMessages(other.locators_);
}
}
}
if (!other.getXOffset().isEmpty()) {
xOffset_ = other.xOffset_;
onChanged();
}
if (!other.getYOffset().isEmpty()) {
yOffset_ = other.yOffset_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinGetElementColor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List locators_ =
java.util.Collections.emptyList();
private void ensureLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
locators_ = new java.util.ArrayList(locators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> locatorsBuilder_;
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List getLocatorsList() {
if (locatorsBuilder_ == null) {
return java.util.Collections.unmodifiableList(locators_);
} else {
return locatorsBuilder_.getMessageList();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public int getLocatorsCount() {
if (locatorsBuilder_ == null) {
return locators_.size();
} else {
return locatorsBuilder_.getCount();
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getLocators(int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index);
} else {
return locatorsBuilder_.getMessage(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.set(index, value);
onChanged();
} else {
locatorsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder setLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.set(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(value);
onChanged();
} else {
locatorsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator value) {
if (locatorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLocatorsIsMutable();
locators_.add(index, value);
onChanged();
} else {
locatorsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addLocators(
int index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder builderForValue) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.add(index, builderForValue.build());
onChanged();
} else {
locatorsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder addAllLocators(
java.lang.Iterable extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator> values) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, locators_);
onChanged();
} else {
locatorsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder clearLocators() {
if (locatorsBuilder_ == null) {
locators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
locatorsBuilder_.clear();
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public Builder removeLocators(int index) {
if (locatorsBuilder_ == null) {
ensureLocatorsIsMutable();
locators_.remove(index);
onChanged();
} else {
locatorsBuilder_.remove(index);
}
return this;
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder getLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().getBuilder(index);
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getLocatorsOrBuilder(
int index) {
if (locatorsBuilder_ == null) {
return locators_.get(index); } else {
return locatorsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsOrBuilderList() {
if (locatorsBuilder_ != null) {
return locatorsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(locators_);
}
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder() {
return getLocatorsFieldBuilder().addBuilder(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder addLocatorsBuilder(
int index) {
return getLocatorsFieldBuilder().addBuilder(
index, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.getDefaultInstance());
}
/**
* repeated .WinLocator locators = 1;
*/
public java.util.List
getLocatorsBuilderList() {
return getLocatorsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getLocatorsFieldBuilder() {
if (locatorsBuilder_ == null) {
locatorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>(
locators_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
locators_ = null;
}
return locatorsBuilder_;
}
private java.lang.Object xOffset_ = "";
/**
* string xOffset = 4;
* @return The xOffset.
*/
public java.lang.String getXOffset() {
java.lang.Object ref = xOffset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
xOffset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string xOffset = 4;
* @return The bytes for xOffset.
*/
public com.google.protobuf.ByteString
getXOffsetBytes() {
java.lang.Object ref = xOffset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
xOffset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string xOffset = 4;
* @param value The xOffset to set.
* @return This builder for chaining.
*/
public Builder setXOffset(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
xOffset_ = value;
onChanged();
return this;
}
/**
* string xOffset = 4;
* @return This builder for chaining.
*/
public Builder clearXOffset() {
xOffset_ = getDefaultInstance().getXOffset();
onChanged();
return this;
}
/**
* string xOffset = 4;
* @param value The bytes for xOffset to set.
* @return This builder for chaining.
*/
public Builder setXOffsetBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
xOffset_ = value;
onChanged();
return this;
}
private java.lang.Object yOffset_ = "";
/**
* string yOffset = 5;
* @return The yOffset.
*/
public java.lang.String getYOffset() {
java.lang.Object ref = yOffset_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
yOffset_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string yOffset = 5;
* @return The bytes for yOffset.
*/
public com.google.protobuf.ByteString
getYOffsetBytes() {
java.lang.Object ref = yOffset_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
yOffset_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string yOffset = 5;
* @param value The yOffset to set.
* @return This builder for chaining.
*/
public Builder setYOffset(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
yOffset_ = value;
onChanged();
return this;
}
/**
* string yOffset = 5;
* @return This builder for chaining.
*/
public Builder clearYOffset() {
yOffset_ = getDefaultInstance().getYOffset();
onChanged();
return this;
}
/**
* string yOffset = 5;
* @param value The bytes for yOffset to set.
* @return This builder for chaining.
*/
public Builder setYOffsetBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
yOffset_ = value;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder> baseParamsBuilder_;
/**
* .BaseWinParams baseParams = 6;
* @return Whether the baseParams field is set.
*/
public boolean hasBaseParams() {
return baseParamsBuilder_ != null || baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 6;
* @return The baseParams.
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
if (baseParamsBuilder_ == null) {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
} else {
return baseParamsBuilder_.getMessage();
}
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder setBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
baseParams_ = value;
onChanged();
} else {
baseParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder setBaseParams(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder builderForValue) {
if (baseParamsBuilder_ == null) {
baseParams_ = builderForValue.build();
onChanged();
} else {
baseParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder mergeBaseParams(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams value) {
if (baseParamsBuilder_ == null) {
if (baseParams_ != null) {
baseParams_ =
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.newBuilder(baseParams_).mergeFrom(value).buildPartial();
} else {
baseParams_ = value;
}
onChanged();
} else {
baseParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public Builder clearBaseParams() {
if (baseParamsBuilder_ == null) {
baseParams_ = null;
onChanged();
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
/**
* .BaseWinParams baseParams = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder getBaseParamsBuilder() {
onChanged();
return getBaseParamsFieldBuilder().getBuilder();
}
/**
* .BaseWinParams baseParams = 6;
*/
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
if (baseParamsBuilder_ != null) {
return baseParamsBuilder_.getMessageOrBuilder();
} else {
return baseParams_ == null ?
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
}
/**
* .BaseWinParams baseParams = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>
getBaseParamsFieldBuilder() {
if (baseParamsBuilder_ == null) {
baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder>(
getBaseParams(),
getParentForChildren(),
isClean());
baseParams_ = null;
}
return baseParamsBuilder_;
}
@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:WinGetElementColor)
}
// @@protoc_insertion_point(class_scope:WinGetElementColor)
private static final com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor();
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinGetElementColor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WinGetElementColor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WinGetElementColor(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.RhWinActionsMessages.WinGetElementColor getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WinDragAndDropOrBuilder extends
// @@protoc_insertion_point(interface_extends:WinDragAndDrop)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .WinLocator fromLocators = 1;
*/
java.util.List
getFromLocatorsList();
/**
* repeated .WinLocator fromLocators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getFromLocators(int index);
/**
* repeated .WinLocator fromLocators = 1;
*/
int getFromLocatorsCount();
/**
* repeated .WinLocator fromLocators = 1;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getFromLocatorsOrBuilderList();
/**
* repeated .WinLocator fromLocators = 1;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getFromLocatorsOrBuilder(
int index);
/**
* repeated .WinLocator toLocators = 2;
*/
java.util.List
getToLocatorsList();
/**
* repeated .WinLocator toLocators = 2;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getToLocators(int index);
/**
* repeated .WinLocator toLocators = 2;
*/
int getToLocatorsCount();
/**
* repeated .WinLocator toLocators = 2;
*/
java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getToLocatorsOrBuilderList();
/**
* repeated .WinLocator toLocators = 2;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getToLocatorsOrBuilder(
int index);
/**
* string fromOffsetX = 6;
* @return The fromOffsetX.
*/
java.lang.String getFromOffsetX();
/**
* string fromOffsetX = 6;
* @return The bytes for fromOffsetX.
*/
com.google.protobuf.ByteString
getFromOffsetXBytes();
/**
* string fromOffsetY = 7;
* @return The fromOffsetY.
*/
java.lang.String getFromOffsetY();
/**
* string fromOffsetY = 7;
* @return The bytes for fromOffsetY.
*/
com.google.protobuf.ByteString
getFromOffsetYBytes();
/**
* string toOffsetX = 8;
* @return The toOffsetX.
*/
java.lang.String getToOffsetX();
/**
* string toOffsetX = 8;
* @return The bytes for toOffsetX.
*/
com.google.protobuf.ByteString
getToOffsetXBytes();
/**
* string toOffsetY = 9;
* @return The toOffsetY.
*/
java.lang.String getToOffsetY();
/**
* string toOffsetY = 9;
* @return The bytes for toOffsetY.
*/
com.google.protobuf.ByteString
getToOffsetYBytes();
/**
* .BaseWinParams baseParams = 10;
* @return Whether the baseParams field is set.
*/
boolean hasBaseParams();
/**
* .BaseWinParams baseParams = 10;
* @return The baseParams.
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams();
/**
* .BaseWinParams baseParams = 10;
*/
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder();
}
/**
* Protobuf type {@code WinDragAndDrop}
*/
public static final class WinDragAndDrop extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:WinDragAndDrop)
WinDragAndDropOrBuilder {
private static final long serialVersionUID = 0L;
// Use WinDragAndDrop.newBuilder() to construct.
private WinDragAndDrop(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WinDragAndDrop() {
fromLocators_ = java.util.Collections.emptyList();
toLocators_ = java.util.Collections.emptyList();
fromOffsetX_ = "";
fromOffsetY_ = "";
toOffsetX_ = "";
toOffsetY_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WinDragAndDrop();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WinDragAndDrop(
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)) {
fromLocators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
fromLocators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
toLocators_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
toLocators_.add(
input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.parser(), extensionRegistry));
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
fromOffsetX_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
fromOffsetY_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
toOffsetX_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
toOffsetY_ = s;
break;
}
case 82: {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.Builder subBuilder = null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ = input.readMessage(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = 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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
fromLocators_ = java.util.Collections.unmodifiableList(fromLocators_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
toLocators_ = java.util.Collections.unmodifiableList(toLocators_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinDragAndDrop_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinDragAndDrop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop.Builder.class);
}
public static final int FROMLOCATORS_FIELD_NUMBER = 1;
private java.util.List fromLocators_;
/**
* repeated .WinLocator fromLocators = 1;
*/
@java.lang.Override
public java.util.List getFromLocatorsList() {
return fromLocators_;
}
/**
* repeated .WinLocator fromLocators = 1;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getFromLocatorsOrBuilderList() {
return fromLocators_;
}
/**
* repeated .WinLocator fromLocators = 1;
*/
@java.lang.Override
public int getFromLocatorsCount() {
return fromLocators_.size();
}
/**
* repeated .WinLocator fromLocators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getFromLocators(int index) {
return fromLocators_.get(index);
}
/**
* repeated .WinLocator fromLocators = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getFromLocatorsOrBuilder(
int index) {
return fromLocators_.get(index);
}
public static final int TOLOCATORS_FIELD_NUMBER = 2;
private java.util.List toLocators_;
/**
* repeated .WinLocator toLocators = 2;
*/
@java.lang.Override
public java.util.List getToLocatorsList() {
return toLocators_;
}
/**
* repeated .WinLocator toLocators = 2;
*/
@java.lang.Override
public java.util.List extends com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder>
getToLocatorsOrBuilderList() {
return toLocators_;
}
/**
* repeated .WinLocator toLocators = 2;
*/
@java.lang.Override
public int getToLocatorsCount() {
return toLocators_.size();
}
/**
* repeated .WinLocator toLocators = 2;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator getToLocators(int index) {
return toLocators_.get(index);
}
/**
* repeated .WinLocator toLocators = 2;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder getToLocatorsOrBuilder(
int index) {
return toLocators_.get(index);
}
public static final int FROMOFFSETX_FIELD_NUMBER = 6;
private volatile java.lang.Object fromOffsetX_;
/**
* string fromOffsetX = 6;
* @return The fromOffsetX.
*/
@java.lang.Override
public java.lang.String getFromOffsetX() {
java.lang.Object ref = fromOffsetX_;
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();
fromOffsetX_ = s;
return s;
}
}
/**
* string fromOffsetX = 6;
* @return The bytes for fromOffsetX.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFromOffsetXBytes() {
java.lang.Object ref = fromOffsetX_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fromOffsetX_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FROMOFFSETY_FIELD_NUMBER = 7;
private volatile java.lang.Object fromOffsetY_;
/**
* string fromOffsetY = 7;
* @return The fromOffsetY.
*/
@java.lang.Override
public java.lang.String getFromOffsetY() {
java.lang.Object ref = fromOffsetY_;
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();
fromOffsetY_ = s;
return s;
}
}
/**
* string fromOffsetY = 7;
* @return The bytes for fromOffsetY.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFromOffsetYBytes() {
java.lang.Object ref = fromOffsetY_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fromOffsetY_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TOOFFSETX_FIELD_NUMBER = 8;
private volatile java.lang.Object toOffsetX_;
/**
* string toOffsetX = 8;
* @return The toOffsetX.
*/
@java.lang.Override
public java.lang.String getToOffsetX() {
java.lang.Object ref = toOffsetX_;
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();
toOffsetX_ = s;
return s;
}
}
/**
* string toOffsetX = 8;
* @return The bytes for toOffsetX.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getToOffsetXBytes() {
java.lang.Object ref = toOffsetX_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
toOffsetX_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TOOFFSETY_FIELD_NUMBER = 9;
private volatile java.lang.Object toOffsetY_;
/**
* string toOffsetY = 9;
* @return The toOffsetY.
*/
@java.lang.Override
public java.lang.String getToOffsetY() {
java.lang.Object ref = toOffsetY_;
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();
toOffsetY_ = s;
return s;
}
}
/**
* string toOffsetY = 9;
* @return The bytes for toOffsetY.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getToOffsetYBytes() {
java.lang.Object ref = toOffsetY_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
toOffsetY_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BASEPARAMS_FIELD_NUMBER = 10;
private com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams baseParams_;
/**
* .BaseWinParams baseParams = 10;
* @return Whether the baseParams field is set.
*/
@java.lang.Override
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .BaseWinParams baseParams = 10;
* @return The baseParams.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams getBaseParams() {
return baseParams_ == null ? com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParams.getDefaultInstance() : baseParams_;
}
/**
* .BaseWinParams baseParams = 10;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.BaseWinParamsOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
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 < fromLocators_.size(); i++) {
output.writeMessage(1, fromLocators_.get(i));
}
for (int i = 0; i < toLocators_.size(); i++) {
output.writeMessage(2, toLocators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromOffsetX_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, fromOffsetX_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromOffsetY_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, fromOffsetY_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toOffsetX_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, toOffsetX_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toOffsetY_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, toOffsetY_);
}
if (baseParams_ != null) {
output.writeMessage(10, getBaseParams());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < fromLocators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, fromLocators_.get(i));
}
for (int i = 0; i < toLocators_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, toLocators_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromOffsetX_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, fromOffsetX_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fromOffsetY_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, fromOffsetY_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toOffsetX_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, toOffsetX_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(toOffsetY_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, toOffsetY_);
}
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getBaseParams());
}
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.RhWinActionsMessages.WinDragAndDrop)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop other = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop) obj;
if (!getFromLocatorsList()
.equals(other.getFromLocatorsList())) return false;
if (!getToLocatorsList()
.equals(other.getToLocatorsList())) return false;
if (!getFromOffsetX()
.equals(other.getFromOffsetX())) return false;
if (!getFromOffsetY()
.equals(other.getFromOffsetY())) return false;
if (!getToOffsetX()
.equals(other.getToOffsetX())) return false;
if (!getToOffsetY()
.equals(other.getToOffsetY())) return false;
if (hasBaseParams() != other.hasBaseParams()) return false;
if (hasBaseParams()) {
if (!getBaseParams()
.equals(other.getBaseParams())) 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 (getFromLocatorsCount() > 0) {
hash = (37 * hash) + FROMLOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getFromLocatorsList().hashCode();
}
if (getToLocatorsCount() > 0) {
hash = (37 * hash) + TOLOCATORS_FIELD_NUMBER;
hash = (53 * hash) + getToLocatorsList().hashCode();
}
hash = (37 * hash) + FROMOFFSETX_FIELD_NUMBER;
hash = (53 * hash) + getFromOffsetX().hashCode();
hash = (37 * hash) + FROMOFFSETY_FIELD_NUMBER;
hash = (53 * hash) + getFromOffsetY().hashCode();
hash = (37 * hash) + TOOFFSETX_FIELD_NUMBER;
hash = (53 * hash) + getToOffsetX().hashCode();
hash = (37 * hash) + TOOFFSETY_FIELD_NUMBER;
hash = (53 * hash) + getToOffsetY().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop 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.RhWinActionsMessages.WinDragAndDrop parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop 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.RhWinActionsMessages.WinDragAndDrop parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop 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.RhWinActionsMessages.WinDragAndDrop 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.RhWinActionsMessages.WinDragAndDrop 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.RhWinActionsMessages.WinDragAndDrop 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.RhWinActionsMessages.WinDragAndDrop 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.RhWinActionsMessages.WinDragAndDrop 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.RhWinActionsMessages.WinDragAndDrop 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.RhWinActionsMessages.WinDragAndDrop 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 WinDragAndDrop}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:WinDragAndDrop)
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDropOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinDragAndDrop_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinDragAndDrop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop.class, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFromLocatorsFieldBuilder();
getToLocatorsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (fromLocatorsBuilder_ == null) {
fromLocators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
fromLocatorsBuilder_.clear();
}
if (toLocatorsBuilder_ == null) {
toLocators_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
toLocatorsBuilder_.clear();
}
fromOffsetX_ = "";
fromOffsetY_ = "";
toOffsetX_ = "";
toOffsetY_ = "";
if (baseParamsBuilder_ == null) {
baseParams_ = null;
} else {
baseParams_ = null;
baseParamsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.internal_static_WinDragAndDrop_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop build() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop buildPartial() {
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop result = new com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop(this);
int from_bitField0_ = bitField0_;
if (fromLocatorsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
fromLocators_ = java.util.Collections.unmodifiableList(fromLocators_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.fromLocators_ = fromLocators_;
} else {
result.fromLocators_ = fromLocatorsBuilder_.build();
}
if (toLocatorsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
toLocators_ = java.util.Collections.unmodifiableList(toLocators_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.toLocators_ = toLocators_;
} else {
result.toLocators_ = toLocatorsBuilder_.build();
}
result.fromOffsetX_ = fromOffsetX_;
result.fromOffsetY_ = fromOffsetY_;
result.toOffsetX_ = toOffsetX_;
result.toOffsetY_ = toOffsetY_;
if (baseParamsBuilder_ == null) {
result.baseParams_ = baseParams_;
} else {
result.baseParams_ = baseParamsBuilder_.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.RhWinActionsMessages.WinDragAndDrop) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop other) {
if (other == com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop.getDefaultInstance()) return this;
if (fromLocatorsBuilder_ == null) {
if (!other.fromLocators_.isEmpty()) {
if (fromLocators_.isEmpty()) {
fromLocators_ = other.fromLocators_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFromLocatorsIsMutable();
fromLocators_.addAll(other.fromLocators_);
}
onChanged();
}
} else {
if (!other.fromLocators_.isEmpty()) {
if (fromLocatorsBuilder_.isEmpty()) {
fromLocatorsBuilder_.dispose();
fromLocatorsBuilder_ = null;
fromLocators_ = other.fromLocators_;
bitField0_ = (bitField0_ & ~0x00000001);
fromLocatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFromLocatorsFieldBuilder() : null;
} else {
fromLocatorsBuilder_.addAllMessages(other.fromLocators_);
}
}
}
if (toLocatorsBuilder_ == null) {
if (!other.toLocators_.isEmpty()) {
if (toLocators_.isEmpty()) {
toLocators_ = other.toLocators_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureToLocatorsIsMutable();
toLocators_.addAll(other.toLocators_);
}
onChanged();
}
} else {
if (!other.toLocators_.isEmpty()) {
if (toLocatorsBuilder_.isEmpty()) {
toLocatorsBuilder_.dispose();
toLocatorsBuilder_ = null;
toLocators_ = other.toLocators_;
bitField0_ = (bitField0_ & ~0x00000002);
toLocatorsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getToLocatorsFieldBuilder() : null;
} else {
toLocatorsBuilder_.addAllMessages(other.toLocators_);
}
}
}
if (!other.getFromOffsetX().isEmpty()) {
fromOffsetX_ = other.fromOffsetX_;
onChanged();
}
if (!other.getFromOffsetY().isEmpty()) {
fromOffsetY_ = other.fromOffsetY_;
onChanged();
}
if (!other.getToOffsetX().isEmpty()) {
toOffsetX_ = other.toOffsetX_;
onChanged();
}
if (!other.getToOffsetY().isEmpty()) {
toOffsetY_ = other.toOffsetY_;
onChanged();
}
if (other.hasBaseParams()) {
mergeBaseParams(other.getBaseParams());
}
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.RhWinActionsMessages.WinDragAndDrop parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinDragAndDrop) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List fromLocators_ =
java.util.Collections.emptyList();
private void ensureFromLocatorsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
fromLocators_ = new java.util.ArrayList(fromLocators_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocator.Builder, com.exactpro.th2.act.grpc.hand.rhactions.RhWinActionsMessages.WinLocatorOrBuilder> fromLocatorsBuilder_;
/**
*