com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: test.proto
package com.dimajix.flowman.kernel.proto.test;
/**
* Protobuf type {@code com.dimajix.flowman.kernel.test.ExecuteTestRequest}
*/
public final class ExecuteTestRequest extends
com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.test.ExecuteTestRequest)
ExecuteTestRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteTestRequest.newBuilder() to construct.
private ExecuteTestRequest(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecuteTestRequest() {
sessionId_ = "";
tests_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExecuteTestRequest();
}
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.test.TestProto.internal_static_com_dimajix_flowman_kernel_test_ExecuteTestRequest_descriptor;
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.test.TestProto.internal_static_com_dimajix_flowman_kernel_test_ExecuteTestRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest.class, com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest.Builder.class);
}
public static final int SESSIONID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object sessionId_ = "";
/**
* string sessionId = 1;
* @return The sessionId.
*/
@java.lang.Override
public java.lang.String getSessionId() {
java.lang.Object ref = sessionId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sessionId_ = s;
return s;
}
}
/**
* string sessionId = 1;
* @return The bytes for sessionId.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getSessionIdBytes() {
java.lang.Object ref = sessionId_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionId_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int TESTS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List tests_;
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
@java.lang.Override
public java.util.List getTestsList() {
return tests_;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
@java.lang.Override
public java.util.List extends com.dimajix.flowman.kernel.proto.TestIdentifierOrBuilder>
getTestsOrBuilderList() {
return tests_;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
@java.lang.Override
public int getTestsCount() {
return tests_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.TestIdentifier getTests(int index) {
return tests_.get(index);
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.TestIdentifierOrBuilder getTestsOrBuilder(
int index) {
return tests_.get(index);
}
public static final int DRYRUN_FIELD_NUMBER = 3;
private boolean dryRun_ = false;
/**
* bool dryRun = 3;
* @return The dryRun.
*/
@java.lang.Override
public boolean getDryRun() {
return dryRun_;
}
public static final int KEEPGOING_FIELD_NUMBER = 4;
private boolean keepGoing_ = false;
/**
* bool keepGoing = 4;
* @return The keepGoing.
*/
@java.lang.Override
public boolean getKeepGoing() {
return keepGoing_;
}
public static final int PARALLELISM_FIELD_NUMBER = 5;
private int parallelism_ = 0;
/**
* int32 parallelism = 5;
* @return The parallelism.
*/
@java.lang.Override
public int getParallelism() {
return parallelism_;
}
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.dimajix.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_);
}
for (int i = 0; i < tests_.size(); i++) {
output.writeMessage(2, tests_.get(i));
}
if (dryRun_ != false) {
output.writeBool(3, dryRun_);
}
if (keepGoing_ != false) {
output.writeBool(4, keepGoing_);
}
if (parallelism_ != 0) {
output.writeInt32(5, parallelism_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_);
}
for (int i = 0; i < tests_.size(); i++) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, tests_.get(i));
}
if (dryRun_ != false) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeBoolSize(3, dryRun_);
}
if (keepGoing_ != false) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeBoolSize(4, keepGoing_);
}
if (parallelism_ != 0) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeInt32Size(5, parallelism_);
}
size += getUnknownFields().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.dimajix.flowman.kernel.proto.test.ExecuteTestRequest)) {
return super.equals(obj);
}
com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest other = (com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest) obj;
if (!getSessionId()
.equals(other.getSessionId())) return false;
if (!getTestsList()
.equals(other.getTestsList())) return false;
if (getDryRun()
!= other.getDryRun()) return false;
if (getKeepGoing()
!= other.getKeepGoing()) return false;
if (getParallelism()
!= other.getParallelism()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + SESSIONID_FIELD_NUMBER;
hash = (53 * hash) + getSessionId().hashCode();
if (getTestsCount() > 0) {
hash = (37 * hash) + TESTS_FIELD_NUMBER;
hash = (53 * hash) + getTestsList().hashCode();
}
hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDryRun());
hash = (37 * hash) + KEEPGOING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getKeepGoing());
hash = (37 * hash) + PARALLELISM_FIELD_NUMBER;
hash = (53 * hash) + getParallelism();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(
java.nio.ByteBuffer data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(
java.nio.ByteBuffer data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(
com.dimajix.shaded.protobuf.ByteString data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(
com.dimajix.shaded.protobuf.ByteString data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(byte[] data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(
byte[] data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseDelimitedFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.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.dimajix.flowman.kernel.proto.test.ExecuteTestRequest 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.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.dimajix.flowman.kernel.test.ExecuteTestRequest}
*/
public static final class Builder extends
com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.test.ExecuteTestRequest)
com.dimajix.flowman.kernel.proto.test.ExecuteTestRequestOrBuilder {
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.test.TestProto.internal_static_com_dimajix_flowman_kernel_test_ExecuteTestRequest_descriptor;
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.test.TestProto.internal_static_com_dimajix_flowman_kernel_test_ExecuteTestRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest.class, com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest.Builder.class);
}
// Construct using com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest.newBuilder()
private Builder() {
}
private Builder(
com.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
sessionId_ = "";
if (testsBuilder_ == null) {
tests_ = java.util.Collections.emptyList();
} else {
tests_ = null;
testsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
dryRun_ = false;
keepGoing_ = false;
parallelism_ = 0;
return this;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dimajix.flowman.kernel.proto.test.TestProto.internal_static_com_dimajix_flowman_kernel_test_ExecuteTestRequest_descriptor;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest getDefaultInstanceForType() {
return com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest.getDefaultInstance();
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest build() {
com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest buildPartial() {
com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest result = new com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest result) {
if (testsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
tests_ = java.util.Collections.unmodifiableList(tests_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.tests_ = tests_;
} else {
result.tests_ = testsBuilder_.build();
}
}
private void buildPartial0(com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.sessionId_ = sessionId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.dryRun_ = dryRun_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.keepGoing_ = keepGoing_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.parallelism_ = parallelism_;
}
}
@java.lang.Override
public Builder mergeFrom(com.dimajix.shaded.protobuf.Message other) {
if (other instanceof com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest) {
return mergeFrom((com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest other) {
if (other == com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest.getDefaultInstance()) return this;
if (!other.getSessionId().isEmpty()) {
sessionId_ = other.sessionId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (testsBuilder_ == null) {
if (!other.tests_.isEmpty()) {
if (tests_.isEmpty()) {
tests_ = other.tests_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTestsIsMutable();
tests_.addAll(other.tests_);
}
onChanged();
}
} else {
if (!other.tests_.isEmpty()) {
if (testsBuilder_.isEmpty()) {
testsBuilder_.dispose();
testsBuilder_ = null;
tests_ = other.tests_;
bitField0_ = (bitField0_ & ~0x00000002);
testsBuilder_ =
com.dimajix.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTestsFieldBuilder() : null;
} else {
testsBuilder_.addAllMessages(other.tests_);
}
}
}
if (other.getDryRun() != false) {
setDryRun(other.getDryRun());
}
if (other.getKeepGoing() != false) {
setKeepGoing(other.getKeepGoing());
}
if (other.getParallelism() != 0) {
setParallelism(other.getParallelism());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
sessionId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
com.dimajix.flowman.kernel.proto.TestIdentifier m =
input.readMessage(
com.dimajix.flowman.kernel.proto.TestIdentifier.parser(),
extensionRegistry);
if (testsBuilder_ == null) {
ensureTestsIsMutable();
tests_.add(m);
} else {
testsBuilder_.addMessage(m);
}
break;
} // case 18
case 24: {
dryRun_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
keepGoing_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
parallelism_ = input.readInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object sessionId_ = "";
/**
* string sessionId = 1;
* @return The sessionId.
*/
public java.lang.String getSessionId() {
java.lang.Object ref = sessionId_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sessionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string sessionId = 1;
* @return The bytes for sessionId.
*/
public com.dimajix.shaded.protobuf.ByteString
getSessionIdBytes() {
java.lang.Object ref = sessionId_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionId_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string sessionId = 1;
* @param value The sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
sessionId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string sessionId = 1;
* @return This builder for chaining.
*/
public Builder clearSessionId() {
sessionId_ = getDefaultInstance().getSessionId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string sessionId = 1;
* @param value The bytes for sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionIdBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
sessionId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List tests_ =
java.util.Collections.emptyList();
private void ensureTestsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
tests_ = new java.util.ArrayList(tests_);
bitField0_ |= 0x00000002;
}
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.TestIdentifier, com.dimajix.flowman.kernel.proto.TestIdentifier.Builder, com.dimajix.flowman.kernel.proto.TestIdentifierOrBuilder> testsBuilder_;
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public java.util.List getTestsList() {
if (testsBuilder_ == null) {
return java.util.Collections.unmodifiableList(tests_);
} else {
return testsBuilder_.getMessageList();
}
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public int getTestsCount() {
if (testsBuilder_ == null) {
return tests_.size();
} else {
return testsBuilder_.getCount();
}
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public com.dimajix.flowman.kernel.proto.TestIdentifier getTests(int index) {
if (testsBuilder_ == null) {
return tests_.get(index);
} else {
return testsBuilder_.getMessage(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public Builder setTests(
int index, com.dimajix.flowman.kernel.proto.TestIdentifier value) {
if (testsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTestsIsMutable();
tests_.set(index, value);
onChanged();
} else {
testsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public Builder setTests(
int index, com.dimajix.flowman.kernel.proto.TestIdentifier.Builder builderForValue) {
if (testsBuilder_ == null) {
ensureTestsIsMutable();
tests_.set(index, builderForValue.build());
onChanged();
} else {
testsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public Builder addTests(com.dimajix.flowman.kernel.proto.TestIdentifier value) {
if (testsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTestsIsMutable();
tests_.add(value);
onChanged();
} else {
testsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public Builder addTests(
int index, com.dimajix.flowman.kernel.proto.TestIdentifier value) {
if (testsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTestsIsMutable();
tests_.add(index, value);
onChanged();
} else {
testsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public Builder addTests(
com.dimajix.flowman.kernel.proto.TestIdentifier.Builder builderForValue) {
if (testsBuilder_ == null) {
ensureTestsIsMutable();
tests_.add(builderForValue.build());
onChanged();
} else {
testsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public Builder addTests(
int index, com.dimajix.flowman.kernel.proto.TestIdentifier.Builder builderForValue) {
if (testsBuilder_ == null) {
ensureTestsIsMutable();
tests_.add(index, builderForValue.build());
onChanged();
} else {
testsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public Builder addAllTests(
java.lang.Iterable extends com.dimajix.flowman.kernel.proto.TestIdentifier> values) {
if (testsBuilder_ == null) {
ensureTestsIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, tests_);
onChanged();
} else {
testsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public Builder clearTests() {
if (testsBuilder_ == null) {
tests_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
testsBuilder_.clear();
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public Builder removeTests(int index) {
if (testsBuilder_ == null) {
ensureTestsIsMutable();
tests_.remove(index);
onChanged();
} else {
testsBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public com.dimajix.flowman.kernel.proto.TestIdentifier.Builder getTestsBuilder(
int index) {
return getTestsFieldBuilder().getBuilder(index);
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public com.dimajix.flowman.kernel.proto.TestIdentifierOrBuilder getTestsOrBuilder(
int index) {
if (testsBuilder_ == null) {
return tests_.get(index); } else {
return testsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public java.util.List extends com.dimajix.flowman.kernel.proto.TestIdentifierOrBuilder>
getTestsOrBuilderList() {
if (testsBuilder_ != null) {
return testsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tests_);
}
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public com.dimajix.flowman.kernel.proto.TestIdentifier.Builder addTestsBuilder() {
return getTestsFieldBuilder().addBuilder(
com.dimajix.flowman.kernel.proto.TestIdentifier.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public com.dimajix.flowman.kernel.proto.TestIdentifier.Builder addTestsBuilder(
int index) {
return getTestsFieldBuilder().addBuilder(
index, com.dimajix.flowman.kernel.proto.TestIdentifier.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.TestIdentifier tests = 2;
*/
public java.util.List
getTestsBuilderList() {
return getTestsFieldBuilder().getBuilderList();
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.TestIdentifier, com.dimajix.flowman.kernel.proto.TestIdentifier.Builder, com.dimajix.flowman.kernel.proto.TestIdentifierOrBuilder>
getTestsFieldBuilder() {
if (testsBuilder_ == null) {
testsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.TestIdentifier, com.dimajix.flowman.kernel.proto.TestIdentifier.Builder, com.dimajix.flowman.kernel.proto.TestIdentifierOrBuilder>(
tests_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
tests_ = null;
}
return testsBuilder_;
}
private boolean dryRun_ ;
/**
* bool dryRun = 3;
* @return The dryRun.
*/
@java.lang.Override
public boolean getDryRun() {
return dryRun_;
}
/**
* bool dryRun = 3;
* @param value The dryRun to set.
* @return This builder for chaining.
*/
public Builder setDryRun(boolean value) {
dryRun_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* bool dryRun = 3;
* @return This builder for chaining.
*/
public Builder clearDryRun() {
bitField0_ = (bitField0_ & ~0x00000004);
dryRun_ = false;
onChanged();
return this;
}
private boolean keepGoing_ ;
/**
* bool keepGoing = 4;
* @return The keepGoing.
*/
@java.lang.Override
public boolean getKeepGoing() {
return keepGoing_;
}
/**
* bool keepGoing = 4;
* @param value The keepGoing to set.
* @return This builder for chaining.
*/
public Builder setKeepGoing(boolean value) {
keepGoing_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* bool keepGoing = 4;
* @return This builder for chaining.
*/
public Builder clearKeepGoing() {
bitField0_ = (bitField0_ & ~0x00000008);
keepGoing_ = false;
onChanged();
return this;
}
private int parallelism_ ;
/**
* int32 parallelism = 5;
* @return The parallelism.
*/
@java.lang.Override
public int getParallelism() {
return parallelism_;
}
/**
* int32 parallelism = 5;
* @param value The parallelism to set.
* @return This builder for chaining.
*/
public Builder setParallelism(int value) {
parallelism_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* int32 parallelism = 5;
* @return This builder for chaining.
*/
public Builder clearParallelism() {
bitField0_ = (bitField0_ & ~0x00000010);
parallelism_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.dimajix.flowman.kernel.test.ExecuteTestRequest)
}
// @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.test.ExecuteTestRequest)
private static final com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest();
}
public static com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.dimajix.shaded.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecuteTestRequest parsePartialFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.dimajix.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.dimajix.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.test.ExecuteTestRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy