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

com.volcengine.service.vod.model.business.VodPlayInfo Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
// 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.VodPlayInfo}
 */
public final class VodPlayInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodPlayInfo)
    VodPlayInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodPlayInfo.newBuilder() to construct.
  private VodPlayInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodPlayInfo() {
    fileId_ = "";
    md5_ = "";
    fileType_ = "";
    format_ = "";
    codec_ = "";
    definition_ = "";
    mainPlayUrl_ = "";
    backupPlayUrl_ = "";
    checkInfo_ = "";
    indexRange_ = "";
    initRange_ = "";
    playAuth_ = "";
    playAuthId_ = "";
    logoType_ = "";
    quality_ = "";
    barrageMaskOffset_ = "";
    keyFrameAlignment_ = "";
    mainUrlExpire_ = "";
    backupUrlExpire_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new VodPlayInfo();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodPlayInfo(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

            fileId_ = s;
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();

            md5_ = s;
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            fileType_ = s;
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();

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

            codec_ = s;
            break;
          }
          case 50: {
            java.lang.String s = input.readStringRequireUtf8();

            definition_ = s;
            break;
          }
          case 58: {
            java.lang.String s = input.readStringRequireUtf8();

            mainPlayUrl_ = s;
            break;
          }
          case 66: {
            java.lang.String s = input.readStringRequireUtf8();

            backupPlayUrl_ = s;
            break;
          }
          case 72: {

            bitrate_ = input.readInt32();
            break;
          }
          case 80: {

            width_ = input.readInt32();
            break;
          }
          case 88: {

            height_ = input.readInt32();
            break;
          }
          case 97: {

            size_ = input.readDouble();
            break;
          }
          case 106: {
            java.lang.String s = input.readStringRequireUtf8();

            checkInfo_ = s;
            break;
          }
          case 114: {
            java.lang.String s = input.readStringRequireUtf8();

            indexRange_ = s;
            break;
          }
          case 122: {
            java.lang.String s = input.readStringRequireUtf8();

            initRange_ = s;
            break;
          }
          case 130: {
            java.lang.String s = input.readStringRequireUtf8();

            playAuth_ = s;
            break;
          }
          case 138: {
            java.lang.String s = input.readStringRequireUtf8();

            playAuthId_ = s;
            break;
          }
          case 146: {
            java.lang.String s = input.readStringRequireUtf8();

            logoType_ = s;
            break;
          }
          case 154: {
            java.lang.String s = input.readStringRequireUtf8();

            quality_ = s;
            break;
          }
          case 162: {
            java.lang.String s = input.readStringRequireUtf8();

            barrageMaskOffset_ = s;
            break;
          }
          case 173: {

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

            keyFrameAlignment_ = s;
            break;
          }
          case 186: {
            com.volcengine.service.vod.model.business.VodVolumeInfo.Builder subBuilder = null;
            if (volume_ != null) {
              subBuilder = volume_.toBuilder();
            }
            volume_ = input.readMessage(com.volcengine.service.vod.model.business.VodVolumeInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(volume_);
              volume_ = subBuilder.buildPartial();
            }

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

            mainUrlExpire_ = s;
            break;
          }
          case 202: {
            java.lang.String s = input.readStringRequireUtf8();

            backupUrlExpire_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodPlayInfo_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_VodPlayInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.VodPlayInfo.class, com.volcengine.service.vod.model.business.VodPlayInfo.Builder.class);
  }

  public static final int FILEID_FIELD_NUMBER = 1;
  private volatile java.lang.Object fileId_;
  /**
   * 
   *文件ID
   * 
* * string FileId = 1; * @return The fileId. */ @java.lang.Override public java.lang.String getFileId() { java.lang.Object ref = fileId_; 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(); fileId_ = s; return s; } } /** *
   *文件ID
   * 
* * string FileId = 1; * @return The bytes for fileId. */ @java.lang.Override public com.google.protobuf.ByteString getFileIdBytes() { java.lang.Object ref = fileId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MD5_FIELD_NUMBER = 2; private volatile java.lang.Object md5_; /** *
   * hash值
   * 
* * string Md5 = 2; * @return The md5. */ @java.lang.Override public java.lang.String getMd5() { java.lang.Object ref = md5_; 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(); md5_ = s; return s; } } /** *
   * hash值
   * 
* * string Md5 = 2; * @return The bytes for md5. */ @java.lang.Override public com.google.protobuf.ByteString getMd5Bytes() { java.lang.Object ref = md5_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); md5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILETYPE_FIELD_NUMBER = 3; private volatile java.lang.Object fileType_; /** *
   * 文件类型 video/audio
   * 
* * string FileType = 3; * @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; } } /** *
   * 文件类型 video/audio
   * 
* * string FileType = 3; * @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 FORMAT_FIELD_NUMBER = 4; private volatile java.lang.Object format_; /** *
   *视频格式
   * 
* * string Format = 4; * @return The format. */ @java.lang.Override public java.lang.String getFormat() { java.lang.Object ref = format_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; } } /** *
   *视频格式
   * 
* * string Format = 4; * @return The bytes for format. */ @java.lang.Override public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CODEC_FIELD_NUMBER = 5; private volatile java.lang.Object codec_; /** *
   *编码类型
   * 
* * string Codec = 5; * @return The codec. */ @java.lang.Override public java.lang.String getCodec() { java.lang.Object ref = codec_; 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(); codec_ = s; return s; } } /** *
   *编码类型
   * 
* * string Codec = 5; * @return The bytes for codec. */ @java.lang.Override public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); codec_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFINITION_FIELD_NUMBER = 6; private volatile java.lang.Object definition_; /** *
   *视频分辨率
   * 
* * string Definition = 6; * @return The definition. */ @java.lang.Override public java.lang.String getDefinition() { java.lang.Object ref = definition_; 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(); definition_ = s; return s; } } /** *
   *视频分辨率
   * 
* * string Definition = 6; * @return The bytes for definition. */ @java.lang.Override public com.google.protobuf.ByteString getDefinitionBytes() { java.lang.Object ref = definition_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); definition_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MAINPLAYURL_FIELD_NUMBER = 7; private volatile java.lang.Object mainPlayUrl_; /** *
   *主播放地址
   * 
* * string MainPlayUrl = 7; * @return The mainPlayUrl. */ @java.lang.Override public java.lang.String getMainPlayUrl() { java.lang.Object ref = mainPlayUrl_; 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(); mainPlayUrl_ = s; return s; } } /** *
   *主播放地址
   * 
* * string MainPlayUrl = 7; * @return The bytes for mainPlayUrl. */ @java.lang.Override public com.google.protobuf.ByteString getMainPlayUrlBytes() { java.lang.Object ref = mainPlayUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mainPlayUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BACKUPPLAYURL_FIELD_NUMBER = 8; private volatile java.lang.Object backupPlayUrl_; /** *
   *备用播放地址
   * 
* * string BackupPlayUrl = 8; * @return The backupPlayUrl. */ @java.lang.Override public java.lang.String getBackupPlayUrl() { java.lang.Object ref = backupPlayUrl_; 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(); backupPlayUrl_ = s; return s; } } /** *
   *备用播放地址
   * 
* * string BackupPlayUrl = 8; * @return The bytes for backupPlayUrl. */ @java.lang.Override public com.google.protobuf.ByteString getBackupPlayUrlBytes() { java.lang.Object ref = backupPlayUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); backupPlayUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BITRATE_FIELD_NUMBER = 9; private int bitrate_; /** *
   *码率(Kbps)
   * 
* * int32 Bitrate = 9; * @return The bitrate. */ @java.lang.Override public int getBitrate() { return bitrate_; } public static final int WIDTH_FIELD_NUMBER = 10; private int width_; /** *
   *视频高度
   * 
* * int32 Width = 10; * @return The width. */ @java.lang.Override public int getWidth() { return width_; } public static final int HEIGHT_FIELD_NUMBER = 11; private int height_; /** *
   *视频宽度
   * 
* * int32 Height = 11; * @return The height. */ @java.lang.Override public int getHeight() { return height_; } public static final int SIZE_FIELD_NUMBER = 12; private double size_; /** *
   *文件大小
   * 
* * double Size = 12; * @return The size. */ @java.lang.Override public double getSize() { return size_; } public static final int CHECKINFO_FIELD_NUMBER = 13; private volatile java.lang.Object checkInfo_; /** *
   *劫持校验信息
   * 
* * string CheckInfo = 13; * @return The checkInfo. */ @java.lang.Override public java.lang.String getCheckInfo() { java.lang.Object ref = checkInfo_; 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(); checkInfo_ = s; return s; } } /** *
   *劫持校验信息
   * 
* * string CheckInfo = 13; * @return The bytes for checkInfo. */ @java.lang.Override public com.google.protobuf.ByteString getCheckInfoBytes() { java.lang.Object ref = checkInfo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); checkInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INDEXRANGE_FIELD_NUMBER = 14; private volatile java.lang.Object indexRange_; /** *
   * dash segment_base 分片信息
   * 
* * string IndexRange = 14; * @return The indexRange. */ @java.lang.Override public java.lang.String getIndexRange() { java.lang.Object ref = indexRange_; 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(); indexRange_ = s; return s; } } /** *
   * dash segment_base 分片信息
   * 
* * string IndexRange = 14; * @return The bytes for indexRange. */ @java.lang.Override public com.google.protobuf.ByteString getIndexRangeBytes() { java.lang.Object ref = indexRange_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); indexRange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INITRANGE_FIELD_NUMBER = 15; private volatile java.lang.Object initRange_; /** *
   * dash segment_base 分片信息
   * 
* * string InitRange = 15; * @return The initRange. */ @java.lang.Override public java.lang.String getInitRange() { java.lang.Object ref = initRange_; 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(); initRange_ = s; return s; } } /** *
   * dash segment_base 分片信息
   * 
* * string InitRange = 15; * @return The bytes for initRange. */ @java.lang.Override public com.google.protobuf.ByteString getInitRangeBytes() { java.lang.Object ref = initRange_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); initRange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PLAYAUTH_FIELD_NUMBER = 16; private volatile java.lang.Object playAuth_; /** *
   *加密过的秘钥
   * 
* * string PlayAuth = 16; * @return The playAuth. */ @java.lang.Override public java.lang.String getPlayAuth() { java.lang.Object ref = playAuth_; 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(); playAuth_ = s; return s; } } /** *
   *加密过的秘钥
   * 
* * string PlayAuth = 16; * @return The bytes for playAuth. */ @java.lang.Override public com.google.protobuf.ByteString getPlayAuthBytes() { java.lang.Object ref = playAuth_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); playAuth_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PLAYAUTHID_FIELD_NUMBER = 17; private volatile java.lang.Object playAuthId_; /** *
   *密钥keyID
   * 
* * string PlayAuthId = 17; * @return The playAuthId. */ @java.lang.Override public java.lang.String getPlayAuthId() { java.lang.Object ref = playAuthId_; 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(); playAuthId_ = s; return s; } } /** *
   *密钥keyID
   * 
* * string PlayAuthId = 17; * @return The bytes for playAuthId. */ @java.lang.Override public com.google.protobuf.ByteString getPlayAuthIdBytes() { java.lang.Object ref = playAuthId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); playAuthId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOGOTYPE_FIELD_NUMBER = 18; private volatile java.lang.Object logoType_; /** *
   *水印类型
   * 
* * string LogoType = 18; * @return The logoType. */ @java.lang.Override public java.lang.String getLogoType() { java.lang.Object ref = logoType_; 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(); logoType_ = s; return s; } } /** *
   *水印类型
   * 
* * string LogoType = 18; * @return The bytes for logoType. */ @java.lang.Override public com.google.protobuf.ByteString getLogoTypeBytes() { java.lang.Object ref = logoType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logoType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALITY_FIELD_NUMBER = 19; private volatile java.lang.Object quality_; /** *
   *音频质量
   * 
* * string Quality = 19; * @return The quality. */ @java.lang.Override public java.lang.String getQuality() { java.lang.Object ref = quality_; 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(); quality_ = s; return s; } } /** *
   *音频质量
   * 
* * string Quality = 19; * @return The bytes for quality. */ @java.lang.Override public com.google.protobuf.ByteString getQualityBytes() { java.lang.Object ref = quality_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); quality_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BARRAGEMASKOFFSET_FIELD_NUMBER = 20; private volatile java.lang.Object barrageMaskOffset_; /** *
   * 弹幕蒙版偏移量
   * 
* * string BarrageMaskOffset = 20; * @return The barrageMaskOffset. */ @java.lang.Override public java.lang.String getBarrageMaskOffset() { java.lang.Object ref = barrageMaskOffset_; 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(); barrageMaskOffset_ = s; return s; } } /** *
   * 弹幕蒙版偏移量
   * 
* * string BarrageMaskOffset = 20; * @return The bytes for barrageMaskOffset. */ @java.lang.Override public com.google.protobuf.ByteString getBarrageMaskOffsetBytes() { java.lang.Object ref = barrageMaskOffset_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); barrageMaskOffset_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DURATION_FIELD_NUMBER = 21; private float duration_; /** *
   *时长
   * 
* * float Duration = 21; * @return The duration. */ @java.lang.Override public float getDuration() { return duration_; } public static final int KEYFRAMEALIGNMENT_FIELD_NUMBER = 22; private volatile java.lang.Object keyFrameAlignment_; /** *
   * 在转对齐,使用的帧对齐转码版本
   * 
* * string KeyFrameAlignment = 22; * @return The keyFrameAlignment. */ @java.lang.Override public java.lang.String getKeyFrameAlignment() { java.lang.Object ref = keyFrameAlignment_; 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(); keyFrameAlignment_ = s; return s; } } /** *
   * 在转对齐,使用的帧对齐转码版本
   * 
* * string KeyFrameAlignment = 22; * @return The bytes for keyFrameAlignment. */ @java.lang.Override public com.google.protobuf.ByteString getKeyFrameAlignmentBytes() { java.lang.Object ref = keyFrameAlignment_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyFrameAlignment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VOLUME_FIELD_NUMBER = 23; private com.volcengine.service.vod.model.business.VodVolumeInfo volume_; /** *
   *响度信息
   * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; * @return Whether the volume field is set. */ @java.lang.Override public boolean hasVolume() { return volume_ != null; } /** *
   *响度信息
   * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; * @return The volume. */ @java.lang.Override public com.volcengine.service.vod.model.business.VodVolumeInfo getVolume() { return volume_ == null ? com.volcengine.service.vod.model.business.VodVolumeInfo.getDefaultInstance() : volume_; } /** *
   *响度信息
   * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; */ @java.lang.Override public com.volcengine.service.vod.model.business.VodVolumeInfoOrBuilder getVolumeOrBuilder() { return getVolume(); } public static final int MAINURLEXPIRE_FIELD_NUMBER = 24; private volatile java.lang.Object mainUrlExpire_; /** *
   * MainPlayUrl的过期时间
   * 
* * string MainUrlExpire = 24; * @return The mainUrlExpire. */ @java.lang.Override public java.lang.String getMainUrlExpire() { java.lang.Object ref = mainUrlExpire_; 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(); mainUrlExpire_ = s; return s; } } /** *
   * MainPlayUrl的过期时间
   * 
* * string MainUrlExpire = 24; * @return The bytes for mainUrlExpire. */ @java.lang.Override public com.google.protobuf.ByteString getMainUrlExpireBytes() { java.lang.Object ref = mainUrlExpire_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mainUrlExpire_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BACKUPURLEXPIRE_FIELD_NUMBER = 25; private volatile java.lang.Object backupUrlExpire_; /** *
   * BackupPlayUrl的过期时间
   * 
* * string BackupUrlExpire = 25; * @return The backupUrlExpire. */ @java.lang.Override public java.lang.String getBackupUrlExpire() { java.lang.Object ref = backupUrlExpire_; 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(); backupUrlExpire_ = s; return s; } } /** *
   * BackupPlayUrl的过期时间
   * 
* * string BackupUrlExpire = 25; * @return The bytes for backupUrlExpire. */ @java.lang.Override public com.google.protobuf.ByteString getBackupUrlExpireBytes() { java.lang.Object ref = backupUrlExpire_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); backupUrlExpire_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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(fileId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(md5_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, md5_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, codec_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, definition_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mainPlayUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, mainPlayUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupPlayUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, backupPlayUrl_); } if (bitrate_ != 0) { output.writeInt32(9, bitrate_); } if (width_ != 0) { output.writeInt32(10, width_); } if (height_ != 0) { output.writeInt32(11, height_); } if (java.lang.Double.doubleToRawLongBits(size_) != 0) { output.writeDouble(12, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkInfo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, checkInfo_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexRange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, indexRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(initRange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, initRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(playAuth_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, playAuth_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(playAuthId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, playAuthId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logoType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, logoType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quality_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, quality_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(barrageMaskOffset_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, barrageMaskOffset_); } if (java.lang.Float.floatToRawIntBits(duration_) != 0) { output.writeFloat(21, duration_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyFrameAlignment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 22, keyFrameAlignment_); } if (volume_ != null) { output.writeMessage(23, getVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mainUrlExpire_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 24, mainUrlExpire_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupUrlExpire_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 25, backupUrlExpire_); } 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(fileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(md5_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, md5_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fileType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, codec_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, definition_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mainPlayUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, mainPlayUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupPlayUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, backupPlayUrl_); } if (bitrate_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, bitrate_); } if (width_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(10, width_); } if (height_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, height_); } if (java.lang.Double.doubleToRawLongBits(size_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, checkInfo_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, indexRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(initRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, initRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(playAuth_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, playAuth_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(playAuthId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, playAuthId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logoType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, logoType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quality_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, quality_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(barrageMaskOffset_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, barrageMaskOffset_); } if (java.lang.Float.floatToRawIntBits(duration_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(21, duration_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyFrameAlignment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, keyFrameAlignment_); } if (volume_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getVolume()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mainUrlExpire_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, mainUrlExpire_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backupUrlExpire_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, backupUrlExpire_); } 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.VodPlayInfo)) { return super.equals(obj); } com.volcengine.service.vod.model.business.VodPlayInfo other = (com.volcengine.service.vod.model.business.VodPlayInfo) obj; if (!getFileId() .equals(other.getFileId())) return false; if (!getMd5() .equals(other.getMd5())) return false; if (!getFileType() .equals(other.getFileType())) return false; if (!getFormat() .equals(other.getFormat())) return false; if (!getCodec() .equals(other.getCodec())) return false; if (!getDefinition() .equals(other.getDefinition())) return false; if (!getMainPlayUrl() .equals(other.getMainPlayUrl())) return false; if (!getBackupPlayUrl() .equals(other.getBackupPlayUrl())) return false; if (getBitrate() != other.getBitrate()) return false; if (getWidth() != other.getWidth()) return false; if (getHeight() != other.getHeight()) return false; if (java.lang.Double.doubleToLongBits(getSize()) != java.lang.Double.doubleToLongBits( other.getSize())) return false; if (!getCheckInfo() .equals(other.getCheckInfo())) return false; if (!getIndexRange() .equals(other.getIndexRange())) return false; if (!getInitRange() .equals(other.getInitRange())) return false; if (!getPlayAuth() .equals(other.getPlayAuth())) return false; if (!getPlayAuthId() .equals(other.getPlayAuthId())) return false; if (!getLogoType() .equals(other.getLogoType())) return false; if (!getQuality() .equals(other.getQuality())) return false; if (!getBarrageMaskOffset() .equals(other.getBarrageMaskOffset())) return false; if (java.lang.Float.floatToIntBits(getDuration()) != java.lang.Float.floatToIntBits( other.getDuration())) return false; if (!getKeyFrameAlignment() .equals(other.getKeyFrameAlignment())) return false; if (hasVolume() != other.hasVolume()) return false; if (hasVolume()) { if (!getVolume() .equals(other.getVolume())) return false; } if (!getMainUrlExpire() .equals(other.getMainUrlExpire())) return false; if (!getBackupUrlExpire() .equals(other.getBackupUrlExpire())) 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) + FILEID_FIELD_NUMBER; hash = (53 * hash) + getFileId().hashCode(); hash = (37 * hash) + MD5_FIELD_NUMBER; hash = (53 * hash) + getMd5().hashCode(); hash = (37 * hash) + FILETYPE_FIELD_NUMBER; hash = (53 * hash) + getFileType().hashCode(); hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + getFormat().hashCode(); hash = (37 * hash) + CODEC_FIELD_NUMBER; hash = (53 * hash) + getCodec().hashCode(); hash = (37 * hash) + DEFINITION_FIELD_NUMBER; hash = (53 * hash) + getDefinition().hashCode(); hash = (37 * hash) + MAINPLAYURL_FIELD_NUMBER; hash = (53 * hash) + getMainPlayUrl().hashCode(); hash = (37 * hash) + BACKUPPLAYURL_FIELD_NUMBER; hash = (53 * hash) + getBackupPlayUrl().hashCode(); hash = (37 * hash) + BITRATE_FIELD_NUMBER; hash = (53 * hash) + getBitrate(); hash = (37 * hash) + WIDTH_FIELD_NUMBER; hash = (53 * hash) + getWidth(); hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getHeight(); hash = (37 * hash) + SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSize())); hash = (37 * hash) + CHECKINFO_FIELD_NUMBER; hash = (53 * hash) + getCheckInfo().hashCode(); hash = (37 * hash) + INDEXRANGE_FIELD_NUMBER; hash = (53 * hash) + getIndexRange().hashCode(); hash = (37 * hash) + INITRANGE_FIELD_NUMBER; hash = (53 * hash) + getInitRange().hashCode(); hash = (37 * hash) + PLAYAUTH_FIELD_NUMBER; hash = (53 * hash) + getPlayAuth().hashCode(); hash = (37 * hash) + PLAYAUTHID_FIELD_NUMBER; hash = (53 * hash) + getPlayAuthId().hashCode(); hash = (37 * hash) + LOGOTYPE_FIELD_NUMBER; hash = (53 * hash) + getLogoType().hashCode(); hash = (37 * hash) + QUALITY_FIELD_NUMBER; hash = (53 * hash) + getQuality().hashCode(); hash = (37 * hash) + BARRAGEMASKOFFSET_FIELD_NUMBER; hash = (53 * hash) + getBarrageMaskOffset().hashCode(); hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getDuration()); hash = (37 * hash) + KEYFRAMEALIGNMENT_FIELD_NUMBER; hash = (53 * hash) + getKeyFrameAlignment().hashCode(); if (hasVolume()) { hash = (37 * hash) + VOLUME_FIELD_NUMBER; hash = (53 * hash) + getVolume().hashCode(); } hash = (37 * hash) + MAINURLEXPIRE_FIELD_NUMBER; hash = (53 * hash) + getMainUrlExpire().hashCode(); hash = (37 * hash) + BACKUPURLEXPIRE_FIELD_NUMBER; hash = (53 * hash) + getBackupUrlExpire().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.business.VodPlayInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodPlayInfo 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.VodPlayInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodPlayInfo 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.VodPlayInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodPlayInfo 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.VodPlayInfo 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.VodPlayInfo 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.VodPlayInfo 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.VodPlayInfo 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.VodPlayInfo 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.VodPlayInfo 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.VodPlayInfo 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.VodPlayInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodPlayInfo) com.volcengine.service.vod.model.business.VodPlayInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodPlayInfo_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_VodPlayInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.business.VodPlayInfo.class, com.volcengine.service.vod.model.business.VodPlayInfo.Builder.class); } // Construct using com.volcengine.service.vod.model.business.VodPlayInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); fileId_ = ""; md5_ = ""; fileType_ = ""; format_ = ""; codec_ = ""; definition_ = ""; mainPlayUrl_ = ""; backupPlayUrl_ = ""; bitrate_ = 0; width_ = 0; height_ = 0; size_ = 0D; checkInfo_ = ""; indexRange_ = ""; initRange_ = ""; playAuth_ = ""; playAuthId_ = ""; logoType_ = ""; quality_ = ""; barrageMaskOffset_ = ""; duration_ = 0F; keyFrameAlignment_ = ""; if (volumeBuilder_ == null) { volume_ = null; } else { volume_ = null; volumeBuilder_ = null; } mainUrlExpire_ = ""; backupUrlExpire_ = ""; 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_VodPlayInfo_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.business.VodPlayInfo getDefaultInstanceForType() { return com.volcengine.service.vod.model.business.VodPlayInfo.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.business.VodPlayInfo build() { com.volcengine.service.vod.model.business.VodPlayInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.business.VodPlayInfo buildPartial() { com.volcengine.service.vod.model.business.VodPlayInfo result = new com.volcengine.service.vod.model.business.VodPlayInfo(this); result.fileId_ = fileId_; result.md5_ = md5_; result.fileType_ = fileType_; result.format_ = format_; result.codec_ = codec_; result.definition_ = definition_; result.mainPlayUrl_ = mainPlayUrl_; result.backupPlayUrl_ = backupPlayUrl_; result.bitrate_ = bitrate_; result.width_ = width_; result.height_ = height_; result.size_ = size_; result.checkInfo_ = checkInfo_; result.indexRange_ = indexRange_; result.initRange_ = initRange_; result.playAuth_ = playAuth_; result.playAuthId_ = playAuthId_; result.logoType_ = logoType_; result.quality_ = quality_; result.barrageMaskOffset_ = barrageMaskOffset_; result.duration_ = duration_; result.keyFrameAlignment_ = keyFrameAlignment_; if (volumeBuilder_ == null) { result.volume_ = volume_; } else { result.volume_ = volumeBuilder_.build(); } result.mainUrlExpire_ = mainUrlExpire_; result.backupUrlExpire_ = backupUrlExpire_; 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.VodPlayInfo) { return mergeFrom((com.volcengine.service.vod.model.business.VodPlayInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.business.VodPlayInfo other) { if (other == com.volcengine.service.vod.model.business.VodPlayInfo.getDefaultInstance()) return this; if (!other.getFileId().isEmpty()) { fileId_ = other.fileId_; onChanged(); } if (!other.getMd5().isEmpty()) { md5_ = other.md5_; onChanged(); } if (!other.getFileType().isEmpty()) { fileType_ = other.fileType_; onChanged(); } if (!other.getFormat().isEmpty()) { format_ = other.format_; onChanged(); } if (!other.getCodec().isEmpty()) { codec_ = other.codec_; onChanged(); } if (!other.getDefinition().isEmpty()) { definition_ = other.definition_; onChanged(); } if (!other.getMainPlayUrl().isEmpty()) { mainPlayUrl_ = other.mainPlayUrl_; onChanged(); } if (!other.getBackupPlayUrl().isEmpty()) { backupPlayUrl_ = other.backupPlayUrl_; onChanged(); } if (other.getBitrate() != 0) { setBitrate(other.getBitrate()); } if (other.getWidth() != 0) { setWidth(other.getWidth()); } if (other.getHeight() != 0) { setHeight(other.getHeight()); } if (other.getSize() != 0D) { setSize(other.getSize()); } if (!other.getCheckInfo().isEmpty()) { checkInfo_ = other.checkInfo_; onChanged(); } if (!other.getIndexRange().isEmpty()) { indexRange_ = other.indexRange_; onChanged(); } if (!other.getInitRange().isEmpty()) { initRange_ = other.initRange_; onChanged(); } if (!other.getPlayAuth().isEmpty()) { playAuth_ = other.playAuth_; onChanged(); } if (!other.getPlayAuthId().isEmpty()) { playAuthId_ = other.playAuthId_; onChanged(); } if (!other.getLogoType().isEmpty()) { logoType_ = other.logoType_; onChanged(); } if (!other.getQuality().isEmpty()) { quality_ = other.quality_; onChanged(); } if (!other.getBarrageMaskOffset().isEmpty()) { barrageMaskOffset_ = other.barrageMaskOffset_; onChanged(); } if (other.getDuration() != 0F) { setDuration(other.getDuration()); } if (!other.getKeyFrameAlignment().isEmpty()) { keyFrameAlignment_ = other.keyFrameAlignment_; onChanged(); } if (other.hasVolume()) { mergeVolume(other.getVolume()); } if (!other.getMainUrlExpire().isEmpty()) { mainUrlExpire_ = other.mainUrlExpire_; onChanged(); } if (!other.getBackupUrlExpire().isEmpty()) { backupUrlExpire_ = other.backupUrlExpire_; onChanged(); } 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.VodPlayInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.business.VodPlayInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object fileId_ = ""; /** *
     *文件ID
     * 
* * string FileId = 1; * @return The fileId. */ public java.lang.String getFileId() { java.lang.Object ref = fileId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *文件ID
     * 
* * string FileId = 1; * @return The bytes for fileId. */ public com.google.protobuf.ByteString getFileIdBytes() { java.lang.Object ref = fileId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *文件ID
     * 
* * string FileId = 1; * @param value The fileId to set. * @return This builder for chaining. */ public Builder setFileId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileId_ = value; onChanged(); return this; } /** *
     *文件ID
     * 
* * string FileId = 1; * @return This builder for chaining. */ public Builder clearFileId() { fileId_ = getDefaultInstance().getFileId(); onChanged(); return this; } /** *
     *文件ID
     * 
* * string FileId = 1; * @param value The bytes for fileId to set. * @return This builder for chaining. */ public Builder setFileIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileId_ = value; onChanged(); return this; } private java.lang.Object md5_ = ""; /** *
     * hash值
     * 
* * string Md5 = 2; * @return The md5. */ public java.lang.String getMd5() { java.lang.Object ref = md5_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); md5_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * hash值
     * 
* * string Md5 = 2; * @return The bytes for md5. */ public com.google.protobuf.ByteString getMd5Bytes() { java.lang.Object ref = md5_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); md5_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * hash值
     * 
* * string Md5 = 2; * @param value The md5 to set. * @return This builder for chaining. */ public Builder setMd5( java.lang.String value) { if (value == null) { throw new NullPointerException(); } md5_ = value; onChanged(); return this; } /** *
     * hash值
     * 
* * string Md5 = 2; * @return This builder for chaining. */ public Builder clearMd5() { md5_ = getDefaultInstance().getMd5(); onChanged(); return this; } /** *
     * hash值
     * 
* * string Md5 = 2; * @param value The bytes for md5 to set. * @return This builder for chaining. */ public Builder setMd5Bytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); md5_ = value; onChanged(); return this; } private java.lang.Object fileType_ = ""; /** *
     * 文件类型 video/audio
     * 
* * string FileType = 3; * @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; } } /** *
     * 文件类型 video/audio
     * 
* * string FileType = 3; * @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; } } /** *
     * 文件类型 video/audio
     * 
* * string FileType = 3; * @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; } /** *
     * 文件类型 video/audio
     * 
* * string FileType = 3; * @return This builder for chaining. */ public Builder clearFileType() { fileType_ = getDefaultInstance().getFileType(); onChanged(); return this; } /** *
     * 文件类型 video/audio
     * 
* * string FileType = 3; * @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 java.lang.Object format_ = ""; /** *
     *视频格式
     * 
* * string Format = 4; * @return The format. */ public java.lang.String getFormat() { java.lang.Object ref = format_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *视频格式
     * 
* * string Format = 4; * @return The bytes for format. */ public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *视频格式
     * 
* * string Format = 4; * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } format_ = value; onChanged(); return this; } /** *
     *视频格式
     * 
* * string Format = 4; * @return This builder for chaining. */ public Builder clearFormat() { format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** *
     *视频格式
     * 
* * string Format = 4; * @param value The bytes for format to set. * @return This builder for chaining. */ public Builder setFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); format_ = value; onChanged(); return this; } private java.lang.Object codec_ = ""; /** *
     *编码类型
     * 
* * string Codec = 5; * @return The codec. */ public java.lang.String getCodec() { java.lang.Object ref = codec_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); codec_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *编码类型
     * 
* * string Codec = 5; * @return The bytes for codec. */ public com.google.protobuf.ByteString getCodecBytes() { java.lang.Object ref = codec_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); codec_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *编码类型
     * 
* * string Codec = 5; * @param value The codec to set. * @return This builder for chaining. */ public Builder setCodec( java.lang.String value) { if (value == null) { throw new NullPointerException(); } codec_ = value; onChanged(); return this; } /** *
     *编码类型
     * 
* * string Codec = 5; * @return This builder for chaining. */ public Builder clearCodec() { codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** *
     *编码类型
     * 
* * string Codec = 5; * @param value The bytes for codec to set. * @return This builder for chaining. */ public Builder setCodecBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); codec_ = value; onChanged(); return this; } private java.lang.Object definition_ = ""; /** *
     *视频分辨率
     * 
* * string Definition = 6; * @return The definition. */ public java.lang.String getDefinition() { java.lang.Object ref = definition_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); definition_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *视频分辨率
     * 
* * string Definition = 6; * @return The bytes for definition. */ public com.google.protobuf.ByteString getDefinitionBytes() { java.lang.Object ref = definition_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); definition_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *视频分辨率
     * 
* * string Definition = 6; * @param value The definition to set. * @return This builder for chaining. */ public Builder setDefinition( java.lang.String value) { if (value == null) { throw new NullPointerException(); } definition_ = value; onChanged(); return this; } /** *
     *视频分辨率
     * 
* * string Definition = 6; * @return This builder for chaining. */ public Builder clearDefinition() { definition_ = getDefaultInstance().getDefinition(); onChanged(); return this; } /** *
     *视频分辨率
     * 
* * string Definition = 6; * @param value The bytes for definition to set. * @return This builder for chaining. */ public Builder setDefinitionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); definition_ = value; onChanged(); return this; } private java.lang.Object mainPlayUrl_ = ""; /** *
     *主播放地址
     * 
* * string MainPlayUrl = 7; * @return The mainPlayUrl. */ public java.lang.String getMainPlayUrl() { java.lang.Object ref = mainPlayUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mainPlayUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *主播放地址
     * 
* * string MainPlayUrl = 7; * @return The bytes for mainPlayUrl. */ public com.google.protobuf.ByteString getMainPlayUrlBytes() { java.lang.Object ref = mainPlayUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mainPlayUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *主播放地址
     * 
* * string MainPlayUrl = 7; * @param value The mainPlayUrl to set. * @return This builder for chaining. */ public Builder setMainPlayUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } mainPlayUrl_ = value; onChanged(); return this; } /** *
     *主播放地址
     * 
* * string MainPlayUrl = 7; * @return This builder for chaining. */ public Builder clearMainPlayUrl() { mainPlayUrl_ = getDefaultInstance().getMainPlayUrl(); onChanged(); return this; } /** *
     *主播放地址
     * 
* * string MainPlayUrl = 7; * @param value The bytes for mainPlayUrl to set. * @return This builder for chaining. */ public Builder setMainPlayUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); mainPlayUrl_ = value; onChanged(); return this; } private java.lang.Object backupPlayUrl_ = ""; /** *
     *备用播放地址
     * 
* * string BackupPlayUrl = 8; * @return The backupPlayUrl. */ public java.lang.String getBackupPlayUrl() { java.lang.Object ref = backupPlayUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupPlayUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *备用播放地址
     * 
* * string BackupPlayUrl = 8; * @return The bytes for backupPlayUrl. */ public com.google.protobuf.ByteString getBackupPlayUrlBytes() { java.lang.Object ref = backupPlayUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); backupPlayUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *备用播放地址
     * 
* * string BackupPlayUrl = 8; * @param value The backupPlayUrl to set. * @return This builder for chaining. */ public Builder setBackupPlayUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } backupPlayUrl_ = value; onChanged(); return this; } /** *
     *备用播放地址
     * 
* * string BackupPlayUrl = 8; * @return This builder for chaining. */ public Builder clearBackupPlayUrl() { backupPlayUrl_ = getDefaultInstance().getBackupPlayUrl(); onChanged(); return this; } /** *
     *备用播放地址
     * 
* * string BackupPlayUrl = 8; * @param value The bytes for backupPlayUrl to set. * @return This builder for chaining. */ public Builder setBackupPlayUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupPlayUrl_ = value; onChanged(); return this; } private int bitrate_ ; /** *
     *码率(Kbps)
     * 
* * int32 Bitrate = 9; * @return The bitrate. */ @java.lang.Override public int getBitrate() { return bitrate_; } /** *
     *码率(Kbps)
     * 
* * int32 Bitrate = 9; * @param value The bitrate to set. * @return This builder for chaining. */ public Builder setBitrate(int value) { bitrate_ = value; onChanged(); return this; } /** *
     *码率(Kbps)
     * 
* * int32 Bitrate = 9; * @return This builder for chaining. */ public Builder clearBitrate() { bitrate_ = 0; onChanged(); return this; } private int width_ ; /** *
     *视频高度
     * 
* * int32 Width = 10; * @return The width. */ @java.lang.Override public int getWidth() { return width_; } /** *
     *视频高度
     * 
* * int32 Width = 10; * @param value The width to set. * @return This builder for chaining. */ public Builder setWidth(int value) { width_ = value; onChanged(); return this; } /** *
     *视频高度
     * 
* * int32 Width = 10; * @return This builder for chaining. */ public Builder clearWidth() { width_ = 0; onChanged(); return this; } private int height_ ; /** *
     *视频宽度
     * 
* * int32 Height = 11; * @return The height. */ @java.lang.Override public int getHeight() { return height_; } /** *
     *视频宽度
     * 
* * int32 Height = 11; * @param value The height to set. * @return This builder for chaining. */ public Builder setHeight(int value) { height_ = value; onChanged(); return this; } /** *
     *视频宽度
     * 
* * int32 Height = 11; * @return This builder for chaining. */ public Builder clearHeight() { height_ = 0; onChanged(); return this; } private double size_ ; /** *
     *文件大小
     * 
* * double Size = 12; * @return The size. */ @java.lang.Override public double getSize() { return size_; } /** *
     *文件大小
     * 
* * double Size = 12; * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(double value) { size_ = value; onChanged(); return this; } /** *
     *文件大小
     * 
* * double Size = 12; * @return This builder for chaining. */ public Builder clearSize() { size_ = 0D; onChanged(); return this; } private java.lang.Object checkInfo_ = ""; /** *
     *劫持校验信息
     * 
* * string CheckInfo = 13; * @return The checkInfo. */ public java.lang.String getCheckInfo() { java.lang.Object ref = checkInfo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkInfo_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *劫持校验信息
     * 
* * string CheckInfo = 13; * @return The bytes for checkInfo. */ public com.google.protobuf.ByteString getCheckInfoBytes() { java.lang.Object ref = checkInfo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); checkInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *劫持校验信息
     * 
* * string CheckInfo = 13; * @param value The checkInfo to set. * @return This builder for chaining. */ public Builder setCheckInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } checkInfo_ = value; onChanged(); return this; } /** *
     *劫持校验信息
     * 
* * string CheckInfo = 13; * @return This builder for chaining. */ public Builder clearCheckInfo() { checkInfo_ = getDefaultInstance().getCheckInfo(); onChanged(); return this; } /** *
     *劫持校验信息
     * 
* * string CheckInfo = 13; * @param value The bytes for checkInfo to set. * @return This builder for chaining. */ public Builder setCheckInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); checkInfo_ = value; onChanged(); return this; } private java.lang.Object indexRange_ = ""; /** *
     * dash segment_base 分片信息
     * 
* * string IndexRange = 14; * @return The indexRange. */ public java.lang.String getIndexRange() { java.lang.Object ref = indexRange_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexRange_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * dash segment_base 分片信息
     * 
* * string IndexRange = 14; * @return The bytes for indexRange. */ public com.google.protobuf.ByteString getIndexRangeBytes() { java.lang.Object ref = indexRange_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); indexRange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * dash segment_base 分片信息
     * 
* * string IndexRange = 14; * @param value The indexRange to set. * @return This builder for chaining. */ public Builder setIndexRange( java.lang.String value) { if (value == null) { throw new NullPointerException(); } indexRange_ = value; onChanged(); return this; } /** *
     * dash segment_base 分片信息
     * 
* * string IndexRange = 14; * @return This builder for chaining. */ public Builder clearIndexRange() { indexRange_ = getDefaultInstance().getIndexRange(); onChanged(); return this; } /** *
     * dash segment_base 分片信息
     * 
* * string IndexRange = 14; * @param value The bytes for indexRange to set. * @return This builder for chaining. */ public Builder setIndexRangeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); indexRange_ = value; onChanged(); return this; } private java.lang.Object initRange_ = ""; /** *
     * dash segment_base 分片信息
     * 
* * string InitRange = 15; * @return The initRange. */ public java.lang.String getInitRange() { java.lang.Object ref = initRange_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initRange_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * dash segment_base 分片信息
     * 
* * string InitRange = 15; * @return The bytes for initRange. */ public com.google.protobuf.ByteString getInitRangeBytes() { java.lang.Object ref = initRange_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); initRange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * dash segment_base 分片信息
     * 
* * string InitRange = 15; * @param value The initRange to set. * @return This builder for chaining. */ public Builder setInitRange( java.lang.String value) { if (value == null) { throw new NullPointerException(); } initRange_ = value; onChanged(); return this; } /** *
     * dash segment_base 分片信息
     * 
* * string InitRange = 15; * @return This builder for chaining. */ public Builder clearInitRange() { initRange_ = getDefaultInstance().getInitRange(); onChanged(); return this; } /** *
     * dash segment_base 分片信息
     * 
* * string InitRange = 15; * @param value The bytes for initRange to set. * @return This builder for chaining. */ public Builder setInitRangeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); initRange_ = value; onChanged(); return this; } private java.lang.Object playAuth_ = ""; /** *
     *加密过的秘钥
     * 
* * string PlayAuth = 16; * @return The playAuth. */ public java.lang.String getPlayAuth() { java.lang.Object ref = playAuth_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); playAuth_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *加密过的秘钥
     * 
* * string PlayAuth = 16; * @return The bytes for playAuth. */ public com.google.protobuf.ByteString getPlayAuthBytes() { java.lang.Object ref = playAuth_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); playAuth_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *加密过的秘钥
     * 
* * string PlayAuth = 16; * @param value The playAuth to set. * @return This builder for chaining. */ public Builder setPlayAuth( java.lang.String value) { if (value == null) { throw new NullPointerException(); } playAuth_ = value; onChanged(); return this; } /** *
     *加密过的秘钥
     * 
* * string PlayAuth = 16; * @return This builder for chaining. */ public Builder clearPlayAuth() { playAuth_ = getDefaultInstance().getPlayAuth(); onChanged(); return this; } /** *
     *加密过的秘钥
     * 
* * string PlayAuth = 16; * @param value The bytes for playAuth to set. * @return This builder for chaining. */ public Builder setPlayAuthBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); playAuth_ = value; onChanged(); return this; } private java.lang.Object playAuthId_ = ""; /** *
     *密钥keyID
     * 
* * string PlayAuthId = 17; * @return The playAuthId. */ public java.lang.String getPlayAuthId() { java.lang.Object ref = playAuthId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); playAuthId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *密钥keyID
     * 
* * string PlayAuthId = 17; * @return The bytes for playAuthId. */ public com.google.protobuf.ByteString getPlayAuthIdBytes() { java.lang.Object ref = playAuthId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); playAuthId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *密钥keyID
     * 
* * string PlayAuthId = 17; * @param value The playAuthId to set. * @return This builder for chaining. */ public Builder setPlayAuthId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } playAuthId_ = value; onChanged(); return this; } /** *
     *密钥keyID
     * 
* * string PlayAuthId = 17; * @return This builder for chaining. */ public Builder clearPlayAuthId() { playAuthId_ = getDefaultInstance().getPlayAuthId(); onChanged(); return this; } /** *
     *密钥keyID
     * 
* * string PlayAuthId = 17; * @param value The bytes for playAuthId to set. * @return This builder for chaining. */ public Builder setPlayAuthIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); playAuthId_ = value; onChanged(); return this; } private java.lang.Object logoType_ = ""; /** *
     *水印类型
     * 
* * string LogoType = 18; * @return The logoType. */ public java.lang.String getLogoType() { java.lang.Object ref = logoType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *水印类型
     * 
* * string LogoType = 18; * @return The bytes for logoType. */ public com.google.protobuf.ByteString getLogoTypeBytes() { java.lang.Object ref = logoType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logoType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *水印类型
     * 
* * string LogoType = 18; * @param value The logoType to set. * @return This builder for chaining. */ public Builder setLogoType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } logoType_ = value; onChanged(); return this; } /** *
     *水印类型
     * 
* * string LogoType = 18; * @return This builder for chaining. */ public Builder clearLogoType() { logoType_ = getDefaultInstance().getLogoType(); onChanged(); return this; } /** *
     *水印类型
     * 
* * string LogoType = 18; * @param value The bytes for logoType to set. * @return This builder for chaining. */ public Builder setLogoTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); logoType_ = value; onChanged(); return this; } private java.lang.Object quality_ = ""; /** *
     *音频质量
     * 
* * string Quality = 19; * @return The quality. */ public java.lang.String getQuality() { java.lang.Object ref = quality_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); quality_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *音频质量
     * 
* * string Quality = 19; * @return The bytes for quality. */ public com.google.protobuf.ByteString getQualityBytes() { java.lang.Object ref = quality_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); quality_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *音频质量
     * 
* * string Quality = 19; * @param value The quality to set. * @return This builder for chaining. */ public Builder setQuality( java.lang.String value) { if (value == null) { throw new NullPointerException(); } quality_ = value; onChanged(); return this; } /** *
     *音频质量
     * 
* * string Quality = 19; * @return This builder for chaining. */ public Builder clearQuality() { quality_ = getDefaultInstance().getQuality(); onChanged(); return this; } /** *
     *音频质量
     * 
* * string Quality = 19; * @param value The bytes for quality to set. * @return This builder for chaining. */ public Builder setQualityBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); quality_ = value; onChanged(); return this; } private java.lang.Object barrageMaskOffset_ = ""; /** *
     * 弹幕蒙版偏移量
     * 
* * string BarrageMaskOffset = 20; * @return The barrageMaskOffset. */ public java.lang.String getBarrageMaskOffset() { java.lang.Object ref = barrageMaskOffset_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); barrageMaskOffset_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 弹幕蒙版偏移量
     * 
* * string BarrageMaskOffset = 20; * @return The bytes for barrageMaskOffset. */ public com.google.protobuf.ByteString getBarrageMaskOffsetBytes() { java.lang.Object ref = barrageMaskOffset_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); barrageMaskOffset_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 弹幕蒙版偏移量
     * 
* * string BarrageMaskOffset = 20; * @param value The barrageMaskOffset to set. * @return This builder for chaining. */ public Builder setBarrageMaskOffset( java.lang.String value) { if (value == null) { throw new NullPointerException(); } barrageMaskOffset_ = value; onChanged(); return this; } /** *
     * 弹幕蒙版偏移量
     * 
* * string BarrageMaskOffset = 20; * @return This builder for chaining. */ public Builder clearBarrageMaskOffset() { barrageMaskOffset_ = getDefaultInstance().getBarrageMaskOffset(); onChanged(); return this; } /** *
     * 弹幕蒙版偏移量
     * 
* * string BarrageMaskOffset = 20; * @param value The bytes for barrageMaskOffset to set. * @return This builder for chaining. */ public Builder setBarrageMaskOffsetBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); barrageMaskOffset_ = value; onChanged(); return this; } private float duration_ ; /** *
     *时长
     * 
* * float Duration = 21; * @return The duration. */ @java.lang.Override public float getDuration() { return duration_; } /** *
     *时长
     * 
* * float Duration = 21; * @param value The duration to set. * @return This builder for chaining. */ public Builder setDuration(float value) { duration_ = value; onChanged(); return this; } /** *
     *时长
     * 
* * float Duration = 21; * @return This builder for chaining. */ public Builder clearDuration() { duration_ = 0F; onChanged(); return this; } private java.lang.Object keyFrameAlignment_ = ""; /** *
     * 在转对齐,使用的帧对齐转码版本
     * 
* * string KeyFrameAlignment = 22; * @return The keyFrameAlignment. */ public java.lang.String getKeyFrameAlignment() { java.lang.Object ref = keyFrameAlignment_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyFrameAlignment_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 在转对齐,使用的帧对齐转码版本
     * 
* * string KeyFrameAlignment = 22; * @return The bytes for keyFrameAlignment. */ public com.google.protobuf.ByteString getKeyFrameAlignmentBytes() { java.lang.Object ref = keyFrameAlignment_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyFrameAlignment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 在转对齐,使用的帧对齐转码版本
     * 
* * string KeyFrameAlignment = 22; * @param value The keyFrameAlignment to set. * @return This builder for chaining. */ public Builder setKeyFrameAlignment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyFrameAlignment_ = value; onChanged(); return this; } /** *
     * 在转对齐,使用的帧对齐转码版本
     * 
* * string KeyFrameAlignment = 22; * @return This builder for chaining. */ public Builder clearKeyFrameAlignment() { keyFrameAlignment_ = getDefaultInstance().getKeyFrameAlignment(); onChanged(); return this; } /** *
     * 在转对齐,使用的帧对齐转码版本
     * 
* * string KeyFrameAlignment = 22; * @param value The bytes for keyFrameAlignment to set. * @return This builder for chaining. */ public Builder setKeyFrameAlignmentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyFrameAlignment_ = value; onChanged(); return this; } private com.volcengine.service.vod.model.business.VodVolumeInfo volume_; private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodVolumeInfo, com.volcengine.service.vod.model.business.VodVolumeInfo.Builder, com.volcengine.service.vod.model.business.VodVolumeInfoOrBuilder> volumeBuilder_; /** *
     *响度信息
     * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; * @return Whether the volume field is set. */ public boolean hasVolume() { return volumeBuilder_ != null || volume_ != null; } /** *
     *响度信息
     * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; * @return The volume. */ public com.volcengine.service.vod.model.business.VodVolumeInfo getVolume() { if (volumeBuilder_ == null) { return volume_ == null ? com.volcengine.service.vod.model.business.VodVolumeInfo.getDefaultInstance() : volume_; } else { return volumeBuilder_.getMessage(); } } /** *
     *响度信息
     * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; */ public Builder setVolume(com.volcengine.service.vod.model.business.VodVolumeInfo value) { if (volumeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } volume_ = value; onChanged(); } else { volumeBuilder_.setMessage(value); } return this; } /** *
     *响度信息
     * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; */ public Builder setVolume( com.volcengine.service.vod.model.business.VodVolumeInfo.Builder builderForValue) { if (volumeBuilder_ == null) { volume_ = builderForValue.build(); onChanged(); } else { volumeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *响度信息
     * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; */ public Builder mergeVolume(com.volcengine.service.vod.model.business.VodVolumeInfo value) { if (volumeBuilder_ == null) { if (volume_ != null) { volume_ = com.volcengine.service.vod.model.business.VodVolumeInfo.newBuilder(volume_).mergeFrom(value).buildPartial(); } else { volume_ = value; } onChanged(); } else { volumeBuilder_.mergeFrom(value); } return this; } /** *
     *响度信息
     * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; */ public Builder clearVolume() { if (volumeBuilder_ == null) { volume_ = null; onChanged(); } else { volume_ = null; volumeBuilder_ = null; } return this; } /** *
     *响度信息
     * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; */ public com.volcengine.service.vod.model.business.VodVolumeInfo.Builder getVolumeBuilder() { onChanged(); return getVolumeFieldBuilder().getBuilder(); } /** *
     *响度信息
     * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; */ public com.volcengine.service.vod.model.business.VodVolumeInfoOrBuilder getVolumeOrBuilder() { if (volumeBuilder_ != null) { return volumeBuilder_.getMessageOrBuilder(); } else { return volume_ == null ? com.volcengine.service.vod.model.business.VodVolumeInfo.getDefaultInstance() : volume_; } } /** *
     *响度信息
     * 
* * .Volcengine.Vod.Models.Business.VodVolumeInfo Volume = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodVolumeInfo, com.volcengine.service.vod.model.business.VodVolumeInfo.Builder, com.volcengine.service.vod.model.business.VodVolumeInfoOrBuilder> getVolumeFieldBuilder() { if (volumeBuilder_ == null) { volumeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodVolumeInfo, com.volcengine.service.vod.model.business.VodVolumeInfo.Builder, com.volcengine.service.vod.model.business.VodVolumeInfoOrBuilder>( getVolume(), getParentForChildren(), isClean()); volume_ = null; } return volumeBuilder_; } private java.lang.Object mainUrlExpire_ = ""; /** *
     * MainPlayUrl的过期时间
     * 
* * string MainUrlExpire = 24; * @return The mainUrlExpire. */ public java.lang.String getMainUrlExpire() { java.lang.Object ref = mainUrlExpire_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mainUrlExpire_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * MainPlayUrl的过期时间
     * 
* * string MainUrlExpire = 24; * @return The bytes for mainUrlExpire. */ public com.google.protobuf.ByteString getMainUrlExpireBytes() { java.lang.Object ref = mainUrlExpire_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mainUrlExpire_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * MainPlayUrl的过期时间
     * 
* * string MainUrlExpire = 24; * @param value The mainUrlExpire to set. * @return This builder for chaining. */ public Builder setMainUrlExpire( java.lang.String value) { if (value == null) { throw new NullPointerException(); } mainUrlExpire_ = value; onChanged(); return this; } /** *
     * MainPlayUrl的过期时间
     * 
* * string MainUrlExpire = 24; * @return This builder for chaining. */ public Builder clearMainUrlExpire() { mainUrlExpire_ = getDefaultInstance().getMainUrlExpire(); onChanged(); return this; } /** *
     * MainPlayUrl的过期时间
     * 
* * string MainUrlExpire = 24; * @param value The bytes for mainUrlExpire to set. * @return This builder for chaining. */ public Builder setMainUrlExpireBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); mainUrlExpire_ = value; onChanged(); return this; } private java.lang.Object backupUrlExpire_ = ""; /** *
     * BackupPlayUrl的过期时间
     * 
* * string BackupUrlExpire = 25; * @return The backupUrlExpire. */ public java.lang.String getBackupUrlExpire() { java.lang.Object ref = backupUrlExpire_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupUrlExpire_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * BackupPlayUrl的过期时间
     * 
* * string BackupUrlExpire = 25; * @return The bytes for backupUrlExpire. */ public com.google.protobuf.ByteString getBackupUrlExpireBytes() { java.lang.Object ref = backupUrlExpire_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); backupUrlExpire_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * BackupPlayUrl的过期时间
     * 
* * string BackupUrlExpire = 25; * @param value The backupUrlExpire to set. * @return This builder for chaining. */ public Builder setBackupUrlExpire( java.lang.String value) { if (value == null) { throw new NullPointerException(); } backupUrlExpire_ = value; onChanged(); return this; } /** *
     * BackupPlayUrl的过期时间
     * 
* * string BackupUrlExpire = 25; * @return This builder for chaining. */ public Builder clearBackupUrlExpire() { backupUrlExpire_ = getDefaultInstance().getBackupUrlExpire(); onChanged(); return this; } /** *
     * BackupPlayUrl的过期时间
     * 
* * string BackupUrlExpire = 25; * @param value The bytes for backupUrlExpire to set. * @return This builder for chaining. */ public Builder setBackupUrlExpireBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupUrlExpire_ = value; onChanged(); return this; } @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.VodPlayInfo) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodPlayInfo) private static final com.volcengine.service.vod.model.business.VodPlayInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodPlayInfo(); } public static com.volcengine.service.vod.model.business.VodPlayInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodPlayInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodPlayInfo(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.VodPlayInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy