com.dimajix.flowman.kernel.proto.history.JobHistoryDetails Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: history.proto
package com.dimajix.flowman.kernel.proto.history;
/**
* Protobuf type {@code com.dimajix.flowman.kernel.history.JobHistoryDetails}
*/
public final class JobHistoryDetails extends
com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.history.JobHistoryDetails)
JobHistoryDetailsOrBuilder {
private static final long serialVersionUID = 0L;
// Use JobHistoryDetails.newBuilder() to construct.
private JobHistoryDetails(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private JobHistoryDetails() {
id_ = "";
namespace_ = "";
project_ = "";
version_ = "";
job_ = "";
phase_ = 0;
status_ = 0;
error_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new JobHistoryDetails();
}
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_JobHistoryDetails_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 8:
return internalGetArguments();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_JobHistoryDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.history.JobHistoryDetails.class, com.dimajix.flowman.kernel.proto.history.JobHistoryDetails.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
/**
* string id = 1;
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
* string id = 1;
* @return The bytes for id.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int NAMESPACE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object namespace_ = "";
/**
* string namespace = 2;
* @return The namespace.
*/
@java.lang.Override
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
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();
namespace_ = s;
return s;
}
}
/**
* string namespace = 2;
* @return The bytes for namespace.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int PROJECT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object project_ = "";
/**
* string project = 3;
* @return The project.
*/
@java.lang.Override
public java.lang.String getProject() {
java.lang.Object ref = project_;
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();
project_ = s;
return s;
}
}
/**
* string project = 3;
* @return The bytes for project.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getProjectBytes() {
java.lang.Object ref = project_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
project_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int VERSION_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object version_ = "";
/**
* string version = 4;
* @return The version.
*/
@java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
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();
version_ = s;
return s;
}
}
/**
* string version = 4;
* @return The bytes for version.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int JOB_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object job_ = "";
/**
* string job = 5;
* @return The job.
*/
@java.lang.Override
public java.lang.String getJob() {
java.lang.Object ref = job_;
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();
job_ = s;
return s;
}
}
/**
* string job = 5;
* @return The bytes for job.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getJobBytes() {
java.lang.Object ref = job_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
job_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int PHASE_FIELD_NUMBER = 6;
private int phase_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return The enum numeric value on the wire for phase.
*/
@java.lang.Override public int getPhaseValue() {
return phase_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return The phase.
*/
@java.lang.Override public com.dimajix.flowman.kernel.proto.ExecutionPhase getPhase() {
com.dimajix.flowman.kernel.proto.ExecutionPhase result = com.dimajix.flowman.kernel.proto.ExecutionPhase.forNumber(phase_);
return result == null ? com.dimajix.flowman.kernel.proto.ExecutionPhase.UNRECOGNIZED : result;
}
public static final int STATUS_FIELD_NUMBER = 7;
private int status_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 7;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 7;
* @return The status.
*/
@java.lang.Override public com.dimajix.flowman.kernel.proto.ExecutionStatus getStatus() {
com.dimajix.flowman.kernel.proto.ExecutionStatus result = com.dimajix.flowman.kernel.proto.ExecutionStatus.forNumber(status_);
return result == null ? com.dimajix.flowman.kernel.proto.ExecutionStatus.UNRECOGNIZED : result;
}
public static final int ARGUMENTS_FIELD_NUMBER = 8;
private static final class ArgumentsDefaultEntryHolder {
static final com.dimajix.shaded.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.dimajix.shaded.protobuf.MapEntry
.newDefaultInstance(
com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_JobHistoryDetails_ArgumentsEntry_descriptor,
com.dimajix.shaded.protobuf.WireFormat.FieldType.STRING,
"",
com.dimajix.shaded.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.dimajix.shaded.protobuf.MapField<
java.lang.String, java.lang.String> arguments_;
private com.dimajix.shaded.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 = 8;
*/
@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 = 8;
*/
@java.lang.Override
public java.util.Map getArgumentsMap() {
return internalGetArguments().getMap();
}
/**
* map<string, string> arguments = 8;
*/
@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 = 8;
*/
@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 STARTDATETIME_FIELD_NUMBER = 9;
private com.dimajix.flowman.kernel.proto.Timestamp startDateTime_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
* @return Whether the startDateTime field is set.
*/
@java.lang.Override
public boolean hasStartDateTime() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
* @return The startDateTime.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Timestamp getStartDateTime() {
return startDateTime_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : startDateTime_;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.TimestampOrBuilder getStartDateTimeOrBuilder() {
return startDateTime_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : startDateTime_;
}
public static final int ENDDATETIME_FIELD_NUMBER = 10;
private com.dimajix.flowman.kernel.proto.Timestamp endDateTime_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
* @return Whether the endDateTime field is set.
*/
@java.lang.Override
public boolean hasEndDateTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
* @return The endDateTime.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Timestamp getEndDateTime() {
return endDateTime_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : endDateTime_;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.TimestampOrBuilder getEndDateTimeOrBuilder() {
return endDateTime_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : endDateTime_;
}
public static final int ERROR_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object error_ = "";
/**
* optional string error = 11;
* @return Whether the error field is set.
*/
@java.lang.Override
public boolean hasError() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string error = 11;
* @return The error.
*/
@java.lang.Override
public java.lang.String getError() {
java.lang.Object ref = error_;
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();
error_ = s;
return s;
}
}
/**
* optional string error = 11;
* @return The bytes for error.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.dimajix.shaded.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.dimajix.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(project_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 3, project_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 4, version_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(job_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 5, job_);
}
if (phase_ != com.dimajix.flowman.kernel.proto.ExecutionPhase.VALIDATE.getNumber()) {
output.writeEnum(6, phase_);
}
if (status_ != com.dimajix.flowman.kernel.proto.ExecutionStatus.UNKNOWN_STATUS.getNumber()) {
output.writeEnum(7, status_);
}
com.dimajix.shaded.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetArguments(),
ArgumentsDefaultEntryHolder.defaultEntry,
8);
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(9, getStartDateTime());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(10, getEndDateTime());
}
if (((bitField0_ & 0x00000004) != 0)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 11, error_);
}
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(id_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(2, namespace_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(project_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(3, project_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(4, version_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(job_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(5, job_);
}
if (phase_ != com.dimajix.flowman.kernel.proto.ExecutionPhase.VALIDATE.getNumber()) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeEnumSize(6, phase_);
}
if (status_ != com.dimajix.flowman.kernel.proto.ExecutionStatus.UNKNOWN_STATUS.getNumber()) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeEnumSize(7, status_);
}
for (java.util.Map.Entry entry
: internalGetArguments().getMap().entrySet()) {
com.dimajix.shaded.protobuf.MapEntry
arguments__ = ArgumentsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(8, arguments__);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(9, getStartDateTime());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(10, getEndDateTime());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(11, error_);
}
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.history.JobHistoryDetails)) {
return super.equals(obj);
}
com.dimajix.flowman.kernel.proto.history.JobHistoryDetails other = (com.dimajix.flowman.kernel.proto.history.JobHistoryDetails) obj;
if (!getId()
.equals(other.getId())) return false;
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (!getProject()
.equals(other.getProject())) return false;
if (!getVersion()
.equals(other.getVersion())) return false;
if (!getJob()
.equals(other.getJob())) return false;
if (phase_ != other.phase_) return false;
if (status_ != other.status_) return false;
if (!internalGetArguments().equals(
other.internalGetArguments())) return false;
if (hasStartDateTime() != other.hasStartDateTime()) return false;
if (hasStartDateTime()) {
if (!getStartDateTime()
.equals(other.getStartDateTime())) return false;
}
if (hasEndDateTime() != other.hasEndDateTime()) return false;
if (hasEndDateTime()) {
if (!getEndDateTime()
.equals(other.getEndDateTime())) return false;
}
if (hasError() != other.hasError()) return false;
if (hasError()) {
if (!getError()
.equals(other.getError())) 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) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
hash = (37 * hash) + PROJECT_FIELD_NUMBER;
hash = (53 * hash) + getProject().hashCode();
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
hash = (37 * hash) + JOB_FIELD_NUMBER;
hash = (53 * hash) + getJob().hashCode();
hash = (37 * hash) + PHASE_FIELD_NUMBER;
hash = (53 * hash) + phase_;
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
if (!internalGetArguments().getMap().isEmpty()) {
hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER;
hash = (53 * hash) + internalGetArguments().hashCode();
}
if (hasStartDateTime()) {
hash = (37 * hash) + STARTDATETIME_FIELD_NUMBER;
hash = (53 * hash) + getStartDateTime().hashCode();
}
if (hasEndDateTime()) {
hash = (37 * hash) + ENDDATETIME_FIELD_NUMBER;
hash = (53 * hash) + getEndDateTime().hashCode();
}
if (hasError()) {
hash = (37 * hash) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryDetails parseFrom(
java.nio.ByteBuffer data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryDetails 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.history.JobHistoryDetails parseFrom(
com.dimajix.shaded.protobuf.ByteString data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryDetails 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.history.JobHistoryDetails parseFrom(byte[] data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryDetails 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.history.JobHistoryDetails parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryDetails 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.history.JobHistoryDetails parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryDetails 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.history.JobHistoryDetails 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.history.JobHistoryDetails 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.history.JobHistoryDetails 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.history.JobHistoryDetails}
*/
public static final class Builder extends
com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.history.JobHistoryDetails)
com.dimajix.flowman.kernel.proto.history.JobHistoryDetailsOrBuilder {
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_JobHistoryDetails_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 8:
return internalGetArguments();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.dimajix.shaded.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 8:
return internalGetMutableArguments();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_JobHistoryDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.history.JobHistoryDetails.class, com.dimajix.flowman.kernel.proto.history.JobHistoryDetails.Builder.class);
}
// Construct using com.dimajix.flowman.kernel.proto.history.JobHistoryDetails.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.dimajix.shaded.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStartDateTimeFieldBuilder();
getEndDateTimeFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
id_ = "";
namespace_ = "";
project_ = "";
version_ = "";
job_ = "";
phase_ = 0;
status_ = 0;
internalGetMutableArguments().clear();
startDateTime_ = null;
if (startDateTimeBuilder_ != null) {
startDateTimeBuilder_.dispose();
startDateTimeBuilder_ = null;
}
endDateTime_ = null;
if (endDateTimeBuilder_ != null) {
endDateTimeBuilder_.dispose();
endDateTimeBuilder_ = null;
}
error_ = "";
return this;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_JobHistoryDetails_descriptor;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.history.JobHistoryDetails getDefaultInstanceForType() {
return com.dimajix.flowman.kernel.proto.history.JobHistoryDetails.getDefaultInstance();
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.history.JobHistoryDetails build() {
com.dimajix.flowman.kernel.proto.history.JobHistoryDetails result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.history.JobHistoryDetails buildPartial() {
com.dimajix.flowman.kernel.proto.history.JobHistoryDetails result = new com.dimajix.flowman.kernel.proto.history.JobHistoryDetails(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.dimajix.flowman.kernel.proto.history.JobHistoryDetails result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.namespace_ = namespace_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.project_ = project_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.version_ = version_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.job_ = job_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.phase_ = phase_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.status_ = status_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.arguments_ = internalGetArguments();
result.arguments_.makeImmutable();
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000100) != 0)) {
result.startDateTime_ = startDateTimeBuilder_ == null
? startDateTime_
: startDateTimeBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.endDateTime_ = endDateTimeBuilder_ == null
? endDateTime_
: endDateTimeBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.error_ = error_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.dimajix.shaded.protobuf.Message other) {
if (other instanceof com.dimajix.flowman.kernel.proto.history.JobHistoryDetails) {
return mergeFrom((com.dimajix.flowman.kernel.proto.history.JobHistoryDetails)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.history.JobHistoryDetails other) {
if (other == com.dimajix.flowman.kernel.proto.history.JobHistoryDetails.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getProject().isEmpty()) {
project_ = other.project_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getJob().isEmpty()) {
job_ = other.job_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.phase_ != 0) {
setPhaseValue(other.getPhaseValue());
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
internalGetMutableArguments().mergeFrom(
other.internalGetArguments());
bitField0_ |= 0x00000080;
if (other.hasStartDateTime()) {
mergeStartDateTime(other.getStartDateTime());
}
if (other.hasEndDateTime()) {
mergeEndDateTime(other.getEndDateTime());
}
if (other.hasError()) {
error_ = other.error_;
bitField0_ |= 0x00000400;
onChanged();
}
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: {
id_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
namespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
project_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
version_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
job_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 48: {
phase_ = input.readEnum();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
status_ = input.readEnum();
bitField0_ |= 0x00000040;
break;
} // case 56
case 66: {
com.dimajix.shaded.protobuf.MapEntry
arguments__ = input.readMessage(
ArgumentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableArguments().getMutableMap().put(
arguments__.getKey(), arguments__.getValue());
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
input.readMessage(
getStartDateTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
input.readMessage(
getEndDateTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
error_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 90
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 id_ = "";
/**
* string id = 1;
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 1;
* @return The bytes for id.
*/
public com.dimajix.shaded.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string id = 1;
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object namespace_ = "";
/**
* string namespace = 2;
* @return The namespace.
*/
public java.lang.String getNamespace() {
java.lang.Object ref = namespace_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
namespace_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string namespace = 2;
* @return The bytes for namespace.
*/
public com.dimajix.shaded.protobuf.ByteString
getNamespaceBytes() {
java.lang.Object ref = namespace_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
namespace_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string namespace = 2;
* @param value The namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespace(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
namespace_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string namespace = 2;
* @return This builder for chaining.
*/
public Builder clearNamespace() {
namespace_ = getDefaultInstance().getNamespace();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string namespace = 2;
* @param value The bytes for namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespaceBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
namespace_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object project_ = "";
/**
* string project = 3;
* @return The project.
*/
public java.lang.String getProject() {
java.lang.Object ref = project_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
project_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string project = 3;
* @return The bytes for project.
*/
public com.dimajix.shaded.protobuf.ByteString
getProjectBytes() {
java.lang.Object ref = project_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
project_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string project = 3;
* @param value The project to set.
* @return This builder for chaining.
*/
public Builder setProject(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
project_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string project = 3;
* @return This builder for chaining.
*/
public Builder clearProject() {
project_ = getDefaultInstance().getProject();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string project = 3;
* @param value The bytes for project to set.
* @return This builder for chaining.
*/
public Builder setProjectBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
project_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object version_ = "";
/**
* string version = 4;
* @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string version = 4;
* @return The bytes for version.
*/
public com.dimajix.shaded.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string version = 4;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
version_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* string version = 4;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* string version = 4;
* @param value The bytes for version to set.
* @return This builder for chaining.
*/
public Builder setVersionBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
version_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object job_ = "";
/**
* string job = 5;
* @return The job.
*/
public java.lang.String getJob() {
java.lang.Object ref = job_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
job_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string job = 5;
* @return The bytes for job.
*/
public com.dimajix.shaded.protobuf.ByteString
getJobBytes() {
java.lang.Object ref = job_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
job_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string job = 5;
* @param value The job to set.
* @return This builder for chaining.
*/
public Builder setJob(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
job_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* string job = 5;
* @return This builder for chaining.
*/
public Builder clearJob() {
job_ = getDefaultInstance().getJob();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* string job = 5;
* @param value The bytes for job to set.
* @return This builder for chaining.
*/
public Builder setJobBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
job_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private int phase_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return The enum numeric value on the wire for phase.
*/
@java.lang.Override public int getPhaseValue() {
return phase_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param value The enum numeric value on the wire for phase to set.
* @return This builder for chaining.
*/
public Builder setPhaseValue(int value) {
phase_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return The phase.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ExecutionPhase getPhase() {
com.dimajix.flowman.kernel.proto.ExecutionPhase result = com.dimajix.flowman.kernel.proto.ExecutionPhase.forNumber(phase_);
return result == null ? com.dimajix.flowman.kernel.proto.ExecutionPhase.UNRECOGNIZED : result;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param value The phase to set.
* @return This builder for chaining.
*/
public Builder setPhase(com.dimajix.flowman.kernel.proto.ExecutionPhase value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
phase_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return This builder for chaining.
*/
public Builder clearPhase() {
bitField0_ = (bitField0_ & ~0x00000020);
phase_ = 0;
onChanged();
return this;
}
private int status_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 7;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 7;
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 7;
* @return The status.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ExecutionStatus getStatus() {
com.dimajix.flowman.kernel.proto.ExecutionStatus result = com.dimajix.flowman.kernel.proto.ExecutionStatus.forNumber(status_);
return result == null ? com.dimajix.flowman.kernel.proto.ExecutionStatus.UNRECOGNIZED : result;
}
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 7;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.dimajix.flowman.kernel.proto.ExecutionStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 7;
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000040);
status_ = 0;
onChanged();
return this;
}
private com.dimajix.shaded.protobuf.MapField<
java.lang.String, java.lang.String> arguments_;
private com.dimajix.shaded.protobuf.MapField
internalGetArguments() {
if (arguments_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ArgumentsDefaultEntryHolder.defaultEntry);
}
return arguments_;
}
private com.dimajix.shaded.protobuf.MapField
internalGetMutableArguments() {
if (arguments_ == null) {
arguments_ = com.dimajix.shaded.protobuf.MapField.newMapField(
ArgumentsDefaultEntryHolder.defaultEntry);
}
if (!arguments_.isMutable()) {
arguments_ = arguments_.copy();
}
bitField0_ |= 0x00000080;
onChanged();
return arguments_;
}
public int getArgumentsCount() {
return internalGetArguments().getMap().size();
}
/**
* map<string, string> arguments = 8;
*/
@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 = 8;
*/
@java.lang.Override
public java.util.Map getArgumentsMap() {
return internalGetArguments().getMap();
}
/**
* map<string, string> arguments = 8;
*/
@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 = 8;
*/
@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_ & ~0x00000080);
internalGetMutableArguments().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> arguments = 8;
*/
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_ |= 0x00000080;
return internalGetMutableArguments().getMutableMap();
}
/**
* map<string, string> arguments = 8;
*/
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_ |= 0x00000080;
return this;
}
/**
* map<string, string> arguments = 8;
*/
public Builder putAllArguments(
java.util.Map values) {
internalGetMutableArguments().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000080;
return this;
}
private com.dimajix.flowman.kernel.proto.Timestamp startDateTime_;
private com.dimajix.shaded.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Timestamp, com.dimajix.flowman.kernel.proto.Timestamp.Builder, com.dimajix.flowman.kernel.proto.TimestampOrBuilder> startDateTimeBuilder_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
* @return Whether the startDateTime field is set.
*/
public boolean hasStartDateTime() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
* @return The startDateTime.
*/
public com.dimajix.flowman.kernel.proto.Timestamp getStartDateTime() {
if (startDateTimeBuilder_ == null) {
return startDateTime_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : startDateTime_;
} else {
return startDateTimeBuilder_.getMessage();
}
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
*/
public Builder setStartDateTime(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (startDateTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
startDateTime_ = value;
} else {
startDateTimeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
*/
public Builder setStartDateTime(
com.dimajix.flowman.kernel.proto.Timestamp.Builder builderForValue) {
if (startDateTimeBuilder_ == null) {
startDateTime_ = builderForValue.build();
} else {
startDateTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
*/
public Builder mergeStartDateTime(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (startDateTimeBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0) &&
startDateTime_ != null &&
startDateTime_ != com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance()) {
getStartDateTimeBuilder().mergeFrom(value);
} else {
startDateTime_ = value;
}
} else {
startDateTimeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
*/
public Builder clearStartDateTime() {
bitField0_ = (bitField0_ & ~0x00000100);
startDateTime_ = null;
if (startDateTimeBuilder_ != null) {
startDateTimeBuilder_.dispose();
startDateTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
*/
public com.dimajix.flowman.kernel.proto.Timestamp.Builder getStartDateTimeBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getStartDateTimeFieldBuilder().getBuilder();
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
*/
public com.dimajix.flowman.kernel.proto.TimestampOrBuilder getStartDateTimeOrBuilder() {
if (startDateTimeBuilder_ != null) {
return startDateTimeBuilder_.getMessageOrBuilder();
} else {
return startDateTime_ == null ?
com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : startDateTime_;
}
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 9;
*/
private com.dimajix.shaded.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Timestamp, com.dimajix.flowman.kernel.proto.Timestamp.Builder, com.dimajix.flowman.kernel.proto.TimestampOrBuilder>
getStartDateTimeFieldBuilder() {
if (startDateTimeBuilder_ == null) {
startDateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Timestamp, com.dimajix.flowman.kernel.proto.Timestamp.Builder, com.dimajix.flowman.kernel.proto.TimestampOrBuilder>(
getStartDateTime(),
getParentForChildren(),
isClean());
startDateTime_ = null;
}
return startDateTimeBuilder_;
}
private com.dimajix.flowman.kernel.proto.Timestamp endDateTime_;
private com.dimajix.shaded.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Timestamp, com.dimajix.flowman.kernel.proto.Timestamp.Builder, com.dimajix.flowman.kernel.proto.TimestampOrBuilder> endDateTimeBuilder_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
* @return Whether the endDateTime field is set.
*/
public boolean hasEndDateTime() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
* @return The endDateTime.
*/
public com.dimajix.flowman.kernel.proto.Timestamp getEndDateTime() {
if (endDateTimeBuilder_ == null) {
return endDateTime_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : endDateTime_;
} else {
return endDateTimeBuilder_.getMessage();
}
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
*/
public Builder setEndDateTime(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (endDateTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endDateTime_ = value;
} else {
endDateTimeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
*/
public Builder setEndDateTime(
com.dimajix.flowman.kernel.proto.Timestamp.Builder builderForValue) {
if (endDateTimeBuilder_ == null) {
endDateTime_ = builderForValue.build();
} else {
endDateTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
*/
public Builder mergeEndDateTime(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (endDateTimeBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0) &&
endDateTime_ != null &&
endDateTime_ != com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance()) {
getEndDateTimeBuilder().mergeFrom(value);
} else {
endDateTime_ = value;
}
} else {
endDateTimeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
*/
public Builder clearEndDateTime() {
bitField0_ = (bitField0_ & ~0x00000200);
endDateTime_ = null;
if (endDateTimeBuilder_ != null) {
endDateTimeBuilder_.dispose();
endDateTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
*/
public com.dimajix.flowman.kernel.proto.Timestamp.Builder getEndDateTimeBuilder() {
bitField0_ |= 0x00000200;
onChanged();
return getEndDateTimeFieldBuilder().getBuilder();
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
*/
public com.dimajix.flowman.kernel.proto.TimestampOrBuilder getEndDateTimeOrBuilder() {
if (endDateTimeBuilder_ != null) {
return endDateTimeBuilder_.getMessageOrBuilder();
} else {
return endDateTime_ == null ?
com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : endDateTime_;
}
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 10;
*/
private com.dimajix.shaded.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Timestamp, com.dimajix.flowman.kernel.proto.Timestamp.Builder, com.dimajix.flowman.kernel.proto.TimestampOrBuilder>
getEndDateTimeFieldBuilder() {
if (endDateTimeBuilder_ == null) {
endDateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Timestamp, com.dimajix.flowman.kernel.proto.Timestamp.Builder, com.dimajix.flowman.kernel.proto.TimestampOrBuilder>(
getEndDateTime(),
getParentForChildren(),
isClean());
endDateTime_ = null;
}
return endDateTimeBuilder_;
}
private java.lang.Object error_ = "";
/**
* optional string error = 11;
* @return Whether the error field is set.
*/
public boolean hasError() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional string error = 11;
* @return The error.
*/
public java.lang.String getError() {
java.lang.Object ref = error_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
error_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string error = 11;
* @return The bytes for error.
*/
public com.dimajix.shaded.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* optional string error = 11;
* @param value The error to set.
* @return This builder for chaining.
*/
public Builder setError(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
error_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* optional string error = 11;
* @return This builder for chaining.
*/
public Builder clearError() {
error_ = getDefaultInstance().getError();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* optional string error = 11;
* @param value The bytes for error to set.
* @return This builder for chaining.
*/
public Builder setErrorBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
error_ = value;
bitField0_ |= 0x00000400;
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.history.JobHistoryDetails)
}
// @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.history.JobHistoryDetails)
private static final com.dimajix.flowman.kernel.proto.history.JobHistoryDetails DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.history.JobHistoryDetails();
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryDetails getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.dimajix.shaded.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public JobHistoryDetails 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.history.JobHistoryDetails getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy