com.volcengine.service.vod.model.business.VodUploadFunctionInput 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_upload.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.VodUploadFunctionInput}
*/
public final class VodUploadFunctionInput extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodUploadFunctionInput)
VodUploadFunctionInputOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodUploadFunctionInput.newBuilder() to construct.
private VodUploadFunctionInput(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodUploadFunctionInput() {
title_ = "";
tags_ = "";
description_ = "";
category_ = "";
format_ = "";
templateId_ = "";
vid_ = "";
fid_ = "";
language_ = "";
storeUri_ = "";
source_ = "";
tag_ = "";
actionType_ = "";
hlsMediaSize_ = "";
templates_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodUploadFunctionInput();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodUploadFunctionInput(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 9: {
snapshotTime_ = input.readDouble();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
title_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
tags_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
category_ = s;
break;
}
case 48: {
recordType_ = input.readInt32();
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
format_ = s;
break;
}
case 64: {
classificationId_ = input.readInt32();
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
templateId_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
vid_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
fid_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
language_ = s;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
storeUri_ = s;
break;
}
case 114: {
java.lang.String s = input.readStringRequireUtf8();
source_ = s;
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
tag_ = s;
break;
}
case 128: {
autoPublish_ = input.readBool();
break;
}
case 138: {
java.lang.String s = input.readStringRequireUtf8();
actionType_ = s;
break;
}
case 144: {
isHlsIndexOnly_ = input.readBool();
break;
}
case 154: {
java.lang.String s = input.readStringRequireUtf8();
hlsMediaSize_ = s;
break;
}
case 162: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
templates_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
templates_.add(
input.readMessage(com.volcengine.service.vod.model.business.VodUploadTemplate.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
templates_ = java.util.Collections.unmodifiableList(templates_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadFunctionInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadFunctionInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodUploadFunctionInput.class, com.volcengine.service.vod.model.business.VodUploadFunctionInput.Builder.class);
}
public static final int SNAPSHOTTIME_FIELD_NUMBER = 1;
private double snapshotTime_;
/**
* double SnapshotTime = 1;
* @return The snapshotTime.
*/
@java.lang.Override
public double getSnapshotTime() {
return snapshotTime_;
}
public static final int TITLE_FIELD_NUMBER = 2;
private volatile java.lang.Object title_;
/**
* string Title = 2;
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
java.lang.Object ref = title_;
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();
title_ = s;
return s;
}
}
/**
* string Title = 2;
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAGS_FIELD_NUMBER = 3;
private volatile java.lang.Object tags_;
/**
* string Tags = 3;
* @return The tags.
*/
@java.lang.Override
public java.lang.String getTags() {
java.lang.Object ref = tags_;
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();
tags_ = s;
return s;
}
}
/**
* string Tags = 3;
* @return The bytes for tags.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagsBytes() {
java.lang.Object ref = tags_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tags_ = 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 CATEGORY_FIELD_NUMBER = 5;
private volatile java.lang.Object category_;
/**
* string Category = 5;
* @return The category.
*/
@java.lang.Override
public java.lang.String getCategory() {
java.lang.Object ref = category_;
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();
category_ = s;
return s;
}
}
/**
* string Category = 5;
* @return The bytes for category.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCategoryBytes() {
java.lang.Object ref = category_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
category_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RECORDTYPE_FIELD_NUMBER = 6;
private int recordType_;
/**
* int32 RecordType = 6;
* @return The recordType.
*/
@java.lang.Override
public int getRecordType() {
return recordType_;
}
public static final int FORMAT_FIELD_NUMBER = 7;
private volatile java.lang.Object format_;
/**
* string Format = 7;
* @return The format.
*/
@java.lang.Override
public java.lang.String getFormat() {
java.lang.Object ref = format_;
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();
format_ = s;
return s;
}
}
/**
* string Format = 7;
* @return The bytes for format.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLASSIFICATIONID_FIELD_NUMBER = 8;
private int classificationId_;
/**
* int32 ClassificationId = 8;
* @return The classificationId.
*/
@java.lang.Override
public int getClassificationId() {
return classificationId_;
}
public static final int TEMPLATEID_FIELD_NUMBER = 9;
private volatile java.lang.Object templateId_;
/**
* string TemplateId = 9;
* @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;
}
}
/**
* string TemplateId = 9;
* @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 VID_FIELD_NUMBER = 10;
private volatile java.lang.Object vid_;
/**
* string Vid = 10;
* @return The vid.
*/
@java.lang.Override
public java.lang.String getVid() {
java.lang.Object ref = vid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vid_ = s;
return s;
}
}
/**
* string Vid = 10;
* @return The bytes for vid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FID_FIELD_NUMBER = 11;
private volatile java.lang.Object fid_;
/**
* string Fid = 11;
* @return The fid.
*/
@java.lang.Override
public java.lang.String getFid() {
java.lang.Object ref = fid_;
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();
fid_ = s;
return s;
}
}
/**
* string Fid = 11;
* @return The bytes for fid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFidBytes() {
java.lang.Object ref = fid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LANGUAGE_FIELD_NUMBER = 12;
private volatile java.lang.Object language_;
/**
* string Language = 12;
* @return The language.
*/
@java.lang.Override
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
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();
language_ = s;
return s;
}
}
/**
* string Language = 12;
* @return The bytes for language.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
java.lang.Object ref = language_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
language_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STOREURI_FIELD_NUMBER = 13;
private volatile java.lang.Object storeUri_;
/**
* string StoreUri = 13;
* @return The storeUri.
*/
@java.lang.Override
public java.lang.String getStoreUri() {
java.lang.Object ref = storeUri_;
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();
storeUri_ = s;
return s;
}
}
/**
* string StoreUri = 13;
* @return The bytes for storeUri.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStoreUriBytes() {
java.lang.Object ref = storeUri_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storeUri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCE_FIELD_NUMBER = 14;
private volatile java.lang.Object source_;
/**
* string Source = 14;
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
java.lang.Object ref = source_;
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();
source_ = s;
return s;
}
}
/**
* string Source = 14;
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAG_FIELD_NUMBER = 15;
private volatile java.lang.Object tag_;
/**
* string Tag = 15;
* @return The tag.
*/
@java.lang.Override
public java.lang.String getTag() {
java.lang.Object ref = tag_;
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();
tag_ = s;
return s;
}
}
/**
* string Tag = 15;
* @return The bytes for tag.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagBytes() {
java.lang.Object ref = tag_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tag_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AUTOPUBLISH_FIELD_NUMBER = 16;
private boolean autoPublish_;
/**
* bool AutoPublish = 16;
* @return The autoPublish.
*/
@java.lang.Override
public boolean getAutoPublish() {
return autoPublish_;
}
public static final int ACTIONTYPE_FIELD_NUMBER = 17;
private volatile java.lang.Object actionType_;
/**
* string ActionType = 17;
* @return The actionType.
*/
@java.lang.Override
public java.lang.String getActionType() {
java.lang.Object ref = actionType_;
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();
actionType_ = s;
return s;
}
}
/**
* string ActionType = 17;
* @return The bytes for actionType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getActionTypeBytes() {
java.lang.Object ref = actionType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
actionType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ISHLSINDEXONLY_FIELD_NUMBER = 18;
private boolean isHlsIndexOnly_;
/**
* bool IsHlsIndexOnly = 18;
* @return The isHlsIndexOnly.
*/
@java.lang.Override
public boolean getIsHlsIndexOnly() {
return isHlsIndexOnly_;
}
public static final int HLSMEDIASIZE_FIELD_NUMBER = 19;
private volatile java.lang.Object hlsMediaSize_;
/**
* string HlsMediaSize = 19;
* @return The hlsMediaSize.
*/
@java.lang.Override
public java.lang.String getHlsMediaSize() {
java.lang.Object ref = hlsMediaSize_;
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();
hlsMediaSize_ = s;
return s;
}
}
/**
* string HlsMediaSize = 19;
* @return The bytes for hlsMediaSize.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHlsMediaSizeBytes() {
java.lang.Object ref = hlsMediaSize_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hlsMediaSize_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEMPLATES_FIELD_NUMBER = 20;
private java.util.List templates_;
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
@java.lang.Override
public java.util.List getTemplatesList() {
return templates_;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder>
getTemplatesOrBuilderList() {
return templates_;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
@java.lang.Override
public int getTemplatesCount() {
return templates_.size();
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodUploadTemplate getTemplates(int index) {
return templates_.get(index);
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder getTemplatesOrBuilder(
int index) {
return templates_.get(index);
}
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 (java.lang.Double.doubleToRawLongBits(snapshotTime_) != 0) {
output.writeDouble(1, snapshotTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, title_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tags_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(category_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, category_);
}
if (recordType_ != 0) {
output.writeInt32(6, recordType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, format_);
}
if (classificationId_ != 0) {
output.writeInt32(8, classificationId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, templateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, vid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, fid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, language_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeUri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, storeUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, source_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, tag_);
}
if (autoPublish_ != false) {
output.writeBool(16, autoPublish_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actionType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, actionType_);
}
if (isHlsIndexOnly_ != false) {
output.writeBool(18, isHlsIndexOnly_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hlsMediaSize_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 19, hlsMediaSize_);
}
for (int i = 0; i < templates_.size(); i++) {
output.writeMessage(20, templates_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (java.lang.Double.doubleToRawLongBits(snapshotTime_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, snapshotTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, title_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tags_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tags_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(category_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, category_);
}
if (recordType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, recordType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, format_);
}
if (classificationId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, classificationId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, templateId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, vid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, fid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, language_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeUri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, storeUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, source_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, tag_);
}
if (autoPublish_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(16, autoPublish_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(actionType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, actionType_);
}
if (isHlsIndexOnly_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(18, isHlsIndexOnly_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hlsMediaSize_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, hlsMediaSize_);
}
for (int i = 0; i < templates_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, templates_.get(i));
}
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.VodUploadFunctionInput)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodUploadFunctionInput other = (com.volcengine.service.vod.model.business.VodUploadFunctionInput) obj;
if (java.lang.Double.doubleToLongBits(getSnapshotTime())
!= java.lang.Double.doubleToLongBits(
other.getSnapshotTime())) return false;
if (!getTitle()
.equals(other.getTitle())) return false;
if (!getTags()
.equals(other.getTags())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (!getCategory()
.equals(other.getCategory())) return false;
if (getRecordType()
!= other.getRecordType()) return false;
if (!getFormat()
.equals(other.getFormat())) return false;
if (getClassificationId()
!= other.getClassificationId()) return false;
if (!getTemplateId()
.equals(other.getTemplateId())) return false;
if (!getVid()
.equals(other.getVid())) return false;
if (!getFid()
.equals(other.getFid())) return false;
if (!getLanguage()
.equals(other.getLanguage())) return false;
if (!getStoreUri()
.equals(other.getStoreUri())) return false;
if (!getSource()
.equals(other.getSource())) return false;
if (!getTag()
.equals(other.getTag())) return false;
if (getAutoPublish()
!= other.getAutoPublish()) return false;
if (!getActionType()
.equals(other.getActionType())) return false;
if (getIsHlsIndexOnly()
!= other.getIsHlsIndexOnly()) return false;
if (!getHlsMediaSize()
.equals(other.getHlsMediaSize())) return false;
if (!getTemplatesList()
.equals(other.getTemplatesList())) 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) + SNAPSHOTTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getSnapshotTime()));
hash = (37 * hash) + TITLE_FIELD_NUMBER;
hash = (53 * hash) + getTitle().hashCode();
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTags().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + getCategory().hashCode();
hash = (37 * hash) + RECORDTYPE_FIELD_NUMBER;
hash = (53 * hash) + getRecordType();
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
hash = (37 * hash) + CLASSIFICATIONID_FIELD_NUMBER;
hash = (53 * hash) + getClassificationId();
hash = (37 * hash) + TEMPLATEID_FIELD_NUMBER;
hash = (53 * hash) + getTemplateId().hashCode();
hash = (37 * hash) + VID_FIELD_NUMBER;
hash = (53 * hash) + getVid().hashCode();
hash = (37 * hash) + FID_FIELD_NUMBER;
hash = (53 * hash) + getFid().hashCode();
hash = (37 * hash) + LANGUAGE_FIELD_NUMBER;
hash = (53 * hash) + getLanguage().hashCode();
hash = (37 * hash) + STOREURI_FIELD_NUMBER;
hash = (53 * hash) + getStoreUri().hashCode();
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
hash = (37 * hash) + TAG_FIELD_NUMBER;
hash = (53 * hash) + getTag().hashCode();
hash = (37 * hash) + AUTOPUBLISH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAutoPublish());
hash = (37 * hash) + ACTIONTYPE_FIELD_NUMBER;
hash = (53 * hash) + getActionType().hashCode();
hash = (37 * hash) + ISHLSINDEXONLY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsHlsIndexOnly());
hash = (37 * hash) + HLSMEDIASIZE_FIELD_NUMBER;
hash = (53 * hash) + getHlsMediaSize().hashCode();
if (getTemplatesCount() > 0) {
hash = (37 * hash) + TEMPLATES_FIELD_NUMBER;
hash = (53 * hash) + getTemplatesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodUploadFunctionInput parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodUploadFunctionInput 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.VodUploadFunctionInput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodUploadFunctionInput 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.VodUploadFunctionInput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodUploadFunctionInput 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.VodUploadFunctionInput 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.VodUploadFunctionInput 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.VodUploadFunctionInput 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.VodUploadFunctionInput 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.VodUploadFunctionInput 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.VodUploadFunctionInput 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.VodUploadFunctionInput 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.VodUploadFunctionInput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodUploadFunctionInput)
com.volcengine.service.vod.model.business.VodUploadFunctionInputOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadFunctionInput_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadFunctionInput_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodUploadFunctionInput.class, com.volcengine.service.vod.model.business.VodUploadFunctionInput.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodUploadFunctionInput.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTemplatesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
snapshotTime_ = 0D;
title_ = "";
tags_ = "";
description_ = "";
category_ = "";
recordType_ = 0;
format_ = "";
classificationId_ = 0;
templateId_ = "";
vid_ = "";
fid_ = "";
language_ = "";
storeUri_ = "";
source_ = "";
tag_ = "";
autoPublish_ = false;
actionType_ = "";
isHlsIndexOnly_ = false;
hlsMediaSize_ = "";
if (templatesBuilder_ == null) {
templates_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
templatesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUploadFunctionInput_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodUploadFunctionInput getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodUploadFunctionInput.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodUploadFunctionInput build() {
com.volcengine.service.vod.model.business.VodUploadFunctionInput result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodUploadFunctionInput buildPartial() {
com.volcengine.service.vod.model.business.VodUploadFunctionInput result = new com.volcengine.service.vod.model.business.VodUploadFunctionInput(this);
int from_bitField0_ = bitField0_;
result.snapshotTime_ = snapshotTime_;
result.title_ = title_;
result.tags_ = tags_;
result.description_ = description_;
result.category_ = category_;
result.recordType_ = recordType_;
result.format_ = format_;
result.classificationId_ = classificationId_;
result.templateId_ = templateId_;
result.vid_ = vid_;
result.fid_ = fid_;
result.language_ = language_;
result.storeUri_ = storeUri_;
result.source_ = source_;
result.tag_ = tag_;
result.autoPublish_ = autoPublish_;
result.actionType_ = actionType_;
result.isHlsIndexOnly_ = isHlsIndexOnly_;
result.hlsMediaSize_ = hlsMediaSize_;
if (templatesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
templates_ = java.util.Collections.unmodifiableList(templates_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.templates_ = templates_;
} else {
result.templates_ = templatesBuilder_.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.VodUploadFunctionInput) {
return mergeFrom((com.volcengine.service.vod.model.business.VodUploadFunctionInput)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodUploadFunctionInput other) {
if (other == com.volcengine.service.vod.model.business.VodUploadFunctionInput.getDefaultInstance()) return this;
if (other.getSnapshotTime() != 0D) {
setSnapshotTime(other.getSnapshotTime());
}
if (!other.getTitle().isEmpty()) {
title_ = other.title_;
onChanged();
}
if (!other.getTags().isEmpty()) {
tags_ = other.tags_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (!other.getCategory().isEmpty()) {
category_ = other.category_;
onChanged();
}
if (other.getRecordType() != 0) {
setRecordType(other.getRecordType());
}
if (!other.getFormat().isEmpty()) {
format_ = other.format_;
onChanged();
}
if (other.getClassificationId() != 0) {
setClassificationId(other.getClassificationId());
}
if (!other.getTemplateId().isEmpty()) {
templateId_ = other.templateId_;
onChanged();
}
if (!other.getVid().isEmpty()) {
vid_ = other.vid_;
onChanged();
}
if (!other.getFid().isEmpty()) {
fid_ = other.fid_;
onChanged();
}
if (!other.getLanguage().isEmpty()) {
language_ = other.language_;
onChanged();
}
if (!other.getStoreUri().isEmpty()) {
storeUri_ = other.storeUri_;
onChanged();
}
if (!other.getSource().isEmpty()) {
source_ = other.source_;
onChanged();
}
if (!other.getTag().isEmpty()) {
tag_ = other.tag_;
onChanged();
}
if (other.getAutoPublish() != false) {
setAutoPublish(other.getAutoPublish());
}
if (!other.getActionType().isEmpty()) {
actionType_ = other.actionType_;
onChanged();
}
if (other.getIsHlsIndexOnly() != false) {
setIsHlsIndexOnly(other.getIsHlsIndexOnly());
}
if (!other.getHlsMediaSize().isEmpty()) {
hlsMediaSize_ = other.hlsMediaSize_;
onChanged();
}
if (templatesBuilder_ == null) {
if (!other.templates_.isEmpty()) {
if (templates_.isEmpty()) {
templates_ = other.templates_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTemplatesIsMutable();
templates_.addAll(other.templates_);
}
onChanged();
}
} else {
if (!other.templates_.isEmpty()) {
if (templatesBuilder_.isEmpty()) {
templatesBuilder_.dispose();
templatesBuilder_ = null;
templates_ = other.templates_;
bitField0_ = (bitField0_ & ~0x00000001);
templatesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTemplatesFieldBuilder() : null;
} else {
templatesBuilder_.addAllMessages(other.templates_);
}
}
}
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.VodUploadFunctionInput parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodUploadFunctionInput) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private double snapshotTime_ ;
/**
* double SnapshotTime = 1;
* @return The snapshotTime.
*/
@java.lang.Override
public double getSnapshotTime() {
return snapshotTime_;
}
/**
* double SnapshotTime = 1;
* @param value The snapshotTime to set.
* @return This builder for chaining.
*/
public Builder setSnapshotTime(double value) {
snapshotTime_ = value;
onChanged();
return this;
}
/**
* double SnapshotTime = 1;
* @return This builder for chaining.
*/
public Builder clearSnapshotTime() {
snapshotTime_ = 0D;
onChanged();
return this;
}
private java.lang.Object title_ = "";
/**
* string Title = 2;
* @return The title.
*/
public java.lang.String getTitle() {
java.lang.Object ref = title_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
title_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Title = 2;
* @return The bytes for title.
*/
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Title = 2;
* @param value The title to set.
* @return This builder for chaining.
*/
public Builder setTitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
title_ = value;
onChanged();
return this;
}
/**
* string Title = 2;
* @return This builder for chaining.
*/
public Builder clearTitle() {
title_ = getDefaultInstance().getTitle();
onChanged();
return this;
}
/**
* string Title = 2;
* @param value The bytes for title to set.
* @return This builder for chaining.
*/
public Builder setTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
title_ = value;
onChanged();
return this;
}
private java.lang.Object tags_ = "";
/**
* string Tags = 3;
* @return The tags.
*/
public java.lang.String getTags() {
java.lang.Object ref = tags_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tags_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Tags = 3;
* @return The bytes for tags.
*/
public com.google.protobuf.ByteString
getTagsBytes() {
java.lang.Object ref = tags_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tags_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Tags = 3;
* @param value The tags to set.
* @return This builder for chaining.
*/
public Builder setTags(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tags_ = value;
onChanged();
return this;
}
/**
* string Tags = 3;
* @return This builder for chaining.
*/
public Builder clearTags() {
tags_ = getDefaultInstance().getTags();
onChanged();
return this;
}
/**
* string Tags = 3;
* @param value The bytes for tags to set.
* @return This builder for chaining.
*/
public Builder setTagsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tags_ = 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 category_ = "";
/**
* string Category = 5;
* @return The category.
*/
public java.lang.String getCategory() {
java.lang.Object ref = category_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
category_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Category = 5;
* @return The bytes for category.
*/
public com.google.protobuf.ByteString
getCategoryBytes() {
java.lang.Object ref = category_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
category_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Category = 5;
* @param value The category to set.
* @return This builder for chaining.
*/
public Builder setCategory(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
category_ = value;
onChanged();
return this;
}
/**
* string Category = 5;
* @return This builder for chaining.
*/
public Builder clearCategory() {
category_ = getDefaultInstance().getCategory();
onChanged();
return this;
}
/**
* string Category = 5;
* @param value The bytes for category to set.
* @return This builder for chaining.
*/
public Builder setCategoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
category_ = value;
onChanged();
return this;
}
private int recordType_ ;
/**
* int32 RecordType = 6;
* @return The recordType.
*/
@java.lang.Override
public int getRecordType() {
return recordType_;
}
/**
* int32 RecordType = 6;
* @param value The recordType to set.
* @return This builder for chaining.
*/
public Builder setRecordType(int value) {
recordType_ = value;
onChanged();
return this;
}
/**
* int32 RecordType = 6;
* @return This builder for chaining.
*/
public Builder clearRecordType() {
recordType_ = 0;
onChanged();
return this;
}
private java.lang.Object format_ = "";
/**
* string Format = 7;
* @return The format.
*/
public java.lang.String getFormat() {
java.lang.Object ref = format_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
format_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Format = 7;
* @return The bytes for format.
*/
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Format = 7;
* @param value The format to set.
* @return This builder for chaining.
*/
public Builder setFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
return this;
}
/**
* string Format = 7;
* @return This builder for chaining.
*/
public Builder clearFormat() {
format_ = getDefaultInstance().getFormat();
onChanged();
return this;
}
/**
* string Format = 7;
* @param value The bytes for format to set.
* @return This builder for chaining.
*/
public Builder setFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
format_ = value;
onChanged();
return this;
}
private int classificationId_ ;
/**
* int32 ClassificationId = 8;
* @return The classificationId.
*/
@java.lang.Override
public int getClassificationId() {
return classificationId_;
}
/**
* int32 ClassificationId = 8;
* @param value The classificationId to set.
* @return This builder for chaining.
*/
public Builder setClassificationId(int value) {
classificationId_ = value;
onChanged();
return this;
}
/**
* int32 ClassificationId = 8;
* @return This builder for chaining.
*/
public Builder clearClassificationId() {
classificationId_ = 0;
onChanged();
return this;
}
private java.lang.Object templateId_ = "";
/**
* string TemplateId = 9;
* @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;
}
}
/**
* string TemplateId = 9;
* @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;
}
}
/**
* string TemplateId = 9;
* @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;
}
/**
* string TemplateId = 9;
* @return This builder for chaining.
*/
public Builder clearTemplateId() {
templateId_ = getDefaultInstance().getTemplateId();
onChanged();
return this;
}
/**
* string TemplateId = 9;
* @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 vid_ = "";
/**
* string Vid = 10;
* @return The vid.
*/
public java.lang.String getVid() {
java.lang.Object ref = vid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Vid = 10;
* @return The bytes for vid.
*/
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Vid = 10;
* @param value The vid to set.
* @return This builder for chaining.
*/
public Builder setVid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vid_ = value;
onChanged();
return this;
}
/**
* string Vid = 10;
* @return This builder for chaining.
*/
public Builder clearVid() {
vid_ = getDefaultInstance().getVid();
onChanged();
return this;
}
/**
* string Vid = 10;
* @param value The bytes for vid to set.
* @return This builder for chaining.
*/
public Builder setVidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vid_ = value;
onChanged();
return this;
}
private java.lang.Object fid_ = "";
/**
* string Fid = 11;
* @return The fid.
*/
public java.lang.String getFid() {
java.lang.Object ref = fid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Fid = 11;
* @return The bytes for fid.
*/
public com.google.protobuf.ByteString
getFidBytes() {
java.lang.Object ref = fid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Fid = 11;
* @param value The fid to set.
* @return This builder for chaining.
*/
public Builder setFid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fid_ = value;
onChanged();
return this;
}
/**
* string Fid = 11;
* @return This builder for chaining.
*/
public Builder clearFid() {
fid_ = getDefaultInstance().getFid();
onChanged();
return this;
}
/**
* string Fid = 11;
* @param value The bytes for fid to set.
* @return This builder for chaining.
*/
public Builder setFidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fid_ = value;
onChanged();
return this;
}
private java.lang.Object language_ = "";
/**
* string Language = 12;
* @return The language.
*/
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
language_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Language = 12;
* @return The bytes for language.
*/
public com.google.protobuf.ByteString
getLanguageBytes() {
java.lang.Object ref = language_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
language_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Language = 12;
* @param value The language to set.
* @return This builder for chaining.
*/
public Builder setLanguage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
language_ = value;
onChanged();
return this;
}
/**
* string Language = 12;
* @return This builder for chaining.
*/
public Builder clearLanguage() {
language_ = getDefaultInstance().getLanguage();
onChanged();
return this;
}
/**
* string Language = 12;
* @param value The bytes for language to set.
* @return This builder for chaining.
*/
public Builder setLanguageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
language_ = value;
onChanged();
return this;
}
private java.lang.Object storeUri_ = "";
/**
* string StoreUri = 13;
* @return The storeUri.
*/
public java.lang.String getStoreUri() {
java.lang.Object ref = storeUri_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
storeUri_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string StoreUri = 13;
* @return The bytes for storeUri.
*/
public com.google.protobuf.ByteString
getStoreUriBytes() {
java.lang.Object ref = storeUri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storeUri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string StoreUri = 13;
* @param value The storeUri to set.
* @return This builder for chaining.
*/
public Builder setStoreUri(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
storeUri_ = value;
onChanged();
return this;
}
/**
* string StoreUri = 13;
* @return This builder for chaining.
*/
public Builder clearStoreUri() {
storeUri_ = getDefaultInstance().getStoreUri();
onChanged();
return this;
}
/**
* string StoreUri = 13;
* @param value The bytes for storeUri to set.
* @return This builder for chaining.
*/
public Builder setStoreUriBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
storeUri_ = value;
onChanged();
return this;
}
private java.lang.Object source_ = "";
/**
* string Source = 14;
* @return The source.
*/
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
source_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Source = 14;
* @return The bytes for source.
*/
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Source = 14;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
return this;
}
/**
* string Source = 14;
* @return This builder for chaining.
*/
public Builder clearSource() {
source_ = getDefaultInstance().getSource();
onChanged();
return this;
}
/**
* string Source = 14;
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
public Builder setSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
source_ = value;
onChanged();
return this;
}
private java.lang.Object tag_ = "";
/**
* string Tag = 15;
* @return The tag.
*/
public java.lang.String getTag() {
java.lang.Object ref = tag_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tag_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string Tag = 15;
* @return The bytes for tag.
*/
public com.google.protobuf.ByteString
getTagBytes() {
java.lang.Object ref = tag_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tag_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string Tag = 15;
* @param value The tag to set.
* @return This builder for chaining.
*/
public Builder setTag(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tag_ = value;
onChanged();
return this;
}
/**
* string Tag = 15;
* @return This builder for chaining.
*/
public Builder clearTag() {
tag_ = getDefaultInstance().getTag();
onChanged();
return this;
}
/**
* string Tag = 15;
* @param value The bytes for tag to set.
* @return This builder for chaining.
*/
public Builder setTagBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tag_ = value;
onChanged();
return this;
}
private boolean autoPublish_ ;
/**
* bool AutoPublish = 16;
* @return The autoPublish.
*/
@java.lang.Override
public boolean getAutoPublish() {
return autoPublish_;
}
/**
* bool AutoPublish = 16;
* @param value The autoPublish to set.
* @return This builder for chaining.
*/
public Builder setAutoPublish(boolean value) {
autoPublish_ = value;
onChanged();
return this;
}
/**
* bool AutoPublish = 16;
* @return This builder for chaining.
*/
public Builder clearAutoPublish() {
autoPublish_ = false;
onChanged();
return this;
}
private java.lang.Object actionType_ = "";
/**
* string ActionType = 17;
* @return The actionType.
*/
public java.lang.String getActionType() {
java.lang.Object ref = actionType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
actionType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string ActionType = 17;
* @return The bytes for actionType.
*/
public com.google.protobuf.ByteString
getActionTypeBytes() {
java.lang.Object ref = actionType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
actionType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string ActionType = 17;
* @param value The actionType to set.
* @return This builder for chaining.
*/
public Builder setActionType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
actionType_ = value;
onChanged();
return this;
}
/**
* string ActionType = 17;
* @return This builder for chaining.
*/
public Builder clearActionType() {
actionType_ = getDefaultInstance().getActionType();
onChanged();
return this;
}
/**
* string ActionType = 17;
* @param value The bytes for actionType to set.
* @return This builder for chaining.
*/
public Builder setActionTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
actionType_ = value;
onChanged();
return this;
}
private boolean isHlsIndexOnly_ ;
/**
* bool IsHlsIndexOnly = 18;
* @return The isHlsIndexOnly.
*/
@java.lang.Override
public boolean getIsHlsIndexOnly() {
return isHlsIndexOnly_;
}
/**
* bool IsHlsIndexOnly = 18;
* @param value The isHlsIndexOnly to set.
* @return This builder for chaining.
*/
public Builder setIsHlsIndexOnly(boolean value) {
isHlsIndexOnly_ = value;
onChanged();
return this;
}
/**
* bool IsHlsIndexOnly = 18;
* @return This builder for chaining.
*/
public Builder clearIsHlsIndexOnly() {
isHlsIndexOnly_ = false;
onChanged();
return this;
}
private java.lang.Object hlsMediaSize_ = "";
/**
* string HlsMediaSize = 19;
* @return The hlsMediaSize.
*/
public java.lang.String getHlsMediaSize() {
java.lang.Object ref = hlsMediaSize_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hlsMediaSize_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string HlsMediaSize = 19;
* @return The bytes for hlsMediaSize.
*/
public com.google.protobuf.ByteString
getHlsMediaSizeBytes() {
java.lang.Object ref = hlsMediaSize_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hlsMediaSize_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string HlsMediaSize = 19;
* @param value The hlsMediaSize to set.
* @return This builder for chaining.
*/
public Builder setHlsMediaSize(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hlsMediaSize_ = value;
onChanged();
return this;
}
/**
* string HlsMediaSize = 19;
* @return This builder for chaining.
*/
public Builder clearHlsMediaSize() {
hlsMediaSize_ = getDefaultInstance().getHlsMediaSize();
onChanged();
return this;
}
/**
* string HlsMediaSize = 19;
* @param value The bytes for hlsMediaSize to set.
* @return This builder for chaining.
*/
public Builder setHlsMediaSizeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hlsMediaSize_ = value;
onChanged();
return this;
}
private java.util.List templates_ =
java.util.Collections.emptyList();
private void ensureTemplatesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
templates_ = new java.util.ArrayList(templates_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodUploadTemplate, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder, com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder> templatesBuilder_;
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public java.util.List getTemplatesList() {
if (templatesBuilder_ == null) {
return java.util.Collections.unmodifiableList(templates_);
} else {
return templatesBuilder_.getMessageList();
}
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public int getTemplatesCount() {
if (templatesBuilder_ == null) {
return templates_.size();
} else {
return templatesBuilder_.getCount();
}
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public com.volcengine.service.vod.model.business.VodUploadTemplate getTemplates(int index) {
if (templatesBuilder_ == null) {
return templates_.get(index);
} else {
return templatesBuilder_.getMessage(index);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public Builder setTemplates(
int index, com.volcengine.service.vod.model.business.VodUploadTemplate value) {
if (templatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTemplatesIsMutable();
templates_.set(index, value);
onChanged();
} else {
templatesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public Builder setTemplates(
int index, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder builderForValue) {
if (templatesBuilder_ == null) {
ensureTemplatesIsMutable();
templates_.set(index, builderForValue.build());
onChanged();
} else {
templatesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public Builder addTemplates(com.volcengine.service.vod.model.business.VodUploadTemplate value) {
if (templatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTemplatesIsMutable();
templates_.add(value);
onChanged();
} else {
templatesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public Builder addTemplates(
int index, com.volcengine.service.vod.model.business.VodUploadTemplate value) {
if (templatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTemplatesIsMutable();
templates_.add(index, value);
onChanged();
} else {
templatesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public Builder addTemplates(
com.volcengine.service.vod.model.business.VodUploadTemplate.Builder builderForValue) {
if (templatesBuilder_ == null) {
ensureTemplatesIsMutable();
templates_.add(builderForValue.build());
onChanged();
} else {
templatesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public Builder addTemplates(
int index, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder builderForValue) {
if (templatesBuilder_ == null) {
ensureTemplatesIsMutable();
templates_.add(index, builderForValue.build());
onChanged();
} else {
templatesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public Builder addAllTemplates(
java.lang.Iterable extends com.volcengine.service.vod.model.business.VodUploadTemplate> values) {
if (templatesBuilder_ == null) {
ensureTemplatesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, templates_);
onChanged();
} else {
templatesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public Builder clearTemplates() {
if (templatesBuilder_ == null) {
templates_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
templatesBuilder_.clear();
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public Builder removeTemplates(int index) {
if (templatesBuilder_ == null) {
ensureTemplatesIsMutable();
templates_.remove(index);
onChanged();
} else {
templatesBuilder_.remove(index);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public com.volcengine.service.vod.model.business.VodUploadTemplate.Builder getTemplatesBuilder(
int index) {
return getTemplatesFieldBuilder().getBuilder(index);
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder getTemplatesOrBuilder(
int index) {
if (templatesBuilder_ == null) {
return templates_.get(index); } else {
return templatesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public java.util.List extends com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder>
getTemplatesOrBuilderList() {
if (templatesBuilder_ != null) {
return templatesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(templates_);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public com.volcengine.service.vod.model.business.VodUploadTemplate.Builder addTemplatesBuilder() {
return getTemplatesFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.VodUploadTemplate.getDefaultInstance());
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public com.volcengine.service.vod.model.business.VodUploadTemplate.Builder addTemplatesBuilder(
int index) {
return getTemplatesFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.VodUploadTemplate.getDefaultInstance());
}
/**
* repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 20;
*/
public java.util.List
getTemplatesBuilderList() {
return getTemplatesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodUploadTemplate, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder, com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder>
getTemplatesFieldBuilder() {
if (templatesBuilder_ == null) {
templatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodUploadTemplate, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder, com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder>(
templates_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
templates_ = null;
}
return templatesBuilder_;
}
@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.VodUploadFunctionInput)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodUploadFunctionInput)
private static final com.volcengine.service.vod.model.business.VodUploadFunctionInput DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodUploadFunctionInput();
}
public static com.volcengine.service.vod.model.business.VodUploadFunctionInput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodUploadFunctionInput parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodUploadFunctionInput(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.VodUploadFunctionInput getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy