com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails 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.TargetHistoryDetails}
*/
public final class TargetHistoryDetails extends
com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.history.TargetHistoryDetails)
TargetHistoryDetailsOrBuilder {
private static final long serialVersionUID = 0L;
// Use TargetHistoryDetails.newBuilder() to construct.
private TargetHistoryDetails(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TargetHistoryDetails() {
id_ = "";
jobId_ = "";
namespace_ = "";
project_ = "";
version_ = "";
target_ = "";
phase_ = 0;
status_ = 0;
error_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TargetHistoryDetails();
}
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_TargetHistoryDetails_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 9:
return internalGetPartitions();
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_TargetHistoryDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails.class, com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails.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 JOBID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object jobId_ = "";
/**
* optional string jobId = 2;
* @return Whether the jobId field is set.
*/
@java.lang.Override
public boolean hasJobId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string jobId = 2;
* @return The jobId.
*/
@java.lang.Override
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
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();
jobId_ = s;
return s;
}
}
/**
* optional string jobId = 2;
* @return The bytes for jobId.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getJobIdBytes() {
java.lang.Object ref = jobId_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobId_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int NAMESPACE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object namespace_ = "";
/**
* string namespace = 3;
* @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 = 3;
* @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 = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object project_ = "";
/**
* string project = 4;
* @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 = 4;
* @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 = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object version_ = "";
/**
* string version = 5;
* @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 = 5;
* @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 TARGET_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object target_ = "";
/**
* string target = 6;
* @return The target.
*/
@java.lang.Override
public java.lang.String getTarget() {
java.lang.Object ref = target_;
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();
target_ = s;
return s;
}
}
/**
* string target = 6;
* @return The bytes for target.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getTargetBytes() {
java.lang.Object ref = target_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
target_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int PHASE_FIELD_NUMBER = 7;
private int phase_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 7;
* @return The enum numeric value on the wire for phase.
*/
@java.lang.Override public int getPhaseValue() {
return phase_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 7;
* @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 = 8;
private int status_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 8;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 8;
* @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 PARTITIONS_FIELD_NUMBER = 9;
private static final class PartitionsDefaultEntryHolder {
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_TargetHistoryDetails_PartitionsEntry_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> partitions_;
private com.dimajix.shaded.protobuf.MapField
internalGetPartitions() {
if (partitions_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PartitionsDefaultEntryHolder.defaultEntry);
}
return partitions_;
}
public int getPartitionsCount() {
return internalGetPartitions().getMap().size();
}
/**
* map<string, string> partitions = 9;
*/
@java.lang.Override
public boolean containsPartitions(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetPartitions().getMap().containsKey(key);
}
/**
* Use {@link #getPartitionsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getPartitions() {
return getPartitionsMap();
}
/**
* map<string, string> partitions = 9;
*/
@java.lang.Override
public java.util.Map getPartitionsMap() {
return internalGetPartitions().getMap();
}
/**
* map<string, string> partitions = 9;
*/
@java.lang.Override
public /* nullable */
java.lang.String getPartitionsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetPartitions().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> partitions = 9;
*/
@java.lang.Override
public java.lang.String getPartitionsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetPartitions().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int STARTDATETIME_FIELD_NUMBER = 10;
private com.dimajix.flowman.kernel.proto.Timestamp startDateTime_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 10;
* @return Whether the startDateTime field is set.
*/
@java.lang.Override
public boolean hasStartDateTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 10;
* @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 = 10;
*/
@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 = 11;
private com.dimajix.flowman.kernel.proto.Timestamp endDateTime_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 11;
* @return Whether the endDateTime field is set.
*/
@java.lang.Override
public boolean hasEndDateTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 11;
* @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 = 11;
*/
@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 = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object error_ = "";
/**
* optional string error = 12;
* @return Whether the error field is set.
*/
@java.lang.Override
public boolean hasError() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string error = 12;
* @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 = 12;
* @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 (((bitField0_ & 0x00000001) != 0)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 2, jobId_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 3, namespace_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(project_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 4, project_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 5, version_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(target_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 6, target_);
}
if (phase_ != com.dimajix.flowman.kernel.proto.ExecutionPhase.VALIDATE.getNumber()) {
output.writeEnum(7, phase_);
}
if (status_ != com.dimajix.flowman.kernel.proto.ExecutionStatus.UNKNOWN_STATUS.getNumber()) {
output.writeEnum(8, status_);
}
com.dimajix.shaded.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetPartitions(),
PartitionsDefaultEntryHolder.defaultEntry,
9);
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(10, getStartDateTime());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(11, getEndDateTime());
}
if (((bitField0_ & 0x00000008) != 0)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 12, 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 (((bitField0_ & 0x00000001) != 0)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(namespace_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(3, namespace_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(project_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(4, project_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(5, version_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(target_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(6, target_);
}
if (phase_ != com.dimajix.flowman.kernel.proto.ExecutionPhase.VALIDATE.getNumber()) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeEnumSize(7, phase_);
}
if (status_ != com.dimajix.flowman.kernel.proto.ExecutionStatus.UNKNOWN_STATUS.getNumber()) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeEnumSize(8, status_);
}
for (java.util.Map.Entry entry
: internalGetPartitions().getMap().entrySet()) {
com.dimajix.shaded.protobuf.MapEntry
partitions__ = PartitionsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(9, partitions__);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(10, getStartDateTime());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(11, getEndDateTime());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(12, 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.TargetHistoryDetails)) {
return super.equals(obj);
}
com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails other = (com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails) obj;
if (!getId()
.equals(other.getId())) return false;
if (hasJobId() != other.hasJobId()) return false;
if (hasJobId()) {
if (!getJobId()
.equals(other.getJobId())) return false;
}
if (!getNamespace()
.equals(other.getNamespace())) return false;
if (!getProject()
.equals(other.getProject())) return false;
if (!getVersion()
.equals(other.getVersion())) return false;
if (!getTarget()
.equals(other.getTarget())) return false;
if (phase_ != other.phase_) return false;
if (status_ != other.status_) return false;
if (!internalGetPartitions().equals(
other.internalGetPartitions())) 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();
if (hasJobId()) {
hash = (37 * hash) + JOBID_FIELD_NUMBER;
hash = (53 * hash) + getJobId().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) + TARGET_FIELD_NUMBER;
hash = (53 * hash) + getTarget().hashCode();
hash = (37 * hash) + PHASE_FIELD_NUMBER;
hash = (53 * hash) + phase_;
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
if (!internalGetPartitions().getMap().isEmpty()) {
hash = (37 * hash) + PARTITIONS_FIELD_NUMBER;
hash = (53 * hash) + internalGetPartitions().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.TargetHistoryDetails parseFrom(
java.nio.ByteBuffer data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails 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.TargetHistoryDetails 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.TargetHistoryDetails 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.TargetHistoryDetails parseFrom(byte[] data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails 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.TargetHistoryDetails 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.TargetHistoryDetails 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.TargetHistoryDetails 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.TargetHistoryDetails 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.TargetHistoryDetails 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.TargetHistoryDetails 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.TargetHistoryDetails 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.TargetHistoryDetails}
*/
public static final class Builder extends
com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.history.TargetHistoryDetails)
com.dimajix.flowman.kernel.proto.history.TargetHistoryDetailsOrBuilder {
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_TargetHistoryDetails_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 9:
return internalGetPartitions();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.dimajix.shaded.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 9:
return internalGetMutablePartitions();
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_TargetHistoryDetails_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails.class, com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails.Builder.class);
}
// Construct using com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails.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_ = "";
jobId_ = "";
namespace_ = "";
project_ = "";
version_ = "";
target_ = "";
phase_ = 0;
status_ = 0;
internalGetMutablePartitions().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_TargetHistoryDetails_descriptor;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails getDefaultInstanceForType() {
return com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails.getDefaultInstance();
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails build() {
com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails buildPartial() {
com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails result = new com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.jobId_ = jobId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.namespace_ = namespace_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.project_ = project_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.version_ = version_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.target_ = target_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.phase_ = phase_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.status_ = status_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.partitions_ = internalGetPartitions();
result.partitions_.makeImmutable();
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.startDateTime_ = startDateTimeBuilder_ == null
? startDateTime_
: startDateTimeBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.endDateTime_ = endDateTimeBuilder_ == null
? endDateTime_
: endDateTimeBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.error_ = error_;
to_bitField0_ |= 0x00000008;
}
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.TargetHistoryDetails) {
return mergeFrom((com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails other) {
if (other == com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasJobId()) {
jobId_ = other.jobId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getNamespace().isEmpty()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getProject().isEmpty()) {
project_ = other.project_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getTarget().isEmpty()) {
target_ = other.target_;
bitField0_ |= 0x00000020;
onChanged();
}
if (other.phase_ != 0) {
setPhaseValue(other.getPhaseValue());
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
internalGetMutablePartitions().mergeFrom(
other.internalGetPartitions());
bitField0_ |= 0x00000100;
if (other.hasStartDateTime()) {
mergeStartDateTime(other.getStartDateTime());
}
if (other.hasEndDateTime()) {
mergeEndDateTime(other.getEndDateTime());
}
if (other.hasError()) {
error_ = other.error_;
bitField0_ |= 0x00000800;
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: {
jobId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
namespace_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
project_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
version_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
target_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 56: {
phase_ = input.readEnum();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
status_ = input.readEnum();
bitField0_ |= 0x00000080;
break;
} // case 64
case 74: {
com.dimajix.shaded.protobuf.MapEntry
partitions__ = input.readMessage(
PartitionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutablePartitions().getMutableMap().put(
partitions__.getKey(), partitions__.getValue());
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
input.readMessage(
getStartDateTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
input.readMessage(
getEndDateTimeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000400;
break;
} // case 90
case 98: {
error_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 98
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 jobId_ = "";
/**
* optional string jobId = 2;
* @return Whether the jobId field is set.
*/
public boolean hasJobId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string jobId = 2;
* @return The jobId.
*/
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string jobId = 2;
* @return The bytes for jobId.
*/
public com.dimajix.shaded.protobuf.ByteString
getJobIdBytes() {
java.lang.Object ref = jobId_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobId_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* optional string jobId = 2;
* @param value The jobId to set.
* @return This builder for chaining.
*/
public Builder setJobId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
jobId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string jobId = 2;
* @return This builder for chaining.
*/
public Builder clearJobId() {
jobId_ = getDefaultInstance().getJobId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string jobId = 2;
* @param value The bytes for jobId to set.
* @return This builder for chaining.
*/
public Builder setJobIdBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
jobId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object namespace_ = "";
/**
* string namespace = 3;
* @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 = 3;
* @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 = 3;
* @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_ |= 0x00000004;
onChanged();
return this;
}
/**
* string namespace = 3;
* @return This builder for chaining.
*/
public Builder clearNamespace() {
namespace_ = getDefaultInstance().getNamespace();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string namespace = 3;
* @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_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object project_ = "";
/**
* string project = 4;
* @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 = 4;
* @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 = 4;
* @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_ |= 0x00000008;
onChanged();
return this;
}
/**
* string project = 4;
* @return This builder for chaining.
*/
public Builder clearProject() {
project_ = getDefaultInstance().getProject();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* string project = 4;
* @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_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object version_ = "";
/**
* string version = 5;
* @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 = 5;
* @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 = 5;
* @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_ |= 0x00000010;
onChanged();
return this;
}
/**
* string version = 5;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* string version = 5;
* @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_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object target_ = "";
/**
* string target = 6;
* @return The target.
*/
public java.lang.String getTarget() {
java.lang.Object ref = target_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
target_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string target = 6;
* @return The bytes for target.
*/
public com.dimajix.shaded.protobuf.ByteString
getTargetBytes() {
java.lang.Object ref = target_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
target_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string target = 6;
* @param value The target to set.
* @return This builder for chaining.
*/
public Builder setTarget(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
target_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* string target = 6;
* @return This builder for chaining.
*/
public Builder clearTarget() {
target_ = getDefaultInstance().getTarget();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* string target = 6;
* @param value The bytes for target to set.
* @return This builder for chaining.
*/
public Builder setTargetBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
target_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private int phase_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 7;
* @return The enum numeric value on the wire for phase.
*/
@java.lang.Override public int getPhaseValue() {
return phase_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 7;
* @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_ |= 0x00000040;
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 7;
* @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 = 7;
* @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_ |= 0x00000040;
phase_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionPhase phase = 7;
* @return This builder for chaining.
*/
public Builder clearPhase() {
bitField0_ = (bitField0_ & ~0x00000040);
phase_ = 0;
onChanged();
return this;
}
private int status_ = 0;
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 8;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 8;
* @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_ |= 0x00000080;
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 8;
* @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 = 8;
* @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_ |= 0x00000080;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* .com.dimajix.flowman.kernel.ExecutionStatus status = 8;
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000080);
status_ = 0;
onChanged();
return this;
}
private com.dimajix.shaded.protobuf.MapField<
java.lang.String, java.lang.String> partitions_;
private com.dimajix.shaded.protobuf.MapField
internalGetPartitions() {
if (partitions_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PartitionsDefaultEntryHolder.defaultEntry);
}
return partitions_;
}
private com.dimajix.shaded.protobuf.MapField
internalGetMutablePartitions() {
if (partitions_ == null) {
partitions_ = com.dimajix.shaded.protobuf.MapField.newMapField(
PartitionsDefaultEntryHolder.defaultEntry);
}
if (!partitions_.isMutable()) {
partitions_ = partitions_.copy();
}
bitField0_ |= 0x00000100;
onChanged();
return partitions_;
}
public int getPartitionsCount() {
return internalGetPartitions().getMap().size();
}
/**
* map<string, string> partitions = 9;
*/
@java.lang.Override
public boolean containsPartitions(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetPartitions().getMap().containsKey(key);
}
/**
* Use {@link #getPartitionsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getPartitions() {
return getPartitionsMap();
}
/**
* map<string, string> partitions = 9;
*/
@java.lang.Override
public java.util.Map getPartitionsMap() {
return internalGetPartitions().getMap();
}
/**
* map<string, string> partitions = 9;
*/
@java.lang.Override
public /* nullable */
java.lang.String getPartitionsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetPartitions().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> partitions = 9;
*/
@java.lang.Override
public java.lang.String getPartitionsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetPartitions().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearPartitions() {
bitField0_ = (bitField0_ & ~0x00000100);
internalGetMutablePartitions().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> partitions = 9;
*/
public Builder removePartitions(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutablePartitions().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutablePartitions() {
bitField0_ |= 0x00000100;
return internalGetMutablePartitions().getMutableMap();
}
/**
* map<string, string> partitions = 9;
*/
public Builder putPartitions(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutablePartitions().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000100;
return this;
}
/**
* map<string, string> partitions = 9;
*/
public Builder putAllPartitions(
java.util.Map values) {
internalGetMutablePartitions().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000100;
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 = 10;
* @return Whether the startDateTime field is set.
*/
public boolean hasStartDateTime() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 10;
* @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 = 10;
*/
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_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 10;
*/
public Builder setStartDateTime(
com.dimajix.flowman.kernel.proto.Timestamp.Builder builderForValue) {
if (startDateTimeBuilder_ == null) {
startDateTime_ = builderForValue.build();
} else {
startDateTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 10;
*/
public Builder mergeStartDateTime(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (startDateTimeBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0) &&
startDateTime_ != null &&
startDateTime_ != com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance()) {
getStartDateTimeBuilder().mergeFrom(value);
} else {
startDateTime_ = value;
}
} else {
startDateTimeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 10;
*/
public Builder clearStartDateTime() {
bitField0_ = (bitField0_ & ~0x00000200);
startDateTime_ = null;
if (startDateTimeBuilder_ != null) {
startDateTimeBuilder_.dispose();
startDateTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 10;
*/
public com.dimajix.flowman.kernel.proto.Timestamp.Builder getStartDateTimeBuilder() {
bitField0_ |= 0x00000200;
onChanged();
return getStartDateTimeFieldBuilder().getBuilder();
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp startDateTime = 10;
*/
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 = 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>
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 = 11;
* @return Whether the endDateTime field is set.
*/
public boolean hasEndDateTime() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 11;
* @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 = 11;
*/
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_ |= 0x00000400;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 11;
*/
public Builder setEndDateTime(
com.dimajix.flowman.kernel.proto.Timestamp.Builder builderForValue) {
if (endDateTimeBuilder_ == null) {
endDateTime_ = builderForValue.build();
} else {
endDateTimeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 11;
*/
public Builder mergeEndDateTime(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (endDateTimeBuilder_ == null) {
if (((bitField0_ & 0x00000400) != 0) &&
endDateTime_ != null &&
endDateTime_ != com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance()) {
getEndDateTimeBuilder().mergeFrom(value);
} else {
endDateTime_ = value;
}
} else {
endDateTimeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 11;
*/
public Builder clearEndDateTime() {
bitField0_ = (bitField0_ & ~0x00000400);
endDateTime_ = null;
if (endDateTimeBuilder_ != null) {
endDateTimeBuilder_.dispose();
endDateTimeBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 11;
*/
public com.dimajix.flowman.kernel.proto.Timestamp.Builder getEndDateTimeBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getEndDateTimeFieldBuilder().getBuilder();
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp endDateTime = 11;
*/
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 = 11;
*/
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 = 12;
* @return Whether the error field is set.
*/
public boolean hasError() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional string error = 12;
* @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 = 12;
* @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 = 12;
* @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_ |= 0x00000800;
onChanged();
return this;
}
/**
* optional string error = 12;
* @return This builder for chaining.
*/
public Builder clearError() {
error_ = getDefaultInstance().getError();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* optional string error = 12;
* @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_ |= 0x00000800;
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.TargetHistoryDetails)
}
// @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.history.TargetHistoryDetails)
private static final com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails();
}
public static com.dimajix.flowman.kernel.proto.history.TargetHistoryDetails getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.dimajix.shaded.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TargetHistoryDetails 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.TargetHistoryDetails getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy