com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest 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/request/request_vod.proto
package com.volcengine.service.vod.model.request;
/**
* Protobuf type {@code Volcengine.Vod.Models.Request.VodUpdateTaskTemplateRequest}
*/
public final class VodUpdateTaskTemplateRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Request.VodUpdateTaskTemplateRequest)
VodUpdateTaskTemplateRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodUpdateTaskTemplateRequest.newBuilder() to construct.
private VodUpdateTaskTemplateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodUpdateTaskTemplateRequest() {
templateId_ = "";
name_ = "";
description_ = "";
taskType_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodUpdateTaskTemplateRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodUpdateTaskTemplateRequest(
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();
name_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
taskType_ = s;
break;
}
case 66: {
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 90: {
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 98: {
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 106: {
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.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateTaskTemplateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateTaskTemplateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest.class, com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest.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 NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
*
* 模板名称
*
*
* string Name = 2;
* @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 = 2;
* @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 = 3;
private volatile java.lang.Object description_;
/**
*
* 模板描述
*
*
* string Description = 3;
* @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 = 3;
* @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 TASKTYPE_FIELD_NUMBER = 7;
private volatile java.lang.Object taskType_;
/**
*
* 任务类型 TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 7;
* @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 = 7;
* @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 = 8;
private com.volcengine.service.vod.model.business.TranscodeVideoTaskParams transcodeVideoTaskParams_;
/**
*
* 视频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 8;
* @return Whether the transcodeVideoTaskParams field is set.
*/
@java.lang.Override
public boolean hasTranscodeVideoTaskParams() {
return transcodeVideoTaskParams_ != null;
}
/**
*
* 视频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 8;
* @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 = 8;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeVideoTaskParamsOrBuilder getTranscodeVideoTaskParamsOrBuilder() {
return getTranscodeVideoTaskParams();
}
public static final int BYTEHDTASKPARAMS_FIELD_NUMBER = 11;
private com.volcengine.service.vod.model.business.ByteHDTaskParams byteHDTaskParams_;
/**
*
* 高清低码模版
*
*
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 11;
* @return Whether the byteHDTaskParams field is set.
*/
@java.lang.Override
public boolean hasByteHDTaskParams() {
return byteHDTaskParams_ != null;
}
/**
*
* 高清低码模版
*
*
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 11;
* @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 = 11;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.ByteHDTaskParamsOrBuilder getByteHDTaskParamsOrBuilder() {
return getByteHDTaskParams();
}
public static final int TRANSCODEAUDIOTASKPARAMS_FIELD_NUMBER = 12;
private com.volcengine.service.vod.model.business.TranscodeAudioTaskParams transcodeAudioTaskParams_;
/**
*
* 音频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 12;
* @return Whether the transcodeAudioTaskParams field is set.
*/
@java.lang.Override
public boolean hasTranscodeAudioTaskParams() {
return transcodeAudioTaskParams_ != null;
}
/**
*
* 音频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 12;
* @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 = 12;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeAudioTaskParamsOrBuilder getTranscodeAudioTaskParamsOrBuilder() {
return getTranscodeAudioTaskParams();
}
public static final int SNAPSHOTTASKPARAMS_FIELD_NUMBER = 13;
private com.volcengine.service.vod.model.business.SnapshotTaskParams snapshotTaskParams_;
/**
*
* 截图模板
*
*
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 13;
* @return Whether the snapshotTaskParams field is set.
*/
@java.lang.Override
public boolean hasSnapshotTaskParams() {
return snapshotTaskParams_ != null;
}
/**
*
* 截图模板
*
*
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 13;
* @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 = 13;
*/
@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(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, taskType_);
}
if (transcodeVideoTaskParams_ != null) {
output.writeMessage(8, getTranscodeVideoTaskParams());
}
if (byteHDTaskParams_ != null) {
output.writeMessage(11, getByteHDTaskParams());
}
if (transcodeAudioTaskParams_ != null) {
output.writeMessage(12, getTranscodeAudioTaskParams());
}
if (snapshotTaskParams_ != null) {
output.writeMessage(13, 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(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, taskType_);
}
if (transcodeVideoTaskParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getTranscodeVideoTaskParams());
}
if (byteHDTaskParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getByteHDTaskParams());
}
if (transcodeAudioTaskParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getTranscodeAudioTaskParams());
}
if (snapshotTaskParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, 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.request.VodUpdateTaskTemplateRequest)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest other = (com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest) obj;
if (!getTemplateId()
.equals(other.getTemplateId())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getDescription()
.equals(other.getDescription())) 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) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().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.request.VodUpdateTaskTemplateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest 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.request.VodUpdateTaskTemplateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest 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.request.VodUpdateTaskTemplateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest 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.request.VodUpdateTaskTemplateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest 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.request.VodUpdateTaskTemplateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest 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.request.VodUpdateTaskTemplateRequest 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.request.VodUpdateTaskTemplateRequest 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.request.VodUpdateTaskTemplateRequest 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.Request.VodUpdateTaskTemplateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Request.VodUpdateTaskTemplateRequest)
com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateTaskTemplateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateTaskTemplateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest.class, com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest.Builder.class);
}
// Construct using com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest.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_ = "";
name_ = "";
description_ = "";
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.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateTaskTemplateRequest_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest getDefaultInstanceForType() {
return com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest build() {
com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest buildPartial() {
com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest result = new com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest(this);
result.templateId_ = templateId_;
result.name_ = name_;
result.description_ = description_;
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.request.VodUpdateTaskTemplateRequest) {
return mergeFrom((com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest other) {
if (other == com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest.getDefaultInstance()) return this;
if (!other.getTemplateId().isEmpty()) {
templateId_ = other.templateId_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
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.request.VodUpdateTaskTemplateRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest) 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 name_ = "";
/**
*
* 模板名称
*
*
* string Name = 2;
* @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 = 2;
* @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 = 2;
* @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 = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* 模板名称
*
*
* string Name = 2;
* @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 = 3;
* @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 = 3;
* @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 = 3;
* @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 = 3;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
*
* 模板描述
*
*
* string Description = 3;
* @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 taskType_ = "";
/**
*
* 任务类型 TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 7;
* @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 = 7;
* @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 = 7;
* @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 = 7;
* @return This builder for chaining.
*/
public Builder clearTaskType() {
taskType_ = getDefaultInstance().getTaskType();
onChanged();
return this;
}
/**
*
* 任务类型 TranscodeVideo|ByteHD|TranscodeAudio|Snapshot
*
*
* string TaskType = 7;
* @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 = 8;
* @return Whether the transcodeVideoTaskParams field is set.
*/
public boolean hasTranscodeVideoTaskParams() {
return transcodeVideoTaskParamsBuilder_ != null || transcodeVideoTaskParams_ != null;
}
/**
*
* 视频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 8;
* @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 = 8;
*/
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 = 8;
*/
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 = 8;
*/
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 = 8;
*/
public Builder clearTranscodeVideoTaskParams() {
if (transcodeVideoTaskParamsBuilder_ == null) {
transcodeVideoTaskParams_ = null;
onChanged();
} else {
transcodeVideoTaskParams_ = null;
transcodeVideoTaskParamsBuilder_ = null;
}
return this;
}
/**
*
* 视频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 8;
*/
public com.volcengine.service.vod.model.business.TranscodeVideoTaskParams.Builder getTranscodeVideoTaskParamsBuilder() {
onChanged();
return getTranscodeVideoTaskParamsFieldBuilder().getBuilder();
}
/**
*
* 视频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeVideoTaskParams TranscodeVideoTaskParams = 8;
*/
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 = 8;
*/
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 = 11;
* @return Whether the byteHDTaskParams field is set.
*/
public boolean hasByteHDTaskParams() {
return byteHDTaskParamsBuilder_ != null || byteHDTaskParams_ != null;
}
/**
*
* 高清低码模版
*
*
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 11;
* @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 = 11;
*/
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 = 11;
*/
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 = 11;
*/
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 = 11;
*/
public Builder clearByteHDTaskParams() {
if (byteHDTaskParamsBuilder_ == null) {
byteHDTaskParams_ = null;
onChanged();
} else {
byteHDTaskParams_ = null;
byteHDTaskParamsBuilder_ = null;
}
return this;
}
/**
*
* 高清低码模版
*
*
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 11;
*/
public com.volcengine.service.vod.model.business.ByteHDTaskParams.Builder getByteHDTaskParamsBuilder() {
onChanged();
return getByteHDTaskParamsFieldBuilder().getBuilder();
}
/**
*
* 高清低码模版
*
*
* .Volcengine.Vod.Models.Business.ByteHDTaskParams ByteHDTaskParams = 11;
*/
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 = 11;
*/
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 = 12;
* @return Whether the transcodeAudioTaskParams field is set.
*/
public boolean hasTranscodeAudioTaskParams() {
return transcodeAudioTaskParamsBuilder_ != null || transcodeAudioTaskParams_ != null;
}
/**
*
* 音频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 12;
* @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 = 12;
*/
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 = 12;
*/
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 = 12;
*/
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 = 12;
*/
public Builder clearTranscodeAudioTaskParams() {
if (transcodeAudioTaskParamsBuilder_ == null) {
transcodeAudioTaskParams_ = null;
onChanged();
} else {
transcodeAudioTaskParams_ = null;
transcodeAudioTaskParamsBuilder_ = null;
}
return this;
}
/**
*
* 音频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 12;
*/
public com.volcengine.service.vod.model.business.TranscodeAudioTaskParams.Builder getTranscodeAudioTaskParamsBuilder() {
onChanged();
return getTranscodeAudioTaskParamsFieldBuilder().getBuilder();
}
/**
*
* 音频转码模板
*
*
* .Volcengine.Vod.Models.Business.TranscodeAudioTaskParams TranscodeAudioTaskParams = 12;
*/
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 = 12;
*/
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 = 13;
* @return Whether the snapshotTaskParams field is set.
*/
public boolean hasSnapshotTaskParams() {
return snapshotTaskParamsBuilder_ != null || snapshotTaskParams_ != null;
}
/**
*
* 截图模板
*
*
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 13;
* @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 = 13;
*/
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 = 13;
*/
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 = 13;
*/
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 = 13;
*/
public Builder clearSnapshotTaskParams() {
if (snapshotTaskParamsBuilder_ == null) {
snapshotTaskParams_ = null;
onChanged();
} else {
snapshotTaskParams_ = null;
snapshotTaskParamsBuilder_ = null;
}
return this;
}
/**
*
* 截图模板
*
*
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 13;
*/
public com.volcengine.service.vod.model.business.SnapshotTaskParams.Builder getSnapshotTaskParamsBuilder() {
onChanged();
return getSnapshotTaskParamsFieldBuilder().getBuilder();
}
/**
*
* 截图模板
*
*
* .Volcengine.Vod.Models.Business.SnapshotTaskParams SnapshotTaskParams = 13;
*/
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 = 13;
*/
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.Request.VodUpdateTaskTemplateRequest)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Request.VodUpdateTaskTemplateRequest)
private static final com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest();
}
public static com.volcengine.service.vod.model.request.VodUpdateTaskTemplateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodUpdateTaskTemplateRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodUpdateTaskTemplateRequest(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.request.VodUpdateTaskTemplateRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy