com.dimajix.flowman.kernel.proto.history.JobHistoryQuery 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.JobHistoryQuery}
*/
public final class JobHistoryQuery extends
com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.history.JobHistoryQuery)
JobHistoryQueryOrBuilder {
private static final long serialVersionUID = 0L;
// Use JobHistoryQuery.newBuilder() to construct.
private JobHistoryQuery(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private JobHistoryQuery() {
id_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
namespace_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
project_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
job_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
status_ = java.util.Collections.emptyList();
phase_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new JobHistoryQuery();
}
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_JobHistoryQuery_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 7:
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_JobHistoryQuery_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.class, com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.dimajix.shaded.protobuf.LazyStringArrayList id_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string id = 1;
* @return A list containing the id.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getIdList() {
return id_;
}
/**
* repeated string id = 1;
* @return The count of id.
*/
public int getIdCount() {
return id_.size();
}
/**
* repeated string id = 1;
* @param index The index of the element to return.
* @return The id at the given index.
*/
public java.lang.String getId(int index) {
return id_.get(index);
}
/**
* repeated string id = 1;
* @param index The index of the value to return.
* @return The bytes of the id at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getIdBytes(int index) {
return id_.getByteString(index);
}
public static final int NAMESPACE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.dimajix.shaded.protobuf.LazyStringArrayList namespace_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string namespace = 2;
* @return A list containing the namespace.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getNamespaceList() {
return namespace_;
}
/**
* repeated string namespace = 2;
* @return The count of namespace.
*/
public int getNamespaceCount() {
return namespace_.size();
}
/**
* repeated string namespace = 2;
* @param index The index of the element to return.
* @return The namespace at the given index.
*/
public java.lang.String getNamespace(int index) {
return namespace_.get(index);
}
/**
* repeated string namespace = 2;
* @param index The index of the value to return.
* @return The bytes of the namespace at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getNamespaceBytes(int index) {
return namespace_.getByteString(index);
}
public static final int PROJECT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.dimajix.shaded.protobuf.LazyStringArrayList project_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string project = 3;
* @return A list containing the project.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getProjectList() {
return project_;
}
/**
* repeated string project = 3;
* @return The count of project.
*/
public int getProjectCount() {
return project_.size();
}
/**
* repeated string project = 3;
* @param index The index of the element to return.
* @return The project at the given index.
*/
public java.lang.String getProject(int index) {
return project_.get(index);
}
/**
* repeated string project = 3;
* @param index The index of the value to return.
* @return The bytes of the project at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getProjectBytes(int index) {
return project_.getByteString(index);
}
public static final int JOB_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.dimajix.shaded.protobuf.LazyStringArrayList job_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string job = 4;
* @return A list containing the job.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getJobList() {
return job_;
}
/**
* repeated string job = 4;
* @return The count of job.
*/
public int getJobCount() {
return job_.size();
}
/**
* repeated string job = 4;
* @param index The index of the element to return.
* @return The job at the given index.
*/
public java.lang.String getJob(int index) {
return job_.get(index);
}
/**
* repeated string job = 4;
* @param index The index of the value to return.
* @return The bytes of the job at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getJobBytes(int index) {
return job_.getByteString(index);
}
public static final int STATUS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List status_;
private static final com.dimajix.shaded.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionStatus> status_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionStatus>() {
public com.dimajix.flowman.kernel.proto.ExecutionStatus convert(java.lang.Integer from) {
com.dimajix.flowman.kernel.proto.ExecutionStatus result = com.dimajix.flowman.kernel.proto.ExecutionStatus.forNumber(from);
return result == null ? com.dimajix.flowman.kernel.proto.ExecutionStatus.UNRECOGNIZED : result;
}
};
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @return A list containing the status.
*/
@java.lang.Override
public java.util.List getStatusList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionStatus>(status_, status_converter_);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @return The count of status.
*/
@java.lang.Override
public int getStatusCount() {
return status_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param index The index of the element to return.
* @return The status at the given index.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ExecutionStatus getStatus(int index) {
return status_converter_.convert(status_.get(index));
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @return A list containing the enum numeric values on the wire for status.
*/
@java.lang.Override
public java.util.List
getStatusValueList() {
return status_;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of status at the given index.
*/
@java.lang.Override
public int getStatusValue(int index) {
return status_.get(index);
}
private int statusMemoizedSerializedSize;
public static final int PHASE_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private java.util.List phase_;
private static final com.dimajix.shaded.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionPhase> phase_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionPhase>() {
public com.dimajix.flowman.kernel.proto.ExecutionPhase convert(java.lang.Integer from) {
com.dimajix.flowman.kernel.proto.ExecutionPhase result = com.dimajix.flowman.kernel.proto.ExecutionPhase.forNumber(from);
return result == null ? com.dimajix.flowman.kernel.proto.ExecutionPhase.UNRECOGNIZED : result;
}
};
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return A list containing the phase.
*/
@java.lang.Override
public java.util.List getPhaseList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionPhase>(phase_, phase_converter_);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return The count of phase.
*/
@java.lang.Override
public int getPhaseCount() {
return phase_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param index The index of the element to return.
* @return The phase at the given index.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ExecutionPhase getPhase(int index) {
return phase_converter_.convert(phase_.get(index));
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return A list containing the enum numeric values on the wire for phase.
*/
@java.lang.Override
public java.util.List
getPhaseValueList() {
return phase_;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of phase at the given index.
*/
@java.lang.Override
public int getPhaseValue(int index) {
return phase_.get(index);
}
private int phaseMemoizedSerializedSize;
public static final int ARGUMENTS_FIELD_NUMBER = 7;
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_JobHistoryQuery_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 = 7;
*/
@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 = 7;
*/
@java.lang.Override
public java.util.Map getArgumentsMap() {
return internalGetArguments().getMap();
}
/**
* map<string, string> arguments = 7;
*/
@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 = 7;
*/
@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 FROM_FIELD_NUMBER = 8;
private com.dimajix.flowman.kernel.proto.Timestamp from_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
* @return Whether the from field is set.
*/
@java.lang.Override
public boolean hasFrom() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
* @return The from.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Timestamp getFrom() {
return from_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : from_;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.TimestampOrBuilder getFromOrBuilder() {
return from_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : from_;
}
public static final int UNTIL_FIELD_NUMBER = 9;
private com.dimajix.flowman.kernel.proto.Timestamp until_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
* @return Whether the until field is set.
*/
@java.lang.Override
public boolean hasUntil() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
* @return The until.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Timestamp getUntil() {
return until_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : until_;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.TimestampOrBuilder getUntilOrBuilder() {
return until_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : until_;
}
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 {
getSerializedSize();
for (int i = 0; i < id_.size(); i++) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 1, id_.getRaw(i));
}
for (int i = 0; i < namespace_.size(); i++) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 2, namespace_.getRaw(i));
}
for (int i = 0; i < project_.size(); i++) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 3, project_.getRaw(i));
}
for (int i = 0; i < job_.size(); i++) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 4, job_.getRaw(i));
}
if (getStatusList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(statusMemoizedSerializedSize);
}
for (int i = 0; i < status_.size(); i++) {
output.writeEnumNoTag(status_.get(i));
}
if (getPhaseList().size() > 0) {
output.writeUInt32NoTag(50);
output.writeUInt32NoTag(phaseMemoizedSerializedSize);
}
for (int i = 0; i < phase_.size(); i++) {
output.writeEnumNoTag(phase_.get(i));
}
com.dimajix.shaded.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetArguments(),
ArgumentsDefaultEntryHolder.defaultEntry,
7);
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(8, getFrom());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(9, getUntil());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < id_.size(); i++) {
dataSize += computeStringSizeNoTag(id_.getRaw(i));
}
size += dataSize;
size += 1 * getIdList().size();
}
{
int dataSize = 0;
for (int i = 0; i < namespace_.size(); i++) {
dataSize += computeStringSizeNoTag(namespace_.getRaw(i));
}
size += dataSize;
size += 1 * getNamespaceList().size();
}
{
int dataSize = 0;
for (int i = 0; i < project_.size(); i++) {
dataSize += computeStringSizeNoTag(project_.getRaw(i));
}
size += dataSize;
size += 1 * getProjectList().size();
}
{
int dataSize = 0;
for (int i = 0; i < job_.size(); i++) {
dataSize += computeStringSizeNoTag(job_.getRaw(i));
}
size += dataSize;
size += 1 * getJobList().size();
}
{
int dataSize = 0;
for (int i = 0; i < status_.size(); i++) {
dataSize += com.dimajix.shaded.protobuf.CodedOutputStream
.computeEnumSizeNoTag(status_.get(i));
}
size += dataSize;
if (!getStatusList().isEmpty()) { size += 1;
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}statusMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < phase_.size(); i++) {
dataSize += com.dimajix.shaded.protobuf.CodedOutputStream
.computeEnumSizeNoTag(phase_.get(i));
}
size += dataSize;
if (!getPhaseList().isEmpty()) { size += 1;
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}phaseMemoizedSerializedSize = dataSize;
}
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(7, arguments__);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(8, getFrom());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(9, getUntil());
}
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.JobHistoryQuery)) {
return super.equals(obj);
}
com.dimajix.flowman.kernel.proto.history.JobHistoryQuery other = (com.dimajix.flowman.kernel.proto.history.JobHistoryQuery) obj;
if (!getIdList()
.equals(other.getIdList())) return false;
if (!getNamespaceList()
.equals(other.getNamespaceList())) return false;
if (!getProjectList()
.equals(other.getProjectList())) return false;
if (!getJobList()
.equals(other.getJobList())) return false;
if (!status_.equals(other.status_)) return false;
if (!phase_.equals(other.phase_)) return false;
if (!internalGetArguments().equals(
other.internalGetArguments())) return false;
if (hasFrom() != other.hasFrom()) return false;
if (hasFrom()) {
if (!getFrom()
.equals(other.getFrom())) return false;
}
if (hasUntil() != other.hasUntil()) return false;
if (hasUntil()) {
if (!getUntil()
.equals(other.getUntil())) 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();
if (getIdCount() > 0) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getIdList().hashCode();
}
if (getNamespaceCount() > 0) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespaceList().hashCode();
}
if (getProjectCount() > 0) {
hash = (37 * hash) + PROJECT_FIELD_NUMBER;
hash = (53 * hash) + getProjectList().hashCode();
}
if (getJobCount() > 0) {
hash = (37 * hash) + JOB_FIELD_NUMBER;
hash = (53 * hash) + getJobList().hashCode();
}
if (getStatusCount() > 0) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_.hashCode();
}
if (getPhaseCount() > 0) {
hash = (37 * hash) + PHASE_FIELD_NUMBER;
hash = (53 * hash) + phase_.hashCode();
}
if (!internalGetArguments().getMap().isEmpty()) {
hash = (37 * hash) + ARGUMENTS_FIELD_NUMBER;
hash = (53 * hash) + internalGetArguments().hashCode();
}
if (hasFrom()) {
hash = (37 * hash) + FROM_FIELD_NUMBER;
hash = (53 * hash) + getFrom().hashCode();
}
if (hasUntil()) {
hash = (37 * hash) + UNTIL_FIELD_NUMBER;
hash = (53 * hash) + getUntil().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryQuery parseFrom(
java.nio.ByteBuffer data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryQuery 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.JobHistoryQuery 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.JobHistoryQuery 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.JobHistoryQuery parseFrom(byte[] data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryQuery 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.JobHistoryQuery 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.JobHistoryQuery 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.JobHistoryQuery 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.JobHistoryQuery 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.JobHistoryQuery 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.JobHistoryQuery 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.JobHistoryQuery 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.JobHistoryQuery}
*/
public static final class Builder extends
com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.history.JobHistoryQuery)
com.dimajix.flowman.kernel.proto.history.JobHistoryQueryOrBuilder {
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_JobHistoryQuery_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 7:
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 7:
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_JobHistoryQuery_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.class, com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.Builder.class);
}
// Construct using com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.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) {
getFromFieldBuilder();
getUntilFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
id_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
namespace_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
project_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
job_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
status_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
phase_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
internalGetMutableArguments().clear();
from_ = null;
if (fromBuilder_ != null) {
fromBuilder_.dispose();
fromBuilder_ = null;
}
until_ = null;
if (untilBuilder_ != null) {
untilBuilder_.dispose();
untilBuilder_ = null;
}
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_JobHistoryQuery_descriptor;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.history.JobHistoryQuery getDefaultInstanceForType() {
return com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.getDefaultInstance();
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.history.JobHistoryQuery build() {
com.dimajix.flowman.kernel.proto.history.JobHistoryQuery result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.history.JobHistoryQuery buildPartial() {
com.dimajix.flowman.kernel.proto.history.JobHistoryQuery result = new com.dimajix.flowman.kernel.proto.history.JobHistoryQuery(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.dimajix.flowman.kernel.proto.history.JobHistoryQuery result) {
if (((bitField0_ & 0x00000010) != 0)) {
status_ = java.util.Collections.unmodifiableList(status_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.status_ = status_;
if (((bitField0_ & 0x00000020) != 0)) {
phase_ = java.util.Collections.unmodifiableList(phase_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.phase_ = phase_;
}
private void buildPartial0(com.dimajix.flowman.kernel.proto.history.JobHistoryQuery result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
id_.makeImmutable();
result.id_ = id_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
namespace_.makeImmutable();
result.namespace_ = namespace_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
project_.makeImmutable();
result.project_ = project_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
job_.makeImmutable();
result.job_ = job_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.arguments_ = internalGetArguments();
result.arguments_.makeImmutable();
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000080) != 0)) {
result.from_ = fromBuilder_ == null
? from_
: fromBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.until_ = untilBuilder_ == null
? until_
: untilBuilder_.build();
to_bitField0_ |= 0x00000002;
}
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.JobHistoryQuery) {
return mergeFrom((com.dimajix.flowman.kernel.proto.history.JobHistoryQuery)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.history.JobHistoryQuery other) {
if (other == com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.getDefaultInstance()) return this;
if (!other.id_.isEmpty()) {
if (id_.isEmpty()) {
id_ = other.id_;
bitField0_ |= 0x00000001;
} else {
ensureIdIsMutable();
id_.addAll(other.id_);
}
onChanged();
}
if (!other.namespace_.isEmpty()) {
if (namespace_.isEmpty()) {
namespace_ = other.namespace_;
bitField0_ |= 0x00000002;
} else {
ensureNamespaceIsMutable();
namespace_.addAll(other.namespace_);
}
onChanged();
}
if (!other.project_.isEmpty()) {
if (project_.isEmpty()) {
project_ = other.project_;
bitField0_ |= 0x00000004;
} else {
ensureProjectIsMutable();
project_.addAll(other.project_);
}
onChanged();
}
if (!other.job_.isEmpty()) {
if (job_.isEmpty()) {
job_ = other.job_;
bitField0_ |= 0x00000008;
} else {
ensureJobIsMutable();
job_.addAll(other.job_);
}
onChanged();
}
if (!other.status_.isEmpty()) {
if (status_.isEmpty()) {
status_ = other.status_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureStatusIsMutable();
status_.addAll(other.status_);
}
onChanged();
}
if (!other.phase_.isEmpty()) {
if (phase_.isEmpty()) {
phase_ = other.phase_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensurePhaseIsMutable();
phase_.addAll(other.phase_);
}
onChanged();
}
internalGetMutableArguments().mergeFrom(
other.internalGetArguments());
bitField0_ |= 0x00000040;
if (other.hasFrom()) {
mergeFrom(other.getFrom());
}
if (other.hasUntil()) {
mergeUntil(other.getUntil());
}
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: {
java.lang.String s = input.readStringRequireUtf8();
ensureIdIsMutable();
id_.add(s);
break;
} // case 10
case 18: {
java.lang.String s = input.readStringRequireUtf8();
ensureNamespaceIsMutable();
namespace_.add(s);
break;
} // case 18
case 26: {
java.lang.String s = input.readStringRequireUtf8();
ensureProjectIsMutable();
project_.add(s);
break;
} // case 26
case 34: {
java.lang.String s = input.readStringRequireUtf8();
ensureJobIsMutable();
job_.add(s);
break;
} // case 34
case 40: {
int tmpRaw = input.readEnum();
ensureStatusIsMutable();
status_.add(tmpRaw);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int tmpRaw = input.readEnum();
ensureStatusIsMutable();
status_.add(tmpRaw);
}
input.popLimit(oldLimit);
break;
} // case 42
case 48: {
int tmpRaw = input.readEnum();
ensurePhaseIsMutable();
phase_.add(tmpRaw);
break;
} // case 48
case 50: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int tmpRaw = input.readEnum();
ensurePhaseIsMutable();
phase_.add(tmpRaw);
}
input.popLimit(oldLimit);
break;
} // case 50
case 58: {
com.dimajix.shaded.protobuf.MapEntry
arguments__ = input.readMessage(
ArgumentsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableArguments().getMutableMap().put(
arguments__.getKey(), arguments__.getValue());
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
input.readMessage(
getFromFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
input.readMessage(
getUntilFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000100;
break;
} // case 74
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 com.dimajix.shaded.protobuf.LazyStringArrayList id_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
private void ensureIdIsMutable() {
if (!id_.isModifiable()) {
id_ = new com.google.protobuf.LazyStringArrayList(id_);
}
bitField0_ |= 0x00000001;
}
/**
* repeated string id = 1;
* @return A list containing the id.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getIdList() {
id_.makeImmutable();
return id_;
}
/**
* repeated string id = 1;
* @return The count of id.
*/
public int getIdCount() {
return id_.size();
}
/**
* repeated string id = 1;
* @param index The index of the element to return.
* @return The id at the given index.
*/
public java.lang.String getId(int index) {
return id_.get(index);
}
/**
* repeated string id = 1;
* @param index The index of the value to return.
* @return The bytes of the id at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getIdBytes(int index) {
return id_.getByteString(index);
}
/**
* repeated string id = 1;
* @param index The index to set the value at.
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureIdIsMutable();
id_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string id = 1;
* @param value The id to add.
* @return This builder for chaining.
*/
public Builder addId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureIdIsMutable();
id_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string id = 1;
* @param values The id to add.
* @return This builder for chaining.
*/
public Builder addAllId(
java.lang.Iterable values) {
ensureIdIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, id_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated string id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
id_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);;
onChanged();
return this;
}
/**
* repeated string id = 1;
* @param value The bytes of the id to add.
* @return This builder for chaining.
*/
public Builder addIdBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureIdIsMutable();
id_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.dimajix.shaded.protobuf.LazyStringArrayList namespace_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
private void ensureNamespaceIsMutable() {
if (!namespace_.isModifiable()) {
namespace_ = new com.google.protobuf.LazyStringArrayList(namespace_);
}
bitField0_ |= 0x00000002;
}
/**
* repeated string namespace = 2;
* @return A list containing the namespace.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getNamespaceList() {
namespace_.makeImmutable();
return namespace_;
}
/**
* repeated string namespace = 2;
* @return The count of namespace.
*/
public int getNamespaceCount() {
return namespace_.size();
}
/**
* repeated string namespace = 2;
* @param index The index of the element to return.
* @return The namespace at the given index.
*/
public java.lang.String getNamespace(int index) {
return namespace_.get(index);
}
/**
* repeated string namespace = 2;
* @param index The index of the value to return.
* @return The bytes of the namespace at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getNamespaceBytes(int index) {
return namespace_.getByteString(index);
}
/**
* repeated string namespace = 2;
* @param index The index to set the value at.
* @param value The namespace to set.
* @return This builder for chaining.
*/
public Builder setNamespace(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureNamespaceIsMutable();
namespace_.set(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated string namespace = 2;
* @param value The namespace to add.
* @return This builder for chaining.
*/
public Builder addNamespace(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureNamespaceIsMutable();
namespace_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated string namespace = 2;
* @param values The namespace to add.
* @return This builder for chaining.
*/
public Builder addAllNamespace(
java.lang.Iterable values) {
ensureNamespaceIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, namespace_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated string namespace = 2;
* @return This builder for chaining.
*/
public Builder clearNamespace() {
namespace_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);;
onChanged();
return this;
}
/**
* repeated string namespace = 2;
* @param value The bytes of the namespace to add.
* @return This builder for chaining.
*/
public Builder addNamespaceBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureNamespaceIsMutable();
namespace_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.dimajix.shaded.protobuf.LazyStringArrayList project_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
private void ensureProjectIsMutable() {
if (!project_.isModifiable()) {
project_ = new com.google.protobuf.LazyStringArrayList(project_);
}
bitField0_ |= 0x00000004;
}
/**
* repeated string project = 3;
* @return A list containing the project.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getProjectList() {
project_.makeImmutable();
return project_;
}
/**
* repeated string project = 3;
* @return The count of project.
*/
public int getProjectCount() {
return project_.size();
}
/**
* repeated string project = 3;
* @param index The index of the element to return.
* @return The project at the given index.
*/
public java.lang.String getProject(int index) {
return project_.get(index);
}
/**
* repeated string project = 3;
* @param index The index of the value to return.
* @return The bytes of the project at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getProjectBytes(int index) {
return project_.getByteString(index);
}
/**
* repeated string project = 3;
* @param index The index to set the value at.
* @param value The project to set.
* @return This builder for chaining.
*/
public Builder setProject(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureProjectIsMutable();
project_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated string project = 3;
* @param value The project to add.
* @return This builder for chaining.
*/
public Builder addProject(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureProjectIsMutable();
project_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated string project = 3;
* @param values The project to add.
* @return This builder for chaining.
*/
public Builder addAllProject(
java.lang.Iterable values) {
ensureProjectIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, project_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated string project = 3;
* @return This builder for chaining.
*/
public Builder clearProject() {
project_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);;
onChanged();
return this;
}
/**
* repeated string project = 3;
* @param value The bytes of the project to add.
* @return This builder for chaining.
*/
public Builder addProjectBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureProjectIsMutable();
project_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.dimajix.shaded.protobuf.LazyStringArrayList job_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
private void ensureJobIsMutable() {
if (!job_.isModifiable()) {
job_ = new com.google.protobuf.LazyStringArrayList(job_);
}
bitField0_ |= 0x00000008;
}
/**
* repeated string job = 4;
* @return A list containing the job.
*/
public com.dimajix.shaded.protobuf.ProtocolStringList
getJobList() {
job_.makeImmutable();
return job_;
}
/**
* repeated string job = 4;
* @return The count of job.
*/
public int getJobCount() {
return job_.size();
}
/**
* repeated string job = 4;
* @param index The index of the element to return.
* @return The job at the given index.
*/
public java.lang.String getJob(int index) {
return job_.get(index);
}
/**
* repeated string job = 4;
* @param index The index of the value to return.
* @return The bytes of the job at the given index.
*/
public com.dimajix.shaded.protobuf.ByteString
getJobBytes(int index) {
return job_.getByteString(index);
}
/**
* repeated string job = 4;
* @param index The index to set the value at.
* @param value The job to set.
* @return This builder for chaining.
*/
public Builder setJob(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureJobIsMutable();
job_.set(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated string job = 4;
* @param value The job to add.
* @return This builder for chaining.
*/
public Builder addJob(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureJobIsMutable();
job_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated string job = 4;
* @param values The job to add.
* @return This builder for chaining.
*/
public Builder addAllJob(
java.lang.Iterable values) {
ensureJobIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, job_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated string job = 4;
* @return This builder for chaining.
*/
public Builder clearJob() {
job_ =
com.dimajix.shaded.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);;
onChanged();
return this;
}
/**
* repeated string job = 4;
* @param value The bytes of the job to add.
* @return This builder for chaining.
*/
public Builder addJobBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureJobIsMutable();
job_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.util.List status_ =
java.util.Collections.emptyList();
private void ensureStatusIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
status_ = new java.util.ArrayList(status_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @return A list containing the status.
*/
public java.util.List getStatusList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionStatus>(status_, status_converter_);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @return The count of status.
*/
public int getStatusCount() {
return status_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param index The index of the element to return.
* @return The status at the given index.
*/
public com.dimajix.flowman.kernel.proto.ExecutionStatus getStatus(int index) {
return status_converter_.convert(status_.get(index));
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param index The index to set the value at.
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(
int index, com.dimajix.flowman.kernel.proto.ExecutionStatus value) {
if (value == null) {
throw new NullPointerException();
}
ensureStatusIsMutable();
status_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param value The status to add.
* @return This builder for chaining.
*/
public Builder addStatus(com.dimajix.flowman.kernel.proto.ExecutionStatus value) {
if (value == null) {
throw new NullPointerException();
}
ensureStatusIsMutable();
status_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param values The status to add.
* @return This builder for chaining.
*/
public Builder addAllStatus(
java.lang.Iterable extends com.dimajix.flowman.kernel.proto.ExecutionStatus> values) {
ensureStatusIsMutable();
for (com.dimajix.flowman.kernel.proto.ExecutionStatus value : values) {
status_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @return A list containing the enum numeric values on the wire for status.
*/
public java.util.List
getStatusValueList() {
return java.util.Collections.unmodifiableList(status_);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of status at the given index.
*/
public int getStatusValue(int index) {
return status_.get(index);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param index The index to set the value at.
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(
int index, int value) {
ensureStatusIsMutable();
status_.set(index, value);
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param value The enum numeric value on the wire for status to add.
* @return This builder for chaining.
*/
public Builder addStatusValue(int value) {
ensureStatusIsMutable();
status_.add(value);
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionStatus status = 5;
* @param values The enum numeric values on the wire for status to add.
* @return This builder for chaining.
*/
public Builder addAllStatusValue(
java.lang.Iterable values) {
ensureStatusIsMutable();
for (int value : values) {
status_.add(value);
}
onChanged();
return this;
}
private java.util.List phase_ =
java.util.Collections.emptyList();
private void ensurePhaseIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
phase_ = new java.util.ArrayList(phase_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return A list containing the phase.
*/
public java.util.List getPhaseList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.dimajix.flowman.kernel.proto.ExecutionPhase>(phase_, phase_converter_);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return The count of phase.
*/
public int getPhaseCount() {
return phase_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param index The index of the element to return.
* @return The phase at the given index.
*/
public com.dimajix.flowman.kernel.proto.ExecutionPhase getPhase(int index) {
return phase_converter_.convert(phase_.get(index));
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param index The index to set the value at.
* @param value The phase to set.
* @return This builder for chaining.
*/
public Builder setPhase(
int index, com.dimajix.flowman.kernel.proto.ExecutionPhase value) {
if (value == null) {
throw new NullPointerException();
}
ensurePhaseIsMutable();
phase_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param value The phase to add.
* @return This builder for chaining.
*/
public Builder addPhase(com.dimajix.flowman.kernel.proto.ExecutionPhase value) {
if (value == null) {
throw new NullPointerException();
}
ensurePhaseIsMutable();
phase_.add(value.getNumber());
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param values The phase to add.
* @return This builder for chaining.
*/
public Builder addAllPhase(
java.lang.Iterable extends com.dimajix.flowman.kernel.proto.ExecutionPhase> values) {
ensurePhaseIsMutable();
for (com.dimajix.flowman.kernel.proto.ExecutionPhase value : values) {
phase_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return This builder for chaining.
*/
public Builder clearPhase() {
phase_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @return A list containing the enum numeric values on the wire for phase.
*/
public java.util.List
getPhaseValueList() {
return java.util.Collections.unmodifiableList(phase_);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of phase at the given index.
*/
public int getPhaseValue(int index) {
return phase_.get(index);
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param index The index to set the value at.
* @param value The enum numeric value on the wire for phase to set.
* @return This builder for chaining.
*/
public Builder setPhaseValue(
int index, int value) {
ensurePhaseIsMutable();
phase_.set(index, value);
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param value The enum numeric value on the wire for phase to add.
* @return This builder for chaining.
*/
public Builder addPhaseValue(int value) {
ensurePhaseIsMutable();
phase_.add(value);
onChanged();
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.ExecutionPhase phase = 6;
* @param values The enum numeric values on the wire for phase to add.
* @return This builder for chaining.
*/
public Builder addAllPhaseValue(
java.lang.Iterable values) {
ensurePhaseIsMutable();
for (int value : values) {
phase_.add(value);
}
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_ |= 0x00000040;
onChanged();
return arguments_;
}
public int getArgumentsCount() {
return internalGetArguments().getMap().size();
}
/**
* map<string, string> arguments = 7;
*/
@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 = 7;
*/
@java.lang.Override
public java.util.Map getArgumentsMap() {
return internalGetArguments().getMap();
}
/**
* map<string, string> arguments = 7;
*/
@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 = 7;
*/
@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_ & ~0x00000040);
internalGetMutableArguments().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> arguments = 7;
*/
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_ |= 0x00000040;
return internalGetMutableArguments().getMutableMap();
}
/**
* map<string, string> arguments = 7;
*/
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_ |= 0x00000040;
return this;
}
/**
* map<string, string> arguments = 7;
*/
public Builder putAllArguments(
java.util.Map values) {
internalGetMutableArguments().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000040;
return this;
}
private com.dimajix.flowman.kernel.proto.Timestamp from_;
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> fromBuilder_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
* @return Whether the from field is set.
*/
public boolean hasFrom() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
* @return The from.
*/
public com.dimajix.flowman.kernel.proto.Timestamp getFrom() {
if (fromBuilder_ == null) {
return from_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : from_;
} else {
return fromBuilder_.getMessage();
}
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
*/
public Builder setFrom(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (fromBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
from_ = value;
} else {
fromBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
*/
public Builder setFrom(
com.dimajix.flowman.kernel.proto.Timestamp.Builder builderForValue) {
if (fromBuilder_ == null) {
from_ = builderForValue.build();
} else {
fromBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
*/
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (fromBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
from_ != null &&
from_ != com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance()) {
getFromBuilder().mergeFrom(value);
} else {
from_ = value;
}
} else {
fromBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
*/
public Builder clearFrom() {
bitField0_ = (bitField0_ & ~0x00000080);
from_ = null;
if (fromBuilder_ != null) {
fromBuilder_.dispose();
fromBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
*/
public com.dimajix.flowman.kernel.proto.Timestamp.Builder getFromBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getFromFieldBuilder().getBuilder();
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
*/
public com.dimajix.flowman.kernel.proto.TimestampOrBuilder getFromOrBuilder() {
if (fromBuilder_ != null) {
return fromBuilder_.getMessageOrBuilder();
} else {
return from_ == null ?
com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : from_;
}
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp from = 8;
*/
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>
getFromFieldBuilder() {
if (fromBuilder_ == null) {
fromBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Timestamp, com.dimajix.flowman.kernel.proto.Timestamp.Builder, com.dimajix.flowman.kernel.proto.TimestampOrBuilder>(
getFrom(),
getParentForChildren(),
isClean());
from_ = null;
}
return fromBuilder_;
}
private com.dimajix.flowman.kernel.proto.Timestamp until_;
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> untilBuilder_;
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
* @return Whether the until field is set.
*/
public boolean hasUntil() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
* @return The until.
*/
public com.dimajix.flowman.kernel.proto.Timestamp getUntil() {
if (untilBuilder_ == null) {
return until_ == null ? com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : until_;
} else {
return untilBuilder_.getMessage();
}
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
*/
public Builder setUntil(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (untilBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
until_ = value;
} else {
untilBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
*/
public Builder setUntil(
com.dimajix.flowman.kernel.proto.Timestamp.Builder builderForValue) {
if (untilBuilder_ == null) {
until_ = builderForValue.build();
} else {
untilBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
*/
public Builder mergeUntil(com.dimajix.flowman.kernel.proto.Timestamp value) {
if (untilBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0) &&
until_ != null &&
until_ != com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance()) {
getUntilBuilder().mergeFrom(value);
} else {
until_ = value;
}
} else {
untilBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
*/
public Builder clearUntil() {
bitField0_ = (bitField0_ & ~0x00000100);
until_ = null;
if (untilBuilder_ != null) {
untilBuilder_.dispose();
untilBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
*/
public com.dimajix.flowman.kernel.proto.Timestamp.Builder getUntilBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getUntilFieldBuilder().getBuilder();
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 9;
*/
public com.dimajix.flowman.kernel.proto.TimestampOrBuilder getUntilOrBuilder() {
if (untilBuilder_ != null) {
return untilBuilder_.getMessageOrBuilder();
} else {
return until_ == null ?
com.dimajix.flowman.kernel.proto.Timestamp.getDefaultInstance() : until_;
}
}
/**
* optional .com.dimajix.flowman.kernel.Timestamp until = 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>
getUntilFieldBuilder() {
if (untilBuilder_ == null) {
untilBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Timestamp, com.dimajix.flowman.kernel.proto.Timestamp.Builder, com.dimajix.flowman.kernel.proto.TimestampOrBuilder>(
getUntil(),
getParentForChildren(),
isClean());
until_ = null;
}
return untilBuilder_;
}
@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.JobHistoryQuery)
}
// @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.history.JobHistoryQuery)
private static final com.dimajix.flowman.kernel.proto.history.JobHistoryQuery DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.history.JobHistoryQuery();
}
public static com.dimajix.flowman.kernel.proto.history.JobHistoryQuery getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.dimajix.shaded.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public JobHistoryQuery 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.JobHistoryQuery getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy