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

com.byteplus.service.vod.model.business.VodSourceInfo 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.VodSourceInfo}
 */
public final class VodSourceInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodSourceInfo)
    VodSourceInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodSourceInfo.newBuilder() to construct.
  private VodSourceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodSourceInfo() {
    fileId_ = "";
    md5_ = "";
    fileType_ = "";
    codec_ = "";
    format_ = "";
    storeUri_ = "";
    definition_ = "";
    createTime_ = "";
    quality_ = "";
    dynamicRange_ = "";
    tosStorageClass_ = "";
    fileName_ = "";
  }

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

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

            codec_ = s;
            break;
          }
          case 40: {

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

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

            format_ = s;
            break;
          }
          case 69: {

            duration_ = input.readFloat();
            break;
          }
          case 73: {

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

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

            definition_ = s;
            break;
          }
          case 96: {

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

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

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

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

            dynamicRange_ = s;
            break;
          }
          case 138: {
            com.byteplus.service.vod.model.business.VodVideoStreamMeta.Builder subBuilder = null;
            if (videoStreamMeta_ != null) {
              subBuilder = videoStreamMeta_.toBuilder();
            }
            videoStreamMeta_ = input.readMessage(com.byteplus.service.vod.model.business.VodVideoStreamMeta.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(videoStreamMeta_);
              videoStreamMeta_ = subBuilder.buildPartial();
            }

            break;
          }
          case 146: {
            com.byteplus.service.vod.model.business.VodAudioStreamMeta.Builder subBuilder = null;
            if (audioStreamMeta_ != null) {
              subBuilder = audioStreamMeta_.toBuilder();
            }
            audioStreamMeta_ = input.readMessage(com.byteplus.service.vod.model.business.VodAudioStreamMeta.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(audioStreamMeta_);
              audioStreamMeta_ = subBuilder.buildPartial();
            }

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

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

            fileName_ = 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.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodSourceInfo_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_VodSourceInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.byteplus.service.vod.model.business.VodSourceInfo.class, com.byteplus.service.vod.model.business.VodSourceInfo.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 CODEC_FIELD_NUMBER = 4; private volatile java.lang.Object codec_; /** *
   *编码格式
   * 
* * string Codec = 4; * @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 = 4; * @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 HEIGHT_FIELD_NUMBER = 5; private int height_; /** *
   *视频高度
   * 
* * int32 Height = 5; * @return The height. */ @java.lang.Override public int getHeight() { return height_; } public static final int WIDTH_FIELD_NUMBER = 6; private int width_; /** *
   *视频宽度
   * 
* * int32 Width = 6; * @return The width. */ @java.lang.Override public int getWidth() { return width_; } public static final int FORMAT_FIELD_NUMBER = 7; private volatile java.lang.Object format_; /** *
   *文件格式
   * 
* * string Format = 7; * @return The format. */ @java.lang.Override public java.lang.String getFormat() { java.lang.Object ref = format_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; } } /** *
   *文件格式
   * 
* * string Format = 7; * @return The bytes for format. */ @java.lang.Override public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DURATION_FIELD_NUMBER = 8; private float duration_; /** *
   *时长
   * 
* * float Duration = 8; * @return The duration. */ @java.lang.Override public float getDuration() { return duration_; } public static final int SIZE_FIELD_NUMBER = 9; private double size_; /** *
   *文件大小
   * 
* * double Size = 9; * @return The size. */ @java.lang.Override public double getSize() { return size_; } public static final int STOREURI_FIELD_NUMBER = 10; private volatile java.lang.Object storeUri_; /** *
   *对象地址
   * 
* * string StoreUri = 10; * @return The storeUri. */ @java.lang.Override public java.lang.String getStoreUri() { java.lang.Object ref = storeUri_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeUri_ = s; return s; } } /** *
   *对象地址
   * 
* * string StoreUri = 10; * @return The bytes for storeUri. */ @java.lang.Override public com.google.protobuf.ByteString getStoreUriBytes() { java.lang.Object ref = storeUri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFINITION_FIELD_NUMBER = 11; private volatile java.lang.Object definition_; /** *
   *视频分辨率
   * 
* * string Definition = 11; * @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 = 11; * @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 BITRATE_FIELD_NUMBER = 12; private int bitrate_; /** *
   *码率(Kbps)
   * 
* * int32 Bitrate = 12; * @return The bitrate. */ @java.lang.Override public int getBitrate() { return bitrate_; } public static final int FPS_FIELD_NUMBER = 13; private float fps_; /** *
   *帧率
   * 
* * float Fps = 13; * @return The fps. */ @java.lang.Override public float getFps() { return fps_; } public static final int CREATETIME_FIELD_NUMBER = 14; private volatile java.lang.Object createTime_; /** *
   *创建时间
   * 
* * string CreateTime = 14; * @return The createTime. */ @java.lang.Override public java.lang.String getCreateTime() { java.lang.Object ref = createTime_; 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(); createTime_ = s; return s; } } /** *
   *创建时间
   * 
* * string CreateTime = 14; * @return The bytes for createTime. */ @java.lang.Override public com.google.protobuf.ByteString getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUALITY_FIELD_NUMBER = 15; private volatile java.lang.Object quality_; /** *
   *音频质量
   * 
* * string Quality = 15; * @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 = 15; * @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 DYNAMICRANGE_FIELD_NUMBER = 16; private volatile java.lang.Object dynamicRange_; /** *
   *动态范围,"HDR" or "SDR"
   * 
* * string DynamicRange = 16; * @return The dynamicRange. */ @java.lang.Override public java.lang.String getDynamicRange() { java.lang.Object ref = dynamicRange_; 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(); dynamicRange_ = s; return s; } } /** *
   *动态范围,"HDR" or "SDR"
   * 
* * string DynamicRange = 16; * @return The bytes for dynamicRange. */ @java.lang.Override public com.google.protobuf.ByteString getDynamicRangeBytes() { java.lang.Object ref = dynamicRange_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dynamicRange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VIDEOSTREAMMETA_FIELD_NUMBER = 17; private com.byteplus.service.vod.model.business.VodVideoStreamMeta videoStreamMeta_; /** *
   *视频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; * @return Whether the videoStreamMeta field is set. */ @java.lang.Override public boolean hasVideoStreamMeta() { return videoStreamMeta_ != null; } /** *
   *视频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; * @return The videoStreamMeta. */ @java.lang.Override public com.byteplus.service.vod.model.business.VodVideoStreamMeta getVideoStreamMeta() { return videoStreamMeta_ == null ? com.byteplus.service.vod.model.business.VodVideoStreamMeta.getDefaultInstance() : videoStreamMeta_; } /** *
   *视频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodVideoStreamMetaOrBuilder getVideoStreamMetaOrBuilder() { return getVideoStreamMeta(); } public static final int AUDIOSTREAMMETA_FIELD_NUMBER = 18; private com.byteplus.service.vod.model.business.VodAudioStreamMeta audioStreamMeta_; /** *
   *音频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; * @return Whether the audioStreamMeta field is set. */ @java.lang.Override public boolean hasAudioStreamMeta() { return audioStreamMeta_ != null; } /** *
   *音频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; * @return The audioStreamMeta. */ @java.lang.Override public com.byteplus.service.vod.model.business.VodAudioStreamMeta getAudioStreamMeta() { return audioStreamMeta_ == null ? com.byteplus.service.vod.model.business.VodAudioStreamMeta.getDefaultInstance() : audioStreamMeta_; } /** *
   *音频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodAudioStreamMetaOrBuilder getAudioStreamMetaOrBuilder() { return getAudioStreamMeta(); } public static final int TOSSTORAGECLASS_FIELD_NUMBER = 19; private volatile java.lang.Object tosStorageClass_; /** *
   *存储类型,STANDARD or ARCHIVE
   * 
* * string TosStorageClass = 19; * @return The tosStorageClass. */ @java.lang.Override public java.lang.String getTosStorageClass() { java.lang.Object ref = tosStorageClass_; 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(); tosStorageClass_ = s; return s; } } /** *
   *存储类型,STANDARD or ARCHIVE
   * 
* * string TosStorageClass = 19; * @return The bytes for tosStorageClass. */ @java.lang.Override public com.google.protobuf.ByteString getTosStorageClassBytes() { java.lang.Object ref = tosStorageClass_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tosStorageClass_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILENAME_FIELD_NUMBER = 20; private volatile java.lang.Object fileName_; /** *
   *文件名
   * 
* * string FileName = 20; * @return The fileName. */ @java.lang.Override public java.lang.String getFileName() { java.lang.Object ref = fileName_; 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(); fileName_ = s; return s; } } /** *
   *文件名
   * 
* * string FileName = 20; * @return The bytes for fileName. */ @java.lang.Override public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = 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(codec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, codec_); } if (height_ != 0) { output.writeInt32(5, height_); } if (width_ != 0) { output.writeInt32(6, width_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, format_); } if (java.lang.Float.floatToRawIntBits(duration_) != 0) { output.writeFloat(8, duration_); } if (java.lang.Double.doubleToRawLongBits(size_) != 0) { output.writeDouble(9, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, storeUri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, definition_); } if (bitrate_ != 0) { output.writeInt32(12, bitrate_); } if (java.lang.Float.floatToRawIntBits(fps_) != 0) { output.writeFloat(13, fps_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, createTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quality_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, quality_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dynamicRange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, dynamicRange_); } if (videoStreamMeta_ != null) { output.writeMessage(17, getVideoStreamMeta()); } if (audioStreamMeta_ != null) { output.writeMessage(18, getAudioStreamMeta()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tosStorageClass_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, tosStorageClass_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 20, fileName_); } 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(codec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, codec_); } if (height_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, height_); } if (width_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, width_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, format_); } if (java.lang.Float.floatToRawIntBits(duration_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(8, duration_); } if (java.lang.Double.doubleToRawLongBits(size_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, storeUri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, definition_); } if (bitrate_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(12, bitrate_); } if (java.lang.Float.floatToRawIntBits(fps_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(13, fps_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, createTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(quality_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, quality_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dynamicRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, dynamicRange_); } if (videoStreamMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getVideoStreamMeta()); } if (audioStreamMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getAudioStreamMeta()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tosStorageClass_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, tosStorageClass_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, fileName_); } 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.VodSourceInfo)) { return super.equals(obj); } com.byteplus.service.vod.model.business.VodSourceInfo other = (com.byteplus.service.vod.model.business.VodSourceInfo) obj; if (!getFileId() .equals(other.getFileId())) return false; if (!getMd5() .equals(other.getMd5())) return false; if (!getFileType() .equals(other.getFileType())) return false; if (!getCodec() .equals(other.getCodec())) return false; if (getHeight() != other.getHeight()) return false; if (getWidth() != other.getWidth()) return false; if (!getFormat() .equals(other.getFormat())) return false; if (java.lang.Float.floatToIntBits(getDuration()) != java.lang.Float.floatToIntBits( other.getDuration())) return false; if (java.lang.Double.doubleToLongBits(getSize()) != java.lang.Double.doubleToLongBits( other.getSize())) return false; if (!getStoreUri() .equals(other.getStoreUri())) return false; if (!getDefinition() .equals(other.getDefinition())) return false; if (getBitrate() != other.getBitrate()) return false; if (java.lang.Float.floatToIntBits(getFps()) != java.lang.Float.floatToIntBits( other.getFps())) return false; if (!getCreateTime() .equals(other.getCreateTime())) return false; if (!getQuality() .equals(other.getQuality())) return false; if (!getDynamicRange() .equals(other.getDynamicRange())) return false; if (hasVideoStreamMeta() != other.hasVideoStreamMeta()) return false; if (hasVideoStreamMeta()) { if (!getVideoStreamMeta() .equals(other.getVideoStreamMeta())) return false; } if (hasAudioStreamMeta() != other.hasAudioStreamMeta()) return false; if (hasAudioStreamMeta()) { if (!getAudioStreamMeta() .equals(other.getAudioStreamMeta())) return false; } if (!getTosStorageClass() .equals(other.getTosStorageClass())) return false; if (!getFileName() .equals(other.getFileName())) 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) + CODEC_FIELD_NUMBER; hash = (53 * hash) + getCodec().hashCode(); hash = (37 * hash) + HEIGHT_FIELD_NUMBER; hash = (53 * hash) + getHeight(); hash = (37 * hash) + WIDTH_FIELD_NUMBER; hash = (53 * hash) + getWidth(); hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + getFormat().hashCode(); hash = (37 * hash) + DURATION_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getDuration()); hash = (37 * hash) + SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSize())); hash = (37 * hash) + STOREURI_FIELD_NUMBER; hash = (53 * hash) + getStoreUri().hashCode(); hash = (37 * hash) + DEFINITION_FIELD_NUMBER; hash = (53 * hash) + getDefinition().hashCode(); hash = (37 * hash) + BITRATE_FIELD_NUMBER; hash = (53 * hash) + getBitrate(); hash = (37 * hash) + FPS_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getFps()); hash = (37 * hash) + CREATETIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); hash = (37 * hash) + QUALITY_FIELD_NUMBER; hash = (53 * hash) + getQuality().hashCode(); hash = (37 * hash) + DYNAMICRANGE_FIELD_NUMBER; hash = (53 * hash) + getDynamicRange().hashCode(); if (hasVideoStreamMeta()) { hash = (37 * hash) + VIDEOSTREAMMETA_FIELD_NUMBER; hash = (53 * hash) + getVideoStreamMeta().hashCode(); } if (hasAudioStreamMeta()) { hash = (37 * hash) + AUDIOSTREAMMETA_FIELD_NUMBER; hash = (53 * hash) + getAudioStreamMeta().hashCode(); } hash = (37 * hash) + TOSSTORAGECLASS_FIELD_NUMBER; hash = (53 * hash) + getTosStorageClass().hashCode(); hash = (37 * hash) + FILENAME_FIELD_NUMBER; hash = (53 * hash) + getFileName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.VodSourceInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodSourceInfo 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.VodSourceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodSourceInfo 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.VodSourceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodSourceInfo 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.VodSourceInfo 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.VodSourceInfo 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.VodSourceInfo 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.VodSourceInfo 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.VodSourceInfo 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.VodSourceInfo 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.VodSourceInfo 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.VodSourceInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodSourceInfo) com.byteplus.service.vod.model.business.VodSourceInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodSourceInfo_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_VodSourceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.VodSourceInfo.class, com.byteplus.service.vod.model.business.VodSourceInfo.Builder.class); } // Construct using com.byteplus.service.vod.model.business.VodSourceInfo.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_ = ""; codec_ = ""; height_ = 0; width_ = 0; format_ = ""; duration_ = 0F; size_ = 0D; storeUri_ = ""; definition_ = ""; bitrate_ = 0; fps_ = 0F; createTime_ = ""; quality_ = ""; dynamicRange_ = ""; if (videoStreamMetaBuilder_ == null) { videoStreamMeta_ = null; } else { videoStreamMeta_ = null; videoStreamMetaBuilder_ = null; } if (audioStreamMetaBuilder_ == null) { audioStreamMeta_ = null; } else { audioStreamMeta_ = null; audioStreamMetaBuilder_ = null; } tosStorageClass_ = ""; fileName_ = ""; 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_VodSourceInfo_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.VodSourceInfo getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.VodSourceInfo.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.VodSourceInfo build() { com.byteplus.service.vod.model.business.VodSourceInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.VodSourceInfo buildPartial() { com.byteplus.service.vod.model.business.VodSourceInfo result = new com.byteplus.service.vod.model.business.VodSourceInfo(this); result.fileId_ = fileId_; result.md5_ = md5_; result.fileType_ = fileType_; result.codec_ = codec_; result.height_ = height_; result.width_ = width_; result.format_ = format_; result.duration_ = duration_; result.size_ = size_; result.storeUri_ = storeUri_; result.definition_ = definition_; result.bitrate_ = bitrate_; result.fps_ = fps_; result.createTime_ = createTime_; result.quality_ = quality_; result.dynamicRange_ = dynamicRange_; if (videoStreamMetaBuilder_ == null) { result.videoStreamMeta_ = videoStreamMeta_; } else { result.videoStreamMeta_ = videoStreamMetaBuilder_.build(); } if (audioStreamMetaBuilder_ == null) { result.audioStreamMeta_ = audioStreamMeta_; } else { result.audioStreamMeta_ = audioStreamMetaBuilder_.build(); } result.tosStorageClass_ = tosStorageClass_; result.fileName_ = fileName_; 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.VodSourceInfo) { return mergeFrom((com.byteplus.service.vod.model.business.VodSourceInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.VodSourceInfo other) { if (other == com.byteplus.service.vod.model.business.VodSourceInfo.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.getCodec().isEmpty()) { codec_ = other.codec_; onChanged(); } if (other.getHeight() != 0) { setHeight(other.getHeight()); } if (other.getWidth() != 0) { setWidth(other.getWidth()); } if (!other.getFormat().isEmpty()) { format_ = other.format_; onChanged(); } if (other.getDuration() != 0F) { setDuration(other.getDuration()); } if (other.getSize() != 0D) { setSize(other.getSize()); } if (!other.getStoreUri().isEmpty()) { storeUri_ = other.storeUri_; onChanged(); } if (!other.getDefinition().isEmpty()) { definition_ = other.definition_; onChanged(); } if (other.getBitrate() != 0) { setBitrate(other.getBitrate()); } if (other.getFps() != 0F) { setFps(other.getFps()); } if (!other.getCreateTime().isEmpty()) { createTime_ = other.createTime_; onChanged(); } if (!other.getQuality().isEmpty()) { quality_ = other.quality_; onChanged(); } if (!other.getDynamicRange().isEmpty()) { dynamicRange_ = other.dynamicRange_; onChanged(); } if (other.hasVideoStreamMeta()) { mergeVideoStreamMeta(other.getVideoStreamMeta()); } if (other.hasAudioStreamMeta()) { mergeAudioStreamMeta(other.getAudioStreamMeta()); } if (!other.getTosStorageClass().isEmpty()) { tosStorageClass_ = other.tosStorageClass_; onChanged(); } if (!other.getFileName().isEmpty()) { fileName_ = other.fileName_; 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.byteplus.service.vod.model.business.VodSourceInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.VodSourceInfo) 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 codec_ = ""; /** *
     *编码格式
     * 
* * string Codec = 4; * @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 = 4; * @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 = 4; * @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 = 4; * @return This builder for chaining. */ public Builder clearCodec() { codec_ = getDefaultInstance().getCodec(); onChanged(); return this; } /** *
     *编码格式
     * 
* * string Codec = 4; * @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 int height_ ; /** *
     *视频高度
     * 
* * int32 Height = 5; * @return The height. */ @java.lang.Override public int getHeight() { return height_; } /** *
     *视频高度
     * 
* * int32 Height = 5; * @param value The height to set. * @return This builder for chaining. */ public Builder setHeight(int value) { height_ = value; onChanged(); return this; } /** *
     *视频高度
     * 
* * int32 Height = 5; * @return This builder for chaining. */ public Builder clearHeight() { height_ = 0; onChanged(); return this; } private int width_ ; /** *
     *视频宽度
     * 
* * int32 Width = 6; * @return The width. */ @java.lang.Override public int getWidth() { return width_; } /** *
     *视频宽度
     * 
* * int32 Width = 6; * @param value The width to set. * @return This builder for chaining. */ public Builder setWidth(int value) { width_ = value; onChanged(); return this; } /** *
     *视频宽度
     * 
* * int32 Width = 6; * @return This builder for chaining. */ public Builder clearWidth() { width_ = 0; onChanged(); return this; } private java.lang.Object format_ = ""; /** *
     *文件格式
     * 
* * string Format = 7; * @return The format. */ public java.lang.String getFormat() { java.lang.Object ref = format_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *文件格式
     * 
* * string Format = 7; * @return The bytes for format. */ public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *文件格式
     * 
* * string Format = 7; * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } format_ = value; onChanged(); return this; } /** *
     *文件格式
     * 
* * string Format = 7; * @return This builder for chaining. */ public Builder clearFormat() { format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** *
     *文件格式
     * 
* * string Format = 7; * @param value The bytes for format to set. * @return This builder for chaining. */ public Builder setFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); format_ = value; onChanged(); return this; } private float duration_ ; /** *
     *时长
     * 
* * float Duration = 8; * @return The duration. */ @java.lang.Override public float getDuration() { return duration_; } /** *
     *时长
     * 
* * float Duration = 8; * @param value The duration to set. * @return This builder for chaining. */ public Builder setDuration(float value) { duration_ = value; onChanged(); return this; } /** *
     *时长
     * 
* * float Duration = 8; * @return This builder for chaining. */ public Builder clearDuration() { duration_ = 0F; onChanged(); return this; } private double size_ ; /** *
     *文件大小
     * 
* * double Size = 9; * @return The size. */ @java.lang.Override public double getSize() { return size_; } /** *
     *文件大小
     * 
* * double Size = 9; * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(double value) { size_ = value; onChanged(); return this; } /** *
     *文件大小
     * 
* * double Size = 9; * @return This builder for chaining. */ public Builder clearSize() { size_ = 0D; onChanged(); return this; } private java.lang.Object storeUri_ = ""; /** *
     *对象地址
     * 
* * string StoreUri = 10; * @return The storeUri. */ public java.lang.String getStoreUri() { java.lang.Object ref = storeUri_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); storeUri_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *对象地址
     * 
* * string StoreUri = 10; * @return The bytes for storeUri. */ public com.google.protobuf.ByteString getStoreUriBytes() { java.lang.Object ref = storeUri_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); storeUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *对象地址
     * 
* * string StoreUri = 10; * @param value The storeUri to set. * @return This builder for chaining. */ public Builder setStoreUri( java.lang.String value) { if (value == null) { throw new NullPointerException(); } storeUri_ = value; onChanged(); return this; } /** *
     *对象地址
     * 
* * string StoreUri = 10; * @return This builder for chaining. */ public Builder clearStoreUri() { storeUri_ = getDefaultInstance().getStoreUri(); onChanged(); return this; } /** *
     *对象地址
     * 
* * string StoreUri = 10; * @param value The bytes for storeUri to set. * @return This builder for chaining. */ public Builder setStoreUriBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); storeUri_ = value; onChanged(); return this; } private java.lang.Object definition_ = ""; /** *
     *视频分辨率
     * 
* * string Definition = 11; * @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 = 11; * @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 = 11; * @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 = 11; * @return This builder for chaining. */ public Builder clearDefinition() { definition_ = getDefaultInstance().getDefinition(); onChanged(); return this; } /** *
     *视频分辨率
     * 
* * string Definition = 11; * @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 int bitrate_ ; /** *
     *码率(Kbps)
     * 
* * int32 Bitrate = 12; * @return The bitrate. */ @java.lang.Override public int getBitrate() { return bitrate_; } /** *
     *码率(Kbps)
     * 
* * int32 Bitrate = 12; * @param value The bitrate to set. * @return This builder for chaining. */ public Builder setBitrate(int value) { bitrate_ = value; onChanged(); return this; } /** *
     *码率(Kbps)
     * 
* * int32 Bitrate = 12; * @return This builder for chaining. */ public Builder clearBitrate() { bitrate_ = 0; onChanged(); return this; } private float fps_ ; /** *
     *帧率
     * 
* * float Fps = 13; * @return The fps. */ @java.lang.Override public float getFps() { return fps_; } /** *
     *帧率
     * 
* * float Fps = 13; * @param value The fps to set. * @return This builder for chaining. */ public Builder setFps(float value) { fps_ = value; onChanged(); return this; } /** *
     *帧率
     * 
* * float Fps = 13; * @return This builder for chaining. */ public Builder clearFps() { fps_ = 0F; onChanged(); return this; } private java.lang.Object createTime_ = ""; /** *
     *创建时间
     * 
* * string CreateTime = 14; * @return The createTime. */ public java.lang.String getCreateTime() { java.lang.Object ref = createTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *创建时间
     * 
* * string CreateTime = 14; * @return The bytes for createTime. */ public com.google.protobuf.ByteString getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); createTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *创建时间
     * 
* * string CreateTime = 14; * @param value The createTime to set. * @return This builder for chaining. */ public Builder setCreateTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } createTime_ = value; onChanged(); return this; } /** *
     *创建时间
     * 
* * string CreateTime = 14; * @return This builder for chaining. */ public Builder clearCreateTime() { createTime_ = getDefaultInstance().getCreateTime(); onChanged(); return this; } /** *
     *创建时间
     * 
* * string CreateTime = 14; * @param value The bytes for createTime to set. * @return This builder for chaining. */ public Builder setCreateTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); createTime_ = value; onChanged(); return this; } private java.lang.Object quality_ = ""; /** *
     *音频质量
     * 
* * string Quality = 15; * @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 = 15; * @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 = 15; * @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 = 15; * @return This builder for chaining. */ public Builder clearQuality() { quality_ = getDefaultInstance().getQuality(); onChanged(); return this; } /** *
     *音频质量
     * 
* * string Quality = 15; * @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 dynamicRange_ = ""; /** *
     *动态范围,"HDR" or "SDR"
     * 
* * string DynamicRange = 16; * @return The dynamicRange. */ public java.lang.String getDynamicRange() { java.lang.Object ref = dynamicRange_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dynamicRange_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *动态范围,"HDR" or "SDR"
     * 
* * string DynamicRange = 16; * @return The bytes for dynamicRange. */ public com.google.protobuf.ByteString getDynamicRangeBytes() { java.lang.Object ref = dynamicRange_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dynamicRange_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *动态范围,"HDR" or "SDR"
     * 
* * string DynamicRange = 16; * @param value The dynamicRange to set. * @return This builder for chaining. */ public Builder setDynamicRange( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dynamicRange_ = value; onChanged(); return this; } /** *
     *动态范围,"HDR" or "SDR"
     * 
* * string DynamicRange = 16; * @return This builder for chaining. */ public Builder clearDynamicRange() { dynamicRange_ = getDefaultInstance().getDynamicRange(); onChanged(); return this; } /** *
     *动态范围,"HDR" or "SDR"
     * 
* * string DynamicRange = 16; * @param value The bytes for dynamicRange to set. * @return This builder for chaining. */ public Builder setDynamicRangeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dynamicRange_ = value; onChanged(); return this; } private com.byteplus.service.vod.model.business.VodVideoStreamMeta videoStreamMeta_; private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodVideoStreamMeta, com.byteplus.service.vod.model.business.VodVideoStreamMeta.Builder, com.byteplus.service.vod.model.business.VodVideoStreamMetaOrBuilder> videoStreamMetaBuilder_; /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; * @return Whether the videoStreamMeta field is set. */ public boolean hasVideoStreamMeta() { return videoStreamMetaBuilder_ != null || videoStreamMeta_ != null; } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; * @return The videoStreamMeta. */ public com.byteplus.service.vod.model.business.VodVideoStreamMeta getVideoStreamMeta() { if (videoStreamMetaBuilder_ == null) { return videoStreamMeta_ == null ? com.byteplus.service.vod.model.business.VodVideoStreamMeta.getDefaultInstance() : videoStreamMeta_; } else { return videoStreamMetaBuilder_.getMessage(); } } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; */ public Builder setVideoStreamMeta(com.byteplus.service.vod.model.business.VodVideoStreamMeta value) { if (videoStreamMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } videoStreamMeta_ = value; onChanged(); } else { videoStreamMetaBuilder_.setMessage(value); } return this; } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; */ public Builder setVideoStreamMeta( com.byteplus.service.vod.model.business.VodVideoStreamMeta.Builder builderForValue) { if (videoStreamMetaBuilder_ == null) { videoStreamMeta_ = builderForValue.build(); onChanged(); } else { videoStreamMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; */ public Builder mergeVideoStreamMeta(com.byteplus.service.vod.model.business.VodVideoStreamMeta value) { if (videoStreamMetaBuilder_ == null) { if (videoStreamMeta_ != null) { videoStreamMeta_ = com.byteplus.service.vod.model.business.VodVideoStreamMeta.newBuilder(videoStreamMeta_).mergeFrom(value).buildPartial(); } else { videoStreamMeta_ = value; } onChanged(); } else { videoStreamMetaBuilder_.mergeFrom(value); } return this; } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; */ public Builder clearVideoStreamMeta() { if (videoStreamMetaBuilder_ == null) { videoStreamMeta_ = null; onChanged(); } else { videoStreamMeta_ = null; videoStreamMetaBuilder_ = null; } return this; } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; */ public com.byteplus.service.vod.model.business.VodVideoStreamMeta.Builder getVideoStreamMetaBuilder() { onChanged(); return getVideoStreamMetaFieldBuilder().getBuilder(); } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; */ public com.byteplus.service.vod.model.business.VodVideoStreamMetaOrBuilder getVideoStreamMetaOrBuilder() { if (videoStreamMetaBuilder_ != null) { return videoStreamMetaBuilder_.getMessageOrBuilder(); } else { return videoStreamMeta_ == null ? com.byteplus.service.vod.model.business.VodVideoStreamMeta.getDefaultInstance() : videoStreamMeta_; } } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodVideoStreamMeta, com.byteplus.service.vod.model.business.VodVideoStreamMeta.Builder, com.byteplus.service.vod.model.business.VodVideoStreamMetaOrBuilder> getVideoStreamMetaFieldBuilder() { if (videoStreamMetaBuilder_ == null) { videoStreamMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodVideoStreamMeta, com.byteplus.service.vod.model.business.VodVideoStreamMeta.Builder, com.byteplus.service.vod.model.business.VodVideoStreamMetaOrBuilder>( getVideoStreamMeta(), getParentForChildren(), isClean()); videoStreamMeta_ = null; } return videoStreamMetaBuilder_; } private com.byteplus.service.vod.model.business.VodAudioStreamMeta audioStreamMeta_; private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodAudioStreamMeta, com.byteplus.service.vod.model.business.VodAudioStreamMeta.Builder, com.byteplus.service.vod.model.business.VodAudioStreamMetaOrBuilder> audioStreamMetaBuilder_; /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; * @return Whether the audioStreamMeta field is set. */ public boolean hasAudioStreamMeta() { return audioStreamMetaBuilder_ != null || audioStreamMeta_ != null; } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; * @return The audioStreamMeta. */ public com.byteplus.service.vod.model.business.VodAudioStreamMeta getAudioStreamMeta() { if (audioStreamMetaBuilder_ == null) { return audioStreamMeta_ == null ? com.byteplus.service.vod.model.business.VodAudioStreamMeta.getDefaultInstance() : audioStreamMeta_; } else { return audioStreamMetaBuilder_.getMessage(); } } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; */ public Builder setAudioStreamMeta(com.byteplus.service.vod.model.business.VodAudioStreamMeta value) { if (audioStreamMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } audioStreamMeta_ = value; onChanged(); } else { audioStreamMetaBuilder_.setMessage(value); } return this; } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; */ public Builder setAudioStreamMeta( com.byteplus.service.vod.model.business.VodAudioStreamMeta.Builder builderForValue) { if (audioStreamMetaBuilder_ == null) { audioStreamMeta_ = builderForValue.build(); onChanged(); } else { audioStreamMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; */ public Builder mergeAudioStreamMeta(com.byteplus.service.vod.model.business.VodAudioStreamMeta value) { if (audioStreamMetaBuilder_ == null) { if (audioStreamMeta_ != null) { audioStreamMeta_ = com.byteplus.service.vod.model.business.VodAudioStreamMeta.newBuilder(audioStreamMeta_).mergeFrom(value).buildPartial(); } else { audioStreamMeta_ = value; } onChanged(); } else { audioStreamMetaBuilder_.mergeFrom(value); } return this; } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; */ public Builder clearAudioStreamMeta() { if (audioStreamMetaBuilder_ == null) { audioStreamMeta_ = null; onChanged(); } else { audioStreamMeta_ = null; audioStreamMetaBuilder_ = null; } return this; } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; */ public com.byteplus.service.vod.model.business.VodAudioStreamMeta.Builder getAudioStreamMetaBuilder() { onChanged(); return getAudioStreamMetaFieldBuilder().getBuilder(); } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; */ public com.byteplus.service.vod.model.business.VodAudioStreamMetaOrBuilder getAudioStreamMetaOrBuilder() { if (audioStreamMetaBuilder_ != null) { return audioStreamMetaBuilder_.getMessageOrBuilder(); } else { return audioStreamMeta_ == null ? com.byteplus.service.vod.model.business.VodAudioStreamMeta.getDefaultInstance() : audioStreamMeta_; } } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodAudioStreamMeta, com.byteplus.service.vod.model.business.VodAudioStreamMeta.Builder, com.byteplus.service.vod.model.business.VodAudioStreamMetaOrBuilder> getAudioStreamMetaFieldBuilder() { if (audioStreamMetaBuilder_ == null) { audioStreamMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.byteplus.service.vod.model.business.VodAudioStreamMeta, com.byteplus.service.vod.model.business.VodAudioStreamMeta.Builder, com.byteplus.service.vod.model.business.VodAudioStreamMetaOrBuilder>( getAudioStreamMeta(), getParentForChildren(), isClean()); audioStreamMeta_ = null; } return audioStreamMetaBuilder_; } private java.lang.Object tosStorageClass_ = ""; /** *
     *存储类型,STANDARD or ARCHIVE
     * 
* * string TosStorageClass = 19; * @return The tosStorageClass. */ public java.lang.String getTosStorageClass() { java.lang.Object ref = tosStorageClass_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tosStorageClass_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *存储类型,STANDARD or ARCHIVE
     * 
* * string TosStorageClass = 19; * @return The bytes for tosStorageClass. */ public com.google.protobuf.ByteString getTosStorageClassBytes() { java.lang.Object ref = tosStorageClass_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tosStorageClass_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *存储类型,STANDARD or ARCHIVE
     * 
* * string TosStorageClass = 19; * @param value The tosStorageClass to set. * @return This builder for chaining. */ public Builder setTosStorageClass( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tosStorageClass_ = value; onChanged(); return this; } /** *
     *存储类型,STANDARD or ARCHIVE
     * 
* * string TosStorageClass = 19; * @return This builder for chaining. */ public Builder clearTosStorageClass() { tosStorageClass_ = getDefaultInstance().getTosStorageClass(); onChanged(); return this; } /** *
     *存储类型,STANDARD or ARCHIVE
     * 
* * string TosStorageClass = 19; * @param value The bytes for tosStorageClass to set. * @return This builder for chaining. */ public Builder setTosStorageClassBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tosStorageClass_ = value; onChanged(); return this; } private java.lang.Object fileName_ = ""; /** *
     *文件名
     * 
* * string FileName = 20; * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *文件名
     * 
* * string FileName = 20; * @return The bytes for fileName. */ public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *文件名
     * 
* * string FileName = 20; * @param value The fileName to set. * @return This builder for chaining. */ public Builder setFileName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileName_ = value; onChanged(); return this; } /** *
     *文件名
     * 
* * string FileName = 20; * @return This builder for chaining. */ public Builder clearFileName() { fileName_ = getDefaultInstance().getFileName(); onChanged(); return this; } /** *
     *文件名
     * 
* * string FileName = 20; * @param value The bytes for fileName to set. * @return This builder for chaining. */ public Builder setFileNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileName_ = 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:Byteplus.Vod.Models.Business.VodSourceInfo) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodSourceInfo) private static final com.byteplus.service.vod.model.business.VodSourceInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodSourceInfo(); } public static com.byteplus.service.vod.model.business.VodSourceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodSourceInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodSourceInfo(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.VodSourceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy