com.volcengine.service.vod.model.business.WorkflowExecution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: volcengine/vod/business/vod_workflow.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.WorkflowExecution}
*/
public final class WorkflowExecution extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.WorkflowExecution)
WorkflowExecutionOrBuilder {
private static final long serialVersionUID = 0L;
// Use WorkflowExecution.newBuilder() to construct.
private WorkflowExecution(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WorkflowExecution() {
runId_ = "";
vid_ = "";
templateId_ = "";
templateName_ = "";
spaceName_ = "";
status_ = "";
taskListId_ = "";
jobSource_ = "";
callbackArgs_ = "";
tasksDetail_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WorkflowExecution();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private WorkflowExecution(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
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();
runId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
vid_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
templateId_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
templateName_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
spaceName_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
status_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
taskListId_ = s;
break;
}
case 64: {
enableLowPriority_ = input.readBool();
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
jobSource_ = s;
break;
}
case 82: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (createTime_ != null) {
subBuilder = createTime_.toBuilder();
}
createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(createTime_);
createTime_ = subBuilder.buildPartial();
}
break;
}
case 90: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (startTime_ != null) {
subBuilder = startTime_.toBuilder();
}
startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(startTime_);
startTime_ = subBuilder.buildPartial();
}
break;
}
case 98: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (endTime_ != null) {
subBuilder = endTime_.toBuilder();
}
endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(endTime_);
endTime_ = subBuilder.buildPartial();
}
break;
}
case 106: {
com.volcengine.service.vod.model.business.WorkflowParams.Builder subBuilder = null;
if (input_ != null) {
subBuilder = input_.toBuilder();
}
input_ = input.readMessage(com.volcengine.service.vod.model.business.WorkflowParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(input_);
input_ = subBuilder.buildPartial();
}
break;
}
case 112: {
priority_ = input.readInt32();
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
callbackArgs_ = s;
break;
}
case 130: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
tasksDetail_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
tasksDetail_.add(
input.readMessage(com.volcengine.service.vod.model.business.TaskDetail.parser(), extensionRegistry));
break;
}
case 138: {
com.volcengine.service.vod.model.business.DirectUrl.Builder subBuilder = null;
if (directUrl_ != null) {
subBuilder = directUrl_.toBuilder();
}
directUrl_ = input.readMessage(com.volcengine.service.vod.model.business.DirectUrl.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(directUrl_);
directUrl_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
tasksDetail_ = java.util.Collections.unmodifiableList(tasksDetail_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_WorkflowExecution_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_WorkflowExecution_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.WorkflowExecution.class, com.volcengine.service.vod.model.business.WorkflowExecution.Builder.class);
}
public static final int RUNID_FIELD_NUMBER = 1;
private volatile java.lang.Object runId_;
/**
*
*工作流执行ID
*
*
* string RunId = 1;
* @return The runId.
*/
@java.lang.Override
public java.lang.String getRunId() {
java.lang.Object ref = runId_;
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();
runId_ = s;
return s;
}
}
/**
*
*工作流执行ID
*
*
* string RunId = 1;
* @return The bytes for runId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRunIdBytes() {
java.lang.Object ref = runId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
runId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VID_FIELD_NUMBER = 2;
private volatile java.lang.Object vid_;
/**
*
* 视频ID
*
*
* string Vid = 2;
* @return The vid.
*/
@java.lang.Override
public java.lang.String getVid() {
java.lang.Object ref = vid_;
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();
vid_ = s;
return s;
}
}
/**
*
* 视频ID
*
*
* string Vid = 2;
* @return The bytes for vid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEMPLATEID_FIELD_NUMBER = 3;
private volatile java.lang.Object templateId_;
/**
*
*模板ID,即工作流ID
*
*
* string TemplateId = 3;
* @return The templateId.
*/
@java.lang.Override
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
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();
templateId_ = s;
return s;
}
}
/**
*
*模板ID,即工作流ID
*
*
* string TemplateId = 3;
* @return The bytes for templateId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTemplateIdBytes() {
java.lang.Object ref = templateId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEMPLATENAME_FIELD_NUMBER = 4;
private volatile java.lang.Object templateName_;
/**
*
* 工作流名称
*
*
* string TemplateName = 4;
* @return The templateName.
*/
@java.lang.Override
public java.lang.String getTemplateName() {
java.lang.Object ref = templateName_;
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();
templateName_ = s;
return s;
}
}
/**
*
* 工作流名称
*
*
* string TemplateName = 4;
* @return The bytes for templateName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTemplateNameBytes() {
java.lang.Object ref = templateName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SPACENAME_FIELD_NUMBER = 5;
private volatile java.lang.Object spaceName_;
/**
*
* 空间名
*
*
* string SpaceName = 5;
* @return The spaceName.
*/
@java.lang.Override
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
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();
spaceName_ = s;
return s;
}
}
/**
*
* 空间名
*
*
* string SpaceName = 5;
* @return The bytes for spaceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 6;
private volatile java.lang.Object status_;
/**
*
*执行状态
*
*
* string Status = 6;
* @return The status.
*/
@java.lang.Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
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();
status_ = s;
return s;
}
}
/**
*
*执行状态
*
*
* string Status = 6;
* @return The bytes for status.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TASKLISTID_FIELD_NUMBER = 7;
private volatile java.lang.Object taskListId_;
/**
*
*任务队列ID
*
*
* string TaskListId = 7;
* @return The taskListId.
*/
@java.lang.Override
public java.lang.String getTaskListId() {
java.lang.Object ref = taskListId_;
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();
taskListId_ = s;
return s;
}
}
/**
*
*任务队列ID
*
*
* string TaskListId = 7;
* @return The bytes for taskListId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTaskListIdBytes() {
java.lang.Object ref = taskListId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskListId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENABLELOWPRIORITY_FIELD_NUMBER = 8;
private boolean enableLowPriority_;
/**
*
*闲时转码
*
*
* bool EnableLowPriority = 8;
* @return The enableLowPriority.
*/
@java.lang.Override
public boolean getEnableLowPriority() {
return enableLowPriority_;
}
public static final int JOBSOURCE_FIELD_NUMBER = 9;
private volatile java.lang.Object jobSource_;
/**
*
*任务来源
*
*
* string JobSource = 9;
* @return The jobSource.
*/
@java.lang.Override
public java.lang.String getJobSource() {
java.lang.Object ref = jobSource_;
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();
jobSource_ = s;
return s;
}
}
/**
*
*任务来源
*
*
* string JobSource = 9;
* @return The bytes for jobSource.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobSourceBytes() {
java.lang.Object ref = jobSource_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobSource_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATETIME_FIELD_NUMBER = 10;
private com.google.protobuf.Timestamp createTime_;
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
* @return The createTime.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getCreateTime() {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
public static final int STARTTIME_FIELD_NUMBER = 11;
private com.google.protobuf.Timestamp startTime_;
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
* @return Whether the startTime field is set.
*/
@java.lang.Override
public boolean hasStartTime() {
return startTime_ != null;
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
* @return The startTime.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
return getStartTime();
}
public static final int ENDTIME_FIELD_NUMBER = 12;
private com.google.protobuf.Timestamp endTime_;
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
* @return Whether the endTime field is set.
*/
@java.lang.Override
public boolean hasEndTime() {
return endTime_ != null;
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
* @return The endTime.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
return getEndTime();
}
public static final int INPUT_FIELD_NUMBER = 13;
private com.volcengine.service.vod.model.business.WorkflowParams input_;
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
* @return Whether the input field is set.
*/
@java.lang.Override
public boolean hasInput() {
return input_ != null;
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
* @return The input.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.WorkflowParams getInput() {
return input_ == null ? com.volcengine.service.vod.model.business.WorkflowParams.getDefaultInstance() : input_;
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.WorkflowParamsOrBuilder getInputOrBuilder() {
return getInput();
}
public static final int PRIORITY_FIELD_NUMBER = 14;
private int priority_;
/**
*
*转码记录优先级
*
*
* int32 Priority = 14;
* @return The priority.
*/
@java.lang.Override
public int getPriority() {
return priority_;
}
public static final int CALLBACKARGS_FIELD_NUMBER = 15;
private volatile java.lang.Object callbackArgs_;
/**
*
*回调透传参数
*
*
* string CallbackArgs = 15;
* @return The callbackArgs.
*/
@java.lang.Override
public java.lang.String getCallbackArgs() {
java.lang.Object ref = callbackArgs_;
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();
callbackArgs_ = s;
return s;
}
}
/**
*
*回调透传参数
*
*
* string CallbackArgs = 15;
* @return The bytes for callbackArgs.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCallbackArgsBytes() {
java.lang.Object ref = callbackArgs_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackArgs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TASKSDETAIL_FIELD_NUMBER = 16;
private java.util.List tasksDetail_;
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
@java.lang.Override
public java.util.List getTasksDetailList() {
return tasksDetail_;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.TaskDetailOrBuilder>
getTasksDetailOrBuilderList() {
return tasksDetail_;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
@java.lang.Override
public int getTasksDetailCount() {
return tasksDetail_.size();
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TaskDetail getTasksDetail(int index) {
return tasksDetail_.get(index);
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TaskDetailOrBuilder getTasksDetailOrBuilder(
int index) {
return tasksDetail_.get(index);
}
public static final int DIRECTURL_FIELD_NUMBER = 17;
private com.volcengine.service.vod.model.business.DirectUrl directUrl_;
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
* @return Whether the directUrl field is set.
*/
@java.lang.Override
public boolean hasDirectUrl() {
return directUrl_ != null;
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
* @return The directUrl.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.DirectUrl getDirectUrl() {
return directUrl_ == null ? com.volcengine.service.vod.model.business.DirectUrl.getDefaultInstance() : directUrl_;
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.DirectUrlOrBuilder getDirectUrlOrBuilder() {
return getDirectUrl();
}
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(runId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, templateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, templateName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskListId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, taskListId_);
}
if (enableLowPriority_ != false) {
output.writeBool(8, enableLowPriority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSource_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, jobSource_);
}
if (createTime_ != null) {
output.writeMessage(10, getCreateTime());
}
if (startTime_ != null) {
output.writeMessage(11, getStartTime());
}
if (endTime_ != null) {
output.writeMessage(12, getEndTime());
}
if (input_ != null) {
output.writeMessage(13, getInput());
}
if (priority_ != 0) {
output.writeInt32(14, priority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, callbackArgs_);
}
for (int i = 0; i < tasksDetail_.size(); i++) {
output.writeMessage(16, tasksDetail_.get(i));
}
if (directUrl_ != null) {
output.writeMessage(17, getDirectUrl());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, runId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, templateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, templateName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskListId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, taskListId_);
}
if (enableLowPriority_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, enableLowPriority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobSource_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, jobSource_);
}
if (createTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getCreateTime());
}
if (startTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getStartTime());
}
if (endTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getEndTime());
}
if (input_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getInput());
}
if (priority_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(14, priority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, callbackArgs_);
}
for (int i = 0; i < tasksDetail_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, tasksDetail_.get(i));
}
if (directUrl_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getDirectUrl());
}
size += unknownFields.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.volcengine.service.vod.model.business.WorkflowExecution)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.WorkflowExecution other = (com.volcengine.service.vod.model.business.WorkflowExecution) obj;
if (!getRunId()
.equals(other.getRunId())) return false;
if (!getVid()
.equals(other.getVid())) return false;
if (!getTemplateId()
.equals(other.getTemplateId())) return false;
if (!getTemplateName()
.equals(other.getTemplateName())) return false;
if (!getSpaceName()
.equals(other.getSpaceName())) return false;
if (!getStatus()
.equals(other.getStatus())) return false;
if (!getTaskListId()
.equals(other.getTaskListId())) return false;
if (getEnableLowPriority()
!= other.getEnableLowPriority()) return false;
if (!getJobSource()
.equals(other.getJobSource())) return false;
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (!getCreateTime()
.equals(other.getCreateTime())) return false;
}
if (hasStartTime() != other.hasStartTime()) return false;
if (hasStartTime()) {
if (!getStartTime()
.equals(other.getStartTime())) return false;
}
if (hasEndTime() != other.hasEndTime()) return false;
if (hasEndTime()) {
if (!getEndTime()
.equals(other.getEndTime())) return false;
}
if (hasInput() != other.hasInput()) return false;
if (hasInput()) {
if (!getInput()
.equals(other.getInput())) return false;
}
if (getPriority()
!= other.getPriority()) return false;
if (!getCallbackArgs()
.equals(other.getCallbackArgs())) return false;
if (!getTasksDetailList()
.equals(other.getTasksDetailList())) return false;
if (hasDirectUrl() != other.hasDirectUrl()) return false;
if (hasDirectUrl()) {
if (!getDirectUrl()
.equals(other.getDirectUrl())) return false;
}
if (!unknownFields.equals(other.unknownFields)) 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) + RUNID_FIELD_NUMBER;
hash = (53 * hash) + getRunId().hashCode();
hash = (37 * hash) + VID_FIELD_NUMBER;
hash = (53 * hash) + getVid().hashCode();
hash = (37 * hash) + TEMPLATEID_FIELD_NUMBER;
hash = (53 * hash) + getTemplateId().hashCode();
hash = (37 * hash) + TEMPLATENAME_FIELD_NUMBER;
hash = (53 * hash) + getTemplateName().hashCode();
hash = (37 * hash) + SPACENAME_FIELD_NUMBER;
hash = (53 * hash) + getSpaceName().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
hash = (37 * hash) + TASKLISTID_FIELD_NUMBER;
hash = (53 * hash) + getTaskListId().hashCode();
hash = (37 * hash) + ENABLELOWPRIORITY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableLowPriority());
hash = (37 * hash) + JOBSOURCE_FIELD_NUMBER;
hash = (53 * hash) + getJobSource().hashCode();
if (hasCreateTime()) {
hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime().hashCode();
}
if (hasStartTime()) {
hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
hash = (53 * hash) + getStartTime().hashCode();
}
if (hasEndTime()) {
hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime().hashCode();
}
if (hasInput()) {
hash = (37 * hash) + INPUT_FIELD_NUMBER;
hash = (53 * hash) + getInput().hashCode();
}
hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
hash = (53 * hash) + getPriority();
hash = (37 * hash) + CALLBACKARGS_FIELD_NUMBER;
hash = (53 * hash) + getCallbackArgs().hashCode();
if (getTasksDetailCount() > 0) {
hash = (37 * hash) + TASKSDETAIL_FIELD_NUMBER;
hash = (53 * hash) + getTasksDetailList().hashCode();
}
if (hasDirectUrl()) {
hash = (37 * hash) + DIRECTURL_FIELD_NUMBER;
hash = (53 * hash) + getDirectUrl().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.WorkflowExecution parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.WorkflowExecution parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.WorkflowExecution parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.WorkflowExecution parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.WorkflowExecution parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.WorkflowExecution parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.WorkflowExecution parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.WorkflowExecution 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.volcengine.service.vod.model.business.WorkflowExecution parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.WorkflowExecution 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.volcengine.service.vod.model.business.WorkflowExecution parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.WorkflowExecution 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.volcengine.service.vod.model.business.WorkflowExecution 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 Volcengine.Vod.Models.Business.WorkflowExecution}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.WorkflowExecution)
com.volcengine.service.vod.model.business.WorkflowExecutionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_WorkflowExecution_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_WorkflowExecution_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.WorkflowExecution.class, com.volcengine.service.vod.model.business.WorkflowExecution.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.WorkflowExecution.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTasksDetailFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
runId_ = "";
vid_ = "";
templateId_ = "";
templateName_ = "";
spaceName_ = "";
status_ = "";
taskListId_ = "";
enableLowPriority_ = false;
jobSource_ = "";
if (createTimeBuilder_ == null) {
createTime_ = null;
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
if (startTimeBuilder_ == null) {
startTime_ = null;
} else {
startTime_ = null;
startTimeBuilder_ = null;
}
if (endTimeBuilder_ == null) {
endTime_ = null;
} else {
endTime_ = null;
endTimeBuilder_ = null;
}
if (inputBuilder_ == null) {
input_ = null;
} else {
input_ = null;
inputBuilder_ = null;
}
priority_ = 0;
callbackArgs_ = "";
if (tasksDetailBuilder_ == null) {
tasksDetail_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
tasksDetailBuilder_.clear();
}
if (directUrlBuilder_ == null) {
directUrl_ = null;
} else {
directUrl_ = null;
directUrlBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_WorkflowExecution_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.WorkflowExecution getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.WorkflowExecution.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.WorkflowExecution build() {
com.volcengine.service.vod.model.business.WorkflowExecution result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.WorkflowExecution buildPartial() {
com.volcengine.service.vod.model.business.WorkflowExecution result = new com.volcengine.service.vod.model.business.WorkflowExecution(this);
int from_bitField0_ = bitField0_;
result.runId_ = runId_;
result.vid_ = vid_;
result.templateId_ = templateId_;
result.templateName_ = templateName_;
result.spaceName_ = spaceName_;
result.status_ = status_;
result.taskListId_ = taskListId_;
result.enableLowPriority_ = enableLowPriority_;
result.jobSource_ = jobSource_;
if (createTimeBuilder_ == null) {
result.createTime_ = createTime_;
} else {
result.createTime_ = createTimeBuilder_.build();
}
if (startTimeBuilder_ == null) {
result.startTime_ = startTime_;
} else {
result.startTime_ = startTimeBuilder_.build();
}
if (endTimeBuilder_ == null) {
result.endTime_ = endTime_;
} else {
result.endTime_ = endTimeBuilder_.build();
}
if (inputBuilder_ == null) {
result.input_ = input_;
} else {
result.input_ = inputBuilder_.build();
}
result.priority_ = priority_;
result.callbackArgs_ = callbackArgs_;
if (tasksDetailBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tasksDetail_ = java.util.Collections.unmodifiableList(tasksDetail_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.tasksDetail_ = tasksDetail_;
} else {
result.tasksDetail_ = tasksDetailBuilder_.build();
}
if (directUrlBuilder_ == null) {
result.directUrl_ = directUrl_;
} else {
result.directUrl_ = directUrlBuilder_.build();
}
onBuilt();
return result;
}
@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.volcengine.service.vod.model.business.WorkflowExecution) {
return mergeFrom((com.volcengine.service.vod.model.business.WorkflowExecution)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.WorkflowExecution other) {
if (other == com.volcengine.service.vod.model.business.WorkflowExecution.getDefaultInstance()) return this;
if (!other.getRunId().isEmpty()) {
runId_ = other.runId_;
onChanged();
}
if (!other.getVid().isEmpty()) {
vid_ = other.vid_;
onChanged();
}
if (!other.getTemplateId().isEmpty()) {
templateId_ = other.templateId_;
onChanged();
}
if (!other.getTemplateName().isEmpty()) {
templateName_ = other.templateName_;
onChanged();
}
if (!other.getSpaceName().isEmpty()) {
spaceName_ = other.spaceName_;
onChanged();
}
if (!other.getStatus().isEmpty()) {
status_ = other.status_;
onChanged();
}
if (!other.getTaskListId().isEmpty()) {
taskListId_ = other.taskListId_;
onChanged();
}
if (other.getEnableLowPriority() != false) {
setEnableLowPriority(other.getEnableLowPriority());
}
if (!other.getJobSource().isEmpty()) {
jobSource_ = other.jobSource_;
onChanged();
}
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
if (other.hasStartTime()) {
mergeStartTime(other.getStartTime());
}
if (other.hasEndTime()) {
mergeEndTime(other.getEndTime());
}
if (other.hasInput()) {
mergeInput(other.getInput());
}
if (other.getPriority() != 0) {
setPriority(other.getPriority());
}
if (!other.getCallbackArgs().isEmpty()) {
callbackArgs_ = other.callbackArgs_;
onChanged();
}
if (tasksDetailBuilder_ == null) {
if (!other.tasksDetail_.isEmpty()) {
if (tasksDetail_.isEmpty()) {
tasksDetail_ = other.tasksDetail_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTasksDetailIsMutable();
tasksDetail_.addAll(other.tasksDetail_);
}
onChanged();
}
} else {
if (!other.tasksDetail_.isEmpty()) {
if (tasksDetailBuilder_.isEmpty()) {
tasksDetailBuilder_.dispose();
tasksDetailBuilder_ = null;
tasksDetail_ = other.tasksDetail_;
bitField0_ = (bitField0_ & ~0x00000001);
tasksDetailBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTasksDetailFieldBuilder() : null;
} else {
tasksDetailBuilder_.addAllMessages(other.tasksDetail_);
}
}
}
if (other.hasDirectUrl()) {
mergeDirectUrl(other.getDirectUrl());
}
this.mergeUnknownFields(other.unknownFields);
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 {
com.volcengine.service.vod.model.business.WorkflowExecution parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.WorkflowExecution) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object runId_ = "";
/**
*
*工作流执行ID
*
*
* string RunId = 1;
* @return The runId.
*/
public java.lang.String getRunId() {
java.lang.Object ref = runId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
runId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*工作流执行ID
*
*
* string RunId = 1;
* @return The bytes for runId.
*/
public com.google.protobuf.ByteString
getRunIdBytes() {
java.lang.Object ref = runId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
runId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*工作流执行ID
*
*
* string RunId = 1;
* @param value The runId to set.
* @return This builder for chaining.
*/
public Builder setRunId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
runId_ = value;
onChanged();
return this;
}
/**
*
*工作流执行ID
*
*
* string RunId = 1;
* @return This builder for chaining.
*/
public Builder clearRunId() {
runId_ = getDefaultInstance().getRunId();
onChanged();
return this;
}
/**
*
*工作流执行ID
*
*
* string RunId = 1;
* @param value The bytes for runId to set.
* @return This builder for chaining.
*/
public Builder setRunIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
runId_ = value;
onChanged();
return this;
}
private java.lang.Object vid_ = "";
/**
*
* 视频ID
*
*
* string Vid = 2;
* @return The vid.
*/
public java.lang.String getVid() {
java.lang.Object ref = vid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 视频ID
*
*
* string Vid = 2;
* @return The bytes for vid.
*/
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 视频ID
*
*
* string Vid = 2;
* @param value The vid to set.
* @return This builder for chaining.
*/
public Builder setVid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vid_ = value;
onChanged();
return this;
}
/**
*
* 视频ID
*
*
* string Vid = 2;
* @return This builder for chaining.
*/
public Builder clearVid() {
vid_ = getDefaultInstance().getVid();
onChanged();
return this;
}
/**
*
* 视频ID
*
*
* string Vid = 2;
* @param value The bytes for vid to set.
* @return This builder for chaining.
*/
public Builder setVidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vid_ = value;
onChanged();
return this;
}
private java.lang.Object templateId_ = "";
/**
*
*模板ID,即工作流ID
*
*
* string TemplateId = 3;
* @return The templateId.
*/
public java.lang.String getTemplateId() {
java.lang.Object ref = templateId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
templateId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*模板ID,即工作流ID
*
*
* string TemplateId = 3;
* @return The bytes for templateId.
*/
public com.google.protobuf.ByteString
getTemplateIdBytes() {
java.lang.Object ref = templateId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*模板ID,即工作流ID
*
*
* string TemplateId = 3;
* @param value The templateId to set.
* @return This builder for chaining.
*/
public Builder setTemplateId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
templateId_ = value;
onChanged();
return this;
}
/**
*
*模板ID,即工作流ID
*
*
* string TemplateId = 3;
* @return This builder for chaining.
*/
public Builder clearTemplateId() {
templateId_ = getDefaultInstance().getTemplateId();
onChanged();
return this;
}
/**
*
*模板ID,即工作流ID
*
*
* string TemplateId = 3;
* @param value The bytes for templateId to set.
* @return This builder for chaining.
*/
public Builder setTemplateIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
templateId_ = value;
onChanged();
return this;
}
private java.lang.Object templateName_ = "";
/**
*
* 工作流名称
*
*
* string TemplateName = 4;
* @return The templateName.
*/
public java.lang.String getTemplateName() {
java.lang.Object ref = templateName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
templateName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 工作流名称
*
*
* string TemplateName = 4;
* @return The bytes for templateName.
*/
public com.google.protobuf.ByteString
getTemplateNameBytes() {
java.lang.Object ref = templateName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 工作流名称
*
*
* string TemplateName = 4;
* @param value The templateName to set.
* @return This builder for chaining.
*/
public Builder setTemplateName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
templateName_ = value;
onChanged();
return this;
}
/**
*
* 工作流名称
*
*
* string TemplateName = 4;
* @return This builder for chaining.
*/
public Builder clearTemplateName() {
templateName_ = getDefaultInstance().getTemplateName();
onChanged();
return this;
}
/**
*
* 工作流名称
*
*
* string TemplateName = 4;
* @param value The bytes for templateName to set.
* @return This builder for chaining.
*/
public Builder setTemplateNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
templateName_ = value;
onChanged();
return this;
}
private java.lang.Object spaceName_ = "";
/**
*
* 空间名
*
*
* string SpaceName = 5;
* @return The spaceName.
*/
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
spaceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 空间名
*
*
* string SpaceName = 5;
* @return The bytes for spaceName.
*/
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 空间名
*
*
* string SpaceName = 5;
* @param value The spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
spaceName_ = value;
onChanged();
return this;
}
/**
*
* 空间名
*
*
* string SpaceName = 5;
* @return This builder for chaining.
*/
public Builder clearSpaceName() {
spaceName_ = getDefaultInstance().getSpaceName();
onChanged();
return this;
}
/**
*
* 空间名
*
*
* string SpaceName = 5;
* @param value The bytes for spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
spaceName_ = value;
onChanged();
return this;
}
private java.lang.Object status_ = "";
/**
*
*执行状态
*
*
* string Status = 6;
* @return The status.
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
status_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*执行状态
*
*
* string Status = 6;
* @return The bytes for status.
*/
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*执行状态
*
*
* string Status = 6;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
return this;
}
/**
*
*执行状态
*
*
* string Status = 6;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = getDefaultInstance().getStatus();
onChanged();
return this;
}
/**
*
*执行状态
*
*
* string Status = 6;
* @param value The bytes for status to set.
* @return This builder for chaining.
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
status_ = value;
onChanged();
return this;
}
private java.lang.Object taskListId_ = "";
/**
*
*任务队列ID
*
*
* string TaskListId = 7;
* @return The taskListId.
*/
public java.lang.String getTaskListId() {
java.lang.Object ref = taskListId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
taskListId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*任务队列ID
*
*
* string TaskListId = 7;
* @return The bytes for taskListId.
*/
public com.google.protobuf.ByteString
getTaskListIdBytes() {
java.lang.Object ref = taskListId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
taskListId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*任务队列ID
*
*
* string TaskListId = 7;
* @param value The taskListId to set.
* @return This builder for chaining.
*/
public Builder setTaskListId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
taskListId_ = value;
onChanged();
return this;
}
/**
*
*任务队列ID
*
*
* string TaskListId = 7;
* @return This builder for chaining.
*/
public Builder clearTaskListId() {
taskListId_ = getDefaultInstance().getTaskListId();
onChanged();
return this;
}
/**
*
*任务队列ID
*
*
* string TaskListId = 7;
* @param value The bytes for taskListId to set.
* @return This builder for chaining.
*/
public Builder setTaskListIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
taskListId_ = value;
onChanged();
return this;
}
private boolean enableLowPriority_ ;
/**
*
*闲时转码
*
*
* bool EnableLowPriority = 8;
* @return The enableLowPriority.
*/
@java.lang.Override
public boolean getEnableLowPriority() {
return enableLowPriority_;
}
/**
*
*闲时转码
*
*
* bool EnableLowPriority = 8;
* @param value The enableLowPriority to set.
* @return This builder for chaining.
*/
public Builder setEnableLowPriority(boolean value) {
enableLowPriority_ = value;
onChanged();
return this;
}
/**
*
*闲时转码
*
*
* bool EnableLowPriority = 8;
* @return This builder for chaining.
*/
public Builder clearEnableLowPriority() {
enableLowPriority_ = false;
onChanged();
return this;
}
private java.lang.Object jobSource_ = "";
/**
*
*任务来源
*
*
* string JobSource = 9;
* @return The jobSource.
*/
public java.lang.String getJobSource() {
java.lang.Object ref = jobSource_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobSource_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*任务来源
*
*
* string JobSource = 9;
* @return The bytes for jobSource.
*/
public com.google.protobuf.ByteString
getJobSourceBytes() {
java.lang.Object ref = jobSource_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobSource_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*任务来源
*
*
* string JobSource = 9;
* @param value The jobSource to set.
* @return This builder for chaining.
*/
public Builder setJobSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
jobSource_ = value;
onChanged();
return this;
}
/**
*
*任务来源
*
*
* string JobSource = 9;
* @return This builder for chaining.
*/
public Builder clearJobSource() {
jobSource_ = getDefaultInstance().getJobSource();
onChanged();
return this;
}
/**
*
*任务来源
*
*
* string JobSource = 9;
* @param value The bytes for jobSource to set.
* @return This builder for chaining.
*/
public Builder setJobSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
jobSource_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp createTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
* @return The createTime.
*/
public com.google.protobuf.Timestamp getCreateTime() {
if (createTimeBuilder_ == null) {
return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
} else {
return createTimeBuilder_.getMessage();
}
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
*/
public Builder setCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createTime_ = value;
onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
*/
public Builder setCreateTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
if (createTime_ != null) {
createTime_ =
com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
} else {
createTime_ = value;
}
onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
*/
public Builder clearCreateTime() {
if (createTimeBuilder_ == null) {
createTime_ = null;
onChanged();
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
return this;
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
*/
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
return createTimeBuilder_.getMessageOrBuilder();
} else {
return createTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
}
/**
*
*任务创建时间,即触发任务的时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp CreateTime = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreateTimeFieldBuilder() {
if (createTimeBuilder_ == null) {
createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreateTime(),
getParentForChildren(),
isClean());
createTime_ = null;
}
return createTimeBuilder_;
}
private com.google.protobuf.Timestamp startTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
* @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
* @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
} else {
return startTimeBuilder_.getMessage();
}
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
*/
public Builder setStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
startTime_ = value;
onChanged();
} else {
startTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
*/
public Builder setStartTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (startTimeBuilder_ == null) {
startTime_ = builderForValue.build();
onChanged();
} else {
startTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
*/
public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
if (startTime_ != null) {
startTime_ =
com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
} else {
startTime_ = value;
}
onChanged();
} else {
startTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
*/
public Builder clearStartTime() {
if (startTimeBuilder_ == null) {
startTime_ = null;
onChanged();
} else {
startTime_ = null;
startTimeBuilder_ = null;
}
return this;
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
*/
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
onChanged();
return getStartTimeFieldBuilder().getBuilder();
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
*/
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
if (startTimeBuilder_ != null) {
return startTimeBuilder_.getMessageOrBuilder();
} else {
return startTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
}
/**
*
*任务开始执行时间,即任务被调度到的时间戳,可用于计算执行时间,格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp StartTime = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStartTimeFieldBuilder() {
if (startTimeBuilder_ == null) {
startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStartTime(),
getParentForChildren(),
isClean());
startTime_ = null;
}
return startTimeBuilder_;
}
private com.google.protobuf.Timestamp endTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
* @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
* @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
} else {
return endTimeBuilder_.getMessage();
}
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
*/
public Builder setEndTime(com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endTime_ = value;
onChanged();
} else {
endTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
*/
public Builder setEndTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (endTimeBuilder_ == null) {
endTime_ = builderForValue.build();
onChanged();
} else {
endTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
*/
public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
if (endTime_ != null) {
endTime_ =
com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
} else {
endTime_ = value;
}
onChanged();
} else {
endTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
*/
public Builder clearEndTime() {
if (endTimeBuilder_ == null) {
endTime_ = null;
onChanged();
} else {
endTime_ = null;
endTimeBuilder_ = null;
}
return this;
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
*/
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
onChanged();
return getEndTimeFieldBuilder().getBuilder();
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
*/
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
if (endTimeBuilder_ != null) {
return endTimeBuilder_.getMessageOrBuilder();
} else {
return endTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
}
/**
*
*任务结束时间,可用于排序,格式:格式:rfc3339。如果不存在则为空
*
*
* .google.protobuf.Timestamp EndTime = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getEndTimeFieldBuilder() {
if (endTimeBuilder_ == null) {
endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getEndTime(),
getParentForChildren(),
isClean());
endTime_ = null;
}
return endTimeBuilder_;
}
private com.volcengine.service.vod.model.business.WorkflowParams input_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.WorkflowParams, com.volcengine.service.vod.model.business.WorkflowParams.Builder, com.volcengine.service.vod.model.business.WorkflowParamsOrBuilder> inputBuilder_;
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
* @return Whether the input field is set.
*/
public boolean hasInput() {
return inputBuilder_ != null || input_ != null;
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
* @return The input.
*/
public com.volcengine.service.vod.model.business.WorkflowParams getInput() {
if (inputBuilder_ == null) {
return input_ == null ? com.volcengine.service.vod.model.business.WorkflowParams.getDefaultInstance() : input_;
} else {
return inputBuilder_.getMessage();
}
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
*/
public Builder setInput(com.volcengine.service.vod.model.business.WorkflowParams value) {
if (inputBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
input_ = value;
onChanged();
} else {
inputBuilder_.setMessage(value);
}
return this;
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
*/
public Builder setInput(
com.volcengine.service.vod.model.business.WorkflowParams.Builder builderForValue) {
if (inputBuilder_ == null) {
input_ = builderForValue.build();
onChanged();
} else {
inputBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
*/
public Builder mergeInput(com.volcengine.service.vod.model.business.WorkflowParams value) {
if (inputBuilder_ == null) {
if (input_ != null) {
input_ =
com.volcengine.service.vod.model.business.WorkflowParams.newBuilder(input_).mergeFrom(value).buildPartial();
} else {
input_ = value;
}
onChanged();
} else {
inputBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
*/
public Builder clearInput() {
if (inputBuilder_ == null) {
input_ = null;
onChanged();
} else {
input_ = null;
inputBuilder_ = null;
}
return this;
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
*/
public com.volcengine.service.vod.model.business.WorkflowParams.Builder getInputBuilder() {
onChanged();
return getInputFieldBuilder().getBuilder();
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
*/
public com.volcengine.service.vod.model.business.WorkflowParamsOrBuilder getInputOrBuilder() {
if (inputBuilder_ != null) {
return inputBuilder_.getMessageOrBuilder();
} else {
return input_ == null ?
com.volcengine.service.vod.model.business.WorkflowParams.getDefaultInstance() : input_;
}
}
/**
*
*工作流输入参数
*
*
* .Volcengine.Vod.Models.Business.WorkflowParams Input = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.WorkflowParams, com.volcengine.service.vod.model.business.WorkflowParams.Builder, com.volcengine.service.vod.model.business.WorkflowParamsOrBuilder>
getInputFieldBuilder() {
if (inputBuilder_ == null) {
inputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.WorkflowParams, com.volcengine.service.vod.model.business.WorkflowParams.Builder, com.volcengine.service.vod.model.business.WorkflowParamsOrBuilder>(
getInput(),
getParentForChildren(),
isClean());
input_ = null;
}
return inputBuilder_;
}
private int priority_ ;
/**
*
*转码记录优先级
*
*
* int32 Priority = 14;
* @return The priority.
*/
@java.lang.Override
public int getPriority() {
return priority_;
}
/**
*
*转码记录优先级
*
*
* int32 Priority = 14;
* @param value The priority to set.
* @return This builder for chaining.
*/
public Builder setPriority(int value) {
priority_ = value;
onChanged();
return this;
}
/**
*
*转码记录优先级
*
*
* int32 Priority = 14;
* @return This builder for chaining.
*/
public Builder clearPriority() {
priority_ = 0;
onChanged();
return this;
}
private java.lang.Object callbackArgs_ = "";
/**
*
*回调透传参数
*
*
* string CallbackArgs = 15;
* @return The callbackArgs.
*/
public java.lang.String getCallbackArgs() {
java.lang.Object ref = callbackArgs_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
callbackArgs_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*回调透传参数
*
*
* string CallbackArgs = 15;
* @return The bytes for callbackArgs.
*/
public com.google.protobuf.ByteString
getCallbackArgsBytes() {
java.lang.Object ref = callbackArgs_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackArgs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*回调透传参数
*
*
* string CallbackArgs = 15;
* @param value The callbackArgs to set.
* @return This builder for chaining.
*/
public Builder setCallbackArgs(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
callbackArgs_ = value;
onChanged();
return this;
}
/**
*
*回调透传参数
*
*
* string CallbackArgs = 15;
* @return This builder for chaining.
*/
public Builder clearCallbackArgs() {
callbackArgs_ = getDefaultInstance().getCallbackArgs();
onChanged();
return this;
}
/**
*
*回调透传参数
*
*
* string CallbackArgs = 15;
* @param value The bytes for callbackArgs to set.
* @return This builder for chaining.
*/
public Builder setCallbackArgsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
callbackArgs_ = value;
onChanged();
return this;
}
private java.util.List tasksDetail_ =
java.util.Collections.emptyList();
private void ensureTasksDetailIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
tasksDetail_ = new java.util.ArrayList(tasksDetail_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.TaskDetail, com.volcengine.service.vod.model.business.TaskDetail.Builder, com.volcengine.service.vod.model.business.TaskDetailOrBuilder> tasksDetailBuilder_;
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public java.util.List getTasksDetailList() {
if (tasksDetailBuilder_ == null) {
return java.util.Collections.unmodifiableList(tasksDetail_);
} else {
return tasksDetailBuilder_.getMessageList();
}
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public int getTasksDetailCount() {
if (tasksDetailBuilder_ == null) {
return tasksDetail_.size();
} else {
return tasksDetailBuilder_.getCount();
}
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public com.volcengine.service.vod.model.business.TaskDetail getTasksDetail(int index) {
if (tasksDetailBuilder_ == null) {
return tasksDetail_.get(index);
} else {
return tasksDetailBuilder_.getMessage(index);
}
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public Builder setTasksDetail(
int index, com.volcengine.service.vod.model.business.TaskDetail value) {
if (tasksDetailBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTasksDetailIsMutable();
tasksDetail_.set(index, value);
onChanged();
} else {
tasksDetailBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public Builder setTasksDetail(
int index, com.volcengine.service.vod.model.business.TaskDetail.Builder builderForValue) {
if (tasksDetailBuilder_ == null) {
ensureTasksDetailIsMutable();
tasksDetail_.set(index, builderForValue.build());
onChanged();
} else {
tasksDetailBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public Builder addTasksDetail(com.volcengine.service.vod.model.business.TaskDetail value) {
if (tasksDetailBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTasksDetailIsMutable();
tasksDetail_.add(value);
onChanged();
} else {
tasksDetailBuilder_.addMessage(value);
}
return this;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public Builder addTasksDetail(
int index, com.volcengine.service.vod.model.business.TaskDetail value) {
if (tasksDetailBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTasksDetailIsMutable();
tasksDetail_.add(index, value);
onChanged();
} else {
tasksDetailBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public Builder addTasksDetail(
com.volcengine.service.vod.model.business.TaskDetail.Builder builderForValue) {
if (tasksDetailBuilder_ == null) {
ensureTasksDetailIsMutable();
tasksDetail_.add(builderForValue.build());
onChanged();
} else {
tasksDetailBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public Builder addTasksDetail(
int index, com.volcengine.service.vod.model.business.TaskDetail.Builder builderForValue) {
if (tasksDetailBuilder_ == null) {
ensureTasksDetailIsMutable();
tasksDetail_.add(index, builderForValue.build());
onChanged();
} else {
tasksDetailBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public Builder addAllTasksDetail(
java.lang.Iterable extends com.volcengine.service.vod.model.business.TaskDetail> values) {
if (tasksDetailBuilder_ == null) {
ensureTasksDetailIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tasksDetail_);
onChanged();
} else {
tasksDetailBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public Builder clearTasksDetail() {
if (tasksDetailBuilder_ == null) {
tasksDetail_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
tasksDetailBuilder_.clear();
}
return this;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public Builder removeTasksDetail(int index) {
if (tasksDetailBuilder_ == null) {
ensureTasksDetailIsMutable();
tasksDetail_.remove(index);
onChanged();
} else {
tasksDetailBuilder_.remove(index);
}
return this;
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public com.volcengine.service.vod.model.business.TaskDetail.Builder getTasksDetailBuilder(
int index) {
return getTasksDetailFieldBuilder().getBuilder(index);
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public com.volcengine.service.vod.model.business.TaskDetailOrBuilder getTasksDetailOrBuilder(
int index) {
if (tasksDetailBuilder_ == null) {
return tasksDetail_.get(index); } else {
return tasksDetailBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public java.util.List extends com.volcengine.service.vod.model.business.TaskDetailOrBuilder>
getTasksDetailOrBuilderList() {
if (tasksDetailBuilder_ != null) {
return tasksDetailBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tasksDetail_);
}
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public com.volcengine.service.vod.model.business.TaskDetail.Builder addTasksDetailBuilder() {
return getTasksDetailFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.TaskDetail.getDefaultInstance());
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public com.volcengine.service.vod.model.business.TaskDetail.Builder addTasksDetailBuilder(
int index) {
return getTasksDetailFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.TaskDetail.getDefaultInstance());
}
/**
*
* 子任务详情
*
*
* repeated .Volcengine.Vod.Models.Business.TaskDetail TasksDetail = 16;
*/
public java.util.List
getTasksDetailBuilderList() {
return getTasksDetailFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.TaskDetail, com.volcengine.service.vod.model.business.TaskDetail.Builder, com.volcengine.service.vod.model.business.TaskDetailOrBuilder>
getTasksDetailFieldBuilder() {
if (tasksDetailBuilder_ == null) {
tasksDetailBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.TaskDetail, com.volcengine.service.vod.model.business.TaskDetail.Builder, com.volcengine.service.vod.model.business.TaskDetailOrBuilder>(
tasksDetail_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
tasksDetail_ = null;
}
return tasksDetailBuilder_;
}
private com.volcengine.service.vod.model.business.DirectUrl directUrl_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.DirectUrl, com.volcengine.service.vod.model.business.DirectUrl.Builder, com.volcengine.service.vod.model.business.DirectUrlOrBuilder> directUrlBuilder_;
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
* @return Whether the directUrl field is set.
*/
public boolean hasDirectUrl() {
return directUrlBuilder_ != null || directUrl_ != null;
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
* @return The directUrl.
*/
public com.volcengine.service.vod.model.business.DirectUrl getDirectUrl() {
if (directUrlBuilder_ == null) {
return directUrl_ == null ? com.volcengine.service.vod.model.business.DirectUrl.getDefaultInstance() : directUrl_;
} else {
return directUrlBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
*/
public Builder setDirectUrl(com.volcengine.service.vod.model.business.DirectUrl value) {
if (directUrlBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
directUrl_ = value;
onChanged();
} else {
directUrlBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
*/
public Builder setDirectUrl(
com.volcengine.service.vod.model.business.DirectUrl.Builder builderForValue) {
if (directUrlBuilder_ == null) {
directUrl_ = builderForValue.build();
onChanged();
} else {
directUrlBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
*/
public Builder mergeDirectUrl(com.volcengine.service.vod.model.business.DirectUrl value) {
if (directUrlBuilder_ == null) {
if (directUrl_ != null) {
directUrl_ =
com.volcengine.service.vod.model.business.DirectUrl.newBuilder(directUrl_).mergeFrom(value).buildPartial();
} else {
directUrl_ = value;
}
onChanged();
} else {
directUrlBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
*/
public Builder clearDirectUrl() {
if (directUrlBuilder_ == null) {
directUrl_ = null;
onChanged();
} else {
directUrl_ = null;
directUrlBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
*/
public com.volcengine.service.vod.model.business.DirectUrl.Builder getDirectUrlBuilder() {
onChanged();
return getDirectUrlFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
*/
public com.volcengine.service.vod.model.business.DirectUrlOrBuilder getDirectUrlOrBuilder() {
if (directUrlBuilder_ != null) {
return directUrlBuilder_.getMessageOrBuilder();
} else {
return directUrl_ == null ?
com.volcengine.service.vod.model.business.DirectUrl.getDefaultInstance() : directUrl_;
}
}
/**
* .Volcengine.Vod.Models.Business.DirectUrl DirectUrl = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.DirectUrl, com.volcengine.service.vod.model.business.DirectUrl.Builder, com.volcengine.service.vod.model.business.DirectUrlOrBuilder>
getDirectUrlFieldBuilder() {
if (directUrlBuilder_ == null) {
directUrlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.DirectUrl, com.volcengine.service.vod.model.business.DirectUrl.Builder, com.volcengine.service.vod.model.business.DirectUrlOrBuilder>(
getDirectUrl(),
getParentForChildren(),
isClean());
directUrl_ = null;
}
return directUrlBuilder_;
}
@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:Volcengine.Vod.Models.Business.WorkflowExecution)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.WorkflowExecution)
private static final com.volcengine.service.vod.model.business.WorkflowExecution DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.WorkflowExecution();
}
public static com.volcengine.service.vod.model.business.WorkflowExecution getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public WorkflowExecution parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new WorkflowExecution(input, extensionRegistry);
}
};
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.volcengine.service.vod.model.business.WorkflowExecution getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy