com.volcengine.service.vod.model.business.TaskTemplate 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.TaskTemplate}
*/
public final class TaskTemplate extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.TaskTemplate)
TaskTemplateOrBuilder {
private static final long serialVersionUID = 0L;
// Use TaskTemplate.newBuilder() to construct.
private TaskTemplate(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TaskTemplate() {
templateId_ = "";
spaceName_ = "";
name_ = "";
description_ = "";
type_ = "";
commitId_ = "";
hash_ = "";
taskType_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TaskTemplate();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TaskTemplate(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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();
templateId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
spaceName_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
type_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
commitId_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
hash_ = s;
break;
}
case 98: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (createdAt_ != null) {
subBuilder = createdAt_.toBuilder();
}
createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(createdAt_);
createdAt_ = subBuilder.buildPartial();
}
break;
}
case 106: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (updatedAt_ != null) {
subBuilder = updatedAt_.toBuilder();
}
updatedAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(updatedAt_);
updatedAt_ = subBuilder.buildPartial();
}
break;
}
case 114: {
java.lang.String s = input.readStringRequireUtf8();
taskType_ = s;
break;
}
case 122: {
com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.Builder subBuilder = null;
if (transcodeVideoTaskParams_ != null) {
subBuilder = transcodeVideoTaskParams_.toBuilder();
}
transcodeVideoTaskParams_ = input.readMessage(com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(transcodeVideoTaskParams_);
transcodeVideoTaskParams_ = subBuilder.buildPartial();
}
break;
}
case 146: {
com.volcengine.service.vod.model.business.ByteHDTaskParams.Builder subBuilder = null;
if (byteHDTaskParams_ != null) {
subBuilder = byteHDTaskParams_.toBuilder();
}
byteHDTaskParams_ = input.readMessage(com.volcengine.service.vod.model.business.ByteHDTaskParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(byteHDTaskParams_);
byteHDTaskParams_ = subBuilder.buildPartial();
}
break;
}
case 154: {
com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.Builder subBuilder = null;
if (transcodeAudioTaskParams_ != null) {
subBuilder = transcodeAudioTaskParams_.toBuilder();
}
transcodeAudioTaskParams_ = input.readMessage(com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(transcodeAudioTaskParams_);
transcodeAudioTaskParams_ = subBuilder.buildPartial();
}
break;
}
case 162: {
com.volcengine.service.vod.model.business.SnapshotTaskParams.Builder subBuilder = null;
if (snapshotTaskParams_ != null) {
subBuilder = snapshotTaskParams_.toBuilder();
}
snapshotTaskParams_ = input.readMessage(com.volcengine.service.vod.model.business.SnapshotTaskParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(snapshotTaskParams_);
snapshotTaskParams_ = 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 {
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_TaskTemplate_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_TaskTemplate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.TaskTemplate.class, com.volcengine.service.vod.model.business.TaskTemplate.Builder.class);
}
public static final int TEMPLATEID_FIELD_NUMBER = 1;
private volatile java.lang.Object templateId_;
/**
*
* 模板Id
*
*
* string TemplateId = 1;
* @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
*
*
* string TemplateId = 1;
* @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 SPACENAME_FIELD_NUMBER = 2;
private volatile java.lang.Object spaceName_;
/**
*
* 空间名
*
*
* string SpaceName = 2;
* @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 = 2;
* @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 NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object name_;
/**
*
* 模板名称
*
*
* string Name = 3;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
*
* 模板名称
*
*
* string Name = 3;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 4;
private volatile java.lang.Object description_;
/**
* string Description = 4;
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* string Description = 4;
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 6;
private volatile java.lang.Object type_;
/**
*
* 多个值通过 ',' 连接
*
*
* string Type = 6;
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
java.lang.Object ref = type_;
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();
type_ = s;
return s;
}
}
/**
*
* 多个值通过 ',' 连接
*
*
* string Type = 6;
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMMITID_FIELD_NUMBER = 9;
private volatile java.lang.Object commitId_;
/**
*
* 版本Id
*
*
* string CommitId = 9;
* @return The commitId.
*/
@java.lang.Override
public java.lang.String getCommitId() {
java.lang.Object ref = commitId_;
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();
commitId_ = s;
return s;
}
}
/**
*
* 版本Id
*
*
* string CommitId = 9;
* @return The bytes for commitId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommitIdBytes() {
java.lang.Object ref = commitId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commitId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HASH_FIELD_NUMBER = 11;
private volatile java.lang.Object hash_;
/**
* string Hash = 11;
* @return The hash.
*/
@java.lang.Override
public java.lang.String getHash() {
java.lang.Object ref = hash_;
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();
hash_ = s;
return s;
}
}
/**
* string Hash = 11;
* @return The bytes for hash.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHashBytes() {
java.lang.Object ref = hash_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hash_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATEDAT_FIELD_NUMBER = 12;
private com.google.protobuf.Timestamp createdAt_;
/**
* .google.protobuf.Timestamp CreatedAt = 12;
* @return Whether the createdAt field is set.
*/
@java.lang.Override
public boolean hasCreatedAt() {
return createdAt_ != null;
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
* @return The createdAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getCreatedAt() {
return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
return getCreatedAt();
}
public static final int UPDATEDAT_FIELD_NUMBER = 13;
private com.google.protobuf.Timestamp updatedAt_;
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
* @return Whether the updatedAt field is set.
*/
@java.lang.Override
public boolean hasUpdatedAt() {
return updatedAt_ != null;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
* @return The updatedAt.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getUpdatedAt() {
return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() {
return getUpdatedAt();
}
public static final int TASKTYPE_FIELD_NUMBER = 14;
private volatile java.lang.Object taskType_;
/**
*
* TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 14;
* @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;
}
}
/**
*
* TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 14;
* @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 TRANSCODEVIDEOTASKPARAMS_FIELD_NUMBER = 15;
private com.volcengine.service.vod.model.business.TranscodeVideoTaskParams transcodeVideoTaskParams_;
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
* @return Whether the transcodeVideoTaskParams field is set.
*/
@java.lang.Override
public boolean hasTranscodeVideoTaskParams() {
return transcodeVideoTaskParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
* @return The transcodeVideoTaskParams.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeVideoTaskParams getTranscodeVideoTaskParams() {
return transcodeVideoTaskParams_ == null ? com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.getDefaultInstance() : transcodeVideoTaskParams_;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeVideoTaskParamsOrBuilder getTranscodeVideoTaskParamsOrBuilder() {
return getTranscodeVideoTaskParams();
}
public static final int BYTEHDTASKPARAMS_FIELD_NUMBER = 18;
private com.volcengine.service.vod.model.business.ByteHDTaskParams byteHDTaskParams_;
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
* @return Whether the byteHDTaskParams field is set.
*/
@java.lang.Override
public boolean hasByteHDTaskParams() {
return byteHDTaskParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
* @return The byteHDTaskParams.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.ByteHDTaskParams getByteHDTaskParams() {
return byteHDTaskParams_ == null ? com.volcengine.service.vod.model.business.ByteHDTaskParams.getDefaultInstance() : byteHDTaskParams_;
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.ByteHDTaskParamsOrBuilder getByteHDTaskParamsOrBuilder() {
return getByteHDTaskParams();
}
public static final int TRANSCODEAUDIOTASKPARAMS_FIELD_NUMBER = 19;
private com.volcengine.service.vod.model.business.TranscodeAudioTaskParams transcodeAudioTaskParams_;
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
* @return Whether the transcodeAudioTaskParams field is set.
*/
@java.lang.Override
public boolean hasTranscodeAudioTaskParams() {
return transcodeAudioTaskParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
* @return The transcodeAudioTaskParams.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeAudioTaskParams getTranscodeAudioTaskParams() {
return transcodeAudioTaskParams_ == null ? com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.getDefaultInstance() : transcodeAudioTaskParams_;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeAudioTaskParamsOrBuilder getTranscodeAudioTaskParamsOrBuilder() {
return getTranscodeAudioTaskParams();
}
public static final int SNAPSHOTTASKPARAMS_FIELD_NUMBER = 20;
private com.volcengine.service.vod.model.business.SnapshotTaskParams snapshotTaskParams_;
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
* @return Whether the snapshotTaskParams field is set.
*/
@java.lang.Override
public boolean hasSnapshotTaskParams() {
return snapshotTaskParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
* @return The snapshotTaskParams.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.SnapshotTaskParams getSnapshotTaskParams() {
return snapshotTaskParams_ == null ? com.volcengine.service.vod.model.business.SnapshotTaskParams.getDefaultInstance() : snapshotTaskParams_;
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.SnapshotTaskParamsOrBuilder getSnapshotTaskParamsOrBuilder() {
return getSnapshotTaskParams();
}
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(templateId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, templateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(commitId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, commitId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hash_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, hash_);
}
if (createdAt_ != null) {
output.writeMessage(12, getCreatedAt());
}
if (updatedAt_ != null) {
output.writeMessage(13, getUpdatedAt());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, taskType_);
}
if (transcodeVideoTaskParams_ != null) {
output.writeMessage(15, getTranscodeVideoTaskParams());
}
if (byteHDTaskParams_ != null) {
output.writeMessage(18, getByteHDTaskParams());
}
if (transcodeAudioTaskParams_ != null) {
output.writeMessage(19, getTranscodeAudioTaskParams());
}
if (snapshotTaskParams_ != null) {
output.writeMessage(20, getSnapshotTaskParams());
}
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(templateId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, templateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(commitId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, commitId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hash_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, hash_);
}
if (createdAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getCreatedAt());
}
if (updatedAt_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getUpdatedAt());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, taskType_);
}
if (transcodeVideoTaskParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getTranscodeVideoTaskParams());
}
if (byteHDTaskParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getByteHDTaskParams());
}
if (transcodeAudioTaskParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, getTranscodeAudioTaskParams());
}
if (snapshotTaskParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getSnapshotTaskParams());
}
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.TaskTemplate)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.TaskTemplate other = (com.volcengine.service.vod.model.business.TaskTemplate) obj;
if (!getTemplateId()
.equals(other.getTemplateId())) return false;
if (!getSpaceName()
.equals(other.getSpaceName())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (!getType()
.equals(other.getType())) return false;
if (!getCommitId()
.equals(other.getCommitId())) return false;
if (!getHash()
.equals(other.getHash())) return false;
if (hasCreatedAt() != other.hasCreatedAt()) return false;
if (hasCreatedAt()) {
if (!getCreatedAt()
.equals(other.getCreatedAt())) return false;
}
if (hasUpdatedAt() != other.hasUpdatedAt()) return false;
if (hasUpdatedAt()) {
if (!getUpdatedAt()
.equals(other.getUpdatedAt())) return false;
}
if (!getTaskType()
.equals(other.getTaskType())) return false;
if (hasTranscodeVideoTaskParams() != other.hasTranscodeVideoTaskParams()) return false;
if (hasTranscodeVideoTaskParams()) {
if (!getTranscodeVideoTaskParams()
.equals(other.getTranscodeVideoTaskParams())) return false;
}
if (hasByteHDTaskParams() != other.hasByteHDTaskParams()) return false;
if (hasByteHDTaskParams()) {
if (!getByteHDTaskParams()
.equals(other.getByteHDTaskParams())) return false;
}
if (hasTranscodeAudioTaskParams() != other.hasTranscodeAudioTaskParams()) return false;
if (hasTranscodeAudioTaskParams()) {
if (!getTranscodeAudioTaskParams()
.equals(other.getTranscodeAudioTaskParams())) return false;
}
if (hasSnapshotTaskParams() != other.hasSnapshotTaskParams()) return false;
if (hasSnapshotTaskParams()) {
if (!getSnapshotTaskParams()
.equals(other.getSnapshotTaskParams())) 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) + TEMPLATEID_FIELD_NUMBER;
hash = (53 * hash) + getTemplateId().hashCode();
hash = (37 * hash) + SPACENAME_FIELD_NUMBER;
hash = (53 * hash) + getSpaceName().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
hash = (37 * hash) + COMMITID_FIELD_NUMBER;
hash = (53 * hash) + getCommitId().hashCode();
hash = (37 * hash) + HASH_FIELD_NUMBER;
hash = (53 * hash) + getHash().hashCode();
if (hasCreatedAt()) {
hash = (37 * hash) + CREATEDAT_FIELD_NUMBER;
hash = (53 * hash) + getCreatedAt().hashCode();
}
if (hasUpdatedAt()) {
hash = (37 * hash) + UPDATEDAT_FIELD_NUMBER;
hash = (53 * hash) + getUpdatedAt().hashCode();
}
hash = (37 * hash) + TASKTYPE_FIELD_NUMBER;
hash = (53 * hash) + getTaskType().hashCode();
if (hasTranscodeVideoTaskParams()) {
hash = (37 * hash) + TRANSCODEVIDEOTASKPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getTranscodeVideoTaskParams().hashCode();
}
if (hasByteHDTaskParams()) {
hash = (37 * hash) + BYTEHDTASKPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getByteHDTaskParams().hashCode();
}
if (hasTranscodeAudioTaskParams()) {
hash = (37 * hash) + TRANSCODEAUDIOTASKPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getTranscodeAudioTaskParams().hashCode();
}
if (hasSnapshotTaskParams()) {
hash = (37 * hash) + SNAPSHOTTASKPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getSnapshotTaskParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.TaskTemplate parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.TaskTemplate 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.TaskTemplate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.TaskTemplate 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.TaskTemplate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.TaskTemplate 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.TaskTemplate 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.TaskTemplate 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.TaskTemplate 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.TaskTemplate 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.TaskTemplate 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.TaskTemplate 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.TaskTemplate 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.TaskTemplate}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.TaskTemplate)
com.volcengine.service.vod.model.business.TaskTemplateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_TaskTemplate_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_TaskTemplate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.TaskTemplate.class, com.volcengine.service.vod.model.business.TaskTemplate.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.TaskTemplate.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
templateId_ = "";
spaceName_ = "";
name_ = "";
description_ = "";
type_ = "";
commitId_ = "";
hash_ = "";
if (createdAtBuilder_ == null) {
createdAt_ = null;
} else {
createdAt_ = null;
createdAtBuilder_ = null;
}
if (updatedAtBuilder_ == null) {
updatedAt_ = null;
} else {
updatedAt_ = null;
updatedAtBuilder_ = null;
}
taskType_ = "";
if (transcodeVideoTaskParamsBuilder_ == null) {
transcodeVideoTaskParams_ = null;
} else {
transcodeVideoTaskParams_ = null;
transcodeVideoTaskParamsBuilder_ = null;
}
if (byteHDTaskParamsBuilder_ == null) {
byteHDTaskParams_ = null;
} else {
byteHDTaskParams_ = null;
byteHDTaskParamsBuilder_ = null;
}
if (transcodeAudioTaskParamsBuilder_ == null) {
transcodeAudioTaskParams_ = null;
} else {
transcodeAudioTaskParams_ = null;
transcodeAudioTaskParamsBuilder_ = null;
}
if (snapshotTaskParamsBuilder_ == null) {
snapshotTaskParams_ = null;
} else {
snapshotTaskParams_ = null;
snapshotTaskParamsBuilder_ = 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_TaskTemplate_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.TaskTemplate getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.TaskTemplate.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.TaskTemplate build() {
com.volcengine.service.vod.model.business.TaskTemplate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.TaskTemplate buildPartial() {
com.volcengine.service.vod.model.business.TaskTemplate result = new com.volcengine.service.vod.model.business.TaskTemplate(this);
result.templateId_ = templateId_;
result.spaceName_ = spaceName_;
result.name_ = name_;
result.description_ = description_;
result.type_ = type_;
result.commitId_ = commitId_;
result.hash_ = hash_;
if (createdAtBuilder_ == null) {
result.createdAt_ = createdAt_;
} else {
result.createdAt_ = createdAtBuilder_.build();
}
if (updatedAtBuilder_ == null) {
result.updatedAt_ = updatedAt_;
} else {
result.updatedAt_ = updatedAtBuilder_.build();
}
result.taskType_ = taskType_;
if (transcodeVideoTaskParamsBuilder_ == null) {
result.transcodeVideoTaskParams_ = transcodeVideoTaskParams_;
} else {
result.transcodeVideoTaskParams_ = transcodeVideoTaskParamsBuilder_.build();
}
if (byteHDTaskParamsBuilder_ == null) {
result.byteHDTaskParams_ = byteHDTaskParams_;
} else {
result.byteHDTaskParams_ = byteHDTaskParamsBuilder_.build();
}
if (transcodeAudioTaskParamsBuilder_ == null) {
result.transcodeAudioTaskParams_ = transcodeAudioTaskParams_;
} else {
result.transcodeAudioTaskParams_ = transcodeAudioTaskParamsBuilder_.build();
}
if (snapshotTaskParamsBuilder_ == null) {
result.snapshotTaskParams_ = snapshotTaskParams_;
} else {
result.snapshotTaskParams_ = snapshotTaskParamsBuilder_.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.TaskTemplate) {
return mergeFrom((com.volcengine.service.vod.model.business.TaskTemplate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.TaskTemplate other) {
if (other == com.volcengine.service.vod.model.business.TaskTemplate.getDefaultInstance()) return this;
if (!other.getTemplateId().isEmpty()) {
templateId_ = other.templateId_;
onChanged();
}
if (!other.getSpaceName().isEmpty()) {
spaceName_ = other.spaceName_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (!other.getType().isEmpty()) {
type_ = other.type_;
onChanged();
}
if (!other.getCommitId().isEmpty()) {
commitId_ = other.commitId_;
onChanged();
}
if (!other.getHash().isEmpty()) {
hash_ = other.hash_;
onChanged();
}
if (other.hasCreatedAt()) {
mergeCreatedAt(other.getCreatedAt());
}
if (other.hasUpdatedAt()) {
mergeUpdatedAt(other.getUpdatedAt());
}
if (!other.getTaskType().isEmpty()) {
taskType_ = other.taskType_;
onChanged();
}
if (other.hasTranscodeVideoTaskParams()) {
mergeTranscodeVideoTaskParams(other.getTranscodeVideoTaskParams());
}
if (other.hasByteHDTaskParams()) {
mergeByteHDTaskParams(other.getByteHDTaskParams());
}
if (other.hasTranscodeAudioTaskParams()) {
mergeTranscodeAudioTaskParams(other.getTranscodeAudioTaskParams());
}
if (other.hasSnapshotTaskParams()) {
mergeSnapshotTaskParams(other.getSnapshotTaskParams());
}
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.TaskTemplate parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.TaskTemplate) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object templateId_ = "";
/**
*
* 模板Id
*
*
* string TemplateId = 1;
* @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
*
*
* string TemplateId = 1;
* @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
*
*
* string TemplateId = 1;
* @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
*
*
* string TemplateId = 1;
* @return This builder for chaining.
*/
public Builder clearTemplateId() {
templateId_ = getDefaultInstance().getTemplateId();
onChanged();
return this;
}
/**
*
* 模板Id
*
*
* string TemplateId = 1;
* @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 spaceName_ = "";
/**
*
* 空间名
*
*
* string SpaceName = 2;
* @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 = 2;
* @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 = 2;
* @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 = 2;
* @return This builder for chaining.
*/
public Builder clearSpaceName() {
spaceName_ = getDefaultInstance().getSpaceName();
onChanged();
return this;
}
/**
*
* 空间名
*
*
* string SpaceName = 2;
* @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 name_ = "";
/**
*
* 模板名称
*
*
* string Name = 3;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 模板名称
*
*
* string Name = 3;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 模板名称
*
*
* string Name = 3;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* 模板名称
*
*
* string Name = 3;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* 模板名称
*
*
* string Name = 3;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* string Description = 4;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Description = 4;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Description = 4;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string Description = 4;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string Description = 4;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private java.lang.Object type_ = "";
/**
*
* 多个值通过 ',' 连接
*
*
* string Type = 6;
* @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 多个值通过 ',' 连接
*
*
* string Type = 6;
* @return The bytes for type.
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 多个值通过 ',' 连接
*
*
* string Type = 6;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
return this;
}
/**
*
* 多个值通过 ',' 连接
*
*
* string Type = 6;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
*
* 多个值通过 ',' 连接
*
*
* string Type = 6;
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
type_ = value;
onChanged();
return this;
}
private java.lang.Object commitId_ = "";
/**
*
* 版本Id
*
*
* string CommitId = 9;
* @return The commitId.
*/
public java.lang.String getCommitId() {
java.lang.Object ref = commitId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
commitId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 版本Id
*
*
* string CommitId = 9;
* @return The bytes for commitId.
*/
public com.google.protobuf.ByteString
getCommitIdBytes() {
java.lang.Object ref = commitId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
commitId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 版本Id
*
*
* string CommitId = 9;
* @param value The commitId to set.
* @return This builder for chaining.
*/
public Builder setCommitId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
commitId_ = value;
onChanged();
return this;
}
/**
*
* 版本Id
*
*
* string CommitId = 9;
* @return This builder for chaining.
*/
public Builder clearCommitId() {
commitId_ = getDefaultInstance().getCommitId();
onChanged();
return this;
}
/**
*
* 版本Id
*
*
* string CommitId = 9;
* @param value The bytes for commitId to set.
* @return This builder for chaining.
*/
public Builder setCommitIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
commitId_ = value;
onChanged();
return this;
}
private java.lang.Object hash_ = "";
/**
* string Hash = 11;
* @return The hash.
*/
public java.lang.String getHash() {
java.lang.Object ref = hash_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hash_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Hash = 11;
* @return The bytes for hash.
*/
public com.google.protobuf.ByteString
getHashBytes() {
java.lang.Object ref = hash_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hash_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Hash = 11;
* @param value The hash to set.
* @return This builder for chaining.
*/
public Builder setHash(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hash_ = value;
onChanged();
return this;
}
/**
* string Hash = 11;
* @return This builder for chaining.
*/
public Builder clearHash() {
hash_ = getDefaultInstance().getHash();
onChanged();
return this;
}
/**
* string Hash = 11;
* @param value The bytes for hash to set.
* @return This builder for chaining.
*/
public Builder setHashBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hash_ = value;
onChanged();
return this;
}
private com.google.protobuf.Timestamp createdAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_;
/**
* .google.protobuf.Timestamp CreatedAt = 12;
* @return Whether the createdAt field is set.
*/
public boolean hasCreatedAt() {
return createdAtBuilder_ != null || createdAt_ != null;
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
* @return The createdAt.
*/
public com.google.protobuf.Timestamp getCreatedAt() {
if (createdAtBuilder_ == null) {
return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
} else {
return createdAtBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
*/
public Builder setCreatedAt(com.google.protobuf.Timestamp value) {
if (createdAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createdAt_ = value;
onChanged();
} else {
createdAtBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
*/
public Builder setCreatedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (createdAtBuilder_ == null) {
createdAt_ = builderForValue.build();
onChanged();
} else {
createdAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
*/
public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) {
if (createdAtBuilder_ == null) {
if (createdAt_ != null) {
createdAt_ =
com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial();
} else {
createdAt_ = value;
}
onChanged();
} else {
createdAtBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
*/
public Builder clearCreatedAt() {
if (createdAtBuilder_ == null) {
createdAt_ = null;
onChanged();
} else {
createdAt_ = null;
createdAtBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
*/
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() {
onChanged();
return getCreatedAtFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
*/
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
if (createdAtBuilder_ != null) {
return createdAtBuilder_.getMessageOrBuilder();
} else {
return createdAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
}
}
/**
* .google.protobuf.Timestamp CreatedAt = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getCreatedAtFieldBuilder() {
if (createdAtBuilder_ == null) {
createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getCreatedAt(),
getParentForChildren(),
isClean());
createdAt_ = null;
}
return createdAtBuilder_;
}
private com.google.protobuf.Timestamp updatedAt_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedAtBuilder_;
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
* @return Whether the updatedAt field is set.
*/
public boolean hasUpdatedAt() {
return updatedAtBuilder_ != null || updatedAt_ != null;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
* @return The updatedAt.
*/
public com.google.protobuf.Timestamp getUpdatedAt() {
if (updatedAtBuilder_ == null) {
return updatedAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
} else {
return updatedAtBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
*/
public Builder setUpdatedAt(com.google.protobuf.Timestamp value) {
if (updatedAtBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
updatedAt_ = value;
onChanged();
} else {
updatedAtBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
*/
public Builder setUpdatedAt(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (updatedAtBuilder_ == null) {
updatedAt_ = builderForValue.build();
onChanged();
} else {
updatedAtBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
*/
public Builder mergeUpdatedAt(com.google.protobuf.Timestamp value) {
if (updatedAtBuilder_ == null) {
if (updatedAt_ != null) {
updatedAt_ =
com.google.protobuf.Timestamp.newBuilder(updatedAt_).mergeFrom(value).buildPartial();
} else {
updatedAt_ = value;
}
onChanged();
} else {
updatedAtBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
*/
public Builder clearUpdatedAt() {
if (updatedAtBuilder_ == null) {
updatedAt_ = null;
onChanged();
} else {
updatedAt_ = null;
updatedAtBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
*/
public com.google.protobuf.Timestamp.Builder getUpdatedAtBuilder() {
onChanged();
return getUpdatedAtFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
*/
public com.google.protobuf.TimestampOrBuilder getUpdatedAtOrBuilder() {
if (updatedAtBuilder_ != null) {
return updatedAtBuilder_.getMessageOrBuilder();
} else {
return updatedAt_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : updatedAt_;
}
}
/**
* .google.protobuf.Timestamp UpdatedAt = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getUpdatedAtFieldBuilder() {
if (updatedAtBuilder_ == null) {
updatedAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getUpdatedAt(),
getParentForChildren(),
isClean());
updatedAt_ = null;
}
return updatedAtBuilder_;
}
private java.lang.Object taskType_ = "";
/**
*
* TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 14;
* @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;
}
}
/**
*
* TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 14;
* @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;
}
}
/**
*
* TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 14;
* @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;
onChanged();
return this;
}
/**
*
* TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 14;
* @return This builder for chaining.
*/
public Builder clearTaskType() {
taskType_ = getDefaultInstance().getTaskType();
onChanged();
return this;
}
/**
*
* TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 14;
* @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;
onChanged();
return this;
}
private com.volcengine.service.vod.model.business.TranscodeVideoTaskParams transcodeVideoTaskParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.TranscodeVideoTaskParams, com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.Builder, com.volcengine.service.vod.model.business.TranscodeVideoTaskParamsOrBuilder> transcodeVideoTaskParamsBuilder_;
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
* @return Whether the transcodeVideoTaskParams field is set.
*/
public boolean hasTranscodeVideoTaskParams() {
return transcodeVideoTaskParamsBuilder_ != null || transcodeVideoTaskParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
* @return The transcodeVideoTaskParams.
*/
public com.volcengine.service.vod.model.business.TranscodeVideoTaskParams getTranscodeVideoTaskParams() {
if (transcodeVideoTaskParamsBuilder_ == null) {
return transcodeVideoTaskParams_ == null ? com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.getDefaultInstance() : transcodeVideoTaskParams_;
} else {
return transcodeVideoTaskParamsBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
*/
public Builder setTranscodeVideoTaskParams(com.volcengine.service.vod.model.business.TranscodeVideoTaskParams value) {
if (transcodeVideoTaskParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transcodeVideoTaskParams_ = value;
onChanged();
} else {
transcodeVideoTaskParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
*/
public Builder setTranscodeVideoTaskParams(
com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.Builder builderForValue) {
if (transcodeVideoTaskParamsBuilder_ == null) {
transcodeVideoTaskParams_ = builderForValue.build();
onChanged();
} else {
transcodeVideoTaskParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
*/
public Builder mergeTranscodeVideoTaskParams(com.volcengine.service.vod.model.business.TranscodeVideoTaskParams value) {
if (transcodeVideoTaskParamsBuilder_ == null) {
if (transcodeVideoTaskParams_ != null) {
transcodeVideoTaskParams_ =
com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.newBuilder(transcodeVideoTaskParams_).mergeFrom(value).buildPartial();
} else {
transcodeVideoTaskParams_ = value;
}
onChanged();
} else {
transcodeVideoTaskParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
*/
public Builder clearTranscodeVideoTaskParams() {
if (transcodeVideoTaskParamsBuilder_ == null) {
transcodeVideoTaskParams_ = null;
onChanged();
} else {
transcodeVideoTaskParams_ = null;
transcodeVideoTaskParamsBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
*/
public com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.Builder getTranscodeVideoTaskParamsBuilder() {
onChanged();
return getTranscodeVideoTaskParamsFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
*/
public com.volcengine.service.vod.model.business.TranscodeVideoTaskParamsOrBuilder getTranscodeVideoTaskParamsOrBuilder() {
if (transcodeVideoTaskParamsBuilder_ != null) {
return transcodeVideoTaskParamsBuilder_.getMessageOrBuilder();
} else {
return transcodeVideoTaskParams_ == null ?
com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.getDefaultInstance() : transcodeVideoTaskParams_;
}
}
/**
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.TranscodeVideoTaskParams, com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.Builder, com.volcengine.service.vod.model.business.TranscodeVideoTaskParamsOrBuilder>
getTranscodeVideoTaskParamsFieldBuilder() {
if (transcodeVideoTaskParamsBuilder_ == null) {
transcodeVideoTaskParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.TranscodeVideoTaskParams, com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.Builder, com.volcengine.service.vod.model.business.TranscodeVideoTaskParamsOrBuilder>(
getTranscodeVideoTaskParams(),
getParentForChildren(),
isClean());
transcodeVideoTaskParams_ = null;
}
return transcodeVideoTaskParamsBuilder_;
}
private com.volcengine.service.vod.model.business.ByteHDTaskParams byteHDTaskParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.ByteHDTaskParams, com.volcengine.service.vod.model.business.ByteHDTaskParams.Builder, com.volcengine.service.vod.model.business.ByteHDTaskParamsOrBuilder> byteHDTaskParamsBuilder_;
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
* @return Whether the byteHDTaskParams field is set.
*/
public boolean hasByteHDTaskParams() {
return byteHDTaskParamsBuilder_ != null || byteHDTaskParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
* @return The byteHDTaskParams.
*/
public com.volcengine.service.vod.model.business.ByteHDTaskParams getByteHDTaskParams() {
if (byteHDTaskParamsBuilder_ == null) {
return byteHDTaskParams_ == null ? com.volcengine.service.vod.model.business.ByteHDTaskParams.getDefaultInstance() : byteHDTaskParams_;
} else {
return byteHDTaskParamsBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
*/
public Builder setByteHDTaskParams(com.volcengine.service.vod.model.business.ByteHDTaskParams value) {
if (byteHDTaskParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
byteHDTaskParams_ = value;
onChanged();
} else {
byteHDTaskParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
*/
public Builder setByteHDTaskParams(
com.volcengine.service.vod.model.business.ByteHDTaskParams.Builder builderForValue) {
if (byteHDTaskParamsBuilder_ == null) {
byteHDTaskParams_ = builderForValue.build();
onChanged();
} else {
byteHDTaskParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
*/
public Builder mergeByteHDTaskParams(com.volcengine.service.vod.model.business.ByteHDTaskParams value) {
if (byteHDTaskParamsBuilder_ == null) {
if (byteHDTaskParams_ != null) {
byteHDTaskParams_ =
com.volcengine.service.vod.model.business.ByteHDTaskParams.newBuilder(byteHDTaskParams_).mergeFrom(value).buildPartial();
} else {
byteHDTaskParams_ = value;
}
onChanged();
} else {
byteHDTaskParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
*/
public Builder clearByteHDTaskParams() {
if (byteHDTaskParamsBuilder_ == null) {
byteHDTaskParams_ = null;
onChanged();
} else {
byteHDTaskParams_ = null;
byteHDTaskParamsBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
*/
public com.volcengine.service.vod.model.business.ByteHDTaskParams.Builder getByteHDTaskParamsBuilder() {
onChanged();
return getByteHDTaskParamsFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
*/
public com.volcengine.service.vod.model.business.ByteHDTaskParamsOrBuilder getByteHDTaskParamsOrBuilder() {
if (byteHDTaskParamsBuilder_ != null) {
return byteHDTaskParamsBuilder_.getMessageOrBuilder();
} else {
return byteHDTaskParams_ == null ?
com.volcengine.service.vod.model.business.ByteHDTaskParams.getDefaultInstance() : byteHDTaskParams_;
}
}
/**
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.ByteHDTaskParams, com.volcengine.service.vod.model.business.ByteHDTaskParams.Builder, com.volcengine.service.vod.model.business.ByteHDTaskParamsOrBuilder>
getByteHDTaskParamsFieldBuilder() {
if (byteHDTaskParamsBuilder_ == null) {
byteHDTaskParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.ByteHDTaskParams, com.volcengine.service.vod.model.business.ByteHDTaskParams.Builder, com.volcengine.service.vod.model.business.ByteHDTaskParamsOrBuilder>(
getByteHDTaskParams(),
getParentForChildren(),
isClean());
byteHDTaskParams_ = null;
}
return byteHDTaskParamsBuilder_;
}
private com.volcengine.service.vod.model.business.TranscodeAudioTaskParams transcodeAudioTaskParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.TranscodeAudioTaskParams, com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.Builder, com.volcengine.service.vod.model.business.TranscodeAudioTaskParamsOrBuilder> transcodeAudioTaskParamsBuilder_;
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
* @return Whether the transcodeAudioTaskParams field is set.
*/
public boolean hasTranscodeAudioTaskParams() {
return transcodeAudioTaskParamsBuilder_ != null || transcodeAudioTaskParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
* @return The transcodeAudioTaskParams.
*/
public com.volcengine.service.vod.model.business.TranscodeAudioTaskParams getTranscodeAudioTaskParams() {
if (transcodeAudioTaskParamsBuilder_ == null) {
return transcodeAudioTaskParams_ == null ? com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.getDefaultInstance() : transcodeAudioTaskParams_;
} else {
return transcodeAudioTaskParamsBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
*/
public Builder setTranscodeAudioTaskParams(com.volcengine.service.vod.model.business.TranscodeAudioTaskParams value) {
if (transcodeAudioTaskParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transcodeAudioTaskParams_ = value;
onChanged();
} else {
transcodeAudioTaskParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
*/
public Builder setTranscodeAudioTaskParams(
com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.Builder builderForValue) {
if (transcodeAudioTaskParamsBuilder_ == null) {
transcodeAudioTaskParams_ = builderForValue.build();
onChanged();
} else {
transcodeAudioTaskParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
*/
public Builder mergeTranscodeAudioTaskParams(com.volcengine.service.vod.model.business.TranscodeAudioTaskParams value) {
if (transcodeAudioTaskParamsBuilder_ == null) {
if (transcodeAudioTaskParams_ != null) {
transcodeAudioTaskParams_ =
com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.newBuilder(transcodeAudioTaskParams_).mergeFrom(value).buildPartial();
} else {
transcodeAudioTaskParams_ = value;
}
onChanged();
} else {
transcodeAudioTaskParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
*/
public Builder clearTranscodeAudioTaskParams() {
if (transcodeAudioTaskParamsBuilder_ == null) {
transcodeAudioTaskParams_ = null;
onChanged();
} else {
transcodeAudioTaskParams_ = null;
transcodeAudioTaskParamsBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
*/
public com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.Builder getTranscodeAudioTaskParamsBuilder() {
onChanged();
return getTranscodeAudioTaskParamsFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
*/
public com.volcengine.service.vod.model.business.TranscodeAudioTaskParamsOrBuilder getTranscodeAudioTaskParamsOrBuilder() {
if (transcodeAudioTaskParamsBuilder_ != null) {
return transcodeAudioTaskParamsBuilder_.getMessageOrBuilder();
} else {
return transcodeAudioTaskParams_ == null ?
com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.getDefaultInstance() : transcodeAudioTaskParams_;
}
}
/**
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.TranscodeAudioTaskParams, com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.Builder, com.volcengine.service.vod.model.business.TranscodeAudioTaskParamsOrBuilder>
getTranscodeAudioTaskParamsFieldBuilder() {
if (transcodeAudioTaskParamsBuilder_ == null) {
transcodeAudioTaskParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.TranscodeAudioTaskParams, com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.Builder, com.volcengine.service.vod.model.business.TranscodeAudioTaskParamsOrBuilder>(
getTranscodeAudioTaskParams(),
getParentForChildren(),
isClean());
transcodeAudioTaskParams_ = null;
}
return transcodeAudioTaskParamsBuilder_;
}
private com.volcengine.service.vod.model.business.SnapshotTaskParams snapshotTaskParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SnapshotTaskParams, com.volcengine.service.vod.model.business.SnapshotTaskParams.Builder, com.volcengine.service.vod.model.business.SnapshotTaskParamsOrBuilder> snapshotTaskParamsBuilder_;
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
* @return Whether the snapshotTaskParams field is set.
*/
public boolean hasSnapshotTaskParams() {
return snapshotTaskParamsBuilder_ != null || snapshotTaskParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
* @return The snapshotTaskParams.
*/
public com.volcengine.service.vod.model.business.SnapshotTaskParams getSnapshotTaskParams() {
if (snapshotTaskParamsBuilder_ == null) {
return snapshotTaskParams_ == null ? com.volcengine.service.vod.model.business.SnapshotTaskParams.getDefaultInstance() : snapshotTaskParams_;
} else {
return snapshotTaskParamsBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
*/
public Builder setSnapshotTaskParams(com.volcengine.service.vod.model.business.SnapshotTaskParams value) {
if (snapshotTaskParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
snapshotTaskParams_ = value;
onChanged();
} else {
snapshotTaskParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
*/
public Builder setSnapshotTaskParams(
com.volcengine.service.vod.model.business.SnapshotTaskParams.Builder builderForValue) {
if (snapshotTaskParamsBuilder_ == null) {
snapshotTaskParams_ = builderForValue.build();
onChanged();
} else {
snapshotTaskParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
*/
public Builder mergeSnapshotTaskParams(com.volcengine.service.vod.model.business.SnapshotTaskParams value) {
if (snapshotTaskParamsBuilder_ == null) {
if (snapshotTaskParams_ != null) {
snapshotTaskParams_ =
com.volcengine.service.vod.model.business.SnapshotTaskParams.newBuilder(snapshotTaskParams_).mergeFrom(value).buildPartial();
} else {
snapshotTaskParams_ = value;
}
onChanged();
} else {
snapshotTaskParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
*/
public Builder clearSnapshotTaskParams() {
if (snapshotTaskParamsBuilder_ == null) {
snapshotTaskParams_ = null;
onChanged();
} else {
snapshotTaskParams_ = null;
snapshotTaskParamsBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
*/
public com.volcengine.service.vod.model.business.SnapshotTaskParams.Builder getSnapshotTaskParamsBuilder() {
onChanged();
return getSnapshotTaskParamsFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
*/
public com.volcengine.service.vod.model.business.SnapshotTaskParamsOrBuilder getSnapshotTaskParamsOrBuilder() {
if (snapshotTaskParamsBuilder_ != null) {
return snapshotTaskParamsBuilder_.getMessageOrBuilder();
} else {
return snapshotTaskParams_ == null ?
com.volcengine.service.vod.model.business.SnapshotTaskParams.getDefaultInstance() : snapshotTaskParams_;
}
}
/**
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 20;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SnapshotTaskParams, com.volcengine.service.vod.model.business.SnapshotTaskParams.Builder, com.volcengine.service.vod.model.business.SnapshotTaskParamsOrBuilder>
getSnapshotTaskParamsFieldBuilder() {
if (snapshotTaskParamsBuilder_ == null) {
snapshotTaskParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SnapshotTaskParams, com.volcengine.service.vod.model.business.SnapshotTaskParams.Builder, com.volcengine.service.vod.model.business.SnapshotTaskParamsOrBuilder>(
getSnapshotTaskParams(),
getParentForChildren(),
isClean());
snapshotTaskParams_ = null;
}
return snapshotTaskParamsBuilder_;
}
@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.TaskTemplate)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.TaskTemplate)
private static final com.volcengine.service.vod.model.business.TaskTemplate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.TaskTemplate();
}
public static com.volcengine.service.vod.model.business.TaskTemplate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TaskTemplate parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TaskTemplate(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.TaskTemplate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy