All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.byteplus.service.vod.model.business.VodPlayInfoModel Maven / Gradle / Ivy

There is a newer version: 1.1.23
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: byteplus/vod/business/vod_common.proto

package com.byteplus.service.vod.model.business;

/**
 * Protobuf type {@code Byteplus.Vod.Models.Business.VodPlayInfoModel}
 */
public final class VodPlayInfoModel extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodPlayInfoModel)
    VodPlayInfoModelOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodPlayInfoModel.newBuilder() to construct.
  private VodPlayInfoModel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodPlayInfoModel() {
    version_ = 0;
    vid_ = "";
    posterUrl_ = "";
    fileType_ = "";
    playInfoList_ = java.util.Collections.emptyList();
    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 VodPlayInfoModel();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodPlayInfoModel(
      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 37: {

            duration_ = input.readFloat();
            break;
          }
          case 42: {
            java.lang.String s = input.readStringRequireUtf8();

            fileType_ = s;
            break;
          }
          case 48: {

            enableAdaptive_ = input.readBool();
            break;
          }
          case 56: {

            totalCount_ = input.readInt32();
            break;
          }
          case 66: {
            com.byteplus.service.vod.model.business.VodAdaptiveInfo.Builder subBuilder = null;
            if (adaptiveInfo_ != null) {
              subBuilder = adaptiveInfo_.toBuilder();
            }
            adaptiveInfo_ = input.readMessage(com.byteplus.service.vod.model.business.VodAdaptiveInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(adaptiveInfo_);
              adaptiveInfo_ = subBuilder.buildPartial();
            }

            break;
          }
          case 74: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              playInfoList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            playInfoList_.add(
                input.readMessage(com.byteplus.service.vod.model.business.VodPlayInfo.parser(), extensionRegistry));
            break;
          }
          case 80: {
            int rawValue = input.readEnum();

            version_ = rawValue;
            break;
          }
          case 90: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              thumbInfoList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            thumbInfoList_.add(
                input.readMessage(com.byteplus.service.vod.model.business.VodThumbInfo.parser(), extensionRegistry));
            break;
          }
          case 98: {
            java.lang.String s = input.readStringRequireUtf8();

            barrageMaskUrl_ = s;
            break;
          }
          case 106: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              subtitleInfoList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000004;
            }
            subtitleInfoList_.add(
                input.readMessage(com.byteplus.service.vod.model.business.VodSubtitleInfo.parser(), extensionRegistry));
            break;
          }
          case 114: {
            com.byteplus.service.vod.model.business.BarrageMaskInfo.Builder subBuilder = null;
            if (barrageMaskInfo_ != null) {
              subBuilder = barrageMaskInfo_.toBuilder();
            }
            barrageMaskInfo_ = input.readMessage(com.byteplus.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)) {
        playInfoList_ = java.util.Collections.unmodifiableList(playInfoList_);
      }
      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.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodPlayInfoModel_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodPlayInfoModel_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.byteplus.service.vod.model.business.VodPlayInfoModel.class, com.byteplus.service.vod.model.business.VodPlayInfoModel.Builder.class);
  }

  public static final int VERSION_FIELD_NUMBER = 10;
  private int version_;
  /**
   * 
   * 数据版本
   * 
* * .Byteplus.Vod.Models.Business.VodPlayInfoModelVersion Version = 10; * @return The enum numeric value on the wire for version. */ @java.lang.Override public int getVersionValue() { return version_; } /** *
   * 数据版本
   * 
* * .Byteplus.Vod.Models.Business.VodPlayInfoModelVersion Version = 10; * @return The version. */ @java.lang.Override public com.byteplus.service.vod.model.business.VodPlayInfoModelVersion getVersion() { @SuppressWarnings("deprecation") com.byteplus.service.vod.model.business.VodPlayInfoModelVersion result = com.byteplus.service.vod.model.business.VodPlayInfoModelVersion.valueOf(version_); return result == null ? com.byteplus.service.vod.model.business.VodPlayInfoModelVersion.UNRECOGNIZED : result; } 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 DURATION_FIELD_NUMBER = 4; private float duration_; /** *
   * 播放时长(单位:s)
   * 
* * float Duration = 4; * @return The duration. */ @java.lang.Override public float getDuration() { return duration_; } public static final int FILETYPE_FIELD_NUMBER = 5; private volatile java.lang.Object fileType_; /** *
   * 媒体类型
   * 
* * string FileType = 5; * @return The fileType. */ @java.lang.Override public java.lang.String getFileType() { java.lang.Object ref = fileType_; 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(); fileType_ = s; return s; } } /** *
   * 媒体类型
   * 
* * string FileType = 5; * @return The bytes for fileType. */ @java.lang.Override public com.google.protobuf.ByteString getFileTypeBytes() { java.lang.Object ref = fileType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENABLEADAPTIVE_FIELD_NUMBER = 6; private boolean enableAdaptive_; /** *
   * 是否关键针对齐
   * 
* * bool EnableAdaptive = 6; * @return The enableAdaptive. */ @java.lang.Override public boolean getEnableAdaptive() { return enableAdaptive_; } public static final int TOTALCOUNT_FIELD_NUMBER = 7; private int totalCount_; /** *
   * 播放列表数量
   * 
* * int32 TotalCount = 7; * @return The totalCount. */ @java.lang.Override public int getTotalCount() { return totalCount_; } public static final int ADAPTIVEINFO_FIELD_NUMBER = 8; private com.byteplus.service.vod.model.business.VodAdaptiveInfo adaptiveInfo_; /** *
   * dash播放信息
   * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; * @return Whether the adaptiveInfo field is set. */ @java.lang.Override public boolean hasAdaptiveInfo() { return adaptiveInfo_ != null; } /** *
   * dash播放信息
   * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; * @return The adaptiveInfo. */ @java.lang.Override public com.byteplus.service.vod.model.business.VodAdaptiveInfo getAdaptiveInfo() { return adaptiveInfo_ == null ? com.byteplus.service.vod.model.business.VodAdaptiveInfo.getDefaultInstance() : adaptiveInfo_; } /** *
   * dash播放信息
   * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodAdaptiveInfoOrBuilder getAdaptiveInfoOrBuilder() { return getAdaptiveInfo(); } public static final int PLAYINFOLIST_FIELD_NUMBER = 9; private java.util.List playInfoList_; /** *
   * 播放列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ @java.lang.Override public java.util.List getPlayInfoListList() { return playInfoList_; } /** *
   * 播放列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ @java.lang.Override public java.util.List getPlayInfoListOrBuilderList() { return playInfoList_; } /** *
   * 播放列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ @java.lang.Override public int getPlayInfoListCount() { return playInfoList_.size(); } /** *
   * 播放列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodPlayInfo getPlayInfoList(int index) { return playInfoList_.get(index); } /** *
   * 播放列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodPlayInfoOrBuilder getPlayInfoListOrBuilder( int index) { return playInfoList_.get(index); } public static final int THUMBINFOLIST_FIELD_NUMBER = 11; private java.util.List thumbInfoList_; /** *
   * 雪碧图列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ @java.lang.Override public java.util.List getThumbInfoListList() { return thumbInfoList_; } /** *
   * 雪碧图列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ @java.lang.Override public java.util.List getThumbInfoListOrBuilderList() { return thumbInfoList_; } /** *
   * 雪碧图列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ @java.lang.Override public int getThumbInfoListCount() { return thumbInfoList_.size(); } /** *
   * 雪碧图列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodThumbInfo getThumbInfoList(int index) { return thumbInfoList_.get(index); } /** *
   * 雪碧图列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodThumbInfoOrBuilder getThumbInfoListOrBuilder( int index) { return thumbInfoList_.get(index); } public static final int BARRAGEMASKURL_FIELD_NUMBER = 12; private volatile java.lang.Object barrageMaskUrl_; /** *
   * 弹幕蒙版url
   * 
* * string BarrageMaskUrl = 12; * @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 = 12; * @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 = 13; private java.util.List subtitleInfoList_; /** *
   * 字幕信息列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ @java.lang.Override public java.util.List getSubtitleInfoListList() { return subtitleInfoList_; } /** *
   * 字幕信息列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ @java.lang.Override public java.util.List getSubtitleInfoListOrBuilderList() { return subtitleInfoList_; } /** *
   * 字幕信息列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ @java.lang.Override public int getSubtitleInfoListCount() { return subtitleInfoList_.size(); } /** *
   * 字幕信息列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodSubtitleInfo getSubtitleInfoList(int index) { return subtitleInfoList_.get(index); } /** *
   * 字幕信息列表
   * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodSubtitleInfoOrBuilder getSubtitleInfoListOrBuilder( int index) { return subtitleInfoList_.get(index); } public static final int BARRAGEMASKINFO_FIELD_NUMBER = 14; private com.byteplus.service.vod.model.business.BarrageMaskInfo barrageMaskInfo_; /** *
   * 蒙板弹幕
   * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; * @return Whether the barrageMaskInfo field is set. */ @java.lang.Override public boolean hasBarrageMaskInfo() { return barrageMaskInfo_ != null; } /** *
   * 蒙板弹幕
   * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; * @return The barrageMaskInfo. */ @java.lang.Override public com.byteplus.service.vod.model.business.BarrageMaskInfo getBarrageMaskInfo() { return barrageMaskInfo_ == null ? com.byteplus.service.vod.model.business.BarrageMaskInfo.getDefaultInstance() : barrageMaskInfo_; } /** *
   * 蒙板弹幕
   * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; */ @java.lang.Override public com.byteplus.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 (java.lang.Float.floatToRawIntBits(duration_) != 0) { output.writeFloat(4, duration_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, fileType_); } if (enableAdaptive_ != false) { output.writeBool(6, enableAdaptive_); } if (totalCount_ != 0) { output.writeInt32(7, totalCount_); } if (adaptiveInfo_ != null) { output.writeMessage(8, getAdaptiveInfo()); } for (int i = 0; i < playInfoList_.size(); i++) { output.writeMessage(9, playInfoList_.get(i)); } if (version_ != com.byteplus.service.vod.model.business.VodPlayInfoModelVersion.UndefinedVodPlayInfoModelVersion.getNumber()) { output.writeEnum(10, version_); } for (int i = 0; i < thumbInfoList_.size(); i++) { output.writeMessage(11, thumbInfoList_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(barrageMaskUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, barrageMaskUrl_); } for (int i = 0; i < subtitleInfoList_.size(); i++) { output.writeMessage(13, subtitleInfoList_.get(i)); } if (barrageMaskInfo_ != null) { output.writeMessage(14, 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 (java.lang.Float.floatToRawIntBits(duration_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(4, duration_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, fileType_); } if (enableAdaptive_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, enableAdaptive_); } if (totalCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, totalCount_); } if (adaptiveInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getAdaptiveInfo()); } for (int i = 0; i < playInfoList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, playInfoList_.get(i)); } if (version_ != com.byteplus.service.vod.model.business.VodPlayInfoModelVersion.UndefinedVodPlayInfoModelVersion.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(10, version_); } for (int i = 0; i < thumbInfoList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, thumbInfoList_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(barrageMaskUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, barrageMaskUrl_); } for (int i = 0; i < subtitleInfoList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, subtitleInfoList_.get(i)); } if (barrageMaskInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, 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.byteplus.service.vod.model.business.VodPlayInfoModel)) { return super.equals(obj); } com.byteplus.service.vod.model.business.VodPlayInfoModel other = (com.byteplus.service.vod.model.business.VodPlayInfoModel) obj; if (version_ != other.version_) return false; if (!getVid() .equals(other.getVid())) return false; if (getStatus() != other.getStatus()) return false; if (!getPosterUrl() .equals(other.getPosterUrl())) return false; if (java.lang.Float.floatToIntBits(getDuration()) != java.lang.Float.floatToIntBits( other.getDuration())) return false; if (!getFileType() .equals(other.getFileType())) return false; if (getEnableAdaptive() != other.getEnableAdaptive()) return false; if (getTotalCount() != other.getTotalCount()) return false; if (hasAdaptiveInfo() != other.hasAdaptiveInfo()) return false; if (hasAdaptiveInfo()) { if (!getAdaptiveInfo() .equals(other.getAdaptiveInfo())) return false; } if (!getPlayInfoListList() .equals(other.getPlayInfoListList())) 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) + VERSION_FIELD_NUMBER; hash = (53 * hash) + version_; 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) + DURATION_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getDuration()); hash = (37 * hash) + FILETYPE_FIELD_NUMBER; hash = (53 * hash) + getFileType().hashCode(); hash = (37 * hash) + ENABLEADAPTIVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableAdaptive()); hash = (37 * hash) + TOTALCOUNT_FIELD_NUMBER; hash = (53 * hash) + getTotalCount(); if (hasAdaptiveInfo()) { hash = (37 * hash) + ADAPTIVEINFO_FIELD_NUMBER; hash = (53 * hash) + getAdaptiveInfo().hashCode(); } if (getPlayInfoListCount() > 0) { hash = (37 * hash) + PLAYINFOLIST_FIELD_NUMBER; hash = (53 * hash) + getPlayInfoListList().hashCode(); } 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.byteplus.service.vod.model.business.VodPlayInfoModel parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel 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.byteplus.service.vod.model.business.VodPlayInfoModel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel 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.byteplus.service.vod.model.business.VodPlayInfoModel parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel 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.byteplus.service.vod.model.business.VodPlayInfoModel 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 Byteplus.Vod.Models.Business.VodPlayInfoModel} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodPlayInfoModel) com.byteplus.service.vod.model.business.VodPlayInfoModelOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodPlayInfoModel_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodPlayInfoModel_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.VodPlayInfoModel.class, com.byteplus.service.vod.model.business.VodPlayInfoModel.Builder.class); } // Construct using com.byteplus.service.vod.model.business.VodPlayInfoModel.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPlayInfoListFieldBuilder(); getThumbInfoListFieldBuilder(); getSubtitleInfoListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); version_ = 0; vid_ = ""; status_ = 0; posterUrl_ = ""; duration_ = 0F; fileType_ = ""; enableAdaptive_ = false; totalCount_ = 0; if (adaptiveInfoBuilder_ == null) { adaptiveInfo_ = null; } else { adaptiveInfo_ = null; adaptiveInfoBuilder_ = null; } if (playInfoListBuilder_ == null) { playInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { playInfoListBuilder_.clear(); } 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.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodPlayInfoModel_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.VodPlayInfoModel getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.VodPlayInfoModel.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.VodPlayInfoModel build() { com.byteplus.service.vod.model.business.VodPlayInfoModel result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.VodPlayInfoModel buildPartial() { com.byteplus.service.vod.model.business.VodPlayInfoModel result = new com.byteplus.service.vod.model.business.VodPlayInfoModel(this); int from_bitField0_ = bitField0_; result.version_ = version_; result.vid_ = vid_; result.status_ = status_; result.posterUrl_ = posterUrl_; result.duration_ = duration_; result.fileType_ = fileType_; result.enableAdaptive_ = enableAdaptive_; result.totalCount_ = totalCount_; if (adaptiveInfoBuilder_ == null) { result.adaptiveInfo_ = adaptiveInfo_; } else { result.adaptiveInfo_ = adaptiveInfoBuilder_.build(); } if (playInfoListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { playInfoList_ = java.util.Collections.unmodifiableList(playInfoList_); bitField0_ = (bitField0_ & ~0x00000001); } result.playInfoList_ = playInfoList_; } else { result.playInfoList_ = playInfoListBuilder_.build(); } 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.byteplus.service.vod.model.business.VodPlayInfoModel) { return mergeFrom((com.byteplus.service.vod.model.business.VodPlayInfoModel)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.VodPlayInfoModel other) { if (other == com.byteplus.service.vod.model.business.VodPlayInfoModel.getDefaultInstance()) return this; if (other.version_ != 0) { setVersionValue(other.getVersionValue()); } 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.getDuration() != 0F) { setDuration(other.getDuration()); } if (!other.getFileType().isEmpty()) { fileType_ = other.fileType_; onChanged(); } if (other.getEnableAdaptive() != false) { setEnableAdaptive(other.getEnableAdaptive()); } if (other.getTotalCount() != 0) { setTotalCount(other.getTotalCount()); } if (other.hasAdaptiveInfo()) { mergeAdaptiveInfo(other.getAdaptiveInfo()); } if (playInfoListBuilder_ == null) { if (!other.playInfoList_.isEmpty()) { if (playInfoList_.isEmpty()) { playInfoList_ = other.playInfoList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePlayInfoListIsMutable(); playInfoList_.addAll(other.playInfoList_); } onChanged(); } } else { if (!other.playInfoList_.isEmpty()) { if (playInfoListBuilder_.isEmpty()) { playInfoListBuilder_.dispose(); playInfoListBuilder_ = null; playInfoList_ = other.playInfoList_; bitField0_ = (bitField0_ & ~0x00000001); playInfoListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPlayInfoListFieldBuilder() : null; } else { playInfoListBuilder_.addAllMessages(other.playInfoList_); } } } 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.byteplus.service.vod.model.business.VodPlayInfoModel parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.VodPlayInfoModel) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int version_ = 0; /** *
     * 数据版本
     * 
* * .Byteplus.Vod.Models.Business.VodPlayInfoModelVersion Version = 10; * @return The enum numeric value on the wire for version. */ @java.lang.Override public int getVersionValue() { return version_; } /** *
     * 数据版本
     * 
* * .Byteplus.Vod.Models.Business.VodPlayInfoModelVersion Version = 10; * @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; } /** *
     * 数据版本
     * 
* * .Byteplus.Vod.Models.Business.VodPlayInfoModelVersion Version = 10; * @return The version. */ @java.lang.Override public com.byteplus.service.vod.model.business.VodPlayInfoModelVersion getVersion() { @SuppressWarnings("deprecation") com.byteplus.service.vod.model.business.VodPlayInfoModelVersion result = com.byteplus.service.vod.model.business.VodPlayInfoModelVersion.valueOf(version_); return result == null ? com.byteplus.service.vod.model.business.VodPlayInfoModelVersion.UNRECOGNIZED : result; } /** *
     * 数据版本
     * 
* * .Byteplus.Vod.Models.Business.VodPlayInfoModelVersion Version = 10; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(com.byteplus.service.vod.model.business.VodPlayInfoModelVersion value) { if (value == null) { throw new NullPointerException(); } version_ = value.getNumber(); onChanged(); return this; } /** *
     * 数据版本
     * 
* * .Byteplus.Vod.Models.Business.VodPlayInfoModelVersion Version = 10; * @return This builder for chaining. */ public Builder clearVersion() { version_ = 0; onChanged(); return this; } 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 float duration_ ; /** *
     * 播放时长(单位:s)
     * 
* * float Duration = 4; * @return The duration. */ @java.lang.Override public float getDuration() { return duration_; } /** *
     * 播放时长(单位:s)
     * 
* * float Duration = 4; * @param value The duration to set. * @return This builder for chaining. */ public Builder setDuration(float value) { duration_ = value; onChanged(); return this; } /** *
     * 播放时长(单位:s)
     * 
* * float Duration = 4; * @return This builder for chaining. */ public Builder clearDuration() { duration_ = 0F; onChanged(); return this; } private java.lang.Object fileType_ = ""; /** *
     * 媒体类型
     * 
* * string FileType = 5; * @return The fileType. */ public java.lang.String getFileType() { java.lang.Object ref = fileType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 媒体类型
     * 
* * string FileType = 5; * @return The bytes for fileType. */ public com.google.protobuf.ByteString getFileTypeBytes() { java.lang.Object ref = fileType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 媒体类型
     * 
* * string FileType = 5; * @param value The fileType to set. * @return This builder for chaining. */ public Builder setFileType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileType_ = value; onChanged(); return this; } /** *
     * 媒体类型
     * 
* * string FileType = 5; * @return This builder for chaining. */ public Builder clearFileType() { fileType_ = getDefaultInstance().getFileType(); onChanged(); return this; } /** *
     * 媒体类型
     * 
* * string FileType = 5; * @param value The bytes for fileType to set. * @return This builder for chaining. */ public Builder setFileTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileType_ = value; onChanged(); return this; } private boolean enableAdaptive_ ; /** *
     * 是否关键针对齐
     * 
* * bool EnableAdaptive = 6; * @return The enableAdaptive. */ @java.lang.Override public boolean getEnableAdaptive() { return enableAdaptive_; } /** *
     * 是否关键针对齐
     * 
* * bool EnableAdaptive = 6; * @param value The enableAdaptive to set. * @return This builder for chaining. */ public Builder setEnableAdaptive(boolean value) { enableAdaptive_ = value; onChanged(); return this; } /** *
     * 是否关键针对齐
     * 
* * bool EnableAdaptive = 6; * @return This builder for chaining. */ public Builder clearEnableAdaptive() { enableAdaptive_ = false; onChanged(); return this; } private int totalCount_ ; /** *
     * 播放列表数量
     * 
* * int32 TotalCount = 7; * @return The totalCount. */ @java.lang.Override public int getTotalCount() { return totalCount_; } /** *
     * 播放列表数量
     * 
* * int32 TotalCount = 7; * @param value The totalCount to set. * @return This builder for chaining. */ public Builder setTotalCount(int value) { totalCount_ = value; onChanged(); return this; } /** *
     * 播放列表数量
     * 
* * int32 TotalCount = 7; * @return This builder for chaining. */ public Builder clearTotalCount() { totalCount_ = 0; onChanged(); return this; } private com.byteplus.service.vod.model.business.VodAdaptiveInfo adaptiveInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodAdaptiveInfo, com.byteplus.service.vod.model.business.VodAdaptiveInfo.Builder, com.byteplus.service.vod.model.business.VodAdaptiveInfoOrBuilder> adaptiveInfoBuilder_; /** *
     * dash播放信息
     * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; * @return Whether the adaptiveInfo field is set. */ public boolean hasAdaptiveInfo() { return adaptiveInfoBuilder_ != null || adaptiveInfo_ != null; } /** *
     * dash播放信息
     * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; * @return The adaptiveInfo. */ public com.byteplus.service.vod.model.business.VodAdaptiveInfo getAdaptiveInfo() { if (adaptiveInfoBuilder_ == null) { return adaptiveInfo_ == null ? com.byteplus.service.vod.model.business.VodAdaptiveInfo.getDefaultInstance() : adaptiveInfo_; } else { return adaptiveInfoBuilder_.getMessage(); } } /** *
     * dash播放信息
     * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; */ public Builder setAdaptiveInfo(com.byteplus.service.vod.model.business.VodAdaptiveInfo value) { if (adaptiveInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } adaptiveInfo_ = value; onChanged(); } else { adaptiveInfoBuilder_.setMessage(value); } return this; } /** *
     * dash播放信息
     * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; */ public Builder setAdaptiveInfo( com.byteplus.service.vod.model.business.VodAdaptiveInfo.Builder builderForValue) { if (adaptiveInfoBuilder_ == null) { adaptiveInfo_ = builderForValue.build(); onChanged(); } else { adaptiveInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * dash播放信息
     * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; */ public Builder mergeAdaptiveInfo(com.byteplus.service.vod.model.business.VodAdaptiveInfo value) { if (adaptiveInfoBuilder_ == null) { if (adaptiveInfo_ != null) { adaptiveInfo_ = com.byteplus.service.vod.model.business.VodAdaptiveInfo.newBuilder(adaptiveInfo_).mergeFrom(value).buildPartial(); } else { adaptiveInfo_ = value; } onChanged(); } else { adaptiveInfoBuilder_.mergeFrom(value); } return this; } /** *
     * dash播放信息
     * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; */ public Builder clearAdaptiveInfo() { if (adaptiveInfoBuilder_ == null) { adaptiveInfo_ = null; onChanged(); } else { adaptiveInfo_ = null; adaptiveInfoBuilder_ = null; } return this; } /** *
     * dash播放信息
     * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; */ public com.byteplus.service.vod.model.business.VodAdaptiveInfo.Builder getAdaptiveInfoBuilder() { onChanged(); return getAdaptiveInfoFieldBuilder().getBuilder(); } /** *
     * dash播放信息
     * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; */ public com.byteplus.service.vod.model.business.VodAdaptiveInfoOrBuilder getAdaptiveInfoOrBuilder() { if (adaptiveInfoBuilder_ != null) { return adaptiveInfoBuilder_.getMessageOrBuilder(); } else { return adaptiveInfo_ == null ? com.byteplus.service.vod.model.business.VodAdaptiveInfo.getDefaultInstance() : adaptiveInfo_; } } /** *
     * dash播放信息
     * 
* * .Byteplus.Vod.Models.Business.VodAdaptiveInfo AdaptiveInfo = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodAdaptiveInfo, com.byteplus.service.vod.model.business.VodAdaptiveInfo.Builder, com.byteplus.service.vod.model.business.VodAdaptiveInfoOrBuilder> getAdaptiveInfoFieldBuilder() { if (adaptiveInfoBuilder_ == null) { adaptiveInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodAdaptiveInfo, com.byteplus.service.vod.model.business.VodAdaptiveInfo.Builder, com.byteplus.service.vod.model.business.VodAdaptiveInfoOrBuilder>( getAdaptiveInfo(), getParentForChildren(), isClean()); adaptiveInfo_ = null; } return adaptiveInfoBuilder_; } private java.util.List playInfoList_ = java.util.Collections.emptyList(); private void ensurePlayInfoListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { playInfoList_ = new java.util.ArrayList(playInfoList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodPlayInfo, com.byteplus.service.vod.model.business.VodPlayInfo.Builder, com.byteplus.service.vod.model.business.VodPlayInfoOrBuilder> playInfoListBuilder_; /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public java.util.List getPlayInfoListList() { if (playInfoListBuilder_ == null) { return java.util.Collections.unmodifiableList(playInfoList_); } else { return playInfoListBuilder_.getMessageList(); } } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public int getPlayInfoListCount() { if (playInfoListBuilder_ == null) { return playInfoList_.size(); } else { return playInfoListBuilder_.getCount(); } } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public com.byteplus.service.vod.model.business.VodPlayInfo getPlayInfoList(int index) { if (playInfoListBuilder_ == null) { return playInfoList_.get(index); } else { return playInfoListBuilder_.getMessage(index); } } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public Builder setPlayInfoList( int index, com.byteplus.service.vod.model.business.VodPlayInfo value) { if (playInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlayInfoListIsMutable(); playInfoList_.set(index, value); onChanged(); } else { playInfoListBuilder_.setMessage(index, value); } return this; } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public Builder setPlayInfoList( int index, com.byteplus.service.vod.model.business.VodPlayInfo.Builder builderForValue) { if (playInfoListBuilder_ == null) { ensurePlayInfoListIsMutable(); playInfoList_.set(index, builderForValue.build()); onChanged(); } else { playInfoListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public Builder addPlayInfoList(com.byteplus.service.vod.model.business.VodPlayInfo value) { if (playInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlayInfoListIsMutable(); playInfoList_.add(value); onChanged(); } else { playInfoListBuilder_.addMessage(value); } return this; } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public Builder addPlayInfoList( int index, com.byteplus.service.vod.model.business.VodPlayInfo value) { if (playInfoListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePlayInfoListIsMutable(); playInfoList_.add(index, value); onChanged(); } else { playInfoListBuilder_.addMessage(index, value); } return this; } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public Builder addPlayInfoList( com.byteplus.service.vod.model.business.VodPlayInfo.Builder builderForValue) { if (playInfoListBuilder_ == null) { ensurePlayInfoListIsMutable(); playInfoList_.add(builderForValue.build()); onChanged(); } else { playInfoListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public Builder addPlayInfoList( int index, com.byteplus.service.vod.model.business.VodPlayInfo.Builder builderForValue) { if (playInfoListBuilder_ == null) { ensurePlayInfoListIsMutable(); playInfoList_.add(index, builderForValue.build()); onChanged(); } else { playInfoListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public Builder addAllPlayInfoList( java.lang.Iterable values) { if (playInfoListBuilder_ == null) { ensurePlayInfoListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, playInfoList_); onChanged(); } else { playInfoListBuilder_.addAllMessages(values); } return this; } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public Builder clearPlayInfoList() { if (playInfoListBuilder_ == null) { playInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { playInfoListBuilder_.clear(); } return this; } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public Builder removePlayInfoList(int index) { if (playInfoListBuilder_ == null) { ensurePlayInfoListIsMutable(); playInfoList_.remove(index); onChanged(); } else { playInfoListBuilder_.remove(index); } return this; } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public com.byteplus.service.vod.model.business.VodPlayInfo.Builder getPlayInfoListBuilder( int index) { return getPlayInfoListFieldBuilder().getBuilder(index); } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public com.byteplus.service.vod.model.business.VodPlayInfoOrBuilder getPlayInfoListOrBuilder( int index) { if (playInfoListBuilder_ == null) { return playInfoList_.get(index); } else { return playInfoListBuilder_.getMessageOrBuilder(index); } } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public java.util.List getPlayInfoListOrBuilderList() { if (playInfoListBuilder_ != null) { return playInfoListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(playInfoList_); } } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public com.byteplus.service.vod.model.business.VodPlayInfo.Builder addPlayInfoListBuilder() { return getPlayInfoListFieldBuilder().addBuilder( com.byteplus.service.vod.model.business.VodPlayInfo.getDefaultInstance()); } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public com.byteplus.service.vod.model.business.VodPlayInfo.Builder addPlayInfoListBuilder( int index) { return getPlayInfoListFieldBuilder().addBuilder( index, com.byteplus.service.vod.model.business.VodPlayInfo.getDefaultInstance()); } /** *
     * 播放列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodPlayInfo PlayInfoList = 9; */ public java.util.List getPlayInfoListBuilderList() { return getPlayInfoListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodPlayInfo, com.byteplus.service.vod.model.business.VodPlayInfo.Builder, com.byteplus.service.vod.model.business.VodPlayInfoOrBuilder> getPlayInfoListFieldBuilder() { if (playInfoListBuilder_ == null) { playInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodPlayInfo, com.byteplus.service.vod.model.business.VodPlayInfo.Builder, com.byteplus.service.vod.model.business.VodPlayInfoOrBuilder>( playInfoList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); playInfoList_ = null; } return playInfoListBuilder_; } 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.byteplus.service.vod.model.business.VodThumbInfo, com.byteplus.service.vod.model.business.VodThumbInfo.Builder, com.byteplus.service.vod.model.business.VodThumbInfoOrBuilder> thumbInfoListBuilder_; /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public java.util.List getThumbInfoListList() { if (thumbInfoListBuilder_ == null) { return java.util.Collections.unmodifiableList(thumbInfoList_); } else { return thumbInfoListBuilder_.getMessageList(); } } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public int getThumbInfoListCount() { if (thumbInfoListBuilder_ == null) { return thumbInfoList_.size(); } else { return thumbInfoListBuilder_.getCount(); } } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public com.byteplus.service.vod.model.business.VodThumbInfo getThumbInfoList(int index) { if (thumbInfoListBuilder_ == null) { return thumbInfoList_.get(index); } else { return thumbInfoListBuilder_.getMessage(index); } } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public Builder setThumbInfoList( int index, com.byteplus.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 .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public Builder setThumbInfoList( int index, com.byteplus.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 .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public Builder addThumbInfoList(com.byteplus.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 .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public Builder addThumbInfoList( int index, com.byteplus.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 .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public Builder addThumbInfoList( com.byteplus.service.vod.model.business.VodThumbInfo.Builder builderForValue) { if (thumbInfoListBuilder_ == null) { ensureThumbInfoListIsMutable(); thumbInfoList_.add(builderForValue.build()); onChanged(); } else { thumbInfoListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public Builder addThumbInfoList( int index, com.byteplus.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 .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public Builder addAllThumbInfoList( java.lang.Iterable values) { if (thumbInfoListBuilder_ == null) { ensureThumbInfoListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, thumbInfoList_); onChanged(); } else { thumbInfoListBuilder_.addAllMessages(values); } return this; } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public Builder clearThumbInfoList() { if (thumbInfoListBuilder_ == null) { thumbInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { thumbInfoListBuilder_.clear(); } return this; } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public Builder removeThumbInfoList(int index) { if (thumbInfoListBuilder_ == null) { ensureThumbInfoListIsMutable(); thumbInfoList_.remove(index); onChanged(); } else { thumbInfoListBuilder_.remove(index); } return this; } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public com.byteplus.service.vod.model.business.VodThumbInfo.Builder getThumbInfoListBuilder( int index) { return getThumbInfoListFieldBuilder().getBuilder(index); } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public com.byteplus.service.vod.model.business.VodThumbInfoOrBuilder getThumbInfoListOrBuilder( int index) { if (thumbInfoListBuilder_ == null) { return thumbInfoList_.get(index); } else { return thumbInfoListBuilder_.getMessageOrBuilder(index); } } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public java.util.List getThumbInfoListOrBuilderList() { if (thumbInfoListBuilder_ != null) { return thumbInfoListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(thumbInfoList_); } } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public com.byteplus.service.vod.model.business.VodThumbInfo.Builder addThumbInfoListBuilder() { return getThumbInfoListFieldBuilder().addBuilder( com.byteplus.service.vod.model.business.VodThumbInfo.getDefaultInstance()); } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public com.byteplus.service.vod.model.business.VodThumbInfo.Builder addThumbInfoListBuilder( int index) { return getThumbInfoListFieldBuilder().addBuilder( index, com.byteplus.service.vod.model.business.VodThumbInfo.getDefaultInstance()); } /** *
     * 雪碧图列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodThumbInfo ThumbInfoList = 11; */ public java.util.List getThumbInfoListBuilderList() { return getThumbInfoListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodThumbInfo, com.byteplus.service.vod.model.business.VodThumbInfo.Builder, com.byteplus.service.vod.model.business.VodThumbInfoOrBuilder> getThumbInfoListFieldBuilder() { if (thumbInfoListBuilder_ == null) { thumbInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodThumbInfo, com.byteplus.service.vod.model.business.VodThumbInfo.Builder, com.byteplus.service.vod.model.business.VodThumbInfoOrBuilder>( thumbInfoList_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); thumbInfoList_ = null; } return thumbInfoListBuilder_; } private java.lang.Object barrageMaskUrl_ = ""; /** *
     * 弹幕蒙版url
     * 
* * string BarrageMaskUrl = 12; * @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 = 12; * @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 = 12; * @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 = 12; * @return This builder for chaining. */ public Builder clearBarrageMaskUrl() { barrageMaskUrl_ = getDefaultInstance().getBarrageMaskUrl(); onChanged(); return this; } /** *
     * 弹幕蒙版url
     * 
* * string BarrageMaskUrl = 12; * @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.byteplus.service.vod.model.business.VodSubtitleInfo, com.byteplus.service.vod.model.business.VodSubtitleInfo.Builder, com.byteplus.service.vod.model.business.VodSubtitleInfoOrBuilder> subtitleInfoListBuilder_; /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public java.util.List getSubtitleInfoListList() { if (subtitleInfoListBuilder_ == null) { return java.util.Collections.unmodifiableList(subtitleInfoList_); } else { return subtitleInfoListBuilder_.getMessageList(); } } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public int getSubtitleInfoListCount() { if (subtitleInfoListBuilder_ == null) { return subtitleInfoList_.size(); } else { return subtitleInfoListBuilder_.getCount(); } } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public com.byteplus.service.vod.model.business.VodSubtitleInfo getSubtitleInfoList(int index) { if (subtitleInfoListBuilder_ == null) { return subtitleInfoList_.get(index); } else { return subtitleInfoListBuilder_.getMessage(index); } } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public Builder setSubtitleInfoList( int index, com.byteplus.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 .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public Builder setSubtitleInfoList( int index, com.byteplus.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 .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public Builder addSubtitleInfoList(com.byteplus.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 .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public Builder addSubtitleInfoList( int index, com.byteplus.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 .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public Builder addSubtitleInfoList( com.byteplus.service.vod.model.business.VodSubtitleInfo.Builder builderForValue) { if (subtitleInfoListBuilder_ == null) { ensureSubtitleInfoListIsMutable(); subtitleInfoList_.add(builderForValue.build()); onChanged(); } else { subtitleInfoListBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public Builder addSubtitleInfoList( int index, com.byteplus.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 .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public Builder addAllSubtitleInfoList( java.lang.Iterable values) { if (subtitleInfoListBuilder_ == null) { ensureSubtitleInfoListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, subtitleInfoList_); onChanged(); } else { subtitleInfoListBuilder_.addAllMessages(values); } return this; } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public Builder clearSubtitleInfoList() { if (subtitleInfoListBuilder_ == null) { subtitleInfoList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { subtitleInfoListBuilder_.clear(); } return this; } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public Builder removeSubtitleInfoList(int index) { if (subtitleInfoListBuilder_ == null) { ensureSubtitleInfoListIsMutable(); subtitleInfoList_.remove(index); onChanged(); } else { subtitleInfoListBuilder_.remove(index); } return this; } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public com.byteplus.service.vod.model.business.VodSubtitleInfo.Builder getSubtitleInfoListBuilder( int index) { return getSubtitleInfoListFieldBuilder().getBuilder(index); } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public com.byteplus.service.vod.model.business.VodSubtitleInfoOrBuilder getSubtitleInfoListOrBuilder( int index) { if (subtitleInfoListBuilder_ == null) { return subtitleInfoList_.get(index); } else { return subtitleInfoListBuilder_.getMessageOrBuilder(index); } } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public java.util.List getSubtitleInfoListOrBuilderList() { if (subtitleInfoListBuilder_ != null) { return subtitleInfoListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(subtitleInfoList_); } } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public com.byteplus.service.vod.model.business.VodSubtitleInfo.Builder addSubtitleInfoListBuilder() { return getSubtitleInfoListFieldBuilder().addBuilder( com.byteplus.service.vod.model.business.VodSubtitleInfo.getDefaultInstance()); } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public com.byteplus.service.vod.model.business.VodSubtitleInfo.Builder addSubtitleInfoListBuilder( int index) { return getSubtitleInfoListFieldBuilder().addBuilder( index, com.byteplus.service.vod.model.business.VodSubtitleInfo.getDefaultInstance()); } /** *
     * 字幕信息列表
     * 
* * repeated .Byteplus.Vod.Models.Business.VodSubtitleInfo SubtitleInfoList = 13; */ public java.util.List getSubtitleInfoListBuilderList() { return getSubtitleInfoListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodSubtitleInfo, com.byteplus.service.vod.model.business.VodSubtitleInfo.Builder, com.byteplus.service.vod.model.business.VodSubtitleInfoOrBuilder> getSubtitleInfoListFieldBuilder() { if (subtitleInfoListBuilder_ == null) { subtitleInfoListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.byteplus.service.vod.model.business.VodSubtitleInfo, com.byteplus.service.vod.model.business.VodSubtitleInfo.Builder, com.byteplus.service.vod.model.business.VodSubtitleInfoOrBuilder>( subtitleInfoList_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); subtitleInfoList_ = null; } return subtitleInfoListBuilder_; } private com.byteplus.service.vod.model.business.BarrageMaskInfo barrageMaskInfo_; private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.BarrageMaskInfo, com.byteplus.service.vod.model.business.BarrageMaskInfo.Builder, com.byteplus.service.vod.model.business.BarrageMaskInfoOrBuilder> barrageMaskInfoBuilder_; /** *
     * 蒙板弹幕
     * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; * @return Whether the barrageMaskInfo field is set. */ public boolean hasBarrageMaskInfo() { return barrageMaskInfoBuilder_ != null || barrageMaskInfo_ != null; } /** *
     * 蒙板弹幕
     * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; * @return The barrageMaskInfo. */ public com.byteplus.service.vod.model.business.BarrageMaskInfo getBarrageMaskInfo() { if (barrageMaskInfoBuilder_ == null) { return barrageMaskInfo_ == null ? com.byteplus.service.vod.model.business.BarrageMaskInfo.getDefaultInstance() : barrageMaskInfo_; } else { return barrageMaskInfoBuilder_.getMessage(); } } /** *
     * 蒙板弹幕
     * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; */ public Builder setBarrageMaskInfo(com.byteplus.service.vod.model.business.BarrageMaskInfo value) { if (barrageMaskInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } barrageMaskInfo_ = value; onChanged(); } else { barrageMaskInfoBuilder_.setMessage(value); } return this; } /** *
     * 蒙板弹幕
     * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; */ public Builder setBarrageMaskInfo( com.byteplus.service.vod.model.business.BarrageMaskInfo.Builder builderForValue) { if (barrageMaskInfoBuilder_ == null) { barrageMaskInfo_ = builderForValue.build(); onChanged(); } else { barrageMaskInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 蒙板弹幕
     * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; */ public Builder mergeBarrageMaskInfo(com.byteplus.service.vod.model.business.BarrageMaskInfo value) { if (barrageMaskInfoBuilder_ == null) { if (barrageMaskInfo_ != null) { barrageMaskInfo_ = com.byteplus.service.vod.model.business.BarrageMaskInfo.newBuilder(barrageMaskInfo_).mergeFrom(value).buildPartial(); } else { barrageMaskInfo_ = value; } onChanged(); } else { barrageMaskInfoBuilder_.mergeFrom(value); } return this; } /** *
     * 蒙板弹幕
     * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; */ public Builder clearBarrageMaskInfo() { if (barrageMaskInfoBuilder_ == null) { barrageMaskInfo_ = null; onChanged(); } else { barrageMaskInfo_ = null; barrageMaskInfoBuilder_ = null; } return this; } /** *
     * 蒙板弹幕
     * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; */ public com.byteplus.service.vod.model.business.BarrageMaskInfo.Builder getBarrageMaskInfoBuilder() { onChanged(); return getBarrageMaskInfoFieldBuilder().getBuilder(); } /** *
     * 蒙板弹幕
     * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; */ public com.byteplus.service.vod.model.business.BarrageMaskInfoOrBuilder getBarrageMaskInfoOrBuilder() { if (barrageMaskInfoBuilder_ != null) { return barrageMaskInfoBuilder_.getMessageOrBuilder(); } else { return barrageMaskInfo_ == null ? com.byteplus.service.vod.model.business.BarrageMaskInfo.getDefaultInstance() : barrageMaskInfo_; } } /** *
     * 蒙板弹幕
     * 
* * .Byteplus.Vod.Models.Business.BarrageMaskInfo BarrageMaskInfo = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.BarrageMaskInfo, com.byteplus.service.vod.model.business.BarrageMaskInfo.Builder, com.byteplus.service.vod.model.business.BarrageMaskInfoOrBuilder> getBarrageMaskInfoFieldBuilder() { if (barrageMaskInfoBuilder_ == null) { barrageMaskInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.BarrageMaskInfo, com.byteplus.service.vod.model.business.BarrageMaskInfo.Builder, com.byteplus.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:Byteplus.Vod.Models.Business.VodPlayInfoModel) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodPlayInfoModel) private static final com.byteplus.service.vod.model.business.VodPlayInfoModel DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodPlayInfoModel(); } public static com.byteplus.service.vod.model.business.VodPlayInfoModel getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodPlayInfoModel parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodPlayInfoModel(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.byteplus.service.vod.model.business.VodPlayInfoModel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy