com.netflix.conductor.proto.TaskSummaryPb Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: model/tasksummary.proto
package com.netflix.conductor.proto;
public final class TaskSummaryPb {
private TaskSummaryPb() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface TaskSummaryOrBuilder extends
// @@protoc_insertion_point(interface_extends:conductor.proto.TaskSummary)
com.google.protobuf.MessageOrBuilder {
/**
* string workflow_id = 1;
* @return The workflowId.
*/
java.lang.String getWorkflowId();
/**
* string workflow_id = 1;
* @return The bytes for workflowId.
*/
com.google.protobuf.ByteString
getWorkflowIdBytes();
/**
* string workflow_type = 2;
* @return The workflowType.
*/
java.lang.String getWorkflowType();
/**
* string workflow_type = 2;
* @return The bytes for workflowType.
*/
com.google.protobuf.ByteString
getWorkflowTypeBytes();
/**
* string correlation_id = 3;
* @return The correlationId.
*/
java.lang.String getCorrelationId();
/**
* string correlation_id = 3;
* @return The bytes for correlationId.
*/
com.google.protobuf.ByteString
getCorrelationIdBytes();
/**
* string scheduled_time = 4;
* @return The scheduledTime.
*/
java.lang.String getScheduledTime();
/**
* string scheduled_time = 4;
* @return The bytes for scheduledTime.
*/
com.google.protobuf.ByteString
getScheduledTimeBytes();
/**
* string start_time = 5;
* @return The startTime.
*/
java.lang.String getStartTime();
/**
* string start_time = 5;
* @return The bytes for startTime.
*/
com.google.protobuf.ByteString
getStartTimeBytes();
/**
* string update_time = 6;
* @return The updateTime.
*/
java.lang.String getUpdateTime();
/**
* string update_time = 6;
* @return The bytes for updateTime.
*/
com.google.protobuf.ByteString
getUpdateTimeBytes();
/**
* string end_time = 7;
* @return The endTime.
*/
java.lang.String getEndTime();
/**
* string end_time = 7;
* @return The bytes for endTime.
*/
com.google.protobuf.ByteString
getEndTimeBytes();
/**
* .conductor.proto.Task.Status status = 8;
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
* .conductor.proto.Task.Status status = 8;
* @return The status.
*/
com.netflix.conductor.proto.TaskPb.Task.Status getStatus();
/**
* string reason_for_incompletion = 9;
* @return The reasonForIncompletion.
*/
java.lang.String getReasonForIncompletion();
/**
* string reason_for_incompletion = 9;
* @return The bytes for reasonForIncompletion.
*/
com.google.protobuf.ByteString
getReasonForIncompletionBytes();
/**
* int64 execution_time = 10;
* @return The executionTime.
*/
long getExecutionTime();
/**
* int64 queue_wait_time = 11;
* @return The queueWaitTime.
*/
long getQueueWaitTime();
/**
* string task_def_name = 12;
* @return The taskDefName.
*/
java.lang.String getTaskDefName();
/**
* string task_def_name = 12;
* @return The bytes for taskDefName.
*/
com.google.protobuf.ByteString
getTaskDefNameBytes();
/**
* string task_type = 13;
* @return The taskType.
*/
java.lang.String getTaskType();
/**
* string task_type = 13;
* @return The bytes for taskType.
*/
com.google.protobuf.ByteString
getTaskTypeBytes();
/**
* string input = 14;
* @return The input.
*/
java.lang.String getInput();
/**
* string input = 14;
* @return The bytes for input.
*/
com.google.protobuf.ByteString
getInputBytes();
/**
* string output = 15;
* @return The output.
*/
java.lang.String getOutput();
/**
* string output = 15;
* @return The bytes for output.
*/
com.google.protobuf.ByteString
getOutputBytes();
/**
* string task_id = 16;
* @return The taskId.
*/
java.lang.String getTaskId();
/**
* string task_id = 16;
* @return The bytes for taskId.
*/
com.google.protobuf.ByteString
getTaskIdBytes();
/**
* string external_input_payload_storage_path = 17;
* @return The externalInputPayloadStoragePath.
*/
java.lang.String getExternalInputPayloadStoragePath();
/**
* string external_input_payload_storage_path = 17;
* @return The bytes for externalInputPayloadStoragePath.
*/
com.google.protobuf.ByteString
getExternalInputPayloadStoragePathBytes();
/**
* string external_output_payload_storage_path = 18;
* @return The externalOutputPayloadStoragePath.
*/
java.lang.String getExternalOutputPayloadStoragePath();
/**
* string external_output_payload_storage_path = 18;
* @return The bytes for externalOutputPayloadStoragePath.
*/
com.google.protobuf.ByteString
getExternalOutputPayloadStoragePathBytes();
/**
* int32 workflow_priority = 19;
* @return The workflowPriority.
*/
int getWorkflowPriority();
/**
* string domain = 20;
* @return The domain.
*/
java.lang.String getDomain();
/**
* string domain = 20;
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
}
/**
* Protobuf type {@code conductor.proto.TaskSummary}
*/
public static final class TaskSummary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:conductor.proto.TaskSummary)
TaskSummaryOrBuilder {
private static final long serialVersionUID = 0L;
// Use TaskSummary.newBuilder() to construct.
private TaskSummary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TaskSummary() {
workflowId_ = "";
workflowType_ = "";
correlationId_ = "";
scheduledTime_ = "";
startTime_ = "";
updateTime_ = "";
endTime_ = "";
status_ = 0;
reasonForIncompletion_ = "";
taskDefName_ = "";
taskType_ = "";
input_ = "";
output_ = "";
taskId_ = "";
externalInputPayloadStoragePath_ = "";
externalOutputPayloadStoragePath_ = "";
domain_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TaskSummary();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.proto.TaskSummaryPb.internal_static_conductor_proto_TaskSummary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.proto.TaskSummaryPb.internal_static_conductor_proto_TaskSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.class, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder.class);
}
public static final int WORKFLOW_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object workflowId_ = "";
/**
* string workflow_id = 1;
* @return The workflowId.
*/
@java.lang.Override
public java.lang.String getWorkflowId() {
java.lang.Object ref = workflowId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workflowId_ = s;
return s;
}
}
/**
* string workflow_id = 1;
* @return The bytes for workflowId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWorkflowIdBytes() {
java.lang.Object ref = workflowId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WORKFLOW_TYPE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object workflowType_ = "";
/**
* string workflow_type = 2;
* @return The workflowType.
*/
@java.lang.Override
public java.lang.String getWorkflowType() {
java.lang.Object ref = workflowType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workflowType_ = s;
return s;
}
}
/**
* string workflow_type = 2;
* @return The bytes for workflowType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWorkflowTypeBytes() {
java.lang.Object ref = workflowType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CORRELATION_ID_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object correlationId_ = "";
/**
* string correlation_id = 3;
* @return The correlationId.
*/
@java.lang.Override
public java.lang.String getCorrelationId() {
java.lang.Object ref = correlationId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
correlationId_ = s;
return s;
}
}
/**
* string correlation_id = 3;
* @return The bytes for correlationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCorrelationIdBytes() {
java.lang.Object ref = correlationId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
correlationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SCHEDULED_TIME_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object scheduledTime_ = "";
/**
* string scheduled_time = 4;
* @return The scheduledTime.
*/
@java.lang.Override
public java.lang.String getScheduledTime() {
java.lang.Object ref = scheduledTime_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
scheduledTime_ = s;
return s;
}
}
/**
* string scheduled_time = 4;
* @return The bytes for scheduledTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getScheduledTimeBytes() {
java.lang.Object ref = scheduledTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
scheduledTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int START_TIME_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object startTime_ = "";
/**
* string start_time = 5;
* @return The startTime.
*/
@java.lang.Override
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startTime_ = s;
return s;
}
}
/**
* string start_time = 5;
* @return The bytes for startTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStartTimeBytes() {
java.lang.Object ref = startTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UPDATE_TIME_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object updateTime_ = "";
/**
* string update_time = 6;
* @return The updateTime.
*/
@java.lang.Override
public java.lang.String getUpdateTime() {
java.lang.Object ref = updateTime_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
updateTime_ = s;
return s;
}
}
/**
* string update_time = 6;
* @return The bytes for updateTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUpdateTimeBytes() {
java.lang.Object ref = updateTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
updateTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int END_TIME_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object endTime_ = "";
/**
* string end_time = 7;
* @return The endTime.
*/
@java.lang.Override
public java.lang.String getEndTime() {
java.lang.Object ref = endTime_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endTime_ = s;
return s;
}
}
/**
* string end_time = 7;
* @return The bytes for endTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndTimeBytes() {
java.lang.Object ref = endTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 8;
private int status_ = 0;
/**
* .conductor.proto.Task.Status status = 8;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* .conductor.proto.Task.Status status = 8;
* @return The status.
*/
@java.lang.Override public com.netflix.conductor.proto.TaskPb.Task.Status getStatus() {
com.netflix.conductor.proto.TaskPb.Task.Status result = com.netflix.conductor.proto.TaskPb.Task.Status.forNumber(status_);
return result == null ? com.netflix.conductor.proto.TaskPb.Task.Status.UNRECOGNIZED : result;
}
public static final int REASON_FOR_INCOMPLETION_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object reasonForIncompletion_ = "";
/**
* string reason_for_incompletion = 9;
* @return The reasonForIncompletion.
*/
@java.lang.Override
public java.lang.String getReasonForIncompletion() {
java.lang.Object ref = reasonForIncompletion_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
reasonForIncompletion_ = s;
return s;
}
}
/**
* string reason_for_incompletion = 9;
* @return The bytes for reasonForIncompletion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonForIncompletionBytes() {
java.lang.Object ref = reasonForIncompletion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reasonForIncompletion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXECUTION_TIME_FIELD_NUMBER = 10;
private long executionTime_ = 0L;
/**
* int64 execution_time = 10;
* @return The executionTime.
*/
@java.lang.Override
public long getExecutionTime() {
return executionTime_;
}
public static final int QUEUE_WAIT_TIME_FIELD_NUMBER = 11;
private long queueWaitTime_ = 0L;
/**
* int64 queue_wait_time = 11;
* @return The queueWaitTime.
*/
@java.lang.Override
public long getQueueWaitTime() {
return queueWaitTime_;
}
public static final int TASK_DEF_NAME_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object taskDefName_ = "";
/**
* string task_def_name = 12;
* @return The taskDefName.
*/
@java.lang.Override
public java.lang.String getTaskDefName() {
java.lang.Object ref = taskDefName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskDefName_ = s;
return s;
}
}
/**
* string task_def_name = 12;
* @return The bytes for taskDefName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskDefNameBytes() {
java.lang.Object ref = taskDefName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskDefName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TASK_TYPE_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object taskType_ = "";
/**
* string task_type = 13;
* @return The taskType.
*/
@java.lang.Override
public java.lang.String getTaskType() {
java.lang.Object ref = taskType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskType_ = s;
return s;
}
}
/**
* string task_type = 13;
* @return The bytes for taskType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskTypeBytes() {
java.lang.Object ref = taskType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INPUT_FIELD_NUMBER = 14;
@SuppressWarnings("serial")
private volatile java.lang.Object input_ = "";
/**
* string input = 14;
* @return The input.
*/
@java.lang.Override
public java.lang.String getInput() {
java.lang.Object ref = input_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
input_ = s;
return s;
}
}
/**
* string input = 14;
* @return The bytes for input.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInputBytes() {
java.lang.Object ref = input_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
input_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OUTPUT_FIELD_NUMBER = 15;
@SuppressWarnings("serial")
private volatile java.lang.Object output_ = "";
/**
* string output = 15;
* @return The output.
*/
@java.lang.Override
public java.lang.String getOutput() {
java.lang.Object ref = output_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
output_ = s;
return s;
}
}
/**
* string output = 15;
* @return The bytes for output.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOutputBytes() {
java.lang.Object ref = output_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
output_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TASK_ID_FIELD_NUMBER = 16;
@SuppressWarnings("serial")
private volatile java.lang.Object taskId_ = "";
/**
* string task_id = 16;
* @return The taskId.
*/
@java.lang.Override
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskId_ = s;
return s;
}
}
/**
* string task_id = 16;
* @return The bytes for taskId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXTERNAL_INPUT_PAYLOAD_STORAGE_PATH_FIELD_NUMBER = 17;
@SuppressWarnings("serial")
private volatile java.lang.Object externalInputPayloadStoragePath_ = "";
/**
* string external_input_payload_storage_path = 17;
* @return The externalInputPayloadStoragePath.
*/
@java.lang.Override
public java.lang.String getExternalInputPayloadStoragePath() {
java.lang.Object ref = externalInputPayloadStoragePath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
externalInputPayloadStoragePath_ = s;
return s;
}
}
/**
* string external_input_payload_storage_path = 17;
* @return The bytes for externalInputPayloadStoragePath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExternalInputPayloadStoragePathBytes() {
java.lang.Object ref = externalInputPayloadStoragePath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalInputPayloadStoragePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXTERNAL_OUTPUT_PAYLOAD_STORAGE_PATH_FIELD_NUMBER = 18;
@SuppressWarnings("serial")
private volatile java.lang.Object externalOutputPayloadStoragePath_ = "";
/**
* string external_output_payload_storage_path = 18;
* @return The externalOutputPayloadStoragePath.
*/
@java.lang.Override
public java.lang.String getExternalOutputPayloadStoragePath() {
java.lang.Object ref = externalOutputPayloadStoragePath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
externalOutputPayloadStoragePath_ = s;
return s;
}
}
/**
* string external_output_payload_storage_path = 18;
* @return The bytes for externalOutputPayloadStoragePath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExternalOutputPayloadStoragePathBytes() {
java.lang.Object ref = externalOutputPayloadStoragePath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalOutputPayloadStoragePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WORKFLOW_PRIORITY_FIELD_NUMBER = 19;
private int workflowPriority_ = 0;
/**
* int32 workflow_priority = 19;
* @return The workflowPriority.
*/
@java.lang.Override
public int getWorkflowPriority() {
return workflowPriority_;
}
public static final int DOMAIN_FIELD_NUMBER = 20;
@SuppressWarnings("serial")
private volatile java.lang.Object domain_ = "";
/**
* string domain = 20;
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domain_ = s;
return s;
}
}
/**
* string domain = 20;
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.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.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workflowId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workflowType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correlationId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, correlationId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduledTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, scheduledTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, startTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(updateTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, updateTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, endTime_);
}
if (status_ != com.netflix.conductor.proto.TaskPb.Task.Status.IN_PROGRESS.getNumber()) {
output.writeEnum(8, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reasonForIncompletion_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, reasonForIncompletion_);
}
if (executionTime_ != 0L) {
output.writeInt64(10, executionTime_);
}
if (queueWaitTime_ != 0L) {
output.writeInt64(11, queueWaitTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskDefName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, taskDefName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, taskType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(input_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, input_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, output_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, taskId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalInputPayloadStoragePath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, externalInputPayloadStoragePath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalOutputPayloadStoragePath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, externalOutputPayloadStoragePath_);
}
if (workflowPriority_ != 0) {
output.writeInt32(19, workflowPriority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 20, domain_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workflowId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workflowType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(correlationId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, correlationId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(scheduledTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, scheduledTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, startTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(updateTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, updateTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, endTime_);
}
if (status_ != com.netflix.conductor.proto.TaskPb.Task.Status.IN_PROGRESS.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reasonForIncompletion_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, reasonForIncompletion_);
}
if (executionTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, executionTime_);
}
if (queueWaitTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, queueWaitTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskDefName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, taskDefName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, taskType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(input_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, input_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(output_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, output_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, taskId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalInputPayloadStoragePath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, externalInputPayloadStoragePath_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(externalOutputPayloadStoragePath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, externalOutputPayloadStoragePath_);
}
if (workflowPriority_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(19, workflowPriority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, domain_);
}
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.netflix.conductor.proto.TaskSummaryPb.TaskSummary)) {
return super.equals(obj);
}
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary other = (com.netflix.conductor.proto.TaskSummaryPb.TaskSummary) obj;
if (!getWorkflowId()
.equals(other.getWorkflowId())) return false;
if (!getWorkflowType()
.equals(other.getWorkflowType())) return false;
if (!getCorrelationId()
.equals(other.getCorrelationId())) return false;
if (!getScheduledTime()
.equals(other.getScheduledTime())) return false;
if (!getStartTime()
.equals(other.getStartTime())) return false;
if (!getUpdateTime()
.equals(other.getUpdateTime())) return false;
if (!getEndTime()
.equals(other.getEndTime())) return false;
if (status_ != other.status_) return false;
if (!getReasonForIncompletion()
.equals(other.getReasonForIncompletion())) return false;
if (getExecutionTime()
!= other.getExecutionTime()) return false;
if (getQueueWaitTime()
!= other.getQueueWaitTime()) return false;
if (!getTaskDefName()
.equals(other.getTaskDefName())) return false;
if (!getTaskType()
.equals(other.getTaskType())) return false;
if (!getInput()
.equals(other.getInput())) return false;
if (!getOutput()
.equals(other.getOutput())) return false;
if (!getTaskId()
.equals(other.getTaskId())) return false;
if (!getExternalInputPayloadStoragePath()
.equals(other.getExternalInputPayloadStoragePath())) return false;
if (!getExternalOutputPayloadStoragePath()
.equals(other.getExternalOutputPayloadStoragePath())) return false;
if (getWorkflowPriority()
!= other.getWorkflowPriority()) return false;
if (!getDomain()
.equals(other.getDomain())) 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) + WORKFLOW_ID_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowId().hashCode();
hash = (37 * hash) + WORKFLOW_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowType().hashCode();
hash = (37 * hash) + CORRELATION_ID_FIELD_NUMBER;
hash = (53 * hash) + getCorrelationId().hashCode();
hash = (37 * hash) + SCHEDULED_TIME_FIELD_NUMBER;
hash = (53 * hash) + getScheduledTime().hashCode();
hash = (37 * hash) + START_TIME_FIELD_NUMBER;
hash = (53 * hash) + getStartTime().hashCode();
hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getUpdateTime().hashCode();
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (37 * hash) + REASON_FOR_INCOMPLETION_FIELD_NUMBER;
hash = (53 * hash) + getReasonForIncompletion().hashCode();
hash = (37 * hash) + EXECUTION_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExecutionTime());
hash = (37 * hash) + QUEUE_WAIT_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getQueueWaitTime());
hash = (37 * hash) + TASK_DEF_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTaskDefName().hashCode();
hash = (37 * hash) + TASK_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getTaskType().hashCode();
hash = (37 * hash) + INPUT_FIELD_NUMBER;
hash = (53 * hash) + getInput().hashCode();
hash = (37 * hash) + OUTPUT_FIELD_NUMBER;
hash = (53 * hash) + getOutput().hashCode();
hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
hash = (53 * hash) + getTaskId().hashCode();
hash = (37 * hash) + EXTERNAL_INPUT_PAYLOAD_STORAGE_PATH_FIELD_NUMBER;
hash = (53 * hash) + getExternalInputPayloadStoragePath().hashCode();
hash = (37 * hash) + EXTERNAL_OUTPUT_PAYLOAD_STORAGE_PATH_FIELD_NUMBER;
hash = (53 * hash) + getExternalOutputPayloadStoragePath().hashCode();
hash = (37 * hash) + WORKFLOW_PRIORITY_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowPriority();
hash = (37 * hash) + DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getDomain().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.netflix.conductor.proto.TaskSummaryPb.TaskSummary prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code conductor.proto.TaskSummary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:conductor.proto.TaskSummary)
com.netflix.conductor.proto.TaskSummaryPb.TaskSummaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.netflix.conductor.proto.TaskSummaryPb.internal_static_conductor_proto_TaskSummary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.netflix.conductor.proto.TaskSummaryPb.internal_static_conductor_proto_TaskSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.class, com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.Builder.class);
}
// Construct using com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
workflowId_ = "";
workflowType_ = "";
correlationId_ = "";
scheduledTime_ = "";
startTime_ = "";
updateTime_ = "";
endTime_ = "";
status_ = 0;
reasonForIncompletion_ = "";
executionTime_ = 0L;
queueWaitTime_ = 0L;
taskDefName_ = "";
taskType_ = "";
input_ = "";
output_ = "";
taskId_ = "";
externalInputPayloadStoragePath_ = "";
externalOutputPayloadStoragePath_ = "";
workflowPriority_ = 0;
domain_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.netflix.conductor.proto.TaskSummaryPb.internal_static_conductor_proto_TaskSummary_descriptor;
}
@java.lang.Override
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummary getDefaultInstanceForType() {
return com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.getDefaultInstance();
}
@java.lang.Override
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummary build() {
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummary buildPartial() {
com.netflix.conductor.proto.TaskSummaryPb.TaskSummary result = new com.netflix.conductor.proto.TaskSummaryPb.TaskSummary(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(com.netflix.conductor.proto.TaskSummaryPb.TaskSummary result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.workflowId_ = workflowId_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.workflowType_ = workflowType_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.correlationId_ = correlationId_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.scheduledTime_ = scheduledTime_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.startTime_ = startTime_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.updateTime_ = updateTime_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.endTime_ = endTime_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.status_ = status_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.reasonForIncompletion_ = reasonForIncompletion_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.executionTime_ = executionTime_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.queueWaitTime_ = queueWaitTime_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.taskDefName_ = taskDefName_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.taskType_ = taskType_;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.input_ = input_;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.output_ = output_;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.taskId_ = taskId_;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.externalInputPayloadStoragePath_ = externalInputPayloadStoragePath_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.externalOutputPayloadStoragePath_ = externalOutputPayloadStoragePath_;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.workflowPriority_ = workflowPriority_;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
result.domain_ = domain_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.netflix.conductor.proto.TaskSummaryPb.TaskSummary) {
return mergeFrom((com.netflix.conductor.proto.TaskSummaryPb.TaskSummary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.netflix.conductor.proto.TaskSummaryPb.TaskSummary other) {
if (other == com.netflix.conductor.proto.TaskSummaryPb.TaskSummary.getDefaultInstance()) return this;
if (!other.getWorkflowId().isEmpty()) {
workflowId_ = other.workflowId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getWorkflowType().isEmpty()) {
workflowType_ = other.workflowType_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getCorrelationId().isEmpty()) {
correlationId_ = other.correlationId_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getScheduledTime().isEmpty()) {
scheduledTime_ = other.scheduledTime_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getStartTime().isEmpty()) {
startTime_ = other.startTime_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getUpdateTime().isEmpty()) {
updateTime_ = other.updateTime_;
bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getEndTime().isEmpty()) {
endTime_ = other.endTime_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (!other.getReasonForIncompletion().isEmpty()) {
reasonForIncompletion_ = other.reasonForIncompletion_;
bitField0_ |= 0x00000100;
onChanged();
}
if (other.getExecutionTime() != 0L) {
setExecutionTime(other.getExecutionTime());
}
if (other.getQueueWaitTime() != 0L) {
setQueueWaitTime(other.getQueueWaitTime());
}
if (!other.getTaskDefName().isEmpty()) {
taskDefName_ = other.taskDefName_;
bitField0_ |= 0x00000800;
onChanged();
}
if (!other.getTaskType().isEmpty()) {
taskType_ = other.taskType_;
bitField0_ |= 0x00001000;
onChanged();
}
if (!other.getInput().isEmpty()) {
input_ = other.input_;
bitField0_ |= 0x00002000;
onChanged();
}
if (!other.getOutput().isEmpty()) {
output_ = other.output_;
bitField0_ |= 0x00004000;
onChanged();
}
if (!other.getTaskId().isEmpty()) {
taskId_ = other.taskId_;
bitField0_ |= 0x00008000;
onChanged();
}
if (!other.getExternalInputPayloadStoragePath().isEmpty()) {
externalInputPayloadStoragePath_ = other.externalInputPayloadStoragePath_;
bitField0_ |= 0x00010000;
onChanged();
}
if (!other.getExternalOutputPayloadStoragePath().isEmpty()) {
externalOutputPayloadStoragePath_ = other.externalOutputPayloadStoragePath_;
bitField0_ |= 0x00020000;
onChanged();
}
if (other.getWorkflowPriority() != 0) {
setWorkflowPriority(other.getWorkflowPriority());
}
if (!other.getDomain().isEmpty()) {
domain_ = other.domain_;
bitField0_ |= 0x00080000;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
workflowId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
workflowType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
correlationId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
scheduledTime_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
startTime_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
updateTime_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
endTime_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 64: {
status_ = input.readEnum();
bitField0_ |= 0x00000080;
break;
} // case 64
case 74: {
reasonForIncompletion_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 80: {
executionTime_ = input.readInt64();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
queueWaitTime_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 88
case 98: {
taskDefName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 98
case 106: {
taskType_ = input.readStringRequireUtf8();
bitField0_ |= 0x00001000;
break;
} // case 106
case 114: {
input_ = input.readStringRequireUtf8();
bitField0_ |= 0x00002000;
break;
} // case 114
case 122: {
output_ = input.readStringRequireUtf8();
bitField0_ |= 0x00004000;
break;
} // case 122
case 130: {
taskId_ = input.readStringRequireUtf8();
bitField0_ |= 0x00008000;
break;
} // case 130
case 138: {
externalInputPayloadStoragePath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00010000;
break;
} // case 138
case 146: {
externalOutputPayloadStoragePath_ = input.readStringRequireUtf8();
bitField0_ |= 0x00020000;
break;
} // case 146
case 152: {
workflowPriority_ = input.readInt32();
bitField0_ |= 0x00040000;
break;
} // case 152
case 162: {
domain_ = input.readStringRequireUtf8();
bitField0_ |= 0x00080000;
break;
} // case 162
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object workflowId_ = "";
/**
* string workflow_id = 1;
* @return The workflowId.
*/
public java.lang.String getWorkflowId() {
java.lang.Object ref = workflowId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workflowId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string workflow_id = 1;
* @return The bytes for workflowId.
*/
public com.google.protobuf.ByteString
getWorkflowIdBytes() {
java.lang.Object ref = workflowId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string workflow_id = 1;
* @param value The workflowId to set.
* @return This builder for chaining.
*/
public Builder setWorkflowId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
workflowId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string workflow_id = 1;
* @return This builder for chaining.
*/
public Builder clearWorkflowId() {
workflowId_ = getDefaultInstance().getWorkflowId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string workflow_id = 1;
* @param value The bytes for workflowId to set.
* @return This builder for chaining.
*/
public Builder setWorkflowIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
workflowId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object workflowType_ = "";
/**
* string workflow_type = 2;
* @return The workflowType.
*/
public java.lang.String getWorkflowType() {
java.lang.Object ref = workflowType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
workflowType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string workflow_type = 2;
* @return The bytes for workflowType.
*/
public com.google.protobuf.ByteString
getWorkflowTypeBytes() {
java.lang.Object ref = workflowType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workflowType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string workflow_type = 2;
* @param value The workflowType to set.
* @return This builder for chaining.
*/
public Builder setWorkflowType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
workflowType_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string workflow_type = 2;
* @return This builder for chaining.
*/
public Builder clearWorkflowType() {
workflowType_ = getDefaultInstance().getWorkflowType();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string workflow_type = 2;
* @param value The bytes for workflowType to set.
* @return This builder for chaining.
*/
public Builder setWorkflowTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
workflowType_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object correlationId_ = "";
/**
* string correlation_id = 3;
* @return The correlationId.
*/
public java.lang.String getCorrelationId() {
java.lang.Object ref = correlationId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
correlationId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string correlation_id = 3;
* @return The bytes for correlationId.
*/
public com.google.protobuf.ByteString
getCorrelationIdBytes() {
java.lang.Object ref = correlationId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
correlationId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string correlation_id = 3;
* @param value The correlationId to set.
* @return This builder for chaining.
*/
public Builder setCorrelationId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
correlationId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string correlation_id = 3;
* @return This builder for chaining.
*/
public Builder clearCorrelationId() {
correlationId_ = getDefaultInstance().getCorrelationId();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string correlation_id = 3;
* @param value The bytes for correlationId to set.
* @return This builder for chaining.
*/
public Builder setCorrelationIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
correlationId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object scheduledTime_ = "";
/**
* string scheduled_time = 4;
* @return The scheduledTime.
*/
public java.lang.String getScheduledTime() {
java.lang.Object ref = scheduledTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
scheduledTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string scheduled_time = 4;
* @return The bytes for scheduledTime.
*/
public com.google.protobuf.ByteString
getScheduledTimeBytes() {
java.lang.Object ref = scheduledTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
scheduledTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string scheduled_time = 4;
* @param value The scheduledTime to set.
* @return This builder for chaining.
*/
public Builder setScheduledTime(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
scheduledTime_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* string scheduled_time = 4;
* @return This builder for chaining.
*/
public Builder clearScheduledTime() {
scheduledTime_ = getDefaultInstance().getScheduledTime();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* string scheduled_time = 4;
* @param value The bytes for scheduledTime to set.
* @return This builder for chaining.
*/
public Builder setScheduledTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
scheduledTime_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object startTime_ = "";
/**
* string start_time = 5;
* @return The startTime.
*/
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string start_time = 5;
* @return The bytes for startTime.
*/
public com.google.protobuf.ByteString
getStartTimeBytes() {
java.lang.Object ref = startTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string start_time = 5;
* @param value The startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTime(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
startTime_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* string start_time = 5;
* @return This builder for chaining.
*/
public Builder clearStartTime() {
startTime_ = getDefaultInstance().getStartTime();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* string start_time = 5;
* @param value The bytes for startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
startTime_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object updateTime_ = "";
/**
* string update_time = 6;
* @return The updateTime.
*/
public java.lang.String getUpdateTime() {
java.lang.Object ref = updateTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
updateTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string update_time = 6;
* @return The bytes for updateTime.
*/
public com.google.protobuf.ByteString
getUpdateTimeBytes() {
java.lang.Object ref = updateTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
updateTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string update_time = 6;
* @param value The updateTime to set.
* @return This builder for chaining.
*/
public Builder setUpdateTime(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
updateTime_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* string update_time = 6;
* @return This builder for chaining.
*/
public Builder clearUpdateTime() {
updateTime_ = getDefaultInstance().getUpdateTime();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* string update_time = 6;
* @param value The bytes for updateTime to set.
* @return This builder for chaining.
*/
public Builder setUpdateTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
updateTime_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object endTime_ = "";
/**
* string end_time = 7;
* @return The endTime.
*/
public java.lang.String getEndTime() {
java.lang.Object ref = endTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string end_time = 7;
* @return The bytes for endTime.
*/
public com.google.protobuf.ByteString
getEndTimeBytes() {
java.lang.Object ref = endTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string end_time = 7;
* @param value The endTime to set.
* @return This builder for chaining.
*/
public Builder setEndTime(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
endTime_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* string end_time = 7;
* @return This builder for chaining.
*/
public Builder clearEndTime() {
endTime_ = getDefaultInstance().getEndTime();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* string end_time = 7;
* @param value The bytes for endTime to set.
* @return This builder for chaining.
*/
public Builder setEndTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
endTime_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private int status_ = 0;
/**
* .conductor.proto.Task.Status status = 8;
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
* .conductor.proto.Task.Status 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;
}
/**
* .conductor.proto.Task.Status status = 8;
* @return The status.
*/
@java.lang.Override
public com.netflix.conductor.proto.TaskPb.Task.Status getStatus() {
com.netflix.conductor.proto.TaskPb.Task.Status result = com.netflix.conductor.proto.TaskPb.Task.Status.forNumber(status_);
return result == null ? com.netflix.conductor.proto.TaskPb.Task.Status.UNRECOGNIZED : result;
}
/**
* .conductor.proto.Task.Status status = 8;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.netflix.conductor.proto.TaskPb.Task.Status value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* .conductor.proto.Task.Status status = 8;
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000080);
status_ = 0;
onChanged();
return this;
}
private java.lang.Object reasonForIncompletion_ = "";
/**
* string reason_for_incompletion = 9;
* @return The reasonForIncompletion.
*/
public java.lang.String getReasonForIncompletion() {
java.lang.Object ref = reasonForIncompletion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
reasonForIncompletion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string reason_for_incompletion = 9;
* @return The bytes for reasonForIncompletion.
*/
public com.google.protobuf.ByteString
getReasonForIncompletionBytes() {
java.lang.Object ref = reasonForIncompletion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reasonForIncompletion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string reason_for_incompletion = 9;
* @param value The reasonForIncompletion to set.
* @return This builder for chaining.
*/
public Builder setReasonForIncompletion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
reasonForIncompletion_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* string reason_for_incompletion = 9;
* @return This builder for chaining.
*/
public Builder clearReasonForIncompletion() {
reasonForIncompletion_ = getDefaultInstance().getReasonForIncompletion();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* string reason_for_incompletion = 9;
* @param value The bytes for reasonForIncompletion to set.
* @return This builder for chaining.
*/
public Builder setReasonForIncompletionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
reasonForIncompletion_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private long executionTime_ ;
/**
* int64 execution_time = 10;
* @return The executionTime.
*/
@java.lang.Override
public long getExecutionTime() {
return executionTime_;
}
/**
* int64 execution_time = 10;
* @param value The executionTime to set.
* @return This builder for chaining.
*/
public Builder setExecutionTime(long value) {
executionTime_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* int64 execution_time = 10;
* @return This builder for chaining.
*/
public Builder clearExecutionTime() {
bitField0_ = (bitField0_ & ~0x00000200);
executionTime_ = 0L;
onChanged();
return this;
}
private long queueWaitTime_ ;
/**
* int64 queue_wait_time = 11;
* @return The queueWaitTime.
*/
@java.lang.Override
public long getQueueWaitTime() {
return queueWaitTime_;
}
/**
* int64 queue_wait_time = 11;
* @param value The queueWaitTime to set.
* @return This builder for chaining.
*/
public Builder setQueueWaitTime(long value) {
queueWaitTime_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* int64 queue_wait_time = 11;
* @return This builder for chaining.
*/
public Builder clearQueueWaitTime() {
bitField0_ = (bitField0_ & ~0x00000400);
queueWaitTime_ = 0L;
onChanged();
return this;
}
private java.lang.Object taskDefName_ = "";
/**
* string task_def_name = 12;
* @return The taskDefName.
*/
public java.lang.String getTaskDefName() {
java.lang.Object ref = taskDefName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskDefName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string task_def_name = 12;
* @return The bytes for taskDefName.
*/
public com.google.protobuf.ByteString
getTaskDefNameBytes() {
java.lang.Object ref = taskDefName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskDefName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string task_def_name = 12;
* @param value The taskDefName to set.
* @return This builder for chaining.
*/
public Builder setTaskDefName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskDefName_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* string task_def_name = 12;
* @return This builder for chaining.
*/
public Builder clearTaskDefName() {
taskDefName_ = getDefaultInstance().getTaskDefName();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* string task_def_name = 12;
* @param value The bytes for taskDefName to set.
* @return This builder for chaining.
*/
public Builder setTaskDefNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskDefName_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private java.lang.Object taskType_ = "";
/**
* string task_type = 13;
* @return The taskType.
*/
public java.lang.String getTaskType() {
java.lang.Object ref = taskType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string task_type = 13;
* @return The bytes for taskType.
*/
public com.google.protobuf.ByteString
getTaskTypeBytes() {
java.lang.Object ref = taskType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string task_type = 13;
* @param value The taskType to set.
* @return This builder for chaining.
*/
public Builder setTaskType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskType_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* string task_type = 13;
* @return This builder for chaining.
*/
public Builder clearTaskType() {
taskType_ = getDefaultInstance().getTaskType();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
* string task_type = 13;
* @param value The bytes for taskType to set.
* @return This builder for chaining.
*/
public Builder setTaskTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskType_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
private java.lang.Object input_ = "";
/**
* string input = 14;
* @return The input.
*/
public java.lang.String getInput() {
java.lang.Object ref = input_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
input_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string input = 14;
* @return The bytes for input.
*/
public com.google.protobuf.ByteString
getInputBytes() {
java.lang.Object ref = input_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
input_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string input = 14;
* @param value The input to set.
* @return This builder for chaining.
*/
public Builder setInput(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
input_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* string input = 14;
* @return This builder for chaining.
*/
public Builder clearInput() {
input_ = getDefaultInstance().getInput();
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
return this;
}
/**
* string input = 14;
* @param value The bytes for input to set.
* @return This builder for chaining.
*/
public Builder setInputBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
input_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
private java.lang.Object output_ = "";
/**
* string output = 15;
* @return The output.
*/
public java.lang.String getOutput() {
java.lang.Object ref = output_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
output_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string output = 15;
* @return The bytes for output.
*/
public com.google.protobuf.ByteString
getOutputBytes() {
java.lang.Object ref = output_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
output_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string output = 15;
* @param value The output to set.
* @return This builder for chaining.
*/
public Builder setOutput(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
output_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* string output = 15;
* @return This builder for chaining.
*/
public Builder clearOutput() {
output_ = getDefaultInstance().getOutput();
bitField0_ = (bitField0_ & ~0x00004000);
onChanged();
return this;
}
/**
* string output = 15;
* @param value The bytes for output to set.
* @return This builder for chaining.
*/
public Builder setOutputBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
output_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
private java.lang.Object taskId_ = "";
/**
* string task_id = 16;
* @return The taskId.
*/
public java.lang.String getTaskId() {
java.lang.Object ref = taskId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string task_id = 16;
* @return The bytes for taskId.
*/
public com.google.protobuf.ByteString
getTaskIdBytes() {
java.lang.Object ref = taskId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string task_id = 16;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
taskId_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* string task_id = 16;
* @return This builder for chaining.
*/
public Builder clearTaskId() {
taskId_ = getDefaultInstance().getTaskId();
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
return this;
}
/**
* string task_id = 16;
* @param value The bytes for taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
taskId_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
private java.lang.Object externalInputPayloadStoragePath_ = "";
/**
* string external_input_payload_storage_path = 17;
* @return The externalInputPayloadStoragePath.
*/
public java.lang.String getExternalInputPayloadStoragePath() {
java.lang.Object ref = externalInputPayloadStoragePath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
externalInputPayloadStoragePath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string external_input_payload_storage_path = 17;
* @return The bytes for externalInputPayloadStoragePath.
*/
public com.google.protobuf.ByteString
getExternalInputPayloadStoragePathBytes() {
java.lang.Object ref = externalInputPayloadStoragePath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalInputPayloadStoragePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string external_input_payload_storage_path = 17;
* @param value The externalInputPayloadStoragePath to set.
* @return This builder for chaining.
*/
public Builder setExternalInputPayloadStoragePath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
externalInputPayloadStoragePath_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* string external_input_payload_storage_path = 17;
* @return This builder for chaining.
*/
public Builder clearExternalInputPayloadStoragePath() {
externalInputPayloadStoragePath_ = getDefaultInstance().getExternalInputPayloadStoragePath();
bitField0_ = (bitField0_ & ~0x00010000);
onChanged();
return this;
}
/**
* string external_input_payload_storage_path = 17;
* @param value The bytes for externalInputPayloadStoragePath to set.
* @return This builder for chaining.
*/
public Builder setExternalInputPayloadStoragePathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
externalInputPayloadStoragePath_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
private java.lang.Object externalOutputPayloadStoragePath_ = "";
/**
* string external_output_payload_storage_path = 18;
* @return The externalOutputPayloadStoragePath.
*/
public java.lang.String getExternalOutputPayloadStoragePath() {
java.lang.Object ref = externalOutputPayloadStoragePath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
externalOutputPayloadStoragePath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string external_output_payload_storage_path = 18;
* @return The bytes for externalOutputPayloadStoragePath.
*/
public com.google.protobuf.ByteString
getExternalOutputPayloadStoragePathBytes() {
java.lang.Object ref = externalOutputPayloadStoragePath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalOutputPayloadStoragePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string external_output_payload_storage_path = 18;
* @param value The externalOutputPayloadStoragePath to set.
* @return This builder for chaining.
*/
public Builder setExternalOutputPayloadStoragePath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
externalOutputPayloadStoragePath_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* string external_output_payload_storage_path = 18;
* @return This builder for chaining.
*/
public Builder clearExternalOutputPayloadStoragePath() {
externalOutputPayloadStoragePath_ = getDefaultInstance().getExternalOutputPayloadStoragePath();
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
return this;
}
/**
* string external_output_payload_storage_path = 18;
* @param value The bytes for externalOutputPayloadStoragePath to set.
* @return This builder for chaining.
*/
public Builder setExternalOutputPayloadStoragePathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
externalOutputPayloadStoragePath_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
private int workflowPriority_ ;
/**
* int32 workflow_priority = 19;
* @return The workflowPriority.
*/
@java.lang.Override
public int getWorkflowPriority() {
return workflowPriority_;
}
/**
* int32 workflow_priority = 19;
* @param value The workflowPriority to set.
* @return This builder for chaining.
*/
public Builder setWorkflowPriority(int value) {
workflowPriority_ = value;
bitField0_ |= 0x00040000;
onChanged();
return this;
}
/**
* int32 workflow_priority = 19;
* @return This builder for chaining.
*/
public Builder clearWorkflowPriority() {
bitField0_ = (bitField0_ & ~0x00040000);
workflowPriority_ = 0;
onChanged();
return this;
}
private java.lang.Object domain_ = "";
/**
* string domain = 20;
* @return The domain.
*/
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string domain = 20;
* @return The bytes for domain.
*/
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string domain = 20;
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
domain_ = value;
bitField0_ |= 0x00080000;
onChanged();
return this;
}
/**
* string domain = 20;
* @return This builder for chaining.
*/
public Builder clearDomain() {
domain_ = getDefaultInstance().getDomain();
bitField0_ = (bitField0_ & ~0x00080000);
onChanged();
return this;
}
/**
* string domain = 20;
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
domain_ = value;
bitField0_ |= 0x00080000;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:conductor.proto.TaskSummary)
}
// @@protoc_insertion_point(class_scope:conductor.proto.TaskSummary)
private static final com.netflix.conductor.proto.TaskSummaryPb.TaskSummary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.netflix.conductor.proto.TaskSummaryPb.TaskSummary();
}
public static com.netflix.conductor.proto.TaskSummaryPb.TaskSummary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TaskSummary parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.netflix.conductor.proto.TaskSummaryPb.TaskSummary getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_conductor_proto_TaskSummary_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_conductor_proto_TaskSummary_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027model/tasksummary.proto\022\017conductor.pro" +
"to\032\020model/task.proto\"\204\004\n\013TaskSummary\022\023\n\013" +
"workflow_id\030\001 \001(\t\022\025\n\rworkflow_type\030\002 \001(\t" +
"\022\026\n\016correlation_id\030\003 \001(\t\022\026\n\016scheduled_ti" +
"me\030\004 \001(\t\022\022\n\nstart_time\030\005 \001(\t\022\023\n\013update_t" +
"ime\030\006 \001(\t\022\020\n\010end_time\030\007 \001(\t\022,\n\006status\030\010 " +
"\001(\0162\034.conductor.proto.Task.Status\022\037\n\027rea" +
"son_for_incompletion\030\t \001(\t\022\026\n\016execution_" +
"time\030\n \001(\003\022\027\n\017queue_wait_time\030\013 \001(\003\022\025\n\rt" +
"ask_def_name\030\014 \001(\t\022\021\n\ttask_type\030\r \001(\t\022\r\n" +
"\005input\030\016 \001(\t\022\016\n\006output\030\017 \001(\t\022\017\n\007task_id\030" +
"\020 \001(\t\022+\n#external_input_payload_storage_" +
"path\030\021 \001(\t\022,\n$external_output_payload_st" +
"orage_path\030\022 \001(\t\022\031\n\021workflow_priority\030\023 " +
"\001(\005\022\016\n\006domain\030\024 \001(\tBh\n\033com.netflix.condu" +
"ctor.protoB\rTaskSummaryPbZ:github.com/ne" +
"tflix/conductor/client/gogrpc/conductor/" +
"modelb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.netflix.conductor.proto.TaskPb.getDescriptor(),
});
internal_static_conductor_proto_TaskSummary_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_conductor_proto_TaskSummary_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_conductor_proto_TaskSummary_descriptor,
new java.lang.String[] { "WorkflowId", "WorkflowType", "CorrelationId", "ScheduledTime", "StartTime", "UpdateTime", "EndTime", "Status", "ReasonForIncompletion", "ExecutionTime", "QueueWaitTime", "TaskDefName", "TaskType", "Input", "Output", "TaskId", "ExternalInputPayloadStoragePath", "ExternalOutputPayloadStoragePath", "WorkflowPriority", "Domain", });
com.netflix.conductor.proto.TaskPb.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy