com.exactpro.th2.act.grpc.hand.RhActionsBatch Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: th2_grpc_hand/rhbatch.proto
package com.exactpro.th2.act.grpc.hand;
/**
*
* Represents list of RhActions which need to be executed to perform some operation user wants to
*
*
* Protobuf type {@code RhActionsBatch}
*/
public final class RhActionsBatch extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:RhActionsBatch)
RhActionsBatchOrBuilder {
private static final long serialVersionUID = 0L;
// Use RhActionsBatch.newBuilder() to construct.
private RhActionsBatch(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RhActionsBatch() {
eventName_ = "";
executionId_ = "";
messageType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RhActionsBatch();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RhActionsBatch(
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.RhSessionID.Builder subBuilder = null;
if (sessionId_ != null) {
subBuilder = sessionId_.toBuilder();
}
sessionId_ = input.readMessage(com.exactpro.th2.act.grpc.hand.RhSessionID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sessionId_);
sessionId_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.exactpro.th2.common.grpc.EventID.Builder subBuilder = null;
if (parentEventId_ != null) {
subBuilder = parentEventId_.toBuilder();
}
parentEventId_ = input.readMessage(com.exactpro.th2.common.grpc.EventID.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(parentEventId_);
parentEventId_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
eventName_ = s;
break;
}
case 40: {
storeActionMessages_ = input.readBool();
break;
}
case 50: {
com.exactpro.th2.act.grpc.hand.RhActionList.Builder subBuilder = null;
if (rhAction_ != null) {
subBuilder = rhAction_.toBuilder();
}
rhAction_ = input.readMessage(com.exactpro.th2.act.grpc.hand.RhActionList.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(rhAction_);
rhAction_ = subBuilder.buildPartial();
}
break;
}
case 58: {
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.Builder subBuilder = null;
if (additionalEventInfo_ != null) {
subBuilder = additionalEventInfo_.toBuilder();
}
additionalEventInfo_ = input.readMessage(com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(additionalEventInfo_);
additionalEventInfo_ = subBuilder.buildPartial();
}
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
executionId_ = s;
break;
}
case 72: {
int rawValue = input.readEnum();
messageType_ = rawValue;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.RhActionsBatch.class, com.exactpro.th2.act.grpc.hand.RhActionsBatch.Builder.class);
}
public interface AdditionalEventInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:RhActionsBatch.AdditionalEventInfo)
com.google.protobuf.MessageOrBuilder {
/**
* bool printTable = 1;
* @return The printTable.
*/
boolean getPrintTable();
/**
* string requestParamsTableTitle = 2;
* @return The requestParamsTableTitle.
*/
java.lang.String getRequestParamsTableTitle();
/**
* string requestParamsTableTitle = 2;
* @return The bytes for requestParamsTableTitle.
*/
com.google.protobuf.ByteString
getRequestParamsTableTitleBytes();
/**
* repeated string keys = 3;
* @return A list containing the keys.
*/
java.util.List
getKeysList();
/**
* repeated string keys = 3;
* @return The count of keys.
*/
int getKeysCount();
/**
* repeated string keys = 3;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
java.lang.String getKeys(int index);
/**
* repeated string keys = 3;
* @param index The index of the value to return.
* @return The bytes of the keys at the given index.
*/
com.google.protobuf.ByteString
getKeysBytes(int index);
/**
* repeated string values = 4;
* @return A list containing the values.
*/
java.util.List
getValuesList();
/**
* repeated string values = 4;
* @return The count of values.
*/
int getValuesCount();
/**
* repeated string values = 4;
* @param index The index of the element to return.
* @return The values at the given index.
*/
java.lang.String getValues(int index);
/**
* repeated string values = 4;
* @param index The index of the value to return.
* @return The bytes of the values at the given index.
*/
com.google.protobuf.ByteString
getValuesBytes(int index);
/**
* string description = 5;
* @return The description.
*/
java.lang.String getDescription();
/**
* string description = 5;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
}
/**
* Protobuf type {@code RhActionsBatch.AdditionalEventInfo}
*/
public static final class AdditionalEventInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:RhActionsBatch.AdditionalEventInfo)
AdditionalEventInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use AdditionalEventInfo.newBuilder() to construct.
private AdditionalEventInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AdditionalEventInfo() {
requestParamsTableTitle_ = "";
keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
description_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AdditionalEventInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AdditionalEventInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
printTable_ = input.readBool();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
requestParamsTableTitle_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
keys_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
keys_.add(s);
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
values_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
values_.add(s);
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
description_ = 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)) {
keys_ = keys_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
values_ = values_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_AdditionalEventInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_AdditionalEventInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.class, com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.Builder.class);
}
public static final int PRINTTABLE_FIELD_NUMBER = 1;
private boolean printTable_;
/**
* bool printTable = 1;
* @return The printTable.
*/
@java.lang.Override
public boolean getPrintTable() {
return printTable_;
}
public static final int REQUESTPARAMSTABLETITLE_FIELD_NUMBER = 2;
private volatile java.lang.Object requestParamsTableTitle_;
/**
* string requestParamsTableTitle = 2;
* @return The requestParamsTableTitle.
*/
@java.lang.Override
public java.lang.String getRequestParamsTableTitle() {
java.lang.Object ref = requestParamsTableTitle_;
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();
requestParamsTableTitle_ = s;
return s;
}
}
/**
* string requestParamsTableTitle = 2;
* @return The bytes for requestParamsTableTitle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestParamsTableTitleBytes() {
java.lang.Object ref = requestParamsTableTitle_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestParamsTableTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEYS_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList keys_;
/**
* repeated string keys = 3;
* @return A list containing the keys.
*/
public com.google.protobuf.ProtocolStringList
getKeysList() {
return keys_;
}
/**
* repeated string keys = 3;
* @return The count of keys.
*/
public int getKeysCount() {
return keys_.size();
}
/**
* repeated string keys = 3;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
public java.lang.String getKeys(int index) {
return keys_.get(index);
}
/**
* repeated string keys = 3;
* @param index The index of the value to return.
* @return The bytes of the keys at the given index.
*/
public com.google.protobuf.ByteString
getKeysBytes(int index) {
return keys_.getByteString(index);
}
public static final int VALUES_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList values_;
/**
* repeated string values = 4;
* @return A list containing the values.
*/
public com.google.protobuf.ProtocolStringList
getValuesList() {
return values_;
}
/**
* repeated string values = 4;
* @return The count of values.
*/
public int getValuesCount() {
return values_.size();
}
/**
* repeated string values = 4;
* @param index The index of the element to return.
* @return The values at the given index.
*/
public java.lang.String getValues(int index) {
return values_.get(index);
}
/**
* repeated string values = 4;
* @param index The index of the value to return.
* @return The bytes of the values at the given index.
*/
public com.google.protobuf.ByteString
getValuesBytes(int index) {
return values_.getByteString(index);
}
public static final int DESCRIPTION_FIELD_NUMBER = 5;
private volatile java.lang.Object description_;
/**
* string description = 5;
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* string description = 5;
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (printTable_ != false) {
output.writeBool(1, printTable_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestParamsTableTitle_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestParamsTableTitle_);
}
for (int i = 0; i < keys_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, keys_.getRaw(i));
}
for (int i = 0; i < values_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, values_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (printTable_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, printTable_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestParamsTableTitle_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestParamsTableTitle_);
}
{
int dataSize = 0;
for (int i = 0; i < keys_.size(); i++) {
dataSize += computeStringSizeNoTag(keys_.getRaw(i));
}
size += dataSize;
size += 1 * getKeysList().size();
}
{
int dataSize = 0;
for (int i = 0; i < values_.size(); i++) {
dataSize += computeStringSizeNoTag(values_.getRaw(i));
}
size += dataSize;
size += 1 * getValuesList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
}
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.RhActionsBatch.AdditionalEventInfo)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo other = (com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo) obj;
if (getPrintTable()
!= other.getPrintTable()) return false;
if (!getRequestParamsTableTitle()
.equals(other.getRequestParamsTableTitle())) return false;
if (!getKeysList()
.equals(other.getKeysList())) return false;
if (!getValuesList()
.equals(other.getValuesList())) return false;
if (!getDescription()
.equals(other.getDescription())) 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) + PRINTTABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPrintTable());
hash = (37 * hash) + REQUESTPARAMSTABLETITLE_FIELD_NUMBER;
hash = (53 * hash) + getRequestParamsTableTitle().hashCode();
if (getKeysCount() > 0) {
hash = (37 * hash) + KEYS_FIELD_NUMBER;
hash = (53 * hash) + getKeysList().hashCode();
}
if (getValuesCount() > 0) {
hash = (37 * hash) + VALUES_FIELD_NUMBER;
hash = (53 * hash) + getValuesList().hashCode();
}
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo 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.RhActionsBatch.AdditionalEventInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo 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.RhActionsBatch.AdditionalEventInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo 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.RhActionsBatch.AdditionalEventInfo 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.RhActionsBatch.AdditionalEventInfo 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.RhActionsBatch.AdditionalEventInfo 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.RhActionsBatch.AdditionalEventInfo 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.RhActionsBatch.AdditionalEventInfo 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.RhActionsBatch.AdditionalEventInfo 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.RhActionsBatch.AdditionalEventInfo 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 RhActionsBatch.AdditionalEventInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:RhActionsBatch.AdditionalEventInfo)
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_AdditionalEventInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_AdditionalEventInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.class, com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.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();
printTable_ = false;
requestParamsTableTitle_ = "";
keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
description_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_AdditionalEventInfo_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo build() {
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo buildPartial() {
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo result = new com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo(this);
int from_bitField0_ = bitField0_;
result.printTable_ = printTable_;
result.requestParamsTableTitle_ = requestParamsTableTitle_;
if (((bitField0_ & 0x00000001) != 0)) {
keys_ = keys_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.keys_ = keys_;
if (((bitField0_ & 0x00000002) != 0)) {
values_ = values_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.values_ = values_;
result.description_ = description_;
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.RhActionsBatch.AdditionalEventInfo) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo other) {
if (other == com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.getDefaultInstance()) return this;
if (other.getPrintTable() != false) {
setPrintTable(other.getPrintTable());
}
if (!other.getRequestParamsTableTitle().isEmpty()) {
requestParamsTableTitle_ = other.requestParamsTableTitle_;
onChanged();
}
if (!other.keys_.isEmpty()) {
if (keys_.isEmpty()) {
keys_ = other.keys_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureKeysIsMutable();
keys_.addAll(other.keys_);
}
onChanged();
}
if (!other.values_.isEmpty()) {
if (values_.isEmpty()) {
values_ = other.values_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureValuesIsMutable();
values_.addAll(other.values_);
}
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
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.RhActionsBatch.AdditionalEventInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean printTable_ ;
/**
* bool printTable = 1;
* @return The printTable.
*/
@java.lang.Override
public boolean getPrintTable() {
return printTable_;
}
/**
* bool printTable = 1;
* @param value The printTable to set.
* @return This builder for chaining.
*/
public Builder setPrintTable(boolean value) {
printTable_ = value;
onChanged();
return this;
}
/**
* bool printTable = 1;
* @return This builder for chaining.
*/
public Builder clearPrintTable() {
printTable_ = false;
onChanged();
return this;
}
private java.lang.Object requestParamsTableTitle_ = "";
/**
* string requestParamsTableTitle = 2;
* @return The requestParamsTableTitle.
*/
public java.lang.String getRequestParamsTableTitle() {
java.lang.Object ref = requestParamsTableTitle_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
requestParamsTableTitle_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string requestParamsTableTitle = 2;
* @return The bytes for requestParamsTableTitle.
*/
public com.google.protobuf.ByteString
getRequestParamsTableTitleBytes() {
java.lang.Object ref = requestParamsTableTitle_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestParamsTableTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string requestParamsTableTitle = 2;
* @param value The requestParamsTableTitle to set.
* @return This builder for chaining.
*/
public Builder setRequestParamsTableTitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
requestParamsTableTitle_ = value;
onChanged();
return this;
}
/**
* string requestParamsTableTitle = 2;
* @return This builder for chaining.
*/
public Builder clearRequestParamsTableTitle() {
requestParamsTableTitle_ = getDefaultInstance().getRequestParamsTableTitle();
onChanged();
return this;
}
/**
* string requestParamsTableTitle = 2;
* @param value The bytes for requestParamsTableTitle to set.
* @return This builder for chaining.
*/
public Builder setRequestParamsTableTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
requestParamsTableTitle_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureKeysIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
keys_ = new com.google.protobuf.LazyStringArrayList(keys_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string keys = 3;
* @return A list containing the keys.
*/
public com.google.protobuf.ProtocolStringList
getKeysList() {
return keys_.getUnmodifiableView();
}
/**
* repeated string keys = 3;
* @return The count of keys.
*/
public int getKeysCount() {
return keys_.size();
}
/**
* repeated string keys = 3;
* @param index The index of the element to return.
* @return The keys at the given index.
*/
public java.lang.String getKeys(int index) {
return keys_.get(index);
}
/**
* repeated string keys = 3;
* @param index The index of the value to return.
* @return The bytes of the keys at the given index.
*/
public com.google.protobuf.ByteString
getKeysBytes(int index) {
return keys_.getByteString(index);
}
/**
* repeated string keys = 3;
* @param index The index to set the value at.
* @param value The keys to set.
* @return This builder for chaining.
*/
public Builder setKeys(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.set(index, value);
onChanged();
return this;
}
/**
* repeated string keys = 3;
* @param value The keys to add.
* @return This builder for chaining.
*/
public Builder addKeys(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.add(value);
onChanged();
return this;
}
/**
* repeated string keys = 3;
* @param values The keys to add.
* @return This builder for chaining.
*/
public Builder addAllKeys(
java.lang.Iterable values) {
ensureKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keys_);
onChanged();
return this;
}
/**
* repeated string keys = 3;
* @return This builder for chaining.
*/
public Builder clearKeys() {
keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string keys = 3;
* @param value The bytes of the keys to add.
* @return This builder for chaining.
*/
public Builder addKeysBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureKeysIsMutable();
keys_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureValuesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
values_ = new com.google.protobuf.LazyStringArrayList(values_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string values = 4;
* @return A list containing the values.
*/
public com.google.protobuf.ProtocolStringList
getValuesList() {
return values_.getUnmodifiableView();
}
/**
* repeated string values = 4;
* @return The count of values.
*/
public int getValuesCount() {
return values_.size();
}
/**
* repeated string values = 4;
* @param index The index of the element to return.
* @return The values at the given index.
*/
public java.lang.String getValues(int index) {
return values_.get(index);
}
/**
* repeated string values = 4;
* @param index The index of the value to return.
* @return The bytes of the values at the given index.
*/
public com.google.protobuf.ByteString
getValuesBytes(int index) {
return values_.getByteString(index);
}
/**
* repeated string values = 4;
* @param index The index to set the value at.
* @param value The values to set.
* @return This builder for chaining.
*/
public Builder setValues(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureValuesIsMutable();
values_.set(index, value);
onChanged();
return this;
}
/**
* repeated string values = 4;
* @param value The values to add.
* @return This builder for chaining.
*/
public Builder addValues(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureValuesIsMutable();
values_.add(value);
onChanged();
return this;
}
/**
* repeated string values = 4;
* @param values The values to add.
* @return This builder for chaining.
*/
public Builder addAllValues(
java.lang.Iterable values) {
ensureValuesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, values_);
onChanged();
return this;
}
/**
* repeated string values = 4;
* @return This builder for chaining.
*/
public Builder clearValues() {
values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string values = 4;
* @param value The bytes of the values to add.
* @return This builder for chaining.
*/
public Builder addValuesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureValuesIsMutable();
values_.add(value);
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* string description = 5;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string description = 5;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 5;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 5;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 5;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = 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:RhActionsBatch.AdditionalEventInfo)
}
// @@protoc_insertion_point(class_scope:RhActionsBatch.AdditionalEventInfo)
private static final com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo();
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AdditionalEventInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AdditionalEventInfo(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.RhActionsBatch.AdditionalEventInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int SESSIONID_FIELD_NUMBER = 1;
private com.exactpro.th2.act.grpc.hand.RhSessionID sessionId_;
/**
* .RhSessionID sessionId = 1;
* @return Whether the sessionId field is set.
*/
@java.lang.Override
public boolean hasSessionId() {
return sessionId_ != null;
}
/**
* .RhSessionID sessionId = 1;
* @return The sessionId.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhSessionID getSessionId() {
return sessionId_ == null ? com.exactpro.th2.act.grpc.hand.RhSessionID.getDefaultInstance() : sessionId_;
}
/**
* .RhSessionID sessionId = 1;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhSessionIDOrBuilder getSessionIdOrBuilder() {
return getSessionId();
}
public static final int PARENTEVENTID_FIELD_NUMBER = 3;
private com.exactpro.th2.common.grpc.EventID parentEventId_;
/**
* .EventID parentEventId = 3;
* @return Whether the parentEventId field is set.
*/
@java.lang.Override
public boolean hasParentEventId() {
return parentEventId_ != null;
}
/**
* .EventID parentEventId = 3;
* @return The parentEventId.
*/
@java.lang.Override
public com.exactpro.th2.common.grpc.EventID getParentEventId() {
return parentEventId_ == null ? com.exactpro.th2.common.grpc.EventID.getDefaultInstance() : parentEventId_;
}
/**
* .EventID parentEventId = 3;
*/
@java.lang.Override
public com.exactpro.th2.common.grpc.EventIDOrBuilder getParentEventIdOrBuilder() {
return getParentEventId();
}
public static final int EVENTNAME_FIELD_NUMBER = 4;
private volatile java.lang.Object eventName_;
/**
* string eventName = 4;
* @return The eventName.
*/
@java.lang.Override
public java.lang.String getEventName() {
java.lang.Object ref = eventName_;
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();
eventName_ = s;
return s;
}
}
/**
* string eventName = 4;
* @return The bytes for eventName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEventNameBytes() {
java.lang.Object ref = eventName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STOREACTIONMESSAGES_FIELD_NUMBER = 5;
private boolean storeActionMessages_;
/**
* bool storeActionMessages = 5;
* @return The storeActionMessages.
*/
@java.lang.Override
public boolean getStoreActionMessages() {
return storeActionMessages_;
}
public static final int RHACTION_FIELD_NUMBER = 6;
private com.exactpro.th2.act.grpc.hand.RhActionList rhAction_;
/**
* .RhActionList rhAction = 6;
* @return Whether the rhAction field is set.
*/
@java.lang.Override
public boolean hasRhAction() {
return rhAction_ != null;
}
/**
* .RhActionList rhAction = 6;
* @return The rhAction.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionList getRhAction() {
return rhAction_ == null ? com.exactpro.th2.act.grpc.hand.RhActionList.getDefaultInstance() : rhAction_;
}
/**
* .RhActionList rhAction = 6;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionListOrBuilder getRhActionOrBuilder() {
return getRhAction();
}
public static final int ADDITIONALEVENTINFO_FIELD_NUMBER = 7;
private com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo additionalEventInfo_;
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
* @return Whether the additionalEventInfo field is set.
*/
@java.lang.Override
public boolean hasAdditionalEventInfo() {
return additionalEventInfo_ != null;
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
* @return The additionalEventInfo.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo getAdditionalEventInfo() {
return additionalEventInfo_ == null ? com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.getDefaultInstance() : additionalEventInfo_;
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfoOrBuilder getAdditionalEventInfoOrBuilder() {
return getAdditionalEventInfo();
}
public static final int EXECUTION_ID_FIELD_NUMBER = 8;
private volatile java.lang.Object executionId_;
/**
* string execution_id = 8;
* @return The executionId.
*/
@java.lang.Override
public java.lang.String getExecutionId() {
java.lang.Object ref = executionId_;
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();
executionId_ = s;
return s;
}
}
/**
* string execution_id = 8;
* @return The bytes for executionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExecutionIdBytes() {
java.lang.Object ref = executionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
executionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_TYPE_FIELD_NUMBER = 9;
private int messageType_;
/**
* .MessageType message_type = 9;
* @return The enum numeric value on the wire for messageType.
*/
@java.lang.Override public int getMessageTypeValue() {
return messageType_;
}
/**
* .MessageType message_type = 9;
* @return The messageType.
*/
@java.lang.Override public com.exactpro.th2.act.grpc.hand.MessageType getMessageType() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.MessageType result = com.exactpro.th2.act.grpc.hand.MessageType.valueOf(messageType_);
return result == null ? com.exactpro.th2.act.grpc.hand.MessageType.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (sessionId_ != null) {
output.writeMessage(1, getSessionId());
}
if (parentEventId_ != null) {
output.writeMessage(3, getParentEventId());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, eventName_);
}
if (storeActionMessages_ != false) {
output.writeBool(5, storeActionMessages_);
}
if (rhAction_ != null) {
output.writeMessage(6, getRhAction());
}
if (additionalEventInfo_ != null) {
output.writeMessage(7, getAdditionalEventInfo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executionId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, executionId_);
}
if (messageType_ != com.exactpro.th2.act.grpc.hand.MessageType.PLAIN_STRING.getNumber()) {
output.writeEnum(9, messageType_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (sessionId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSessionId());
}
if (parentEventId_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getParentEventId());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, eventName_);
}
if (storeActionMessages_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, storeActionMessages_);
}
if (rhAction_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getRhAction());
}
if (additionalEventInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getAdditionalEventInfo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executionId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, executionId_);
}
if (messageType_ != com.exactpro.th2.act.grpc.hand.MessageType.PLAIN_STRING.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, messageType_);
}
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.RhActionsBatch)) {
return super.equals(obj);
}
com.exactpro.th2.act.grpc.hand.RhActionsBatch other = (com.exactpro.th2.act.grpc.hand.RhActionsBatch) obj;
if (hasSessionId() != other.hasSessionId()) return false;
if (hasSessionId()) {
if (!getSessionId()
.equals(other.getSessionId())) return false;
}
if (hasParentEventId() != other.hasParentEventId()) return false;
if (hasParentEventId()) {
if (!getParentEventId()
.equals(other.getParentEventId())) return false;
}
if (!getEventName()
.equals(other.getEventName())) return false;
if (getStoreActionMessages()
!= other.getStoreActionMessages()) return false;
if (hasRhAction() != other.hasRhAction()) return false;
if (hasRhAction()) {
if (!getRhAction()
.equals(other.getRhAction())) return false;
}
if (hasAdditionalEventInfo() != other.hasAdditionalEventInfo()) return false;
if (hasAdditionalEventInfo()) {
if (!getAdditionalEventInfo()
.equals(other.getAdditionalEventInfo())) return false;
}
if (!getExecutionId()
.equals(other.getExecutionId())) return false;
if (messageType_ != other.messageType_) 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 (hasSessionId()) {
hash = (37 * hash) + SESSIONID_FIELD_NUMBER;
hash = (53 * hash) + getSessionId().hashCode();
}
if (hasParentEventId()) {
hash = (37 * hash) + PARENTEVENTID_FIELD_NUMBER;
hash = (53 * hash) + getParentEventId().hashCode();
}
hash = (37 * hash) + EVENTNAME_FIELD_NUMBER;
hash = (53 * hash) + getEventName().hashCode();
hash = (37 * hash) + STOREACTIONMESSAGES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getStoreActionMessages());
if (hasRhAction()) {
hash = (37 * hash) + RHACTION_FIELD_NUMBER;
hash = (53 * hash) + getRhAction().hashCode();
}
if (hasAdditionalEventInfo()) {
hash = (37 * hash) + ADDITIONALEVENTINFO_FIELD_NUMBER;
hash = (53 * hash) + getAdditionalEventInfo().hashCode();
}
hash = (37 * hash) + EXECUTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getExecutionId().hashCode();
hash = (37 * hash) + MESSAGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + messageType_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch 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.RhActionsBatch parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch 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.RhActionsBatch parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch 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.RhActionsBatch 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.RhActionsBatch 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.RhActionsBatch 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.RhActionsBatch 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.RhActionsBatch 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.RhActionsBatch 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.RhActionsBatch 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;
}
/**
*
* Represents list of RhActions which need to be executed to perform some operation user wants to
*
*
* Protobuf type {@code RhActionsBatch}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:RhActionsBatch)
com.exactpro.th2.act.grpc.hand.RhActionsBatchOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.exactpro.th2.act.grpc.hand.RhActionsBatch.class, com.exactpro.th2.act.grpc.hand.RhActionsBatch.Builder.class);
}
// Construct using com.exactpro.th2.act.grpc.hand.RhActionsBatch.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 (sessionIdBuilder_ == null) {
sessionId_ = null;
} else {
sessionId_ = null;
sessionIdBuilder_ = null;
}
if (parentEventIdBuilder_ == null) {
parentEventId_ = null;
} else {
parentEventId_ = null;
parentEventIdBuilder_ = null;
}
eventName_ = "";
storeActionMessages_ = false;
if (rhActionBuilder_ == null) {
rhAction_ = null;
} else {
rhAction_ = null;
rhActionBuilder_ = null;
}
if (additionalEventInfoBuilder_ == null) {
additionalEventInfo_ = null;
} else {
additionalEventInfo_ = null;
additionalEventInfoBuilder_ = null;
}
executionId_ = "";
messageType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.exactpro.th2.act.grpc.hand.Rhbatch.internal_static_RhActionsBatch_descriptor;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionsBatch getDefaultInstanceForType() {
return com.exactpro.th2.act.grpc.hand.RhActionsBatch.getDefaultInstance();
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionsBatch build() {
com.exactpro.th2.act.grpc.hand.RhActionsBatch result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.RhActionsBatch buildPartial() {
com.exactpro.th2.act.grpc.hand.RhActionsBatch result = new com.exactpro.th2.act.grpc.hand.RhActionsBatch(this);
if (sessionIdBuilder_ == null) {
result.sessionId_ = sessionId_;
} else {
result.sessionId_ = sessionIdBuilder_.build();
}
if (parentEventIdBuilder_ == null) {
result.parentEventId_ = parentEventId_;
} else {
result.parentEventId_ = parentEventIdBuilder_.build();
}
result.eventName_ = eventName_;
result.storeActionMessages_ = storeActionMessages_;
if (rhActionBuilder_ == null) {
result.rhAction_ = rhAction_;
} else {
result.rhAction_ = rhActionBuilder_.build();
}
if (additionalEventInfoBuilder_ == null) {
result.additionalEventInfo_ = additionalEventInfo_;
} else {
result.additionalEventInfo_ = additionalEventInfoBuilder_.build();
}
result.executionId_ = executionId_;
result.messageType_ = messageType_;
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.RhActionsBatch) {
return mergeFrom((com.exactpro.th2.act.grpc.hand.RhActionsBatch)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.exactpro.th2.act.grpc.hand.RhActionsBatch other) {
if (other == com.exactpro.th2.act.grpc.hand.RhActionsBatch.getDefaultInstance()) return this;
if (other.hasSessionId()) {
mergeSessionId(other.getSessionId());
}
if (other.hasParentEventId()) {
mergeParentEventId(other.getParentEventId());
}
if (!other.getEventName().isEmpty()) {
eventName_ = other.eventName_;
onChanged();
}
if (other.getStoreActionMessages() != false) {
setStoreActionMessages(other.getStoreActionMessages());
}
if (other.hasRhAction()) {
mergeRhAction(other.getRhAction());
}
if (other.hasAdditionalEventInfo()) {
mergeAdditionalEventInfo(other.getAdditionalEventInfo());
}
if (!other.getExecutionId().isEmpty()) {
executionId_ = other.executionId_;
onChanged();
}
if (other.messageType_ != 0) {
setMessageTypeValue(other.getMessageTypeValue());
}
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.RhActionsBatch parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.exactpro.th2.act.grpc.hand.RhActionsBatch) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.exactpro.th2.act.grpc.hand.RhSessionID sessionId_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.RhSessionID, com.exactpro.th2.act.grpc.hand.RhSessionID.Builder, com.exactpro.th2.act.grpc.hand.RhSessionIDOrBuilder> sessionIdBuilder_;
/**
* .RhSessionID sessionId = 1;
* @return Whether the sessionId field is set.
*/
public boolean hasSessionId() {
return sessionIdBuilder_ != null || sessionId_ != null;
}
/**
* .RhSessionID sessionId = 1;
* @return The sessionId.
*/
public com.exactpro.th2.act.grpc.hand.RhSessionID getSessionId() {
if (sessionIdBuilder_ == null) {
return sessionId_ == null ? com.exactpro.th2.act.grpc.hand.RhSessionID.getDefaultInstance() : sessionId_;
} else {
return sessionIdBuilder_.getMessage();
}
}
/**
* .RhSessionID sessionId = 1;
*/
public Builder setSessionId(com.exactpro.th2.act.grpc.hand.RhSessionID value) {
if (sessionIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sessionId_ = value;
onChanged();
} else {
sessionIdBuilder_.setMessage(value);
}
return this;
}
/**
* .RhSessionID sessionId = 1;
*/
public Builder setSessionId(
com.exactpro.th2.act.grpc.hand.RhSessionID.Builder builderForValue) {
if (sessionIdBuilder_ == null) {
sessionId_ = builderForValue.build();
onChanged();
} else {
sessionIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .RhSessionID sessionId = 1;
*/
public Builder mergeSessionId(com.exactpro.th2.act.grpc.hand.RhSessionID value) {
if (sessionIdBuilder_ == null) {
if (sessionId_ != null) {
sessionId_ =
com.exactpro.th2.act.grpc.hand.RhSessionID.newBuilder(sessionId_).mergeFrom(value).buildPartial();
} else {
sessionId_ = value;
}
onChanged();
} else {
sessionIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* .RhSessionID sessionId = 1;
*/
public Builder clearSessionId() {
if (sessionIdBuilder_ == null) {
sessionId_ = null;
onChanged();
} else {
sessionId_ = null;
sessionIdBuilder_ = null;
}
return this;
}
/**
* .RhSessionID sessionId = 1;
*/
public com.exactpro.th2.act.grpc.hand.RhSessionID.Builder getSessionIdBuilder() {
onChanged();
return getSessionIdFieldBuilder().getBuilder();
}
/**
* .RhSessionID sessionId = 1;
*/
public com.exactpro.th2.act.grpc.hand.RhSessionIDOrBuilder getSessionIdOrBuilder() {
if (sessionIdBuilder_ != null) {
return sessionIdBuilder_.getMessageOrBuilder();
} else {
return sessionId_ == null ?
com.exactpro.th2.act.grpc.hand.RhSessionID.getDefaultInstance() : sessionId_;
}
}
/**
* .RhSessionID sessionId = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.RhSessionID, com.exactpro.th2.act.grpc.hand.RhSessionID.Builder, com.exactpro.th2.act.grpc.hand.RhSessionIDOrBuilder>
getSessionIdFieldBuilder() {
if (sessionIdBuilder_ == null) {
sessionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.RhSessionID, com.exactpro.th2.act.grpc.hand.RhSessionID.Builder, com.exactpro.th2.act.grpc.hand.RhSessionIDOrBuilder>(
getSessionId(),
getParentForChildren(),
isClean());
sessionId_ = null;
}
return sessionIdBuilder_;
}
private com.exactpro.th2.common.grpc.EventID parentEventId_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.common.grpc.EventID, com.exactpro.th2.common.grpc.EventID.Builder, com.exactpro.th2.common.grpc.EventIDOrBuilder> parentEventIdBuilder_;
/**
* .EventID parentEventId = 3;
* @return Whether the parentEventId field is set.
*/
public boolean hasParentEventId() {
return parentEventIdBuilder_ != null || parentEventId_ != null;
}
/**
* .EventID parentEventId = 3;
* @return The parentEventId.
*/
public com.exactpro.th2.common.grpc.EventID getParentEventId() {
if (parentEventIdBuilder_ == null) {
return parentEventId_ == null ? com.exactpro.th2.common.grpc.EventID.getDefaultInstance() : parentEventId_;
} else {
return parentEventIdBuilder_.getMessage();
}
}
/**
* .EventID parentEventId = 3;
*/
public Builder setParentEventId(com.exactpro.th2.common.grpc.EventID value) {
if (parentEventIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
parentEventId_ = value;
onChanged();
} else {
parentEventIdBuilder_.setMessage(value);
}
return this;
}
/**
* .EventID parentEventId = 3;
*/
public Builder setParentEventId(
com.exactpro.th2.common.grpc.EventID.Builder builderForValue) {
if (parentEventIdBuilder_ == null) {
parentEventId_ = builderForValue.build();
onChanged();
} else {
parentEventIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .EventID parentEventId = 3;
*/
public Builder mergeParentEventId(com.exactpro.th2.common.grpc.EventID value) {
if (parentEventIdBuilder_ == null) {
if (parentEventId_ != null) {
parentEventId_ =
com.exactpro.th2.common.grpc.EventID.newBuilder(parentEventId_).mergeFrom(value).buildPartial();
} else {
parentEventId_ = value;
}
onChanged();
} else {
parentEventIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* .EventID parentEventId = 3;
*/
public Builder clearParentEventId() {
if (parentEventIdBuilder_ == null) {
parentEventId_ = null;
onChanged();
} else {
parentEventId_ = null;
parentEventIdBuilder_ = null;
}
return this;
}
/**
* .EventID parentEventId = 3;
*/
public com.exactpro.th2.common.grpc.EventID.Builder getParentEventIdBuilder() {
onChanged();
return getParentEventIdFieldBuilder().getBuilder();
}
/**
* .EventID parentEventId = 3;
*/
public com.exactpro.th2.common.grpc.EventIDOrBuilder getParentEventIdOrBuilder() {
if (parentEventIdBuilder_ != null) {
return parentEventIdBuilder_.getMessageOrBuilder();
} else {
return parentEventId_ == null ?
com.exactpro.th2.common.grpc.EventID.getDefaultInstance() : parentEventId_;
}
}
/**
* .EventID parentEventId = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.common.grpc.EventID, com.exactpro.th2.common.grpc.EventID.Builder, com.exactpro.th2.common.grpc.EventIDOrBuilder>
getParentEventIdFieldBuilder() {
if (parentEventIdBuilder_ == null) {
parentEventIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.common.grpc.EventID, com.exactpro.th2.common.grpc.EventID.Builder, com.exactpro.th2.common.grpc.EventIDOrBuilder>(
getParentEventId(),
getParentForChildren(),
isClean());
parentEventId_ = null;
}
return parentEventIdBuilder_;
}
private java.lang.Object eventName_ = "";
/**
* string eventName = 4;
* @return The eventName.
*/
public java.lang.String getEventName() {
java.lang.Object ref = eventName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
eventName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string eventName = 4;
* @return The bytes for eventName.
*/
public com.google.protobuf.ByteString
getEventNameBytes() {
java.lang.Object ref = eventName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string eventName = 4;
* @param value The eventName to set.
* @return This builder for chaining.
*/
public Builder setEventName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
eventName_ = value;
onChanged();
return this;
}
/**
* string eventName = 4;
* @return This builder for chaining.
*/
public Builder clearEventName() {
eventName_ = getDefaultInstance().getEventName();
onChanged();
return this;
}
/**
* string eventName = 4;
* @param value The bytes for eventName to set.
* @return This builder for chaining.
*/
public Builder setEventNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
eventName_ = value;
onChanged();
return this;
}
private boolean storeActionMessages_ ;
/**
* bool storeActionMessages = 5;
* @return The storeActionMessages.
*/
@java.lang.Override
public boolean getStoreActionMessages() {
return storeActionMessages_;
}
/**
* bool storeActionMessages = 5;
* @param value The storeActionMessages to set.
* @return This builder for chaining.
*/
public Builder setStoreActionMessages(boolean value) {
storeActionMessages_ = value;
onChanged();
return this;
}
/**
* bool storeActionMessages = 5;
* @return This builder for chaining.
*/
public Builder clearStoreActionMessages() {
storeActionMessages_ = false;
onChanged();
return this;
}
private com.exactpro.th2.act.grpc.hand.RhActionList rhAction_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.RhActionList, com.exactpro.th2.act.grpc.hand.RhActionList.Builder, com.exactpro.th2.act.grpc.hand.RhActionListOrBuilder> rhActionBuilder_;
/**
* .RhActionList rhAction = 6;
* @return Whether the rhAction field is set.
*/
public boolean hasRhAction() {
return rhActionBuilder_ != null || rhAction_ != null;
}
/**
* .RhActionList rhAction = 6;
* @return The rhAction.
*/
public com.exactpro.th2.act.grpc.hand.RhActionList getRhAction() {
if (rhActionBuilder_ == null) {
return rhAction_ == null ? com.exactpro.th2.act.grpc.hand.RhActionList.getDefaultInstance() : rhAction_;
} else {
return rhActionBuilder_.getMessage();
}
}
/**
* .RhActionList rhAction = 6;
*/
public Builder setRhAction(com.exactpro.th2.act.grpc.hand.RhActionList value) {
if (rhActionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
rhAction_ = value;
onChanged();
} else {
rhActionBuilder_.setMessage(value);
}
return this;
}
/**
* .RhActionList rhAction = 6;
*/
public Builder setRhAction(
com.exactpro.th2.act.grpc.hand.RhActionList.Builder builderForValue) {
if (rhActionBuilder_ == null) {
rhAction_ = builderForValue.build();
onChanged();
} else {
rhActionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .RhActionList rhAction = 6;
*/
public Builder mergeRhAction(com.exactpro.th2.act.grpc.hand.RhActionList value) {
if (rhActionBuilder_ == null) {
if (rhAction_ != null) {
rhAction_ =
com.exactpro.th2.act.grpc.hand.RhActionList.newBuilder(rhAction_).mergeFrom(value).buildPartial();
} else {
rhAction_ = value;
}
onChanged();
} else {
rhActionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .RhActionList rhAction = 6;
*/
public Builder clearRhAction() {
if (rhActionBuilder_ == null) {
rhAction_ = null;
onChanged();
} else {
rhAction_ = null;
rhActionBuilder_ = null;
}
return this;
}
/**
* .RhActionList rhAction = 6;
*/
public com.exactpro.th2.act.grpc.hand.RhActionList.Builder getRhActionBuilder() {
onChanged();
return getRhActionFieldBuilder().getBuilder();
}
/**
* .RhActionList rhAction = 6;
*/
public com.exactpro.th2.act.grpc.hand.RhActionListOrBuilder getRhActionOrBuilder() {
if (rhActionBuilder_ != null) {
return rhActionBuilder_.getMessageOrBuilder();
} else {
return rhAction_ == null ?
com.exactpro.th2.act.grpc.hand.RhActionList.getDefaultInstance() : rhAction_;
}
}
/**
* .RhActionList rhAction = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.RhActionList, com.exactpro.th2.act.grpc.hand.RhActionList.Builder, com.exactpro.th2.act.grpc.hand.RhActionListOrBuilder>
getRhActionFieldBuilder() {
if (rhActionBuilder_ == null) {
rhActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.RhActionList, com.exactpro.th2.act.grpc.hand.RhActionList.Builder, com.exactpro.th2.act.grpc.hand.RhActionListOrBuilder>(
getRhAction(),
getParentForChildren(),
isClean());
rhAction_ = null;
}
return rhActionBuilder_;
}
private com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo additionalEventInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo, com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.Builder, com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfoOrBuilder> additionalEventInfoBuilder_;
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
* @return Whether the additionalEventInfo field is set.
*/
public boolean hasAdditionalEventInfo() {
return additionalEventInfoBuilder_ != null || additionalEventInfo_ != null;
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
* @return The additionalEventInfo.
*/
public com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo getAdditionalEventInfo() {
if (additionalEventInfoBuilder_ == null) {
return additionalEventInfo_ == null ? com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.getDefaultInstance() : additionalEventInfo_;
} else {
return additionalEventInfoBuilder_.getMessage();
}
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
*/
public Builder setAdditionalEventInfo(com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo value) {
if (additionalEventInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
additionalEventInfo_ = value;
onChanged();
} else {
additionalEventInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
*/
public Builder setAdditionalEventInfo(
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.Builder builderForValue) {
if (additionalEventInfoBuilder_ == null) {
additionalEventInfo_ = builderForValue.build();
onChanged();
} else {
additionalEventInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
*/
public Builder mergeAdditionalEventInfo(com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo value) {
if (additionalEventInfoBuilder_ == null) {
if (additionalEventInfo_ != null) {
additionalEventInfo_ =
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.newBuilder(additionalEventInfo_).mergeFrom(value).buildPartial();
} else {
additionalEventInfo_ = value;
}
onChanged();
} else {
additionalEventInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
*/
public Builder clearAdditionalEventInfo() {
if (additionalEventInfoBuilder_ == null) {
additionalEventInfo_ = null;
onChanged();
} else {
additionalEventInfo_ = null;
additionalEventInfoBuilder_ = null;
}
return this;
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
*/
public com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.Builder getAdditionalEventInfoBuilder() {
onChanged();
return getAdditionalEventInfoFieldBuilder().getBuilder();
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
*/
public com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfoOrBuilder getAdditionalEventInfoOrBuilder() {
if (additionalEventInfoBuilder_ != null) {
return additionalEventInfoBuilder_.getMessageOrBuilder();
} else {
return additionalEventInfo_ == null ?
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.getDefaultInstance() : additionalEventInfo_;
}
}
/**
* .RhActionsBatch.AdditionalEventInfo additionalEventInfo = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo, com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.Builder, com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfoOrBuilder>
getAdditionalEventInfoFieldBuilder() {
if (additionalEventInfoBuilder_ == null) {
additionalEventInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo, com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfo.Builder, com.exactpro.th2.act.grpc.hand.RhActionsBatch.AdditionalEventInfoOrBuilder>(
getAdditionalEventInfo(),
getParentForChildren(),
isClean());
additionalEventInfo_ = null;
}
return additionalEventInfoBuilder_;
}
private java.lang.Object executionId_ = "";
/**
* string execution_id = 8;
* @return The executionId.
*/
public java.lang.String getExecutionId() {
java.lang.Object ref = executionId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
executionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string execution_id = 8;
* @return The bytes for executionId.
*/
public com.google.protobuf.ByteString
getExecutionIdBytes() {
java.lang.Object ref = executionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
executionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string execution_id = 8;
* @param value The executionId to set.
* @return This builder for chaining.
*/
public Builder setExecutionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
executionId_ = value;
onChanged();
return this;
}
/**
* string execution_id = 8;
* @return This builder for chaining.
*/
public Builder clearExecutionId() {
executionId_ = getDefaultInstance().getExecutionId();
onChanged();
return this;
}
/**
* string execution_id = 8;
* @param value The bytes for executionId to set.
* @return This builder for chaining.
*/
public Builder setExecutionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
executionId_ = value;
onChanged();
return this;
}
private int messageType_ = 0;
/**
* .MessageType message_type = 9;
* @return The enum numeric value on the wire for messageType.
*/
@java.lang.Override public int getMessageTypeValue() {
return messageType_;
}
/**
* .MessageType message_type = 9;
* @param value The enum numeric value on the wire for messageType to set.
* @return This builder for chaining.
*/
public Builder setMessageTypeValue(int value) {
messageType_ = value;
onChanged();
return this;
}
/**
* .MessageType message_type = 9;
* @return The messageType.
*/
@java.lang.Override
public com.exactpro.th2.act.grpc.hand.MessageType getMessageType() {
@SuppressWarnings("deprecation")
com.exactpro.th2.act.grpc.hand.MessageType result = com.exactpro.th2.act.grpc.hand.MessageType.valueOf(messageType_);
return result == null ? com.exactpro.th2.act.grpc.hand.MessageType.UNRECOGNIZED : result;
}
/**
* .MessageType message_type = 9;
* @param value The messageType to set.
* @return This builder for chaining.
*/
public Builder setMessageType(com.exactpro.th2.act.grpc.hand.MessageType value) {
if (value == null) {
throw new NullPointerException();
}
messageType_ = value.getNumber();
onChanged();
return this;
}
/**
* .MessageType message_type = 9;
* @return This builder for chaining.
*/
public Builder clearMessageType() {
messageType_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:RhActionsBatch)
}
// @@protoc_insertion_point(class_scope:RhActionsBatch)
private static final com.exactpro.th2.act.grpc.hand.RhActionsBatch DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.exactpro.th2.act.grpc.hand.RhActionsBatch();
}
public static com.exactpro.th2.act.grpc.hand.RhActionsBatch getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RhActionsBatch parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RhActionsBatch(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.RhActionsBatch getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy