com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flowman-kernel-api Show documentation
Show all versions of flowman-kernel-api Show documentation
Flowman Kernel gRPC protocol definition
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: project.proto
package com.dimajix.flowman.kernel.proto.project;
/**
* Protobuf type {@code com.dimajix.flowman.kernel.project.ExecuteProjectRequest}
*/
public final class ExecuteProjectRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.project.ExecuteProjectRequest)
ExecuteProjectRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExecuteProjectRequest.newBuilder() to construct.
private ExecuteProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExecuteProjectRequest() {
sessionId_ = "";
phases_ = java.util.Collections.emptyList();
targets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
dirtyTargets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExecuteProjectRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.project.ProjectProto.internal_static_com_dimajix_flowman_kernel_project_ExecuteProjectRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 6:
return internalGetArguments();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.project.ProjectProto.internal_static_com_dimajix_flowman_kernel_project_ExecuteProjectRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest.class, com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest.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.google.protobuf.ByteString bs =
(com.google.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.google.protobuf.ByteString
getSessionIdBytes() {
java.lang.Object ref = sessionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PHASES_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List phases_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionPhase> phases_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionPhase>() {
public com.dimajix.flowman.kernel.proto.ExecutionPhase convert(java.lang.Integer from) {
com.dimajix.flowman.kernel.proto.ExecutionPhase result = com.dimajix.flowman.kernel.proto.ExecutionPhase.forNumber(from);
return result == null ? com.dimajix.flowman.kernel.proto.ExecutionPhase.UNRECOGNIZED : result;
}
};
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @return A list containing the phases.
*/
@java.lang.Override
public java.util.List getPhasesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionPhase>(phases_, phases_converter_);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @return The count of phases.
*/
@java.lang.Override
public int getPhasesCount() {
return phases_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param index The index of the element to return.
* @return The phases at the given index.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ExecutionPhase getPhases(int index) {
return phases_converter_.convert(phases_.get(index));
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @return A list containing the enum numeric values on the wire for phases.
*/
@java.lang.Override
public java.util.List
getPhasesValueList() {
return phases_;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of phases at the given index.
*/
@java.lang.Override
public int getPhasesValue(int index) {
return phases_.get(index);
}
private int phasesMemoizedSerializedSize;
public static final int TARGETS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList targets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string targets = 4;
* @return A list containing the targets.
*/
public com.google.protobuf.ProtocolStringList
getTargetsList() {
return targets_;
}
/**
* repeated string targets = 4;
* @return The count of targets.
*/
public int getTargetsCount() {
return targets_.size();
}
/**
* repeated string targets = 4;
* @param index The index of the element to return.
* @return The targets at the given index.
*/
public java.lang.String getTargets(int index) {
return targets_.get(index);
}
/**
* repeated string targets = 4;
* @param index The index of the value to return.
* @return The bytes of the targets at the given index.
*/
public com.google.protobuf.ByteString
getTargetsBytes(int index) {
return targets_.getByteString(index);
}
public static final int DIRTYTARGETS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList dirtyTargets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string dirtyTargets = 5;
* @return A list containing the dirtyTargets.
*/
public com.google.protobuf.ProtocolStringList
getDirtyTargetsList() {
return dirtyTargets_;
}
/**
* repeated string dirtyTargets = 5;
* @return The count of dirtyTargets.
*/
public int getDirtyTargetsCount() {
return dirtyTargets_.size();
}
/**
* repeated string dirtyTargets = 5;
* @param index The index of the element to return.
* @return The dirtyTargets at the given index.
*/
public java.lang.String getDirtyTargets(int index) {
return dirtyTargets_.get(index);
}
/**
* repeated string dirtyTargets = 5;
* @param index The index of the value to return.
* @return The bytes of the dirtyTargets at the given index.
*/
public com.google.protobuf.ByteString
getDirtyTargetsBytes(int index) {
return dirtyTargets_.getByteString(index);
}
public static final int ARGUMENTS_FIELD_NUMBER = 6;
private static final class ArgumentsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
com.dimajix.flowman.kernel.proto.project.ProjectProto.internal_static_com_dimajix_flowman_kernel_project_ExecuteProjectRequest_ArgumentsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> arguments_;
private com.google.protobuf.MapField
internalGetArguments() {
if (arguments_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ArgumentsDefaultEntryHolder.defaultEntry);
}
return arguments_;
}
public int getArgumentsCount() {
return internalGetArguments().getMap().size();
}
/**
* map<string, string> arguments = 6;
*/
@java.lang.Override
public boolean containsArguments(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetArguments().getMap().containsKey(key);
}
/**
* Use {@link #getArgumentsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getArguments() {
return getArgumentsMap();
}
/**
* map<string, string> arguments = 6;
*/
@java.lang.Override
public java.util.Map getArgumentsMap() {
return internalGetArguments().getMap();
}
/**
* map<string, string> arguments = 6;
*/
@java.lang.Override
public /* nullable */
java.lang.String getArgumentsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetArguments().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> arguments = 6;
*/
@java.lang.Override
public java.lang.String getArgumentsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetArguments().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int FORCE_FIELD_NUMBER = 7;
private boolean force_ = false;
/**
* bool force = 7;
* @return The force.
*/
@java.lang.Override
public boolean getForce() {
return force_;
}
public static final int DIRTY_FIELD_NUMBER = 8;
private boolean dirty_ = false;
/**
* bool dirty = 8;
* @return The dirty.
*/
@java.lang.Override
public boolean getDirty() {
return dirty_;
}
public static final int KEEPGOING_FIELD_NUMBER = 10;
private boolean keepGoing_ = false;
/**
* bool keepGoing = 10;
* @return The keepGoing.
*/
@java.lang.Override
public boolean getKeepGoing() {
return keepGoing_;
}
public static final int DRYRUN_FIELD_NUMBER = 11;
private boolean dryRun_ = false;
/**
* bool dryRun = 11;
* @return The dryRun.
*/
@java.lang.Override
public boolean getDryRun() {
return dryRun_;
}
public static final int PARALLELISM_FIELD_NUMBER = 12;
private int parallelism_ = 0;
/**
* int32 parallelism = 12;
* @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.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sessionId_);
}
if (getPhasesList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(phasesMemoizedSerializedSize);
}
for (int i = 0; i < phases_.size(); i++) {
output.writeEnumNoTag(phases_.get(i));
}
for (int i = 0; i < targets_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, targets_.getRaw(i));
}
for (int i = 0; i < dirtyTargets_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dirtyTargets_.getRaw(i));
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetArguments(),
ArgumentsDefaultEntryHolder.defaultEntry,
6);
if (force_ != false) {
output.writeBool(7, force_);
}
if (dirty_ != false) {
output.writeBool(8, dirty_);
}
if (keepGoing_ != false) {
output.writeBool(10, keepGoing_);
}
if (dryRun_ != false) {
output.writeBool(11, dryRun_);
}
if (parallelism_ != 0) {
output.writeInt32(12, parallelism_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sessionId_);
}
{
int dataSize = 0;
for (int i = 0; i < phases_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(phases_.get(i));
}
size += dataSize;
if (!getPhasesList().isEmpty()) { size += 1;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}phasesMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < targets_.size(); i++) {
dataSize += computeStringSizeNoTag(targets_.getRaw(i));
}
size += dataSize;
size += 1 * getTargetsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < dirtyTargets_.size(); i++) {
dataSize += computeStringSizeNoTag(dirtyTargets_.getRaw(i));
}
size += dataSize;
size += 1 * getDirtyTargetsList().size();
}
for (java.util.Map.Entry entry
: internalGetArguments().getMap().entrySet()) {
com.google.protobuf.MapEntry
arguments__ = ArgumentsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, arguments__);
}
if (force_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, force_);
}
if (dirty_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, dirty_);
}
if (keepGoing_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, keepGoing_);
}
if (dryRun_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, dryRun_);
}
if (parallelism_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(12, 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.project.ExecuteProjectRequest)) {
return super.equals(obj);
}
com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest other = (com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest) obj;
if (!getSessionId()
.equals(other.getSessionId())) return false;
if (!phases_.equals(other.phases_)) return false;
if (!getTargetsList()
.equals(other.getTargetsList())) return false;
if (!getDirtyTargetsList()
.equals(other.getDirtyTargetsList())) return false;
if (!internalGetArguments().equals(
other.internalGetArguments())) return false;
if (getForce()
!= other.getForce()) return false;
if (getDirty()
!= other.getDirty()) return false;
if (getKeepGoing()
!= other.getKeepGoing()) return false;
if (getDryRun()
!= other.getDryRun()) 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 (getPhasesCount() > 0) {
hash = (37 * hash) + PHASES_FIELD_NUMBER;
hash = (53 * hash) + phases_.hashCode();
}
if (getTargetsCount() > 0) {
hash = (37 * hash) + TARGETS_FIELD_NUMBER;
hash = (53 * hash) + getTargetsList().hashCode();
}
if (getDirtyTargetsCount() > 0) {
hash = (37 * hash) + DIRTYTARGETS_FIELD_NUMBER;
hash = (53 * hash) + getDirtyTargetsList().hashCode();
}
if (!internalGetArguments().getMap().isEmpty()) {
hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER;
hash = (53 * hash) + internalGetArguments().hashCode();
}
hash = (37 * hash) + FORCE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getForce());
hash = (37 * hash) + DIRTY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDirty());
hash = (37 * hash) + KEEPGOING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getKeepGoing());
hash = (37 * hash) + DRYRUN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDryRun());
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.project.ExecuteProjectRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest 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.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest 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.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest 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.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest 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 com.dimajix.flowman.kernel.project.ExecuteProjectRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.project.ExecuteProjectRequest)
com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.project.ProjectProto.internal_static_com_dimajix_flowman_kernel_project_ExecuteProjectRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 6:
return internalGetArguments();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 6:
return internalGetMutableArguments();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.project.ProjectProto.internal_static_com_dimajix_flowman_kernel_project_ExecuteProjectRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest.class, com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest.Builder.class);
}
// Construct using com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
sessionId_ = "";
phases_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
targets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
dirtyTargets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
internalGetMutableArguments().clear();
force_ = false;
dirty_ = false;
keepGoing_ = false;
dryRun_ = false;
parallelism_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dimajix.flowman.kernel.proto.project.ProjectProto.internal_static_com_dimajix_flowman_kernel_project_ExecuteProjectRequest_descriptor;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest getDefaultInstanceForType() {
return com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest.getDefaultInstance();
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest build() {
com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest buildPartial() {
com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest result = new com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest result) {
if (((bitField0_ & 0x00000002) != 0)) {
phases_ = java.util.Collections.unmodifiableList(phases_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.phases_ = phases_;
}
private void buildPartial0(com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.sessionId_ = sessionId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
targets_.makeImmutable();
result.targets_ = targets_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
dirtyTargets_.makeImmutable();
result.dirtyTargets_ = dirtyTargets_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.arguments_ = internalGetArguments();
result.arguments_.makeImmutable();
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.force_ = force_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.dirty_ = dirty_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.keepGoing_ = keepGoing_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.dryRun_ = dryRun_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.parallelism_ = parallelism_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest) {
return mergeFrom((com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest other) {
if (other == com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest.getDefaultInstance()) return this;
if (!other.getSessionId().isEmpty()) {
sessionId_ = other.sessionId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.phases_.isEmpty()) {
if (phases_.isEmpty()) {
phases_ = other.phases_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePhasesIsMutable();
phases_.addAll(other.phases_);
}
onChanged();
}
if (!other.targets_.isEmpty()) {
if (targets_.isEmpty()) {
targets_ = other.targets_;
bitField0_ |= 0x00000004;
} else {
ensureTargetsIsMutable();
targets_.addAll(other.targets_);
}
onChanged();
}
if (!other.dirtyTargets_.isEmpty()) {
if (dirtyTargets_.isEmpty()) {
dirtyTargets_ = other.dirtyTargets_;
bitField0_ |= 0x00000008;
} else {
ensureDirtyTargetsIsMutable();
dirtyTargets_.addAll(other.dirtyTargets_);
}
onChanged();
}
internalGetMutableArguments().mergeFrom(
other.internalGetArguments());
bitField0_ |= 0x00000010;
if (other.getForce() != false) {
setForce(other.getForce());
}
if (other.getDirty() != false) {
setDirty(other.getDirty());
}
if (other.getKeepGoing() != false) {
setKeepGoing(other.getKeepGoing());
}
if (other.getDryRun() != false) {
setDryRun(other.getDryRun());
}
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.google.protobuf.CodedInputStream input,
com.google.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 24: {
int tmpRaw = input.readEnum();
ensurePhasesIsMutable();
phases_.add(tmpRaw);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int tmpRaw = input.readEnum();
ensurePhasesIsMutable();
phases_.add(tmpRaw);
}
input.popLimit(oldLimit);
break;
} // case 26
case 34: {
java.lang.String s = input.readStringRequireUtf8();
ensureTargetsIsMutable();
targets_.add(s);
break;
} // case 34
case 42: {
java.lang.String s = input.readStringRequireUtf8();
ensureDirtyTargetsIsMutable();
dirtyTargets_.add(s);
break;
} // case 42
case 50: {
com.google.protobuf.MapEntry
arguments__ = input.readMessage(
ArgumentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableArguments().getMutableMap().put(
arguments__.getKey(), arguments__.getValue());
bitField0_ |= 0x00000010;
break;
} // case 50
case 56: {
force_ = input.readBool();
bitField0_ |= 0x00000020;
break;
} // case 56
case 64: {
dirty_ = input.readBool();
bitField0_ |= 0x00000040;
break;
} // case 64
case 80: {
keepGoing_ = input.readBool();
bitField0_ |= 0x00000080;
break;
} // case 80
case 88: {
dryRun_ = input.readBool();
bitField0_ |= 0x00000100;
break;
} // case 88
case 96: {
parallelism_ = input.readInt32();
bitField0_ |= 0x00000200;
break;
} // case 96
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.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.google.protobuf.ByteString bs =
(com.google.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.google.protobuf.ByteString
getSessionIdBytes() {
java.lang.Object ref = sessionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionId_ = b;
return b;
} else {
return (com.google.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.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
sessionId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List phases_ =
java.util.Collections.emptyList();
private void ensurePhasesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
phases_ = new java.util.ArrayList(phases_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @return A list containing the phases.
*/
public java.util.List getPhasesList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionPhase>(phases_, phases_converter_);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @return The count of phases.
*/
public int getPhasesCount() {
return phases_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param index The index of the element to return.
* @return The phases at the given index.
*/
public com.dimajix.flowman.kernel.proto.ExecutionPhase getPhases(int index) {
return phases_converter_.convert(phases_.get(index));
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param index The index to set the value at.
* @param value The phases to set.
* @return This builder for chaining.
*/
public Builder setPhases(
int index, com.dimajix.flowman.kernel.proto.ExecutionPhase value) {
if (value == null) {
throw new NullPointerException();
}
ensurePhasesIsMutable();
phases_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param value The phases to add.
* @return This builder for chaining.
*/
public Builder addPhases(com.dimajix.flowman.kernel.proto.ExecutionPhase value) {
if (value == null) {
throw new NullPointerException();
}
ensurePhasesIsMutable();
phases_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param values The phases to add.
* @return This builder for chaining.
*/
public Builder addAllPhases(
java.lang.Iterable extends com.dimajix.flowman.kernel.proto.ExecutionPhase> values) {
ensurePhasesIsMutable();
for (com.dimajix.flowman.kernel.proto.ExecutionPhase value : values) {
phases_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @return This builder for chaining.
*/
public Builder clearPhases() {
phases_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @return A list containing the enum numeric values on the wire for phases.
*/
public java.util.List
getPhasesValueList() {
return java.util.Collections.unmodifiableList(phases_);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of phases at the given index.
*/
public int getPhasesValue(int index) {
return phases_.get(index);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param index The index to set the value at.
* @param value The enum numeric value on the wire for phases to set.
* @return This builder for chaining.
*/
public Builder setPhasesValue(
int index, int value) {
ensurePhasesIsMutable();
phases_.set(index, value);
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param value The enum numeric value on the wire for phases to add.
* @return This builder for chaining.
*/
public Builder addPhasesValue(int value) {
ensurePhasesIsMutable();
phases_.add(value);
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phases = 3;
* @param values The enum numeric values on the wire for phases to add.
* @return This builder for chaining.
*/
public Builder addAllPhasesValue(
java.lang.Iterable values) {
ensurePhasesIsMutable();
for (int value : values) {
phases_.add(value);
}
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList targets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureTargetsIsMutable() {
if (!targets_.isModifiable()) {
targets_ = new com.google.protobuf.LazyStringArrayList(targets_);
}
bitField0_ |= 0x00000004;
}
/**
* repeated string targets = 4;
* @return A list containing the targets.
*/
public com.google.protobuf.ProtocolStringList
getTargetsList() {
targets_.makeImmutable();
return targets_;
}
/**
* repeated string targets = 4;
* @return The count of targets.
*/
public int getTargetsCount() {
return targets_.size();
}
/**
* repeated string targets = 4;
* @param index The index of the element to return.
* @return The targets at the given index.
*/
public java.lang.String getTargets(int index) {
return targets_.get(index);
}
/**
* repeated string targets = 4;
* @param index The index of the value to return.
* @return The bytes of the targets at the given index.
*/
public com.google.protobuf.ByteString
getTargetsBytes(int index) {
return targets_.getByteString(index);
}
/**
* repeated string targets = 4;
* @param index The index to set the value at.
* @param value The targets to set.
* @return This builder for chaining.
*/
public Builder setTargets(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTargetsIsMutable();
targets_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated string targets = 4;
* @param value The targets to add.
* @return This builder for chaining.
*/
public Builder addTargets(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureTargetsIsMutable();
targets_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated string targets = 4;
* @param values The targets to add.
* @return This builder for chaining.
*/
public Builder addAllTargets(
java.lang.Iterable values) {
ensureTargetsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, targets_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated string targets = 4;
* @return This builder for chaining.
*/
public Builder clearTargets() {
targets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);;
onChanged();
return this;
}
/**
* repeated string targets = 4;
* @param value The bytes of the targets to add.
* @return This builder for chaining.
*/
public Builder addTargetsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureTargetsIsMutable();
targets_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList dirtyTargets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureDirtyTargetsIsMutable() {
if (!dirtyTargets_.isModifiable()) {
dirtyTargets_ = new com.google.protobuf.LazyStringArrayList(dirtyTargets_);
}
bitField0_ |= 0x00000008;
}
/**
* repeated string dirtyTargets = 5;
* @return A list containing the dirtyTargets.
*/
public com.google.protobuf.ProtocolStringList
getDirtyTargetsList() {
dirtyTargets_.makeImmutable();
return dirtyTargets_;
}
/**
* repeated string dirtyTargets = 5;
* @return The count of dirtyTargets.
*/
public int getDirtyTargetsCount() {
return dirtyTargets_.size();
}
/**
* repeated string dirtyTargets = 5;
* @param index The index of the element to return.
* @return The dirtyTargets at the given index.
*/
public java.lang.String getDirtyTargets(int index) {
return dirtyTargets_.get(index);
}
/**
* repeated string dirtyTargets = 5;
* @param index The index of the value to return.
* @return The bytes of the dirtyTargets at the given index.
*/
public com.google.protobuf.ByteString
getDirtyTargetsBytes(int index) {
return dirtyTargets_.getByteString(index);
}
/**
* repeated string dirtyTargets = 5;
* @param index The index to set the value at.
* @param value The dirtyTargets to set.
* @return This builder for chaining.
*/
public Builder setDirtyTargets(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureDirtyTargetsIsMutable();
dirtyTargets_.set(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated string dirtyTargets = 5;
* @param value The dirtyTargets to add.
* @return This builder for chaining.
*/
public Builder addDirtyTargets(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureDirtyTargetsIsMutable();
dirtyTargets_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated string dirtyTargets = 5;
* @param values The dirtyTargets to add.
* @return This builder for chaining.
*/
public Builder addAllDirtyTargets(
java.lang.Iterable values) {
ensureDirtyTargetsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dirtyTargets_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated string dirtyTargets = 5;
* @return This builder for chaining.
*/
public Builder clearDirtyTargets() {
dirtyTargets_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);;
onChanged();
return this;
}
/**
* repeated string dirtyTargets = 5;
* @param value The bytes of the dirtyTargets to add.
* @return This builder for chaining.
*/
public Builder addDirtyTargetsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureDirtyTargetsIsMutable();
dirtyTargets_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> arguments_;
private com.google.protobuf.MapField
internalGetArguments() {
if (arguments_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ArgumentsDefaultEntryHolder.defaultEntry);
}
return arguments_;
}
private com.google.protobuf.MapField
internalGetMutableArguments() {
if (arguments_ == null) {
arguments_ = com.google.protobuf.MapField.newMapField(
ArgumentsDefaultEntryHolder.defaultEntry);
}
if (!arguments_.isMutable()) {
arguments_ = arguments_.copy();
}
bitField0_ |= 0x00000010;
onChanged();
return arguments_;
}
public int getArgumentsCount() {
return internalGetArguments().getMap().size();
}
/**
* map<string, string> arguments = 6;
*/
@java.lang.Override
public boolean containsArguments(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetArguments().getMap().containsKey(key);
}
/**
* Use {@link #getArgumentsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getArguments() {
return getArgumentsMap();
}
/**
* map<string, string> arguments = 6;
*/
@java.lang.Override
public java.util.Map getArgumentsMap() {
return internalGetArguments().getMap();
}
/**
* map<string, string> arguments = 6;
*/
@java.lang.Override
public /* nullable */
java.lang.String getArgumentsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetArguments().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> arguments = 6;
*/
@java.lang.Override
public java.lang.String getArgumentsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetArguments().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearArguments() {
bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableArguments().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> arguments = 6;
*/
public Builder removeArguments(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableArguments().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableArguments() {
bitField0_ |= 0x00000010;
return internalGetMutableArguments().getMutableMap();
}
/**
* map<string, string> arguments = 6;
*/
public Builder putArguments(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableArguments().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000010;
return this;
}
/**
* map<string, string> arguments = 6;
*/
public Builder putAllArguments(
java.util.Map values) {
internalGetMutableArguments().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000010;
return this;
}
private boolean force_ ;
/**
* bool force = 7;
* @return The force.
*/
@java.lang.Override
public boolean getForce() {
return force_;
}
/**
* bool force = 7;
* @param value The force to set.
* @return This builder for chaining.
*/
public Builder setForce(boolean value) {
force_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* bool force = 7;
* @return This builder for chaining.
*/
public Builder clearForce() {
bitField0_ = (bitField0_ & ~0x00000020);
force_ = false;
onChanged();
return this;
}
private boolean dirty_ ;
/**
* bool dirty = 8;
* @return The dirty.
*/
@java.lang.Override
public boolean getDirty() {
return dirty_;
}
/**
* bool dirty = 8;
* @param value The dirty to set.
* @return This builder for chaining.
*/
public Builder setDirty(boolean value) {
dirty_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* bool dirty = 8;
* @return This builder for chaining.
*/
public Builder clearDirty() {
bitField0_ = (bitField0_ & ~0x00000040);
dirty_ = false;
onChanged();
return this;
}
private boolean keepGoing_ ;
/**
* bool keepGoing = 10;
* @return The keepGoing.
*/
@java.lang.Override
public boolean getKeepGoing() {
return keepGoing_;
}
/**
* bool keepGoing = 10;
* @param value The keepGoing to set.
* @return This builder for chaining.
*/
public Builder setKeepGoing(boolean value) {
keepGoing_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* bool keepGoing = 10;
* @return This builder for chaining.
*/
public Builder clearKeepGoing() {
bitField0_ = (bitField0_ & ~0x00000080);
keepGoing_ = false;
onChanged();
return this;
}
private boolean dryRun_ ;
/**
* bool dryRun = 11;
* @return The dryRun.
*/
@java.lang.Override
public boolean getDryRun() {
return dryRun_;
}
/**
* bool dryRun = 11;
* @param value The dryRun to set.
* @return This builder for chaining.
*/
public Builder setDryRun(boolean value) {
dryRun_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* bool dryRun = 11;
* @return This builder for chaining.
*/
public Builder clearDryRun() {
bitField0_ = (bitField0_ & ~0x00000100);
dryRun_ = false;
onChanged();
return this;
}
private int parallelism_ ;
/**
* int32 parallelism = 12;
* @return The parallelism.
*/
@java.lang.Override
public int getParallelism() {
return parallelism_;
}
/**
* int32 parallelism = 12;
* @param value The parallelism to set.
* @return This builder for chaining.
*/
public Builder setParallelism(int value) {
parallelism_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* int32 parallelism = 12;
* @return This builder for chaining.
*/
public Builder clearParallelism() {
bitField0_ = (bitField0_ & ~0x00000200);
parallelism_ = 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:com.dimajix.flowman.kernel.project.ExecuteProjectRequest)
}
// @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.project.ExecuteProjectRequest)
private static final com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest();
}
public static com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExecuteProjectRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.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.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.project.ExecuteProjectRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}