com.volcengine.service.vod.model.business.VodAllPlayInfoModel 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_common.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.VodAllPlayInfoModel}
*/
public final class VodAllPlayInfoModel extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodAllPlayInfoModel)
VodAllPlayInfoModelOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodAllPlayInfoModel.newBuilder() to construct.
private VodAllPlayInfoModel(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodAllPlayInfoModel() {
vid_ = "";
posterUrl_ = "";
vodTranscodePlayInfo_ = java.util.Collections.emptyList();
version_ = 0;
thumbInfoList_ = java.util.Collections.emptyList();
barrageMaskUrl_ = "";
subtitleInfoList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodAllPlayInfoModel();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodAllPlayInfoModel(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
vid_ = s;
break;
}
case 16: {
status_ = input.readInt32();
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
posterUrl_ = s;
break;
}
case 32: {
totalCount_ = input.readInt32();
break;
}
case 40: {
enableAdaptive_ = input.readBool();
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
vodTranscodePlayInfo_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
vodTranscodePlayInfo_.add(
input.readMessage(com.volcengine.service.vod.model.business.VodPlayInfo.parser(), extensionRegistry));
break;
}
case 58: {
com.volcengine.service.vod.model.business.VodPlayInfo.Builder subBuilder = null;
if (vodSourcePlayInfo_ != null) {
subBuilder = vodSourcePlayInfo_.toBuilder();
}
vodSourcePlayInfo_ = input.readMessage(com.volcengine.service.vod.model.business.VodPlayInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(vodSourcePlayInfo_);
vodSourcePlayInfo_ = subBuilder.buildPartial();
}
break;
}
case 64: {
int rawValue = input.readEnum();
version_ = rawValue;
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
thumbInfoList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
thumbInfoList_.add(
input.readMessage(com.volcengine.service.vod.model.business.VodThumbInfo.parser(), extensionRegistry));
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
barrageMaskUrl_ = s;
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
subtitleInfoList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
subtitleInfoList_.add(
input.readMessage(com.volcengine.service.vod.model.business.VodSubtitleInfo.parser(), extensionRegistry));
break;
}
case 98: {
com.volcengine.service.vod.model.business.BarrageMaskInfo.Builder subBuilder = null;
if (barrageMaskInfo_ != null) {
subBuilder = barrageMaskInfo_.toBuilder();
}
barrageMaskInfo_ = input.readMessage(com.volcengine.service.vod.model.business.BarrageMaskInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(barrageMaskInfo_);
barrageMaskInfo_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
vodTranscodePlayInfo_ = java.util.Collections.unmodifiableList(vodTranscodePlayInfo_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
thumbInfoList_ = java.util.Collections.unmodifiableList(thumbInfoList_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
subtitleInfoList_ = java.util.Collections.unmodifiableList(subtitleInfoList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodAllPlayInfoModel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodAllPlayInfoModel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodAllPlayInfoModel.class, com.volcengine.service.vod.model.business.VodAllPlayInfoModel.Builder.class);
}
public static final int VID_FIELD_NUMBER = 1;
private volatile java.lang.Object vid_;
/**
*
* 唯一ID
*
*
* string Vid = 1;
* @return The vid.
*/
@java.lang.Override
public java.lang.String getVid() {
java.lang.Object ref = vid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vid_ = s;
return s;
}
}
/**
*
* 唯一ID
*
*
* string Vid = 1;
* @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 STATUS_FIELD_NUMBER = 2;
private int status_;
/**
*
* 状态
*
*
* int32 Status = 2;
* @return The status.
*/
@java.lang.Override
public int getStatus() {
return status_;
}
public static final int POSTERURL_FIELD_NUMBER = 3;
private volatile java.lang.Object posterUrl_;
/**
*
* 封面地址
*
*
* string PosterUrl = 3;
* @return The posterUrl.
*/
@java.lang.Override
public java.lang.String getPosterUrl() {
java.lang.Object ref = posterUrl_;
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();
posterUrl_ = s;
return s;
}
}
/**
*
* 封面地址
*
*
* string PosterUrl = 3;
* @return The bytes for posterUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPosterUrlBytes() {
java.lang.Object ref = posterUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
posterUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TOTALCOUNT_FIELD_NUMBER = 4;
private int totalCount_;
/**
*
* 播放列表数量
*
*
* int32 TotalCount = 4;
* @return The totalCount.
*/
@java.lang.Override
public int getTotalCount() {
return totalCount_;
}
public static final int ENABLEADAPTIVE_FIELD_NUMBER = 5;
private boolean enableAdaptive_;
/**
*
* 是否关键针对齐
*
*
* bool EnableAdaptive = 5;
* @return The enableAdaptive.
*/
@java.lang.Override
public boolean getEnableAdaptive() {
return enableAdaptive_;
}
public static final int VODTRANSCODEPLAYINFO_FIELD_NUMBER = 6;
private java.util.List vodTranscodePlayInfo_;
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
@java.lang.Override
public java.util.List getVodTranscodePlayInfoList() {
return vodTranscodePlayInfo_;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder>
getVodTranscodePlayInfoOrBuilderList() {
return vodTranscodePlayInfo_;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
@java.lang.Override
public int getVodTranscodePlayInfoCount() {
return vodTranscodePlayInfo_.size();
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodPlayInfo getVodTranscodePlayInfo(int index) {
return vodTranscodePlayInfo_.get(index);
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder getVodTranscodePlayInfoOrBuilder(
int index) {
return vodTranscodePlayInfo_.get(index);
}
public static final int VODSOURCEPLAYINFO_FIELD_NUMBER = 7;
private com.volcengine.service.vod.model.business.VodPlayInfo vodSourcePlayInfo_;
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
* @return Whether the vodSourcePlayInfo field is set.
*/
@java.lang.Override
public boolean hasVodSourcePlayInfo() {
return vodSourcePlayInfo_ != null;
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
* @return The vodSourcePlayInfo.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodPlayInfo getVodSourcePlayInfo() {
return vodSourcePlayInfo_ == null ? com.volcengine.service.vod.model.business.VodPlayInfo.getDefaultInstance() : vodSourcePlayInfo_;
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder getVodSourcePlayInfoOrBuilder() {
return getVodSourcePlayInfo();
}
public static final int VERSION_FIELD_NUMBER = 8;
private int version_;
/**
*
* 数据版本
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfoModelVersion Version = 8;
* @return The enum numeric value on the wire for version.
*/
@java.lang.Override public int getVersionValue() {
return version_;
}
/**
*
* 数据版本
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfoModelVersion Version = 8;
* @return The version.
*/
@java.lang.Override public com.volcengine.service.vod.model.business.VodPlayInfoModelVersion getVersion() {
@SuppressWarnings("deprecation")
com.volcengine.service.vod.model.business.VodPlayInfoModelVersion result = com.volcengine.service.vod.model.business.VodPlayInfoModelVersion.valueOf(version_);
return result == null ? com.volcengine.service.vod.model.business.VodPlayInfoModelVersion.UNRECOGNIZED : result;
}
public static final int THUMBINFOLIST_FIELD_NUMBER = 9;
private java.util.List thumbInfoList_;
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
@java.lang.Override
public java.util.List getThumbInfoListList() {
return thumbInfoList_;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.VodThumbInfoOrBuilder>
getThumbInfoListOrBuilderList() {
return thumbInfoList_;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
@java.lang.Override
public int getThumbInfoListCount() {
return thumbInfoList_.size();
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodThumbInfo getThumbInfoList(int index) {
return thumbInfoList_.get(index);
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodThumbInfoOrBuilder getThumbInfoListOrBuilder(
int index) {
return thumbInfoList_.get(index);
}
public static final int BARRAGEMASKURL_FIELD_NUMBER = 10;
private volatile java.lang.Object barrageMaskUrl_;
/**
*
* 弹幕蒙版url
*
*
* string BarrageMaskUrl = 10;
* @return The barrageMaskUrl.
*/
@java.lang.Override
public java.lang.String getBarrageMaskUrl() {
java.lang.Object ref = barrageMaskUrl_;
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();
barrageMaskUrl_ = s;
return s;
}
}
/**
*
* 弹幕蒙版url
*
*
* string BarrageMaskUrl = 10;
* @return The bytes for barrageMaskUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBarrageMaskUrlBytes() {
java.lang.Object ref = barrageMaskUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
barrageMaskUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SUBTITLEINFOLIST_FIELD_NUMBER = 11;
private java.util.List subtitleInfoList_;
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
@java.lang.Override
public java.util.List getSubtitleInfoListList() {
return subtitleInfoList_;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.VodSubtitleInfoOrBuilder>
getSubtitleInfoListOrBuilderList() {
return subtitleInfoList_;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
@java.lang.Override
public int getSubtitleInfoListCount() {
return subtitleInfoList_.size();
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodSubtitleInfo getSubtitleInfoList(int index) {
return subtitleInfoList_.get(index);
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodSubtitleInfoOrBuilder getSubtitleInfoListOrBuilder(
int index) {
return subtitleInfoList_.get(index);
}
public static final int BARRAGEMASKINFO_FIELD_NUMBER = 12;
private com.volcengine.service.vod.model.business.BarrageMaskInfo barrageMaskInfo_;
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
* @return Whether the barrageMaskInfo field is set.
*/
@java.lang.Override
public boolean hasBarrageMaskInfo() {
return barrageMaskInfo_ != null;
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
* @return The barrageMaskInfo.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.BarrageMaskInfo getBarrageMaskInfo() {
return barrageMaskInfo_ == null ? com.volcengine.service.vod.model.business.BarrageMaskInfo.getDefaultInstance() : barrageMaskInfo_;
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.BarrageMaskInfoOrBuilder getBarrageMaskInfoOrBuilder() {
return getBarrageMaskInfo();
}
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(vid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vid_);
}
if (status_ != 0) {
output.writeInt32(2, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, posterUrl_);
}
if (totalCount_ != 0) {
output.writeInt32(4, totalCount_);
}
if (enableAdaptive_ != false) {
output.writeBool(5, enableAdaptive_);
}
for (int i = 0; i < vodTranscodePlayInfo_.size(); i++) {
output.writeMessage(6, vodTranscodePlayInfo_.get(i));
}
if (vodSourcePlayInfo_ != null) {
output.writeMessage(7, getVodSourcePlayInfo());
}
if (version_ != com.volcengine.service.vod.model.business.VodPlayInfoModelVersion.UndefinedVodPlayInfoModelVersion.getNumber()) {
output.writeEnum(8, version_);
}
for (int i = 0; i < thumbInfoList_.size(); i++) {
output.writeMessage(9, thumbInfoList_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(barrageMaskUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, barrageMaskUrl_);
}
for (int i = 0; i < subtitleInfoList_.size(); i++) {
output.writeMessage(11, subtitleInfoList_.get(i));
}
if (barrageMaskInfo_ != null) {
output.writeMessage(12, getBarrageMaskInfo());
}
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(vid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vid_);
}
if (status_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, posterUrl_);
}
if (totalCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, totalCount_);
}
if (enableAdaptive_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, enableAdaptive_);
}
for (int i = 0; i < vodTranscodePlayInfo_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, vodTranscodePlayInfo_.get(i));
}
if (vodSourcePlayInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getVodSourcePlayInfo());
}
if (version_ != com.volcengine.service.vod.model.business.VodPlayInfoModelVersion.UndefinedVodPlayInfoModelVersion.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, version_);
}
for (int i = 0; i < thumbInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, thumbInfoList_.get(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(barrageMaskUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, barrageMaskUrl_);
}
for (int i = 0; i < subtitleInfoList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, subtitleInfoList_.get(i));
}
if (barrageMaskInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getBarrageMaskInfo());
}
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.VodAllPlayInfoModel)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodAllPlayInfoModel other = (com.volcengine.service.vod.model.business.VodAllPlayInfoModel) obj;
if (!getVid()
.equals(other.getVid())) return false;
if (getStatus()
!= other.getStatus()) return false;
if (!getPosterUrl()
.equals(other.getPosterUrl())) return false;
if (getTotalCount()
!= other.getTotalCount()) return false;
if (getEnableAdaptive()
!= other.getEnableAdaptive()) return false;
if (!getVodTranscodePlayInfoList()
.equals(other.getVodTranscodePlayInfoList())) return false;
if (hasVodSourcePlayInfo() != other.hasVodSourcePlayInfo()) return false;
if (hasVodSourcePlayInfo()) {
if (!getVodSourcePlayInfo()
.equals(other.getVodSourcePlayInfo())) return false;
}
if (version_ != other.version_) return false;
if (!getThumbInfoListList()
.equals(other.getThumbInfoListList())) return false;
if (!getBarrageMaskUrl()
.equals(other.getBarrageMaskUrl())) return false;
if (!getSubtitleInfoListList()
.equals(other.getSubtitleInfoListList())) return false;
if (hasBarrageMaskInfo() != other.hasBarrageMaskInfo()) return false;
if (hasBarrageMaskInfo()) {
if (!getBarrageMaskInfo()
.equals(other.getBarrageMaskInfo())) 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) + VID_FIELD_NUMBER;
hash = (53 * hash) + getVid().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus();
hash = (37 * hash) + POSTERURL_FIELD_NUMBER;
hash = (53 * hash) + getPosterUrl().hashCode();
hash = (37 * hash) + TOTALCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getTotalCount();
hash = (37 * hash) + ENABLEADAPTIVE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableAdaptive());
if (getVodTranscodePlayInfoCount() > 0) {
hash = (37 * hash) + VODTRANSCODEPLAYINFO_FIELD_NUMBER;
hash = (53 * hash) + getVodTranscodePlayInfoList().hashCode();
}
if (hasVodSourcePlayInfo()) {
hash = (37 * hash) + VODSOURCEPLAYINFO_FIELD_NUMBER;
hash = (53 * hash) + getVodSourcePlayInfo().hashCode();
}
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + version_;
if (getThumbInfoListCount() > 0) {
hash = (37 * hash) + THUMBINFOLIST_FIELD_NUMBER;
hash = (53 * hash) + getThumbInfoListList().hashCode();
}
hash = (37 * hash) + BARRAGEMASKURL_FIELD_NUMBER;
hash = (53 * hash) + getBarrageMaskUrl().hashCode();
if (getSubtitleInfoListCount() > 0) {
hash = (37 * hash) + SUBTITLEINFOLIST_FIELD_NUMBER;
hash = (53 * hash) + getSubtitleInfoListList().hashCode();
}
if (hasBarrageMaskInfo()) {
hash = (37 * hash) + BARRAGEMASKINFO_FIELD_NUMBER;
hash = (53 * hash) + getBarrageMaskInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodAllPlayInfoModel parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodAllPlayInfoModel 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.VodAllPlayInfoModel parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodAllPlayInfoModel 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.VodAllPlayInfoModel parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodAllPlayInfoModel 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.VodAllPlayInfoModel 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.VodAllPlayInfoModel 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.VodAllPlayInfoModel 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.VodAllPlayInfoModel 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.VodAllPlayInfoModel 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.VodAllPlayInfoModel 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.VodAllPlayInfoModel 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.VodAllPlayInfoModel}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodAllPlayInfoModel)
com.volcengine.service.vod.model.business.VodAllPlayInfoModelOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodAllPlayInfoModel_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodAllPlayInfoModel_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodAllPlayInfoModel.class, com.volcengine.service.vod.model.business.VodAllPlayInfoModel.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodAllPlayInfoModel.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getVodTranscodePlayInfoFieldBuilder();
getThumbInfoListFieldBuilder();
getSubtitleInfoListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
vid_ = "";
status_ = 0;
posterUrl_ = "";
totalCount_ = 0;
enableAdaptive_ = false;
if (vodTranscodePlayInfoBuilder_ == null) {
vodTranscodePlayInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
vodTranscodePlayInfoBuilder_.clear();
}
if (vodSourcePlayInfoBuilder_ == null) {
vodSourcePlayInfo_ = null;
} else {
vodSourcePlayInfo_ = null;
vodSourcePlayInfoBuilder_ = null;
}
version_ = 0;
if (thumbInfoListBuilder_ == null) {
thumbInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
thumbInfoListBuilder_.clear();
}
barrageMaskUrl_ = "";
if (subtitleInfoListBuilder_ == null) {
subtitleInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
subtitleInfoListBuilder_.clear();
}
if (barrageMaskInfoBuilder_ == null) {
barrageMaskInfo_ = null;
} else {
barrageMaskInfo_ = null;
barrageMaskInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodAllPlayInfoModel_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodAllPlayInfoModel getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodAllPlayInfoModel.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodAllPlayInfoModel build() {
com.volcengine.service.vod.model.business.VodAllPlayInfoModel result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodAllPlayInfoModel buildPartial() {
com.volcengine.service.vod.model.business.VodAllPlayInfoModel result = new com.volcengine.service.vod.model.business.VodAllPlayInfoModel(this);
int from_bitField0_ = bitField0_;
result.vid_ = vid_;
result.status_ = status_;
result.posterUrl_ = posterUrl_;
result.totalCount_ = totalCount_;
result.enableAdaptive_ = enableAdaptive_;
if (vodTranscodePlayInfoBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
vodTranscodePlayInfo_ = java.util.Collections.unmodifiableList(vodTranscodePlayInfo_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.vodTranscodePlayInfo_ = vodTranscodePlayInfo_;
} else {
result.vodTranscodePlayInfo_ = vodTranscodePlayInfoBuilder_.build();
}
if (vodSourcePlayInfoBuilder_ == null) {
result.vodSourcePlayInfo_ = vodSourcePlayInfo_;
} else {
result.vodSourcePlayInfo_ = vodSourcePlayInfoBuilder_.build();
}
result.version_ = version_;
if (thumbInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
thumbInfoList_ = java.util.Collections.unmodifiableList(thumbInfoList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.thumbInfoList_ = thumbInfoList_;
} else {
result.thumbInfoList_ = thumbInfoListBuilder_.build();
}
result.barrageMaskUrl_ = barrageMaskUrl_;
if (subtitleInfoListBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
subtitleInfoList_ = java.util.Collections.unmodifiableList(subtitleInfoList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.subtitleInfoList_ = subtitleInfoList_;
} else {
result.subtitleInfoList_ = subtitleInfoListBuilder_.build();
}
if (barrageMaskInfoBuilder_ == null) {
result.barrageMaskInfo_ = barrageMaskInfo_;
} else {
result.barrageMaskInfo_ = barrageMaskInfoBuilder_.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.VodAllPlayInfoModel) {
return mergeFrom((com.volcengine.service.vod.model.business.VodAllPlayInfoModel)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodAllPlayInfoModel other) {
if (other == com.volcengine.service.vod.model.business.VodAllPlayInfoModel.getDefaultInstance()) return this;
if (!other.getVid().isEmpty()) {
vid_ = other.vid_;
onChanged();
}
if (other.getStatus() != 0) {
setStatus(other.getStatus());
}
if (!other.getPosterUrl().isEmpty()) {
posterUrl_ = other.posterUrl_;
onChanged();
}
if (other.getTotalCount() != 0) {
setTotalCount(other.getTotalCount());
}
if (other.getEnableAdaptive() != false) {
setEnableAdaptive(other.getEnableAdaptive());
}
if (vodTranscodePlayInfoBuilder_ == null) {
if (!other.vodTranscodePlayInfo_.isEmpty()) {
if (vodTranscodePlayInfo_.isEmpty()) {
vodTranscodePlayInfo_ = other.vodTranscodePlayInfo_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureVodTranscodePlayInfoIsMutable();
vodTranscodePlayInfo_.addAll(other.vodTranscodePlayInfo_);
}
onChanged();
}
} else {
if (!other.vodTranscodePlayInfo_.isEmpty()) {
if (vodTranscodePlayInfoBuilder_.isEmpty()) {
vodTranscodePlayInfoBuilder_.dispose();
vodTranscodePlayInfoBuilder_ = null;
vodTranscodePlayInfo_ = other.vodTranscodePlayInfo_;
bitField0_ = (bitField0_ & ~0x00000001);
vodTranscodePlayInfoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getVodTranscodePlayInfoFieldBuilder() : null;
} else {
vodTranscodePlayInfoBuilder_.addAllMessages(other.vodTranscodePlayInfo_);
}
}
}
if (other.hasVodSourcePlayInfo()) {
mergeVodSourcePlayInfo(other.getVodSourcePlayInfo());
}
if (other.version_ != 0) {
setVersionValue(other.getVersionValue());
}
if (thumbInfoListBuilder_ == null) {
if (!other.thumbInfoList_.isEmpty()) {
if (thumbInfoList_.isEmpty()) {
thumbInfoList_ = other.thumbInfoList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureThumbInfoListIsMutable();
thumbInfoList_.addAll(other.thumbInfoList_);
}
onChanged();
}
} else {
if (!other.thumbInfoList_.isEmpty()) {
if (thumbInfoListBuilder_.isEmpty()) {
thumbInfoListBuilder_.dispose();
thumbInfoListBuilder_ = null;
thumbInfoList_ = other.thumbInfoList_;
bitField0_ = (bitField0_ & ~0x00000002);
thumbInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getThumbInfoListFieldBuilder() : null;
} else {
thumbInfoListBuilder_.addAllMessages(other.thumbInfoList_);
}
}
}
if (!other.getBarrageMaskUrl().isEmpty()) {
barrageMaskUrl_ = other.barrageMaskUrl_;
onChanged();
}
if (subtitleInfoListBuilder_ == null) {
if (!other.subtitleInfoList_.isEmpty()) {
if (subtitleInfoList_.isEmpty()) {
subtitleInfoList_ = other.subtitleInfoList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSubtitleInfoListIsMutable();
subtitleInfoList_.addAll(other.subtitleInfoList_);
}
onChanged();
}
} else {
if (!other.subtitleInfoList_.isEmpty()) {
if (subtitleInfoListBuilder_.isEmpty()) {
subtitleInfoListBuilder_.dispose();
subtitleInfoListBuilder_ = null;
subtitleInfoList_ = other.subtitleInfoList_;
bitField0_ = (bitField0_ & ~0x00000004);
subtitleInfoListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSubtitleInfoListFieldBuilder() : null;
} else {
subtitleInfoListBuilder_.addAllMessages(other.subtitleInfoList_);
}
}
}
if (other.hasBarrageMaskInfo()) {
mergeBarrageMaskInfo(other.getBarrageMaskInfo());
}
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.VodAllPlayInfoModel parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodAllPlayInfoModel) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object vid_ = "";
/**
*
* 唯一ID
*
*
* string Vid = 1;
* @return The vid.
*/
public java.lang.String getVid() {
java.lang.Object ref = vid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 唯一ID
*
*
* string Vid = 1;
* @return The bytes for vid.
*/
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 唯一ID
*
*
* string Vid = 1;
* @param value The vid to set.
* @return This builder for chaining.
*/
public Builder setVid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vid_ = value;
onChanged();
return this;
}
/**
*
* 唯一ID
*
*
* string Vid = 1;
* @return This builder for chaining.
*/
public Builder clearVid() {
vid_ = getDefaultInstance().getVid();
onChanged();
return this;
}
/**
*
* 唯一ID
*
*
* string Vid = 1;
* @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 int status_ ;
/**
*
* 状态
*
*
* int32 Status = 2;
* @return The status.
*/
@java.lang.Override
public int getStatus() {
return status_;
}
/**
*
* 状态
*
*
* int32 Status = 2;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(int value) {
status_ = value;
onChanged();
return this;
}
/**
*
* 状态
*
*
* int32 Status = 2;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = 0;
onChanged();
return this;
}
private java.lang.Object posterUrl_ = "";
/**
*
* 封面地址
*
*
* string PosterUrl = 3;
* @return The posterUrl.
*/
public java.lang.String getPosterUrl() {
java.lang.Object ref = posterUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
posterUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 封面地址
*
*
* string PosterUrl = 3;
* @return The bytes for posterUrl.
*/
public com.google.protobuf.ByteString
getPosterUrlBytes() {
java.lang.Object ref = posterUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
posterUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 封面地址
*
*
* string PosterUrl = 3;
* @param value The posterUrl to set.
* @return This builder for chaining.
*/
public Builder setPosterUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
posterUrl_ = value;
onChanged();
return this;
}
/**
*
* 封面地址
*
*
* string PosterUrl = 3;
* @return This builder for chaining.
*/
public Builder clearPosterUrl() {
posterUrl_ = getDefaultInstance().getPosterUrl();
onChanged();
return this;
}
/**
*
* 封面地址
*
*
* string PosterUrl = 3;
* @param value The bytes for posterUrl to set.
* @return This builder for chaining.
*/
public Builder setPosterUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
posterUrl_ = value;
onChanged();
return this;
}
private int totalCount_ ;
/**
*
* 播放列表数量
*
*
* int32 TotalCount = 4;
* @return The totalCount.
*/
@java.lang.Override
public int getTotalCount() {
return totalCount_;
}
/**
*
* 播放列表数量
*
*
* int32 TotalCount = 4;
* @param value The totalCount to set.
* @return This builder for chaining.
*/
public Builder setTotalCount(int value) {
totalCount_ = value;
onChanged();
return this;
}
/**
*
* 播放列表数量
*
*
* int32 TotalCount = 4;
* @return This builder for chaining.
*/
public Builder clearTotalCount() {
totalCount_ = 0;
onChanged();
return this;
}
private boolean enableAdaptive_ ;
/**
*
* 是否关键针对齐
*
*
* bool EnableAdaptive = 5;
* @return The enableAdaptive.
*/
@java.lang.Override
public boolean getEnableAdaptive() {
return enableAdaptive_;
}
/**
*
* 是否关键针对齐
*
*
* bool EnableAdaptive = 5;
* @param value The enableAdaptive to set.
* @return This builder for chaining.
*/
public Builder setEnableAdaptive(boolean value) {
enableAdaptive_ = value;
onChanged();
return this;
}
/**
*
* 是否关键针对齐
*
*
* bool EnableAdaptive = 5;
* @return This builder for chaining.
*/
public Builder clearEnableAdaptive() {
enableAdaptive_ = false;
onChanged();
return this;
}
private java.util.List vodTranscodePlayInfo_ =
java.util.Collections.emptyList();
private void ensureVodTranscodePlayInfoIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
vodTranscodePlayInfo_ = new java.util.ArrayList(vodTranscodePlayInfo_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodPlayInfo, com.volcengine.service.vod.model.business.VodPlayInfo.Builder, com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder> vodTranscodePlayInfoBuilder_;
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public java.util.List getVodTranscodePlayInfoList() {
if (vodTranscodePlayInfoBuilder_ == null) {
return java.util.Collections.unmodifiableList(vodTranscodePlayInfo_);
} else {
return vodTranscodePlayInfoBuilder_.getMessageList();
}
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public int getVodTranscodePlayInfoCount() {
if (vodTranscodePlayInfoBuilder_ == null) {
return vodTranscodePlayInfo_.size();
} else {
return vodTranscodePlayInfoBuilder_.getCount();
}
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public com.volcengine.service.vod.model.business.VodPlayInfo getVodTranscodePlayInfo(int index) {
if (vodTranscodePlayInfoBuilder_ == null) {
return vodTranscodePlayInfo_.get(index);
} else {
return vodTranscodePlayInfoBuilder_.getMessage(index);
}
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public Builder setVodTranscodePlayInfo(
int index, com.volcengine.service.vod.model.business.VodPlayInfo value) {
if (vodTranscodePlayInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVodTranscodePlayInfoIsMutable();
vodTranscodePlayInfo_.set(index, value);
onChanged();
} else {
vodTranscodePlayInfoBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public Builder setVodTranscodePlayInfo(
int index, com.volcengine.service.vod.model.business.VodPlayInfo.Builder builderForValue) {
if (vodTranscodePlayInfoBuilder_ == null) {
ensureVodTranscodePlayInfoIsMutable();
vodTranscodePlayInfo_.set(index, builderForValue.build());
onChanged();
} else {
vodTranscodePlayInfoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public Builder addVodTranscodePlayInfo(com.volcengine.service.vod.model.business.VodPlayInfo value) {
if (vodTranscodePlayInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVodTranscodePlayInfoIsMutable();
vodTranscodePlayInfo_.add(value);
onChanged();
} else {
vodTranscodePlayInfoBuilder_.addMessage(value);
}
return this;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public Builder addVodTranscodePlayInfo(
int index, com.volcengine.service.vod.model.business.VodPlayInfo value) {
if (vodTranscodePlayInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureVodTranscodePlayInfoIsMutable();
vodTranscodePlayInfo_.add(index, value);
onChanged();
} else {
vodTranscodePlayInfoBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public Builder addVodTranscodePlayInfo(
com.volcengine.service.vod.model.business.VodPlayInfo.Builder builderForValue) {
if (vodTranscodePlayInfoBuilder_ == null) {
ensureVodTranscodePlayInfoIsMutable();
vodTranscodePlayInfo_.add(builderForValue.build());
onChanged();
} else {
vodTranscodePlayInfoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public Builder addVodTranscodePlayInfo(
int index, com.volcengine.service.vod.model.business.VodPlayInfo.Builder builderForValue) {
if (vodTranscodePlayInfoBuilder_ == null) {
ensureVodTranscodePlayInfoIsMutable();
vodTranscodePlayInfo_.add(index, builderForValue.build());
onChanged();
} else {
vodTranscodePlayInfoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public Builder addAllVodTranscodePlayInfo(
java.lang.Iterable extends com.volcengine.service.vod.model.business.VodPlayInfo> values) {
if (vodTranscodePlayInfoBuilder_ == null) {
ensureVodTranscodePlayInfoIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, vodTranscodePlayInfo_);
onChanged();
} else {
vodTranscodePlayInfoBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public Builder clearVodTranscodePlayInfo() {
if (vodTranscodePlayInfoBuilder_ == null) {
vodTranscodePlayInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
vodTranscodePlayInfoBuilder_.clear();
}
return this;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public Builder removeVodTranscodePlayInfo(int index) {
if (vodTranscodePlayInfoBuilder_ == null) {
ensureVodTranscodePlayInfoIsMutable();
vodTranscodePlayInfo_.remove(index);
onChanged();
} else {
vodTranscodePlayInfoBuilder_.remove(index);
}
return this;
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public com.volcengine.service.vod.model.business.VodPlayInfo.Builder getVodTranscodePlayInfoBuilder(
int index) {
return getVodTranscodePlayInfoFieldBuilder().getBuilder(index);
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder getVodTranscodePlayInfoOrBuilder(
int index) {
if (vodTranscodePlayInfoBuilder_ == null) {
return vodTranscodePlayInfo_.get(index); } else {
return vodTranscodePlayInfoBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public java.util.List extends com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder>
getVodTranscodePlayInfoOrBuilderList() {
if (vodTranscodePlayInfoBuilder_ != null) {
return vodTranscodePlayInfoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(vodTranscodePlayInfo_);
}
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public com.volcengine.service.vod.model.business.VodPlayInfo.Builder addVodTranscodePlayInfoBuilder() {
return getVodTranscodePlayInfoFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.VodPlayInfo.getDefaultInstance());
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public com.volcengine.service.vod.model.business.VodPlayInfo.Builder addVodTranscodePlayInfoBuilder(
int index) {
return getVodTranscodePlayInfoFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.VodPlayInfo.getDefaultInstance());
}
/**
*
* 转码流
*
*
* repeated .Volcengine.Vod.Models.Business.VodPlayInfo VodTranscodePlayInfo = 6;
*/
public java.util.List
getVodTranscodePlayInfoBuilderList() {
return getVodTranscodePlayInfoFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodPlayInfo, com.volcengine.service.vod.model.business.VodPlayInfo.Builder, com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder>
getVodTranscodePlayInfoFieldBuilder() {
if (vodTranscodePlayInfoBuilder_ == null) {
vodTranscodePlayInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodPlayInfo, com.volcengine.service.vod.model.business.VodPlayInfo.Builder, com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder>(
vodTranscodePlayInfo_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
vodTranscodePlayInfo_ = null;
}
return vodTranscodePlayInfoBuilder_;
}
private com.volcengine.service.vod.model.business.VodPlayInfo vodSourcePlayInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.VodPlayInfo, com.volcengine.service.vod.model.business.VodPlayInfo.Builder, com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder> vodSourcePlayInfoBuilder_;
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
* @return Whether the vodSourcePlayInfo field is set.
*/
public boolean hasVodSourcePlayInfo() {
return vodSourcePlayInfoBuilder_ != null || vodSourcePlayInfo_ != null;
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
* @return The vodSourcePlayInfo.
*/
public com.volcengine.service.vod.model.business.VodPlayInfo getVodSourcePlayInfo() {
if (vodSourcePlayInfoBuilder_ == null) {
return vodSourcePlayInfo_ == null ? com.volcengine.service.vod.model.business.VodPlayInfo.getDefaultInstance() : vodSourcePlayInfo_;
} else {
return vodSourcePlayInfoBuilder_.getMessage();
}
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
*/
public Builder setVodSourcePlayInfo(com.volcengine.service.vod.model.business.VodPlayInfo value) {
if (vodSourcePlayInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
vodSourcePlayInfo_ = value;
onChanged();
} else {
vodSourcePlayInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
*/
public Builder setVodSourcePlayInfo(
com.volcengine.service.vod.model.business.VodPlayInfo.Builder builderForValue) {
if (vodSourcePlayInfoBuilder_ == null) {
vodSourcePlayInfo_ = builderForValue.build();
onChanged();
} else {
vodSourcePlayInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
*/
public Builder mergeVodSourcePlayInfo(com.volcengine.service.vod.model.business.VodPlayInfo value) {
if (vodSourcePlayInfoBuilder_ == null) {
if (vodSourcePlayInfo_ != null) {
vodSourcePlayInfo_ =
com.volcengine.service.vod.model.business.VodPlayInfo.newBuilder(vodSourcePlayInfo_).mergeFrom(value).buildPartial();
} else {
vodSourcePlayInfo_ = value;
}
onChanged();
} else {
vodSourcePlayInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
*/
public Builder clearVodSourcePlayInfo() {
if (vodSourcePlayInfoBuilder_ == null) {
vodSourcePlayInfo_ = null;
onChanged();
} else {
vodSourcePlayInfo_ = null;
vodSourcePlayInfoBuilder_ = null;
}
return this;
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
*/
public com.volcengine.service.vod.model.business.VodPlayInfo.Builder getVodSourcePlayInfoBuilder() {
onChanged();
return getVodSourcePlayInfoFieldBuilder().getBuilder();
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
*/
public com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder getVodSourcePlayInfoOrBuilder() {
if (vodSourcePlayInfoBuilder_ != null) {
return vodSourcePlayInfoBuilder_.getMessageOrBuilder();
} else {
return vodSourcePlayInfo_ == null ?
com.volcengine.service.vod.model.business.VodPlayInfo.getDefaultInstance() : vodSourcePlayInfo_;
}
}
/**
*
* 原片流
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfo VodSourcePlayInfo = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.VodPlayInfo, com.volcengine.service.vod.model.business.VodPlayInfo.Builder, com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder>
getVodSourcePlayInfoFieldBuilder() {
if (vodSourcePlayInfoBuilder_ == null) {
vodSourcePlayInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.VodPlayInfo, com.volcengine.service.vod.model.business.VodPlayInfo.Builder, com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder>(
getVodSourcePlayInfo(),
getParentForChildren(),
isClean());
vodSourcePlayInfo_ = null;
}
return vodSourcePlayInfoBuilder_;
}
private int version_ = 0;
/**
*
* 数据版本
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfoModelVersion Version = 8;
* @return The enum numeric value on the wire for version.
*/
@java.lang.Override public int getVersionValue() {
return version_;
}
/**
*
* 数据版本
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfoModelVersion Version = 8;
* @param value The enum numeric value on the wire for version to set.
* @return This builder for chaining.
*/
public Builder setVersionValue(int value) {
version_ = value;
onChanged();
return this;
}
/**
*
* 数据版本
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfoModelVersion Version = 8;
* @return The version.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodPlayInfoModelVersion getVersion() {
@SuppressWarnings("deprecation")
com.volcengine.service.vod.model.business.VodPlayInfoModelVersion result = com.volcengine.service.vod.model.business.VodPlayInfoModelVersion.valueOf(version_);
return result == null ? com.volcengine.service.vod.model.business.VodPlayInfoModelVersion.UNRECOGNIZED : result;
}
/**
*
* 数据版本
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfoModelVersion Version = 8;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(com.volcengine.service.vod.model.business.VodPlayInfoModelVersion value) {
if (value == null) {
throw new NullPointerException();
}
version_ = value.getNumber();
onChanged();
return this;
}
/**
*
* 数据版本
*
*
* .Volcengine.Vod.Models.Business.VodPlayInfoModelVersion Version = 8;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = 0;
onChanged();
return this;
}
private java.util.List thumbInfoList_ =
java.util.Collections.emptyList();
private void ensureThumbInfoListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
thumbInfoList_ = new java.util.ArrayList(thumbInfoList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodThumbInfo, com.volcengine.service.vod.model.business.VodThumbInfo.Builder, com.volcengine.service.vod.model.business.VodThumbInfoOrBuilder> thumbInfoListBuilder_;
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public java.util.List getThumbInfoListList() {
if (thumbInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(thumbInfoList_);
} else {
return thumbInfoListBuilder_.getMessageList();
}
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public int getThumbInfoListCount() {
if (thumbInfoListBuilder_ == null) {
return thumbInfoList_.size();
} else {
return thumbInfoListBuilder_.getCount();
}
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public com.volcengine.service.vod.model.business.VodThumbInfo getThumbInfoList(int index) {
if (thumbInfoListBuilder_ == null) {
return thumbInfoList_.get(index);
} else {
return thumbInfoListBuilder_.getMessage(index);
}
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public Builder setThumbInfoList(
int index, com.volcengine.service.vod.model.business.VodThumbInfo value) {
if (thumbInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureThumbInfoListIsMutable();
thumbInfoList_.set(index, value);
onChanged();
} else {
thumbInfoListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public Builder setThumbInfoList(
int index, com.volcengine.service.vod.model.business.VodThumbInfo.Builder builderForValue) {
if (thumbInfoListBuilder_ == null) {
ensureThumbInfoListIsMutable();
thumbInfoList_.set(index, builderForValue.build());
onChanged();
} else {
thumbInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public Builder addThumbInfoList(com.volcengine.service.vod.model.business.VodThumbInfo value) {
if (thumbInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureThumbInfoListIsMutable();
thumbInfoList_.add(value);
onChanged();
} else {
thumbInfoListBuilder_.addMessage(value);
}
return this;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public Builder addThumbInfoList(
int index, com.volcengine.service.vod.model.business.VodThumbInfo value) {
if (thumbInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureThumbInfoListIsMutable();
thumbInfoList_.add(index, value);
onChanged();
} else {
thumbInfoListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public Builder addThumbInfoList(
com.volcengine.service.vod.model.business.VodThumbInfo.Builder builderForValue) {
if (thumbInfoListBuilder_ == null) {
ensureThumbInfoListIsMutable();
thumbInfoList_.add(builderForValue.build());
onChanged();
} else {
thumbInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public Builder addThumbInfoList(
int index, com.volcengine.service.vod.model.business.VodThumbInfo.Builder builderForValue) {
if (thumbInfoListBuilder_ == null) {
ensureThumbInfoListIsMutable();
thumbInfoList_.add(index, builderForValue.build());
onChanged();
} else {
thumbInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public Builder addAllThumbInfoList(
java.lang.Iterable extends com.volcengine.service.vod.model.business.VodThumbInfo> values) {
if (thumbInfoListBuilder_ == null) {
ensureThumbInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, thumbInfoList_);
onChanged();
} else {
thumbInfoListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public Builder clearThumbInfoList() {
if (thumbInfoListBuilder_ == null) {
thumbInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
thumbInfoListBuilder_.clear();
}
return this;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public Builder removeThumbInfoList(int index) {
if (thumbInfoListBuilder_ == null) {
ensureThumbInfoListIsMutable();
thumbInfoList_.remove(index);
onChanged();
} else {
thumbInfoListBuilder_.remove(index);
}
return this;
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public com.volcengine.service.vod.model.business.VodThumbInfo.Builder getThumbInfoListBuilder(
int index) {
return getThumbInfoListFieldBuilder().getBuilder(index);
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public com.volcengine.service.vod.model.business.VodThumbInfoOrBuilder getThumbInfoListOrBuilder(
int index) {
if (thumbInfoListBuilder_ == null) {
return thumbInfoList_.get(index); } else {
return thumbInfoListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public java.util.List extends com.volcengine.service.vod.model.business.VodThumbInfoOrBuilder>
getThumbInfoListOrBuilderList() {
if (thumbInfoListBuilder_ != null) {
return thumbInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(thumbInfoList_);
}
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public com.volcengine.service.vod.model.business.VodThumbInfo.Builder addThumbInfoListBuilder() {
return getThumbInfoListFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.VodThumbInfo.getDefaultInstance());
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public com.volcengine.service.vod.model.business.VodThumbInfo.Builder addThumbInfoListBuilder(
int index) {
return getThumbInfoListFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.VodThumbInfo.getDefaultInstance());
}
/**
*
* 雪碧图列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodThumbInfo ThumbInfoList = 9;
*/
public java.util.List
getThumbInfoListBuilderList() {
return getThumbInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodThumbInfo, com.volcengine.service.vod.model.business.VodThumbInfo.Builder, com.volcengine.service.vod.model.business.VodThumbInfoOrBuilder>
getThumbInfoListFieldBuilder() {
if (thumbInfoListBuilder_ == null) {
thumbInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodThumbInfo, com.volcengine.service.vod.model.business.VodThumbInfo.Builder, com.volcengine.service.vod.model.business.VodThumbInfoOrBuilder>(
thumbInfoList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
thumbInfoList_ = null;
}
return thumbInfoListBuilder_;
}
private java.lang.Object barrageMaskUrl_ = "";
/**
*
* 弹幕蒙版url
*
*
* string BarrageMaskUrl = 10;
* @return The barrageMaskUrl.
*/
public java.lang.String getBarrageMaskUrl() {
java.lang.Object ref = barrageMaskUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
barrageMaskUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 弹幕蒙版url
*
*
* string BarrageMaskUrl = 10;
* @return The bytes for barrageMaskUrl.
*/
public com.google.protobuf.ByteString
getBarrageMaskUrlBytes() {
java.lang.Object ref = barrageMaskUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
barrageMaskUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 弹幕蒙版url
*
*
* string BarrageMaskUrl = 10;
* @param value The barrageMaskUrl to set.
* @return This builder for chaining.
*/
public Builder setBarrageMaskUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
barrageMaskUrl_ = value;
onChanged();
return this;
}
/**
*
* 弹幕蒙版url
*
*
* string BarrageMaskUrl = 10;
* @return This builder for chaining.
*/
public Builder clearBarrageMaskUrl() {
barrageMaskUrl_ = getDefaultInstance().getBarrageMaskUrl();
onChanged();
return this;
}
/**
*
* 弹幕蒙版url
*
*
* string BarrageMaskUrl = 10;
* @param value The bytes for barrageMaskUrl to set.
* @return This builder for chaining.
*/
public Builder setBarrageMaskUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
barrageMaskUrl_ = value;
onChanged();
return this;
}
private java.util.List subtitleInfoList_ =
java.util.Collections.emptyList();
private void ensureSubtitleInfoListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
subtitleInfoList_ = new java.util.ArrayList(subtitleInfoList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodSubtitleInfo, com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder, com.volcengine.service.vod.model.business.VodSubtitleInfoOrBuilder> subtitleInfoListBuilder_;
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public java.util.List getSubtitleInfoListList() {
if (subtitleInfoListBuilder_ == null) {
return java.util.Collections.unmodifiableList(subtitleInfoList_);
} else {
return subtitleInfoListBuilder_.getMessageList();
}
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public int getSubtitleInfoListCount() {
if (subtitleInfoListBuilder_ == null) {
return subtitleInfoList_.size();
} else {
return subtitleInfoListBuilder_.getCount();
}
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public com.volcengine.service.vod.model.business.VodSubtitleInfo getSubtitleInfoList(int index) {
if (subtitleInfoListBuilder_ == null) {
return subtitleInfoList_.get(index);
} else {
return subtitleInfoListBuilder_.getMessage(index);
}
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public Builder setSubtitleInfoList(
int index, com.volcengine.service.vod.model.business.VodSubtitleInfo value) {
if (subtitleInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubtitleInfoListIsMutable();
subtitleInfoList_.set(index, value);
onChanged();
} else {
subtitleInfoListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public Builder setSubtitleInfoList(
int index, com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder builderForValue) {
if (subtitleInfoListBuilder_ == null) {
ensureSubtitleInfoListIsMutable();
subtitleInfoList_.set(index, builderForValue.build());
onChanged();
} else {
subtitleInfoListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public Builder addSubtitleInfoList(com.volcengine.service.vod.model.business.VodSubtitleInfo value) {
if (subtitleInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubtitleInfoListIsMutable();
subtitleInfoList_.add(value);
onChanged();
} else {
subtitleInfoListBuilder_.addMessage(value);
}
return this;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public Builder addSubtitleInfoList(
int index, com.volcengine.service.vod.model.business.VodSubtitleInfo value) {
if (subtitleInfoListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubtitleInfoListIsMutable();
subtitleInfoList_.add(index, value);
onChanged();
} else {
subtitleInfoListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public Builder addSubtitleInfoList(
com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder builderForValue) {
if (subtitleInfoListBuilder_ == null) {
ensureSubtitleInfoListIsMutable();
subtitleInfoList_.add(builderForValue.build());
onChanged();
} else {
subtitleInfoListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public Builder addSubtitleInfoList(
int index, com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder builderForValue) {
if (subtitleInfoListBuilder_ == null) {
ensureSubtitleInfoListIsMutable();
subtitleInfoList_.add(index, builderForValue.build());
onChanged();
} else {
subtitleInfoListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public Builder addAllSubtitleInfoList(
java.lang.Iterable extends com.volcengine.service.vod.model.business.VodSubtitleInfo> values) {
if (subtitleInfoListBuilder_ == null) {
ensureSubtitleInfoListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, subtitleInfoList_);
onChanged();
} else {
subtitleInfoListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public Builder clearSubtitleInfoList() {
if (subtitleInfoListBuilder_ == null) {
subtitleInfoList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
subtitleInfoListBuilder_.clear();
}
return this;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public Builder removeSubtitleInfoList(int index) {
if (subtitleInfoListBuilder_ == null) {
ensureSubtitleInfoListIsMutable();
subtitleInfoList_.remove(index);
onChanged();
} else {
subtitleInfoListBuilder_.remove(index);
}
return this;
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder getSubtitleInfoListBuilder(
int index) {
return getSubtitleInfoListFieldBuilder().getBuilder(index);
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public com.volcengine.service.vod.model.business.VodSubtitleInfoOrBuilder getSubtitleInfoListOrBuilder(
int index) {
if (subtitleInfoListBuilder_ == null) {
return subtitleInfoList_.get(index); } else {
return subtitleInfoListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public java.util.List extends com.volcengine.service.vod.model.business.VodSubtitleInfoOrBuilder>
getSubtitleInfoListOrBuilderList() {
if (subtitleInfoListBuilder_ != null) {
return subtitleInfoListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subtitleInfoList_);
}
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder addSubtitleInfoListBuilder() {
return getSubtitleInfoListFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.VodSubtitleInfo.getDefaultInstance());
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder addSubtitleInfoListBuilder(
int index) {
return getSubtitleInfoListFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.VodSubtitleInfo.getDefaultInstance());
}
/**
*
* 字幕信息列表
*
*
* repeated .Volcengine.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 11;
*/
public java.util.List
getSubtitleInfoListBuilderList() {
return getSubtitleInfoListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodSubtitleInfo, com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder, com.volcengine.service.vod.model.business.VodSubtitleInfoOrBuilder>
getSubtitleInfoListFieldBuilder() {
if (subtitleInfoListBuilder_ == null) {
subtitleInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.VodSubtitleInfo, com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder, com.volcengine.service.vod.model.business.VodSubtitleInfoOrBuilder>(
subtitleInfoList_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
subtitleInfoList_ = null;
}
return subtitleInfoListBuilder_;
}
private com.volcengine.service.vod.model.business.BarrageMaskInfo barrageMaskInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.BarrageMaskInfo, com.volcengine.service.vod.model.business.BarrageMaskInfo.Builder, com.volcengine.service.vod.model.business.BarrageMaskInfoOrBuilder> barrageMaskInfoBuilder_;
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
* @return Whether the barrageMaskInfo field is set.
*/
public boolean hasBarrageMaskInfo() {
return barrageMaskInfoBuilder_ != null || barrageMaskInfo_ != null;
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
* @return The barrageMaskInfo.
*/
public com.volcengine.service.vod.model.business.BarrageMaskInfo getBarrageMaskInfo() {
if (barrageMaskInfoBuilder_ == null) {
return barrageMaskInfo_ == null ? com.volcengine.service.vod.model.business.BarrageMaskInfo.getDefaultInstance() : barrageMaskInfo_;
} else {
return barrageMaskInfoBuilder_.getMessage();
}
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
*/
public Builder setBarrageMaskInfo(com.volcengine.service.vod.model.business.BarrageMaskInfo value) {
if (barrageMaskInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
barrageMaskInfo_ = value;
onChanged();
} else {
barrageMaskInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
*/
public Builder setBarrageMaskInfo(
com.volcengine.service.vod.model.business.BarrageMaskInfo.Builder builderForValue) {
if (barrageMaskInfoBuilder_ == null) {
barrageMaskInfo_ = builderForValue.build();
onChanged();
} else {
barrageMaskInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
*/
public Builder mergeBarrageMaskInfo(com.volcengine.service.vod.model.business.BarrageMaskInfo value) {
if (barrageMaskInfoBuilder_ == null) {
if (barrageMaskInfo_ != null) {
barrageMaskInfo_ =
com.volcengine.service.vod.model.business.BarrageMaskInfo.newBuilder(barrageMaskInfo_).mergeFrom(value).buildPartial();
} else {
barrageMaskInfo_ = value;
}
onChanged();
} else {
barrageMaskInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
*/
public Builder clearBarrageMaskInfo() {
if (barrageMaskInfoBuilder_ == null) {
barrageMaskInfo_ = null;
onChanged();
} else {
barrageMaskInfo_ = null;
barrageMaskInfoBuilder_ = null;
}
return this;
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
*/
public com.volcengine.service.vod.model.business.BarrageMaskInfo.Builder getBarrageMaskInfoBuilder() {
onChanged();
return getBarrageMaskInfoFieldBuilder().getBuilder();
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
*/
public com.volcengine.service.vod.model.business.BarrageMaskInfoOrBuilder getBarrageMaskInfoOrBuilder() {
if (barrageMaskInfoBuilder_ != null) {
return barrageMaskInfoBuilder_.getMessageOrBuilder();
} else {
return barrageMaskInfo_ == null ?
com.volcengine.service.vod.model.business.BarrageMaskInfo.getDefaultInstance() : barrageMaskInfo_;
}
}
/**
*
* 弹幕蒙板
*
*
* .Volcengine.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.BarrageMaskInfo, com.volcengine.service.vod.model.business.BarrageMaskInfo.Builder, com.volcengine.service.vod.model.business.BarrageMaskInfoOrBuilder>
getBarrageMaskInfoFieldBuilder() {
if (barrageMaskInfoBuilder_ == null) {
barrageMaskInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.BarrageMaskInfo, com.volcengine.service.vod.model.business.BarrageMaskInfo.Builder, com.volcengine.service.vod.model.business.BarrageMaskInfoOrBuilder>(
getBarrageMaskInfo(),
getParentForChildren(),
isClean());
barrageMaskInfo_ = null;
}
return barrageMaskInfoBuilder_;
}
@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.VodAllPlayInfoModel)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodAllPlayInfoModel)
private static final com.volcengine.service.vod.model.business.VodAllPlayInfoModel DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodAllPlayInfoModel();
}
public static com.volcengine.service.vod.model.business.VodAllPlayInfoModel getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodAllPlayInfoModel parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodAllPlayInfoModel(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.VodAllPlayInfoModel getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy