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

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

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

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

            logoType_ = s;
            break;
          }
          case 40: {

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

            format_ = s;
            break;
          }
          case 61: {

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

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

            storeUri_ = s;
            break;
          }
          case 82: {
            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 90: {
            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 98: {
            java.lang.String s = input.readStringRequireUtf8();

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

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

            tosStorageClass_ = 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_VodTranscodeInfo_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_VodTranscodeInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.byteplus.service.vod.model.business.VodTranscodeInfo.class, com.byteplus.service.vod.model.business.VodTranscodeInfo.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 LOGOTYPE_FIELD_NUMBER = 4; private volatile java.lang.Object logoType_; /** *
   * logo类型
   * 
* * string LogoType = 4; * @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; } } /** *
   * logo类型
   * 
* * string LogoType = 4; * @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 ENCRYPT_FIELD_NUMBER = 5; private boolean encrypt_; /** *
   *是否加密
   * 
* * bool Encrypt = 5; * @return The encrypt. */ @java.lang.Override public boolean getEncrypt() { return encrypt_; } public static final int FORMAT_FIELD_NUMBER = 6; private volatile java.lang.Object format_; /** *
   *文件格式
   * 
* * string Format = 6; * @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 = 6; * @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 = 7; private float duration_; /** *
   *时长
   * 
* * float Duration = 7; * @return The duration. */ @java.lang.Override public float getDuration() { return duration_; } public static final int SIZE_FIELD_NUMBER = 8; private double size_; /** *
   *文件大小
   * 
* * double Size = 8; * @return The size. */ @java.lang.Override public double getSize() { return size_; } public static final int STOREURI_FIELD_NUMBER = 9; private volatile java.lang.Object storeUri_; /** *
   *对象地址
   * 
* * string StoreUri = 9; * @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 = 9; * @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 VIDEOSTREAMMETA_FIELD_NUMBER = 10; private com.byteplus.service.vod.model.business.VodVideoStreamMeta videoStreamMeta_; /** *
   *视频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 10; * @return Whether the videoStreamMeta field is set. */ @java.lang.Override public boolean hasVideoStreamMeta() { return videoStreamMeta_ != null; } /** *
   *视频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 10; * @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 = 10; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodVideoStreamMetaOrBuilder getVideoStreamMetaOrBuilder() { return getVideoStreamMeta(); } public static final int AUDIOSTREAMMETA_FIELD_NUMBER = 11; private com.byteplus.service.vod.model.business.VodAudioStreamMeta audioStreamMeta_; /** *
   *音频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 11; * @return Whether the audioStreamMeta field is set. */ @java.lang.Override public boolean hasAudioStreamMeta() { return audioStreamMeta_ != null; } /** *
   *音频流信息
   * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 11; * @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 = 11; */ @java.lang.Override public com.byteplus.service.vod.model.business.VodAudioStreamMetaOrBuilder getAudioStreamMetaOrBuilder() { return getAudioStreamMeta(); } public static final int CREATETIME_FIELD_NUMBER = 12; private volatile java.lang.Object createTime_; /** *
   *创建时间
   * 
* * string CreateTime = 12; * @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 = 12; * @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 DYNAMICRANGE_FIELD_NUMBER = 13; private volatile java.lang.Object dynamicRange_; /** *
   *动态范围,"HDR" or "SDR"
   * 
* * string DynamicRange = 13; * @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 = 13; * @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 TOSSTORAGECLASS_FIELD_NUMBER = 14; private volatile java.lang.Object tosStorageClass_; /** *
   * Tos存储类型:STANDARD, ARCHIVE
   * 
* * string TosStorageClass = 14; * @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; } } /** *
   * Tos存储类型:STANDARD, ARCHIVE
   * 
* * string TosStorageClass = 14; * @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; } } 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(logoType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, logoType_); } if (encrypt_ != false) { output.writeBool(5, encrypt_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, format_); } if (java.lang.Float.floatToRawIntBits(duration_) != 0) { output.writeFloat(7, duration_); } if (java.lang.Double.doubleToRawLongBits(size_) != 0) { output.writeDouble(8, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, storeUri_); } if (videoStreamMeta_ != null) { output.writeMessage(10, getVideoStreamMeta()); } if (audioStreamMeta_ != null) { output.writeMessage(11, getAudioStreamMeta()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, createTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dynamicRange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, dynamicRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tosStorageClass_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, tosStorageClass_); } 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(logoType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, logoType_); } if (encrypt_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, encrypt_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, format_); } if (java.lang.Float.floatToRawIntBits(duration_) != 0) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(7, duration_); } if (java.lang.Double.doubleToRawLongBits(size_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, size_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, storeUri_); } if (videoStreamMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getVideoStreamMeta()); } if (audioStreamMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getAudioStreamMeta()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, createTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dynamicRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, dynamicRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tosStorageClass_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, tosStorageClass_); } 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.VodTranscodeInfo)) { return super.equals(obj); } com.byteplus.service.vod.model.business.VodTranscodeInfo other = (com.byteplus.service.vod.model.business.VodTranscodeInfo) obj; if (!getFileId() .equals(other.getFileId())) return false; if (!getMd5() .equals(other.getMd5())) return false; if (!getFileType() .equals(other.getFileType())) return false; if (!getLogoType() .equals(other.getLogoType())) return false; if (getEncrypt() != other.getEncrypt()) 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 (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 (!getCreateTime() .equals(other.getCreateTime())) return false; if (!getDynamicRange() .equals(other.getDynamicRange())) return false; if (!getTosStorageClass() .equals(other.getTosStorageClass())) 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) + LOGOTYPE_FIELD_NUMBER; hash = (53 * hash) + getLogoType().hashCode(); hash = (37 * hash) + ENCRYPT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEncrypt()); 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(); 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) + CREATETIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); hash = (37 * hash) + DYNAMICRANGE_FIELD_NUMBER; hash = (53 * hash) + getDynamicRange().hashCode(); hash = (37 * hash) + TOSSTORAGECLASS_FIELD_NUMBER; hash = (53 * hash) + getTosStorageClass().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.byteplus.service.vod.model.business.VodTranscodeInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodTranscodeInfo 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.VodTranscodeInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodTranscodeInfo 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.VodTranscodeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.byteplus.service.vod.model.business.VodTranscodeInfo 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.VodTranscodeInfo 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.VodTranscodeInfo 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.VodTranscodeInfo 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.VodTranscodeInfo 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.VodTranscodeInfo 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.VodTranscodeInfo 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.VodTranscodeInfo 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.VodTranscodeInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodTranscodeInfo) com.byteplus.service.vod.model.business.VodTranscodeInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.byteplus.service.vod.model.business.VodCommon.internal_static_Byteplus_Vod_Models_Business_VodTranscodeInfo_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_VodTranscodeInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.byteplus.service.vod.model.business.VodTranscodeInfo.class, com.byteplus.service.vod.model.business.VodTranscodeInfo.Builder.class); } // Construct using com.byteplus.service.vod.model.business.VodTranscodeInfo.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_ = ""; logoType_ = ""; encrypt_ = false; format_ = ""; duration_ = 0F; size_ = 0D; storeUri_ = ""; if (videoStreamMetaBuilder_ == null) { videoStreamMeta_ = null; } else { videoStreamMeta_ = null; videoStreamMetaBuilder_ = null; } if (audioStreamMetaBuilder_ == null) { audioStreamMeta_ = null; } else { audioStreamMeta_ = null; audioStreamMetaBuilder_ = null; } createTime_ = ""; dynamicRange_ = ""; tosStorageClass_ = ""; 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_VodTranscodeInfo_descriptor; } @java.lang.Override public com.byteplus.service.vod.model.business.VodTranscodeInfo getDefaultInstanceForType() { return com.byteplus.service.vod.model.business.VodTranscodeInfo.getDefaultInstance(); } @java.lang.Override public com.byteplus.service.vod.model.business.VodTranscodeInfo build() { com.byteplus.service.vod.model.business.VodTranscodeInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.byteplus.service.vod.model.business.VodTranscodeInfo buildPartial() { com.byteplus.service.vod.model.business.VodTranscodeInfo result = new com.byteplus.service.vod.model.business.VodTranscodeInfo(this); result.fileId_ = fileId_; result.md5_ = md5_; result.fileType_ = fileType_; result.logoType_ = logoType_; result.encrypt_ = encrypt_; result.format_ = format_; result.duration_ = duration_; result.size_ = size_; result.storeUri_ = storeUri_; if (videoStreamMetaBuilder_ == null) { result.videoStreamMeta_ = videoStreamMeta_; } else { result.videoStreamMeta_ = videoStreamMetaBuilder_.build(); } if (audioStreamMetaBuilder_ == null) { result.audioStreamMeta_ = audioStreamMeta_; } else { result.audioStreamMeta_ = audioStreamMetaBuilder_.build(); } result.createTime_ = createTime_; result.dynamicRange_ = dynamicRange_; result.tosStorageClass_ = tosStorageClass_; 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.VodTranscodeInfo) { return mergeFrom((com.byteplus.service.vod.model.business.VodTranscodeInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.byteplus.service.vod.model.business.VodTranscodeInfo other) { if (other == com.byteplus.service.vod.model.business.VodTranscodeInfo.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.getLogoType().isEmpty()) { logoType_ = other.logoType_; onChanged(); } if (other.getEncrypt() != false) { setEncrypt(other.getEncrypt()); } 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.hasVideoStreamMeta()) { mergeVideoStreamMeta(other.getVideoStreamMeta()); } if (other.hasAudioStreamMeta()) { mergeAudioStreamMeta(other.getAudioStreamMeta()); } if (!other.getCreateTime().isEmpty()) { createTime_ = other.createTime_; onChanged(); } if (!other.getDynamicRange().isEmpty()) { dynamicRange_ = other.dynamicRange_; onChanged(); } if (!other.getTosStorageClass().isEmpty()) { tosStorageClass_ = other.tosStorageClass_; 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.VodTranscodeInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.byteplus.service.vod.model.business.VodTranscodeInfo) 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 logoType_ = ""; /** *
     * logo类型
     * 
* * string LogoType = 4; * @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; } } /** *
     * logo类型
     * 
* * string LogoType = 4; * @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; } } /** *
     * logo类型
     * 
* * string LogoType = 4; * @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; } /** *
     * logo类型
     * 
* * string LogoType = 4; * @return This builder for chaining. */ public Builder clearLogoType() { logoType_ = getDefaultInstance().getLogoType(); onChanged(); return this; } /** *
     * logo类型
     * 
* * string LogoType = 4; * @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 boolean encrypt_ ; /** *
     *是否加密
     * 
* * bool Encrypt = 5; * @return The encrypt. */ @java.lang.Override public boolean getEncrypt() { return encrypt_; } /** *
     *是否加密
     * 
* * bool Encrypt = 5; * @param value The encrypt to set. * @return This builder for chaining. */ public Builder setEncrypt(boolean value) { encrypt_ = value; onChanged(); return this; } /** *
     *是否加密
     * 
* * bool Encrypt = 5; * @return This builder for chaining. */ public Builder clearEncrypt() { encrypt_ = false; onChanged(); return this; } private java.lang.Object format_ = ""; /** *
     *文件格式
     * 
* * string Format = 6; * @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 = 6; * @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 = 6; * @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 = 6; * @return This builder for chaining. */ public Builder clearFormat() { format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** *
     *文件格式
     * 
* * string Format = 6; * @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 = 7; * @return The duration. */ @java.lang.Override public float getDuration() { return duration_; } /** *
     *时长
     * 
* * float Duration = 7; * @param value The duration to set. * @return This builder for chaining. */ public Builder setDuration(float value) { duration_ = value; onChanged(); return this; } /** *
     *时长
     * 
* * float Duration = 7; * @return This builder for chaining. */ public Builder clearDuration() { duration_ = 0F; onChanged(); return this; } private double size_ ; /** *
     *文件大小
     * 
* * double Size = 8; * @return The size. */ @java.lang.Override public double getSize() { return size_; } /** *
     *文件大小
     * 
* * double Size = 8; * @param value The size to set. * @return This builder for chaining. */ public Builder setSize(double value) { size_ = value; onChanged(); return this; } /** *
     *文件大小
     * 
* * double Size = 8; * @return This builder for chaining. */ public Builder clearSize() { size_ = 0D; onChanged(); return this; } private java.lang.Object storeUri_ = ""; /** *
     *对象地址
     * 
* * string StoreUri = 9; * @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 = 9; * @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 = 9; * @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 = 9; * @return This builder for chaining. */ public Builder clearStoreUri() { storeUri_ = getDefaultInstance().getStoreUri(); onChanged(); return this; } /** *
     *对象地址
     * 
* * string StoreUri = 9; * @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 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 = 10; * @return Whether the videoStreamMeta field is set. */ public boolean hasVideoStreamMeta() { return videoStreamMetaBuilder_ != null || videoStreamMeta_ != null; } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 10; * @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 = 10; */ 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 = 10; */ 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 = 10; */ 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 = 10; */ public Builder clearVideoStreamMeta() { if (videoStreamMetaBuilder_ == null) { videoStreamMeta_ = null; onChanged(); } else { videoStreamMeta_ = null; videoStreamMetaBuilder_ = null; } return this; } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 10; */ public com.byteplus.service.vod.model.business.VodVideoStreamMeta.Builder getVideoStreamMetaBuilder() { onChanged(); return getVideoStreamMetaFieldBuilder().getBuilder(); } /** *
     *视频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodVideoStreamMeta VideoStreamMeta = 10; */ 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 = 10; */ 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 = 11; * @return Whether the audioStreamMeta field is set. */ public boolean hasAudioStreamMeta() { return audioStreamMetaBuilder_ != null || audioStreamMeta_ != null; } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 11; * @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 = 11; */ 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 = 11; */ 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 = 11; */ 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 = 11; */ public Builder clearAudioStreamMeta() { if (audioStreamMetaBuilder_ == null) { audioStreamMeta_ = null; onChanged(); } else { audioStreamMeta_ = null; audioStreamMetaBuilder_ = null; } return this; } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 11; */ public com.byteplus.service.vod.model.business.VodAudioStreamMeta.Builder getAudioStreamMetaBuilder() { onChanged(); return getAudioStreamMetaFieldBuilder().getBuilder(); } /** *
     *音频流信息
     * 
* * .Byteplus.Vod.Models.Business.VodAudioStreamMeta AudioStreamMeta = 11; */ 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 = 11; */ 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 createTime_ = ""; /** *
     *创建时间
     * 
* * string CreateTime = 12; * @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 = 12; * @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 = 12; * @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 = 12; * @return This builder for chaining. */ public Builder clearCreateTime() { createTime_ = getDefaultInstance().getCreateTime(); onChanged(); return this; } /** *
     *创建时间
     * 
* * string CreateTime = 12; * @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 dynamicRange_ = ""; /** *
     *动态范围,"HDR" or "SDR"
     * 
* * string DynamicRange = 13; * @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 = 13; * @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 = 13; * @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 = 13; * @return This builder for chaining. */ public Builder clearDynamicRange() { dynamicRange_ = getDefaultInstance().getDynamicRange(); onChanged(); return this; } /** *
     *动态范围,"HDR" or "SDR"
     * 
* * string DynamicRange = 13; * @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 java.lang.Object tosStorageClass_ = ""; /** *
     * Tos存储类型:STANDARD, ARCHIVE
     * 
* * string TosStorageClass = 14; * @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; } } /** *
     * Tos存储类型:STANDARD, ARCHIVE
     * 
* * string TosStorageClass = 14; * @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; } } /** *
     * Tos存储类型:STANDARD, ARCHIVE
     * 
* * string TosStorageClass = 14; * @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; } /** *
     * Tos存储类型:STANDARD, ARCHIVE
     * 
* * string TosStorageClass = 14; * @return This builder for chaining. */ public Builder clearTosStorageClass() { tosStorageClass_ = getDefaultInstance().getTosStorageClass(); onChanged(); return this; } /** *
     * Tos存储类型:STANDARD, ARCHIVE
     * 
* * string TosStorageClass = 14; * @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; } @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.VodTranscodeInfo) } // @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodTranscodeInfo) private static final com.byteplus.service.vod.model.business.VodTranscodeInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodTranscodeInfo(); } public static com.byteplus.service.vod.model.business.VodTranscodeInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodTranscodeInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodTranscodeInfo(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.VodTranscodeInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy