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

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

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

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

/**
 * Protobuf type {@code Volcengine.Vod.Models.Business.VodMediaBasicInfo}
 */
public final class VodMediaBasicInfo extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodMediaBasicInfo)
    VodMediaBasicInfoOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodMediaBasicInfo.newBuilder() to construct.
  private VodMediaBasicInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodMediaBasicInfo() {
    spaceName_ = "";
    vid_ = "";
    title_ = "";
    description_ = "";
    posterUri_ = "";
    publishStatus_ = "";
    tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    createTime_ = "";
    tosStorageClass_ = "";
    vodUploadSource_ = "";
    expireTime_ = "";
  }

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

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

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

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

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

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

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

            publishStatus_ = s;
            break;
          }
          case 58: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              tags_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            tags_.add(s);
            break;
          }
          case 66: {
            java.lang.String s = input.readStringRequireUtf8();

            createTime_ = s;
            break;
          }
          case 74: {
            com.volcengine.service.vod.model.business.VodClassification.Builder subBuilder = null;
            if (classification_ != null) {
              subBuilder = classification_.toBuilder();
            }
            classification_ = input.readMessage(com.volcengine.service.vod.model.business.VodClassification.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(classification_);
              classification_ = subBuilder.buildPartial();
            }

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

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

            vodUploadSource_ = s;
            break;
          }
          case 97: {

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

            expireTime_ = 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 {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        tags_ = tags_.getUnmodifiableView();
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodMediaBasicInfo_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodMediaBasicInfo_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.VodMediaBasicInfo.class, com.volcengine.service.vod.model.business.VodMediaBasicInfo.Builder.class);
  }

  public static final int SPACENAME_FIELD_NUMBER = 1;
  private volatile java.lang.Object spaceName_;
  /**
   * 
   *空间名
   * 
* * string SpaceName = 1; * @return The spaceName. */ @java.lang.Override public java.lang.String getSpaceName() { java.lang.Object ref = spaceName_; 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(); spaceName_ = s; return s; } } /** *
   *空间名
   * 
* * string SpaceName = 1; * @return The bytes for spaceName. */ @java.lang.Override public com.google.protobuf.ByteString getSpaceNameBytes() { java.lang.Object ref = spaceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); spaceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VID_FIELD_NUMBER = 2; private volatile java.lang.Object vid_; /** *
   *视频ID
   * 
* * string Vid = 2; * @return The vid. */ @java.lang.Override public java.lang.String getVid() { java.lang.Object ref = vid_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vid_ = s; return s; } } /** *
   *视频ID
   * 
* * string Vid = 2; * @return The bytes for vid. */ @java.lang.Override public com.google.protobuf.ByteString getVidBytes() { java.lang.Object ref = vid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TITLE_FIELD_NUMBER = 3; private volatile java.lang.Object title_; /** *
   *视频名称
   * 
* * string Title = 3; * @return The title. */ @java.lang.Override public java.lang.String getTitle() { java.lang.Object ref = title_; 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(); title_ = s; return s; } } /** *
   *视频名称
   * 
* * string Title = 3; * @return The bytes for title. */ @java.lang.Override public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); title_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 4; private volatile java.lang.Object description_; /** *
   *视频描述
   * 
* * string Description = 4; * @return The description. */ @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; 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(); description_ = s; return s; } } /** *
   *视频描述
   * 
* * string Description = 4; * @return The bytes for description. */ @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POSTERURI_FIELD_NUMBER = 5; private volatile java.lang.Object posterUri_; /** *
   *封面图对象地址
   * 
* * string PosterUri = 5; * @return The posterUri. */ @java.lang.Override public java.lang.String getPosterUri() { java.lang.Object ref = posterUri_; 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(); posterUri_ = s; return s; } } /** *
   *封面图对象地址
   * 
* * string PosterUri = 5; * @return The bytes for posterUri. */ @java.lang.Override public com.google.protobuf.ByteString getPosterUriBytes() { java.lang.Object ref = posterUri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); posterUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PUBLISHSTATUS_FIELD_NUMBER = 6; private volatile java.lang.Object publishStatus_; /** *
   *发布状态
   * 
* * string PublishStatus = 6; * @return The publishStatus. */ @java.lang.Override public java.lang.String getPublishStatus() { java.lang.Object ref = publishStatus_; 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(); publishStatus_ = s; return s; } } /** *
   *发布状态
   * 
* * string PublishStatus = 6; * @return The bytes for publishStatus. */ @java.lang.Override public com.google.protobuf.ByteString getPublishStatusBytes() { java.lang.Object ref = publishStatus_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); publishStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TAGS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList tags_; /** *
   *标签列表
   * 
* * repeated string Tags = 7; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** *
   *标签列表
   * 
* * repeated string Tags = 7; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** *
   *标签列表
   * 
* * repeated string Tags = 7; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** *
   *标签列表
   * 
* * repeated string Tags = 7; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int CREATETIME_FIELD_NUMBER = 8; private volatile java.lang.Object createTime_; /** *
   *创建时间
   * 
* * string CreateTime = 8; * @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 = 8; * @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 CLASSIFICATION_FIELD_NUMBER = 9; private com.volcengine.service.vod.model.business.VodClassification classification_; /** *
   *分类串
   * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; * @return Whether the classification field is set. */ @java.lang.Override public boolean hasClassification() { return classification_ != null; } /** *
   *分类串
   * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; * @return The classification. */ @java.lang.Override public com.volcengine.service.vod.model.business.VodClassification getClassification() { return classification_ == null ? com.volcengine.service.vod.model.business.VodClassification.getDefaultInstance() : classification_; } /** *
   *分类串
   * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; */ @java.lang.Override public com.volcengine.service.vod.model.business.VodClassificationOrBuilder getClassificationOrBuilder() { return getClassification(); } public static final int TOSSTORAGECLASS_FIELD_NUMBER = 10; private volatile java.lang.Object tosStorageClass_; /** *
   * Tos存储类型:STANDARD, ARCHIVE, IA
   * 
* * string TosStorageClass = 10; * @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, IA
   * 
* * string TosStorageClass = 10; * @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 VODUPLOADSOURCE_FIELD_NUMBER = 11; private volatile java.lang.Object vodUploadSource_; /** *
   * 音视频来源
   * 
* * string VodUploadSource = 11; * @return The vodUploadSource. */ @java.lang.Override public java.lang.String getVodUploadSource() { java.lang.Object ref = vodUploadSource_; 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(); vodUploadSource_ = s; return s; } } /** *
   * 音视频来源
   * 
* * string VodUploadSource = 11; * @return The bytes for vodUploadSource. */ @java.lang.Override public com.google.protobuf.ByteString getVodUploadSourceBytes() { java.lang.Object ref = vodUploadSource_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vodUploadSource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HLSMEDIASIZE_FIELD_NUMBER = 12; private double hlsMediaSize_; /** *
   * Hls媒体Size(m3u8+ts)
   * 
* * double HlsMediaSize = 12; * @return The hlsMediaSize. */ @java.lang.Override public double getHlsMediaSize() { return hlsMediaSize_; } public static final int EXPIRETIME_FIELD_NUMBER = 13; private volatile java.lang.Object expireTime_; /** *
   * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
   * 填"9999-12-31T23:59:59Z"表示永不过期.
   * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
   * 示例值:2024-08-30T20:10:11+08:00 
   * 
* * string ExpireTime = 13; * @return The expireTime. */ @java.lang.Override public java.lang.String getExpireTime() { java.lang.Object ref = expireTime_; 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(); expireTime_ = s; return s; } } /** *
   * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
   * 填"9999-12-31T23:59:59Z"表示永不过期.
   * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
   * 示例值:2024-08-30T20:10:11+08:00 
   * 
* * string ExpireTime = 13; * @return The bytes for expireTime. */ @java.lang.Override public com.google.protobuf.ByteString getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expireTime_ = 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(spaceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spaceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, title_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, posterUri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publishStatus_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, publishStatus_); } for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, tags_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, createTime_); } if (classification_ != null) { output.writeMessage(9, getClassification()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tosStorageClass_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, tosStorageClass_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vodUploadSource_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, vodUploadSource_); } if (java.lang.Double.doubleToRawLongBits(hlsMediaSize_) != 0) { output.writeDouble(12, hlsMediaSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, expireTime_); } 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(spaceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, spaceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vid_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, title_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(posterUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, posterUri_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publishStatus_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, publishStatus_); } { int dataSize = 0; for (int i = 0; i < tags_.size(); i++) { dataSize += computeStringSizeNoTag(tags_.getRaw(i)); } size += dataSize; size += 1 * getTagsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, createTime_); } if (classification_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getClassification()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tosStorageClass_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, tosStorageClass_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vodUploadSource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, vodUploadSource_); } if (java.lang.Double.doubleToRawLongBits(hlsMediaSize_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, hlsMediaSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, expireTime_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.volcengine.service.vod.model.business.VodMediaBasicInfo)) { return super.equals(obj); } com.volcengine.service.vod.model.business.VodMediaBasicInfo other = (com.volcengine.service.vod.model.business.VodMediaBasicInfo) obj; if (!getSpaceName() .equals(other.getSpaceName())) return false; if (!getVid() .equals(other.getVid())) return false; if (!getTitle() .equals(other.getTitle())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (!getPosterUri() .equals(other.getPosterUri())) return false; if (!getPublishStatus() .equals(other.getPublishStatus())) return false; if (!getTagsList() .equals(other.getTagsList())) return false; if (!getCreateTime() .equals(other.getCreateTime())) return false; if (hasClassification() != other.hasClassification()) return false; if (hasClassification()) { if (!getClassification() .equals(other.getClassification())) return false; } if (!getTosStorageClass() .equals(other.getTosStorageClass())) return false; if (!getVodUploadSource() .equals(other.getVodUploadSource())) return false; if (java.lang.Double.doubleToLongBits(getHlsMediaSize()) != java.lang.Double.doubleToLongBits( other.getHlsMediaSize())) return false; if (!getExpireTime() .equals(other.getExpireTime())) 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) + SPACENAME_FIELD_NUMBER; hash = (53 * hash) + getSpaceName().hashCode(); hash = (37 * hash) + VID_FIELD_NUMBER; hash = (53 * hash) + getVid().hashCode(); hash = (37 * hash) + TITLE_FIELD_NUMBER; hash = (53 * hash) + getTitle().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + POSTERURI_FIELD_NUMBER; hash = (53 * hash) + getPosterUri().hashCode(); hash = (37 * hash) + PUBLISHSTATUS_FIELD_NUMBER; hash = (53 * hash) + getPublishStatus().hashCode(); if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); } hash = (37 * hash) + CREATETIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); if (hasClassification()) { hash = (37 * hash) + CLASSIFICATION_FIELD_NUMBER; hash = (53 * hash) + getClassification().hashCode(); } hash = (37 * hash) + TOSSTORAGECLASS_FIELD_NUMBER; hash = (53 * hash) + getTosStorageClass().hashCode(); hash = (37 * hash) + VODUPLOADSOURCE_FIELD_NUMBER; hash = (53 * hash) + getVodUploadSource().hashCode(); hash = (37 * hash) + HLSMEDIASIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getHlsMediaSize())); hash = (37 * hash) + EXPIRETIME_FIELD_NUMBER; hash = (53 * hash) + getExpireTime().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.volcengine.service.vod.model.business.VodMediaBasicInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Volcengine.Vod.Models.Business.VodMediaBasicInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodMediaBasicInfo) com.volcengine.service.vod.model.business.VodMediaBasicInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodMediaBasicInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodMediaBasicInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.business.VodMediaBasicInfo.class, com.volcengine.service.vod.model.business.VodMediaBasicInfo.Builder.class); } // Construct using com.volcengine.service.vod.model.business.VodMediaBasicInfo.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(); spaceName_ = ""; vid_ = ""; title_ = ""; description_ = ""; posterUri_ = ""; publishStatus_ = ""; tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); createTime_ = ""; if (classificationBuilder_ == null) { classification_ = null; } else { classification_ = null; classificationBuilder_ = null; } tosStorageClass_ = ""; vodUploadSource_ = ""; hlsMediaSize_ = 0D; expireTime_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.vod.model.business.VodMedia.internal_static_Volcengine_Vod_Models_Business_VodMediaBasicInfo_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.business.VodMediaBasicInfo getDefaultInstanceForType() { return com.volcengine.service.vod.model.business.VodMediaBasicInfo.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.business.VodMediaBasicInfo build() { com.volcengine.service.vod.model.business.VodMediaBasicInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.business.VodMediaBasicInfo buildPartial() { com.volcengine.service.vod.model.business.VodMediaBasicInfo result = new com.volcengine.service.vod.model.business.VodMediaBasicInfo(this); int from_bitField0_ = bitField0_; result.spaceName_ = spaceName_; result.vid_ = vid_; result.title_ = title_; result.description_ = description_; result.posterUri_ = posterUri_; result.publishStatus_ = publishStatus_; if (((bitField0_ & 0x00000001) != 0)) { tags_ = tags_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.tags_ = tags_; result.createTime_ = createTime_; if (classificationBuilder_ == null) { result.classification_ = classification_; } else { result.classification_ = classificationBuilder_.build(); } result.tosStorageClass_ = tosStorageClass_; result.vodUploadSource_ = vodUploadSource_; result.hlsMediaSize_ = hlsMediaSize_; result.expireTime_ = expireTime_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.volcengine.service.vod.model.business.VodMediaBasicInfo) { return mergeFrom((com.volcengine.service.vod.model.business.VodMediaBasicInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.business.VodMediaBasicInfo other) { if (other == com.volcengine.service.vod.model.business.VodMediaBasicInfo.getDefaultInstance()) return this; if (!other.getSpaceName().isEmpty()) { spaceName_ = other.spaceName_; onChanged(); } if (!other.getVid().isEmpty()) { vid_ = other.vid_; onChanged(); } if (!other.getTitle().isEmpty()) { title_ = other.title_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (!other.getPosterUri().isEmpty()) { posterUri_ = other.posterUri_; onChanged(); } if (!other.getPublishStatus().isEmpty()) { publishStatus_ = other.publishStatus_; onChanged(); } if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); } onChanged(); } if (!other.getCreateTime().isEmpty()) { createTime_ = other.createTime_; onChanged(); } if (other.hasClassification()) { mergeClassification(other.getClassification()); } if (!other.getTosStorageClass().isEmpty()) { tosStorageClass_ = other.tosStorageClass_; onChanged(); } if (!other.getVodUploadSource().isEmpty()) { vodUploadSource_ = other.vodUploadSource_; onChanged(); } if (other.getHlsMediaSize() != 0D) { setHlsMediaSize(other.getHlsMediaSize()); } if (!other.getExpireTime().isEmpty()) { expireTime_ = other.expireTime_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.volcengine.service.vod.model.business.VodMediaBasicInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.business.VodMediaBasicInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object spaceName_ = ""; /** *
     *空间名
     * 
* * string SpaceName = 1; * @return The spaceName. */ public java.lang.String getSpaceName() { java.lang.Object ref = spaceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); spaceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *空间名
     * 
* * string SpaceName = 1; * @return The bytes for spaceName. */ public com.google.protobuf.ByteString getSpaceNameBytes() { java.lang.Object ref = spaceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); spaceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *空间名
     * 
* * string SpaceName = 1; * @param value The spaceName to set. * @return This builder for chaining. */ public Builder setSpaceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } spaceName_ = value; onChanged(); return this; } /** *
     *空间名
     * 
* * string SpaceName = 1; * @return This builder for chaining. */ public Builder clearSpaceName() { spaceName_ = getDefaultInstance().getSpaceName(); onChanged(); return this; } /** *
     *空间名
     * 
* * string SpaceName = 1; * @param value The bytes for spaceName to set. * @return This builder for chaining. */ public Builder setSpaceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); spaceName_ = value; onChanged(); return this; } private java.lang.Object vid_ = ""; /** *
     *视频ID
     * 
* * string Vid = 2; * @return The vid. */ public java.lang.String getVid() { java.lang.Object ref = vid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *视频ID
     * 
* * string Vid = 2; * @return The bytes for vid. */ public com.google.protobuf.ByteString getVidBytes() { java.lang.Object ref = vid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *视频ID
     * 
* * string Vid = 2; * @param value The vid to set. * @return This builder for chaining. */ public Builder setVid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vid_ = value; onChanged(); return this; } /** *
     *视频ID
     * 
* * string Vid = 2; * @return This builder for chaining. */ public Builder clearVid() { vid_ = getDefaultInstance().getVid(); onChanged(); return this; } /** *
     *视频ID
     * 
* * string Vid = 2; * @param value The bytes for vid to set. * @return This builder for chaining. */ public Builder setVidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vid_ = value; onChanged(); return this; } private java.lang.Object title_ = ""; /** *
     *视频名称
     * 
* * string Title = 3; * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *视频名称
     * 
* * string Title = 3; * @return The bytes for title. */ public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); title_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *视频名称
     * 
* * string Title = 3; * @param value The title to set. * @return This builder for chaining. */ public Builder setTitle( java.lang.String value) { if (value == null) { throw new NullPointerException(); } title_ = value; onChanged(); return this; } /** *
     *视频名称
     * 
* * string Title = 3; * @return This builder for chaining. */ public Builder clearTitle() { title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** *
     *视频名称
     * 
* * string Title = 3; * @param value The bytes for title to set. * @return This builder for chaining. */ public Builder setTitleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); title_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** *
     *视频描述
     * 
* * string Description = 4; * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *视频描述
     * 
* * string Description = 4; * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *视频描述
     * 
* * string Description = 4; * @param value The description to set. * @return This builder for chaining. */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** *
     *视频描述
     * 
* * string Description = 4; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
     *视频描述
     * 
* * string Description = 4; * @param value The bytes for description to set. * @return This builder for chaining. */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } private java.lang.Object posterUri_ = ""; /** *
     *封面图对象地址
     * 
* * string PosterUri = 5; * @return The posterUri. */ public java.lang.String getPosterUri() { java.lang.Object ref = posterUri_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); posterUri_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *封面图对象地址
     * 
* * string PosterUri = 5; * @return The bytes for posterUri. */ public com.google.protobuf.ByteString getPosterUriBytes() { java.lang.Object ref = posterUri_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); posterUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *封面图对象地址
     * 
* * string PosterUri = 5; * @param value The posterUri to set. * @return This builder for chaining. */ public Builder setPosterUri( java.lang.String value) { if (value == null) { throw new NullPointerException(); } posterUri_ = value; onChanged(); return this; } /** *
     *封面图对象地址
     * 
* * string PosterUri = 5; * @return This builder for chaining. */ public Builder clearPosterUri() { posterUri_ = getDefaultInstance().getPosterUri(); onChanged(); return this; } /** *
     *封面图对象地址
     * 
* * string PosterUri = 5; * @param value The bytes for posterUri to set. * @return This builder for chaining. */ public Builder setPosterUriBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); posterUri_ = value; onChanged(); return this; } private java.lang.Object publishStatus_ = ""; /** *
     *发布状态
     * 
* * string PublishStatus = 6; * @return The publishStatus. */ public java.lang.String getPublishStatus() { java.lang.Object ref = publishStatus_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publishStatus_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     *发布状态
     * 
* * string PublishStatus = 6; * @return The bytes for publishStatus. */ public com.google.protobuf.ByteString getPublishStatusBytes() { java.lang.Object ref = publishStatus_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); publishStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     *发布状态
     * 
* * string PublishStatus = 6; * @param value The publishStatus to set. * @return This builder for chaining. */ public Builder setPublishStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } publishStatus_ = value; onChanged(); return this; } /** *
     *发布状态
     * 
* * string PublishStatus = 6; * @return This builder for chaining. */ public Builder clearPublishStatus() { publishStatus_ = getDefaultInstance().getPublishStatus(); onChanged(); return this; } /** *
     *发布状态
     * 
* * string PublishStatus = 6; * @param value The bytes for publishStatus to set. * @return This builder for chaining. */ public Builder setPublishStatusBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publishStatus_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; } } /** *
     *标签列表
     * 
* * repeated string Tags = 7; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** *
     *标签列表
     * 
* * repeated string Tags = 7; * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** *
     *标签列表
     * 
* * repeated string Tags = 7; * @param index The index of the element to return. * @return The tags at the given index. */ public java.lang.String getTags(int index) { return tags_.get(index); } /** *
     *标签列表
     * 
* * repeated string Tags = 7; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** *
     *标签列表
     * 
* * repeated string Tags = 7; * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ public Builder setTags( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** *
     *标签列表
     * 
* * repeated string Tags = 7; * @param value The tags to add. * @return This builder for chaining. */ public Builder addTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** *
     *标签列表
     * 
* * repeated string Tags = 7; * @param values The tags to add. * @return This builder for chaining. */ public Builder addAllTags( java.lang.Iterable values) { ensureTagsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tags_); onChanged(); return this; } /** *
     *标签列表
     * 
* * repeated string Tags = 7; * @return This builder for chaining. */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     *标签列表
     * 
* * repeated string Tags = 7; * @param value The bytes of the tags to add. * @return This builder for chaining. */ public Builder addTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } private java.lang.Object createTime_ = ""; /** *
     *创建时间
     * 
* * string CreateTime = 8; * @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 = 8; * @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 = 8; * @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 = 8; * @return This builder for chaining. */ public Builder clearCreateTime() { createTime_ = getDefaultInstance().getCreateTime(); onChanged(); return this; } /** *
     *创建时间
     * 
* * string CreateTime = 8; * @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 com.volcengine.service.vod.model.business.VodClassification classification_; private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodClassification, com.volcengine.service.vod.model.business.VodClassification.Builder, com.volcengine.service.vod.model.business.VodClassificationOrBuilder> classificationBuilder_; /** *
     *分类串
     * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; * @return Whether the classification field is set. */ public boolean hasClassification() { return classificationBuilder_ != null || classification_ != null; } /** *
     *分类串
     * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; * @return The classification. */ public com.volcengine.service.vod.model.business.VodClassification getClassification() { if (classificationBuilder_ == null) { return classification_ == null ? com.volcengine.service.vod.model.business.VodClassification.getDefaultInstance() : classification_; } else { return classificationBuilder_.getMessage(); } } /** *
     *分类串
     * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; */ public Builder setClassification(com.volcengine.service.vod.model.business.VodClassification value) { if (classificationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } classification_ = value; onChanged(); } else { classificationBuilder_.setMessage(value); } return this; } /** *
     *分类串
     * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; */ public Builder setClassification( com.volcengine.service.vod.model.business.VodClassification.Builder builderForValue) { if (classificationBuilder_ == null) { classification_ = builderForValue.build(); onChanged(); } else { classificationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *分类串
     * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; */ public Builder mergeClassification(com.volcengine.service.vod.model.business.VodClassification value) { if (classificationBuilder_ == null) { if (classification_ != null) { classification_ = com.volcengine.service.vod.model.business.VodClassification.newBuilder(classification_).mergeFrom(value).buildPartial(); } else { classification_ = value; } onChanged(); } else { classificationBuilder_.mergeFrom(value); } return this; } /** *
     *分类串
     * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; */ public Builder clearClassification() { if (classificationBuilder_ == null) { classification_ = null; onChanged(); } else { classification_ = null; classificationBuilder_ = null; } return this; } /** *
     *分类串
     * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; */ public com.volcengine.service.vod.model.business.VodClassification.Builder getClassificationBuilder() { onChanged(); return getClassificationFieldBuilder().getBuilder(); } /** *
     *分类串
     * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; */ public com.volcengine.service.vod.model.business.VodClassificationOrBuilder getClassificationOrBuilder() { if (classificationBuilder_ != null) { return classificationBuilder_.getMessageOrBuilder(); } else { return classification_ == null ? com.volcengine.service.vod.model.business.VodClassification.getDefaultInstance() : classification_; } } /** *
     *分类串
     * 
* * .Volcengine.Vod.Models.Business.VodClassification Classification = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodClassification, com.volcengine.service.vod.model.business.VodClassification.Builder, com.volcengine.service.vod.model.business.VodClassificationOrBuilder> getClassificationFieldBuilder() { if (classificationBuilder_ == null) { classificationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.VodClassification, com.volcengine.service.vod.model.business.VodClassification.Builder, com.volcengine.service.vod.model.business.VodClassificationOrBuilder>( getClassification(), getParentForChildren(), isClean()); classification_ = null; } return classificationBuilder_; } private java.lang.Object tosStorageClass_ = ""; /** *
     * Tos存储类型:STANDARD, ARCHIVE, IA
     * 
* * string TosStorageClass = 10; * @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, IA
     * 
* * string TosStorageClass = 10; * @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, IA
     * 
* * string TosStorageClass = 10; * @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, IA
     * 
* * string TosStorageClass = 10; * @return This builder for chaining. */ public Builder clearTosStorageClass() { tosStorageClass_ = getDefaultInstance().getTosStorageClass(); onChanged(); return this; } /** *
     * Tos存储类型:STANDARD, ARCHIVE, IA
     * 
* * string TosStorageClass = 10; * @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 vodUploadSource_ = ""; /** *
     * 音视频来源
     * 
* * string VodUploadSource = 11; * @return The vodUploadSource. */ public java.lang.String getVodUploadSource() { java.lang.Object ref = vodUploadSource_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vodUploadSource_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 音视频来源
     * 
* * string VodUploadSource = 11; * @return The bytes for vodUploadSource. */ public com.google.protobuf.ByteString getVodUploadSourceBytes() { java.lang.Object ref = vodUploadSource_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vodUploadSource_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 音视频来源
     * 
* * string VodUploadSource = 11; * @param value The vodUploadSource to set. * @return This builder for chaining. */ public Builder setVodUploadSource( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vodUploadSource_ = value; onChanged(); return this; } /** *
     * 音视频来源
     * 
* * string VodUploadSource = 11; * @return This builder for chaining. */ public Builder clearVodUploadSource() { vodUploadSource_ = getDefaultInstance().getVodUploadSource(); onChanged(); return this; } /** *
     * 音视频来源
     * 
* * string VodUploadSource = 11; * @param value The bytes for vodUploadSource to set. * @return This builder for chaining. */ public Builder setVodUploadSourceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vodUploadSource_ = value; onChanged(); return this; } private double hlsMediaSize_ ; /** *
     * Hls媒体Size(m3u8+ts)
     * 
* * double HlsMediaSize = 12; * @return The hlsMediaSize. */ @java.lang.Override public double getHlsMediaSize() { return hlsMediaSize_; } /** *
     * Hls媒体Size(m3u8+ts)
     * 
* * double HlsMediaSize = 12; * @param value The hlsMediaSize to set. * @return This builder for chaining. */ public Builder setHlsMediaSize(double value) { hlsMediaSize_ = value; onChanged(); return this; } /** *
     * Hls媒体Size(m3u8+ts)
     * 
* * double HlsMediaSize = 12; * @return This builder for chaining. */ public Builder clearHlsMediaSize() { hlsMediaSize_ = 0D; onChanged(); return this; } private java.lang.Object expireTime_ = ""; /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * string ExpireTime = 13; * @return The expireTime. */ public java.lang.String getExpireTime() { java.lang.Object ref = expireTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expireTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * string ExpireTime = 13; * @return The bytes for expireTime. */ public com.google.protobuf.ByteString getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expireTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * string ExpireTime = 13; * @param value The expireTime to set. * @return This builder for chaining. */ public Builder setExpireTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } expireTime_ = value; onChanged(); return this; } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * string ExpireTime = 13; * @return This builder for chaining. */ public Builder clearExpireTime() { expireTime_ = getDefaultInstance().getExpireTime(); onChanged(); return this; } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * string ExpireTime = 13; * @param value The bytes for expireTime to set. * @return This builder for chaining. */ public Builder setExpireTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); expireTime_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Volcengine.Vod.Models.Business.VodMediaBasicInfo) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodMediaBasicInfo) private static final com.volcengine.service.vod.model.business.VodMediaBasicInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodMediaBasicInfo(); } public static com.volcengine.service.vod.model.business.VodMediaBasicInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodMediaBasicInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodMediaBasicInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.volcengine.service.vod.model.business.VodMediaBasicInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy