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

com.volcengine.service.vod.model.business.VodUrlUploadURLSet 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_upload.proto

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

/**
 * Protobuf type {@code Volcengine.Vod.Models.Business.VodUrlUploadURLSet}
 */
public final class VodUrlUploadURLSet extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodUrlUploadURLSet)
    VodUrlUploadURLSetOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodUrlUploadURLSet.newBuilder() to construct.
  private VodUrlUploadURLSet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodUrlUploadURLSet() {
    sourceUrl_ = "";
    callbackArgs_ = "";
    md5_ = "";
    templateId_ = "";
    title_ = "";
    description_ = "";
    tags_ = "";
    category_ = "";
    fileName_ = "";
    fileExtension_ = "";
    urlEncryptionAlgorithm_ = "";
    templates_ = java.util.Collections.emptyList();
  }

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

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

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

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

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

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

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

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

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

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

            fileName_ = s;
            break;
          }
          case 80: {

            classificationId_ = input.readInt64();
            break;
          }
          case 88: {

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

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

            urlEncryptionAlgorithm_ = s;
            break;
          }
          case 112: {

            enableLowPriority_ = input.readBool();
            break;
          }
          case 122: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              customURLHeaders_ = com.google.protobuf.MapField.newMapField(
                  CustomURLHeadersDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000001;
            }
            com.google.protobuf.MapEntry
            customURLHeaders__ = input.readMessage(
                CustomURLHeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            customURLHeaders_.getMutableMap().put(
                customURLHeaders__.getKey(), customURLHeaders__.getValue());
            break;
          }
          case 130: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              templates_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            templates_.add(
                input.readMessage(com.volcengine.service.vod.model.business.VodUploadTemplate.parser(), extensionRegistry));
            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_ & 0x00000002) != 0)) {
        templates_ = java.util.Collections.unmodifiableList(templates_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUrlUploadURLSet_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 15:
        return internalGetCustomURLHeaders();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUrlUploadURLSet_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.VodUrlUploadURLSet.class, com.volcengine.service.vod.model.business.VodUrlUploadURLSet.Builder.class);
  }

  public static final int SOURCEURL_FIELD_NUMBER = 1;
  private volatile java.lang.Object sourceUrl_;
  /**
   * 
   * 视频的URL 
   * 
* * string SourceUrl = 1; * @return The sourceUrl. */ @java.lang.Override public java.lang.String getSourceUrl() { java.lang.Object ref = sourceUrl_; 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(); sourceUrl_ = s; return s; } } /** *
   * 视频的URL 
   * 
* * string SourceUrl = 1; * @return The bytes for sourceUrl. */ @java.lang.Override public com.google.protobuf.ByteString getSourceUrlBytes() { java.lang.Object ref = sourceUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CALLBACKARGS_FIELD_NUMBER = 2; private volatile java.lang.Object callbackArgs_; /** *
   * 透传的业务信息 
   * 
* * string CallbackArgs = 2; * @return The callbackArgs. */ @java.lang.Override public java.lang.String getCallbackArgs() { java.lang.Object ref = callbackArgs_; 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(); callbackArgs_ = s; return s; } } /** *
   * 透传的业务信息 
   * 
* * string CallbackArgs = 2; * @return The bytes for callbackArgs. */ @java.lang.Override public com.google.protobuf.ByteString getCallbackArgsBytes() { java.lang.Object ref = callbackArgs_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callbackArgs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MD5_FIELD_NUMBER = 3; private volatile java.lang.Object md5_; /** *
   * 视频的MD5 
   * 
* * string Md5 = 3; * @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; } } /** *
   * 视频的MD5 
   * 
* * string Md5 = 3; * @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 TEMPLATEID_FIELD_NUMBER = 4; private volatile java.lang.Object templateId_; /** *
   * 模板Id 
   * 
* * string TemplateId = 4; * @return The templateId. */ @java.lang.Override public java.lang.String getTemplateId() { java.lang.Object ref = templateId_; 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(); templateId_ = s; return s; } } /** *
   * 模板Id 
   * 
* * string TemplateId = 4; * @return The bytes for templateId. */ @java.lang.Override public com.google.protobuf.ByteString getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); templateId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TITLE_FIELD_NUMBER = 5; private volatile java.lang.Object title_; /** *
   * 标题 
   * 
* * string Title = 5; * @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 = 5; * @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 = 6; private volatile java.lang.Object description_; /** *
   * 描述信息 
   * 
* * string Description = 6; * @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 = 6; * @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 TAGS_FIELD_NUMBER = 7; private volatile java.lang.Object tags_; /** *
   * 标签 
   * 
* * string Tags = 7; * @return The tags. */ @java.lang.Override public java.lang.String getTags() { java.lang.Object ref = tags_; 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(); tags_ = s; return s; } } /** *
   * 标签 
   * 
* * string Tags = 7; * @return The bytes for tags. */ @java.lang.Override public com.google.protobuf.ByteString getTagsBytes() { java.lang.Object ref = tags_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tags_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CATEGORY_FIELD_NUMBER = 8; private volatile java.lang.Object category_; /** *
   * 分类 
   * 
* * string Category = 8; * @return The category. */ @java.lang.Override public java.lang.String getCategory() { java.lang.Object ref = category_; 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(); category_ = s; return s; } } /** *
   * 分类 
   * 
* * string Category = 8; * @return The bytes for category. */ @java.lang.Override public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); category_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILENAME_FIELD_NUMBER = 9; private volatile java.lang.Object fileName_; /** *
   * 设置文件名 
   * 
* * string FileName = 9; * @return The fileName. */ @java.lang.Override public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } } /** *
   * 设置文件名 
   * 
* * string FileName = 9; * @return The bytes for fileName. */ @java.lang.Override public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLASSIFICATIONID_FIELD_NUMBER = 10; private long classificationId_; /** *
   * 设置分类Id 
   * 
* * int64 ClassificationId = 10; * @return The classificationId. */ @java.lang.Override public long getClassificationId() { return classificationId_; } public static final int STORAGECLASS_FIELD_NUMBER = 11; private int storageClass_; /** *
   * 设置存储类型 
   * 
* * int32 StorageClass = 11; * @return The storageClass. */ @java.lang.Override public int getStorageClass() { return storageClass_; } public static final int FILEEXTENSION_FIELD_NUMBER = 12; private volatile java.lang.Object fileExtension_; /** *
   * 设置文件后缀 
   * 
* * string FileExtension = 12; * @return The fileExtension. */ @java.lang.Override public java.lang.String getFileExtension() { java.lang.Object ref = fileExtension_; 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(); fileExtension_ = s; return s; } } /** *
   * 设置文件后缀 
   * 
* * string FileExtension = 12; * @return The bytes for fileExtension. */ @java.lang.Override public com.google.protobuf.ByteString getFileExtensionBytes() { java.lang.Object ref = fileExtension_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileExtension_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int URLENCRYPTIONALGORITHM_FIELD_NUMBER = 13; private volatile java.lang.Object urlEncryptionAlgorithm_; /** *
   * URL加密算法 
   * 
* * string UrlEncryptionAlgorithm = 13; * @return The urlEncryptionAlgorithm. */ @java.lang.Override public java.lang.String getUrlEncryptionAlgorithm() { java.lang.Object ref = urlEncryptionAlgorithm_; 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(); urlEncryptionAlgorithm_ = s; return s; } } /** *
   * URL加密算法 
   * 
* * string UrlEncryptionAlgorithm = 13; * @return The bytes for urlEncryptionAlgorithm. */ @java.lang.Override public com.google.protobuf.ByteString getUrlEncryptionAlgorithmBytes() { java.lang.Object ref = urlEncryptionAlgorithm_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); urlEncryptionAlgorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENABLELOWPRIORITY_FIELD_NUMBER = 14; private boolean enableLowPriority_; /** *
   * 是否闲时转码 
   * 
* * bool EnableLowPriority = 14; * @return The enableLowPriority. */ @java.lang.Override public boolean getEnableLowPriority() { return enableLowPriority_; } public static final int CUSTOMURLHEADERS_FIELD_NUMBER = 15; private static final class CustomURLHeadersDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUrlUploadURLSet_CustomURLHeadersEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> customURLHeaders_; private com.google.protobuf.MapField internalGetCustomURLHeaders() { if (customURLHeaders_ == null) { return com.google.protobuf.MapField.emptyMapField( CustomURLHeadersDefaultEntryHolder.defaultEntry); } return customURLHeaders_; } public int getCustomURLHeadersCount() { return internalGetCustomURLHeaders().getMap().size(); } /** *
   * 自定义Header 
   * 
* * map<string, string> CustomURLHeaders = 15; */ @java.lang.Override public boolean containsCustomURLHeaders( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomURLHeaders().getMap().containsKey(key); } /** * Use {@link #getCustomURLHeadersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCustomURLHeaders() { return getCustomURLHeadersMap(); } /** *
   * 自定义Header 
   * 
* * map<string, string> CustomURLHeaders = 15; */ @java.lang.Override public java.util.Map getCustomURLHeadersMap() { return internalGetCustomURLHeaders().getMap(); } /** *
   * 自定义Header 
   * 
* * map<string, string> CustomURLHeaders = 15; */ @java.lang.Override public java.lang.String getCustomURLHeadersOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomURLHeaders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * 自定义Header 
   * 
* * map<string, string> CustomURLHeaders = 15; */ @java.lang.Override public java.lang.String getCustomURLHeadersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomURLHeaders().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int TEMPLATES_FIELD_NUMBER = 16; private java.util.List templates_; /** *
   * 工作流模板 
   * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ @java.lang.Override public java.util.List getTemplatesList() { return templates_; } /** *
   * 工作流模板 
   * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ @java.lang.Override public java.util.List getTemplatesOrBuilderList() { return templates_; } /** *
   * 工作流模板 
   * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ @java.lang.Override public int getTemplatesCount() { return templates_.size(); } /** *
   * 工作流模板 
   * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ @java.lang.Override public com.volcengine.service.vod.model.business.VodUploadTemplate getTemplates(int index) { return templates_.get(index); } /** *
   * 工作流模板 
   * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ @java.lang.Override public com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder getTemplatesOrBuilder( int index) { return templates_.get(index); } 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(sourceUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourceUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, callbackArgs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(md5_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, md5_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, templateId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, title_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tags_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, tags_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(category_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, category_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, fileName_); } if (classificationId_ != 0L) { output.writeInt64(10, classificationId_); } if (storageClass_ != 0) { output.writeInt32(11, storageClass_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileExtension_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, fileExtension_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(urlEncryptionAlgorithm_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, urlEncryptionAlgorithm_); } if (enableLowPriority_ != false) { output.writeBool(14, enableLowPriority_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetCustomURLHeaders(), CustomURLHeadersDefaultEntryHolder.defaultEntry, 15); for (int i = 0; i < templates_.size(); i++) { output.writeMessage(16, templates_.get(i)); } 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(sourceUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourceUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, callbackArgs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(md5_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, md5_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(templateId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, templateId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, title_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tags_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, tags_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(category_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, category_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, fileName_); } if (classificationId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, classificationId_); } if (storageClass_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, storageClass_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileExtension_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, fileExtension_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(urlEncryptionAlgorithm_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, urlEncryptionAlgorithm_); } if (enableLowPriority_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(14, enableLowPriority_); } for (java.util.Map.Entry entry : internalGetCustomURLHeaders().getMap().entrySet()) { com.google.protobuf.MapEntry customURLHeaders__ = CustomURLHeadersDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, customURLHeaders__); } for (int i = 0; i < templates_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, templates_.get(i)); } 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.VodUrlUploadURLSet)) { return super.equals(obj); } com.volcengine.service.vod.model.business.VodUrlUploadURLSet other = (com.volcengine.service.vod.model.business.VodUrlUploadURLSet) obj; if (!getSourceUrl() .equals(other.getSourceUrl())) return false; if (!getCallbackArgs() .equals(other.getCallbackArgs())) return false; if (!getMd5() .equals(other.getMd5())) return false; if (!getTemplateId() .equals(other.getTemplateId())) return false; if (!getTitle() .equals(other.getTitle())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (!getTags() .equals(other.getTags())) return false; if (!getCategory() .equals(other.getCategory())) return false; if (!getFileName() .equals(other.getFileName())) return false; if (getClassificationId() != other.getClassificationId()) return false; if (getStorageClass() != other.getStorageClass()) return false; if (!getFileExtension() .equals(other.getFileExtension())) return false; if (!getUrlEncryptionAlgorithm() .equals(other.getUrlEncryptionAlgorithm())) return false; if (getEnableLowPriority() != other.getEnableLowPriority()) return false; if (!internalGetCustomURLHeaders().equals( other.internalGetCustomURLHeaders())) return false; if (!getTemplatesList() .equals(other.getTemplatesList())) 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) + SOURCEURL_FIELD_NUMBER; hash = (53 * hash) + getSourceUrl().hashCode(); hash = (37 * hash) + CALLBACKARGS_FIELD_NUMBER; hash = (53 * hash) + getCallbackArgs().hashCode(); hash = (37 * hash) + MD5_FIELD_NUMBER; hash = (53 * hash) + getMd5().hashCode(); hash = (37 * hash) + TEMPLATEID_FIELD_NUMBER; hash = (53 * hash) + getTemplateId().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) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTags().hashCode(); hash = (37 * hash) + CATEGORY_FIELD_NUMBER; hash = (53 * hash) + getCategory().hashCode(); hash = (37 * hash) + FILENAME_FIELD_NUMBER; hash = (53 * hash) + getFileName().hashCode(); hash = (37 * hash) + CLASSIFICATIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getClassificationId()); hash = (37 * hash) + STORAGECLASS_FIELD_NUMBER; hash = (53 * hash) + getStorageClass(); hash = (37 * hash) + FILEEXTENSION_FIELD_NUMBER; hash = (53 * hash) + getFileExtension().hashCode(); hash = (37 * hash) + URLENCRYPTIONALGORITHM_FIELD_NUMBER; hash = (53 * hash) + getUrlEncryptionAlgorithm().hashCode(); hash = (37 * hash) + ENABLELOWPRIORITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableLowPriority()); if (!internalGetCustomURLHeaders().getMap().isEmpty()) { hash = (37 * hash) + CUSTOMURLHEADERS_FIELD_NUMBER; hash = (53 * hash) + internalGetCustomURLHeaders().hashCode(); } if (getTemplatesCount() > 0) { hash = (37 * hash) + TEMPLATES_FIELD_NUMBER; hash = (53 * hash) + getTemplatesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.business.VodUrlUploadURLSet parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodUrlUploadURLSet 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.VodUrlUploadURLSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodUrlUploadURLSet 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.VodUrlUploadURLSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.VodUrlUploadURLSet 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.VodUrlUploadURLSet 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.VodUrlUploadURLSet 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.VodUrlUploadURLSet 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.VodUrlUploadURLSet 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.VodUrlUploadURLSet 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.VodUrlUploadURLSet 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.VodUrlUploadURLSet 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.VodUrlUploadURLSet} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodUrlUploadURLSet) com.volcengine.service.vod.model.business.VodUrlUploadURLSetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUrlUploadURLSet_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 15: return internalGetCustomURLHeaders(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 15: return internalGetMutableCustomURLHeaders(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUrlUploadURLSet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.business.VodUrlUploadURLSet.class, com.volcengine.service.vod.model.business.VodUrlUploadURLSet.Builder.class); } // Construct using com.volcengine.service.vod.model.business.VodUrlUploadURLSet.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTemplatesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); sourceUrl_ = ""; callbackArgs_ = ""; md5_ = ""; templateId_ = ""; title_ = ""; description_ = ""; tags_ = ""; category_ = ""; fileName_ = ""; classificationId_ = 0L; storageClass_ = 0; fileExtension_ = ""; urlEncryptionAlgorithm_ = ""; enableLowPriority_ = false; internalGetMutableCustomURLHeaders().clear(); if (templatesBuilder_ == null) { templates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { templatesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodUrlUploadURLSet_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.business.VodUrlUploadURLSet getDefaultInstanceForType() { return com.volcengine.service.vod.model.business.VodUrlUploadURLSet.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.business.VodUrlUploadURLSet build() { com.volcengine.service.vod.model.business.VodUrlUploadURLSet result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.business.VodUrlUploadURLSet buildPartial() { com.volcengine.service.vod.model.business.VodUrlUploadURLSet result = new com.volcengine.service.vod.model.business.VodUrlUploadURLSet(this); int from_bitField0_ = bitField0_; result.sourceUrl_ = sourceUrl_; result.callbackArgs_ = callbackArgs_; result.md5_ = md5_; result.templateId_ = templateId_; result.title_ = title_; result.description_ = description_; result.tags_ = tags_; result.category_ = category_; result.fileName_ = fileName_; result.classificationId_ = classificationId_; result.storageClass_ = storageClass_; result.fileExtension_ = fileExtension_; result.urlEncryptionAlgorithm_ = urlEncryptionAlgorithm_; result.enableLowPriority_ = enableLowPriority_; result.customURLHeaders_ = internalGetCustomURLHeaders(); result.customURLHeaders_.makeImmutable(); if (templatesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { templates_ = java.util.Collections.unmodifiableList(templates_); bitField0_ = (bitField0_ & ~0x00000002); } result.templates_ = templates_; } else { result.templates_ = templatesBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.volcengine.service.vod.model.business.VodUrlUploadURLSet) { return mergeFrom((com.volcengine.service.vod.model.business.VodUrlUploadURLSet)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.business.VodUrlUploadURLSet other) { if (other == com.volcengine.service.vod.model.business.VodUrlUploadURLSet.getDefaultInstance()) return this; if (!other.getSourceUrl().isEmpty()) { sourceUrl_ = other.sourceUrl_; onChanged(); } if (!other.getCallbackArgs().isEmpty()) { callbackArgs_ = other.callbackArgs_; onChanged(); } if (!other.getMd5().isEmpty()) { md5_ = other.md5_; onChanged(); } if (!other.getTemplateId().isEmpty()) { templateId_ = other.templateId_; onChanged(); } if (!other.getTitle().isEmpty()) { title_ = other.title_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (!other.getTags().isEmpty()) { tags_ = other.tags_; onChanged(); } if (!other.getCategory().isEmpty()) { category_ = other.category_; onChanged(); } if (!other.getFileName().isEmpty()) { fileName_ = other.fileName_; onChanged(); } if (other.getClassificationId() != 0L) { setClassificationId(other.getClassificationId()); } if (other.getStorageClass() != 0) { setStorageClass(other.getStorageClass()); } if (!other.getFileExtension().isEmpty()) { fileExtension_ = other.fileExtension_; onChanged(); } if (!other.getUrlEncryptionAlgorithm().isEmpty()) { urlEncryptionAlgorithm_ = other.urlEncryptionAlgorithm_; onChanged(); } if (other.getEnableLowPriority() != false) { setEnableLowPriority(other.getEnableLowPriority()); } internalGetMutableCustomURLHeaders().mergeFrom( other.internalGetCustomURLHeaders()); if (templatesBuilder_ == null) { if (!other.templates_.isEmpty()) { if (templates_.isEmpty()) { templates_ = other.templates_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTemplatesIsMutable(); templates_.addAll(other.templates_); } onChanged(); } } else { if (!other.templates_.isEmpty()) { if (templatesBuilder_.isEmpty()) { templatesBuilder_.dispose(); templatesBuilder_ = null; templates_ = other.templates_; bitField0_ = (bitField0_ & ~0x00000002); templatesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTemplatesFieldBuilder() : null; } else { templatesBuilder_.addAllMessages(other.templates_); } } } 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.VodUrlUploadURLSet parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.business.VodUrlUploadURLSet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object sourceUrl_ = ""; /** *
     * 视频的URL 
     * 
* * string SourceUrl = 1; * @return The sourceUrl. */ public java.lang.String getSourceUrl() { java.lang.Object ref = sourceUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 视频的URL 
     * 
* * string SourceUrl = 1; * @return The bytes for sourceUrl. */ public com.google.protobuf.ByteString getSourceUrlBytes() { java.lang.Object ref = sourceUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 视频的URL 
     * 
* * string SourceUrl = 1; * @param value The sourceUrl to set. * @return This builder for chaining. */ public Builder setSourceUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceUrl_ = value; onChanged(); return this; } /** *
     * 视频的URL 
     * 
* * string SourceUrl = 1; * @return This builder for chaining. */ public Builder clearSourceUrl() { sourceUrl_ = getDefaultInstance().getSourceUrl(); onChanged(); return this; } /** *
     * 视频的URL 
     * 
* * string SourceUrl = 1; * @param value The bytes for sourceUrl to set. * @return This builder for chaining. */ public Builder setSourceUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceUrl_ = value; onChanged(); return this; } private java.lang.Object callbackArgs_ = ""; /** *
     * 透传的业务信息 
     * 
* * string CallbackArgs = 2; * @return The callbackArgs. */ public java.lang.String getCallbackArgs() { java.lang.Object ref = callbackArgs_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callbackArgs_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 透传的业务信息 
     * 
* * string CallbackArgs = 2; * @return The bytes for callbackArgs. */ public com.google.protobuf.ByteString getCallbackArgsBytes() { java.lang.Object ref = callbackArgs_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callbackArgs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 透传的业务信息 
     * 
* * string CallbackArgs = 2; * @param value The callbackArgs to set. * @return This builder for chaining. */ public Builder setCallbackArgs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } callbackArgs_ = value; onChanged(); return this; } /** *
     * 透传的业务信息 
     * 
* * string CallbackArgs = 2; * @return This builder for chaining. */ public Builder clearCallbackArgs() { callbackArgs_ = getDefaultInstance().getCallbackArgs(); onChanged(); return this; } /** *
     * 透传的业务信息 
     * 
* * string CallbackArgs = 2; * @param value The bytes for callbackArgs to set. * @return This builder for chaining. */ public Builder setCallbackArgsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); callbackArgs_ = value; onChanged(); return this; } private java.lang.Object md5_ = ""; /** *
     * 视频的MD5 
     * 
* * string Md5 = 3; * @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; } } /** *
     * 视频的MD5 
     * 
* * string Md5 = 3; * @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; } } /** *
     * 视频的MD5 
     * 
* * string Md5 = 3; * @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; } /** *
     * 视频的MD5 
     * 
* * string Md5 = 3; * @return This builder for chaining. */ public Builder clearMd5() { md5_ = getDefaultInstance().getMd5(); onChanged(); return this; } /** *
     * 视频的MD5 
     * 
* * string Md5 = 3; * @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 templateId_ = ""; /** *
     * 模板Id 
     * 
* * string TemplateId = 4; * @return The templateId. */ public java.lang.String getTemplateId() { java.lang.Object ref = templateId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); templateId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 模板Id 
     * 
* * string TemplateId = 4; * @return The bytes for templateId. */ public com.google.protobuf.ByteString getTemplateIdBytes() { java.lang.Object ref = templateId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); templateId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 模板Id 
     * 
* * string TemplateId = 4; * @param value The templateId to set. * @return This builder for chaining. */ public Builder setTemplateId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } templateId_ = value; onChanged(); return this; } /** *
     * 模板Id 
     * 
* * string TemplateId = 4; * @return This builder for chaining. */ public Builder clearTemplateId() { templateId_ = getDefaultInstance().getTemplateId(); onChanged(); return this; } /** *
     * 模板Id 
     * 
* * string TemplateId = 4; * @param value The bytes for templateId to set. * @return This builder for chaining. */ public Builder setTemplateIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); templateId_ = value; onChanged(); return this; } private java.lang.Object title_ = ""; /** *
     * 标题 
     * 
* * string Title = 5; * @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 = 5; * @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 = 5; * @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 = 5; * @return This builder for chaining. */ public Builder clearTitle() { title_ = getDefaultInstance().getTitle(); onChanged(); return this; } /** *
     * 标题 
     * 
* * string Title = 5; * @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 = 6; * @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 = 6; * @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 = 6; * @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 = 6; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
     * 描述信息 
     * 
* * string Description = 6; * @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 tags_ = ""; /** *
     * 标签 
     * 
* * string Tags = 7; * @return The tags. */ public java.lang.String getTags() { java.lang.Object ref = tags_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tags_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 标签 
     * 
* * string Tags = 7; * @return The bytes for tags. */ public com.google.protobuf.ByteString getTagsBytes() { java.lang.Object ref = tags_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tags_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 标签 
     * 
* * string Tags = 7; * @param value The tags to set. * @return This builder for chaining. */ public Builder setTags( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tags_ = value; onChanged(); return this; } /** *
     * 标签 
     * 
* * string Tags = 7; * @return This builder for chaining. */ public Builder clearTags() { tags_ = getDefaultInstance().getTags(); onChanged(); return this; } /** *
     * 标签 
     * 
* * string Tags = 7; * @param value The bytes for tags to set. * @return This builder for chaining. */ public Builder setTagsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tags_ = value; onChanged(); return this; } private java.lang.Object category_ = ""; /** *
     * 分类 
     * 
* * string Category = 8; * @return The category. */ public java.lang.String getCategory() { java.lang.Object ref = category_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); category_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 分类 
     * 
* * string Category = 8; * @return The bytes for category. */ public com.google.protobuf.ByteString getCategoryBytes() { java.lang.Object ref = category_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); category_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 分类 
     * 
* * string Category = 8; * @param value The category to set. * @return This builder for chaining. */ public Builder setCategory( java.lang.String value) { if (value == null) { throw new NullPointerException(); } category_ = value; onChanged(); return this; } /** *
     * 分类 
     * 
* * string Category = 8; * @return This builder for chaining. */ public Builder clearCategory() { category_ = getDefaultInstance().getCategory(); onChanged(); return this; } /** *
     * 分类 
     * 
* * string Category = 8; * @param value The bytes for category to set. * @return This builder for chaining. */ public Builder setCategoryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); category_ = value; onChanged(); return this; } private java.lang.Object fileName_ = ""; /** *
     * 设置文件名 
     * 
* * string FileName = 9; * @return The fileName. */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 设置文件名 
     * 
* * string FileName = 9; * @return The bytes for fileName. */ public com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 设置文件名 
     * 
* * string FileName = 9; * @param value The fileName to set. * @return This builder for chaining. */ public Builder setFileName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileName_ = value; onChanged(); return this; } /** *
     * 设置文件名 
     * 
* * string FileName = 9; * @return This builder for chaining. */ public Builder clearFileName() { fileName_ = getDefaultInstance().getFileName(); onChanged(); return this; } /** *
     * 设置文件名 
     * 
* * string FileName = 9; * @param value The bytes for fileName to set. * @return This builder for chaining. */ public Builder setFileNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileName_ = value; onChanged(); return this; } private long classificationId_ ; /** *
     * 设置分类Id 
     * 
* * int64 ClassificationId = 10; * @return The classificationId. */ @java.lang.Override public long getClassificationId() { return classificationId_; } /** *
     * 设置分类Id 
     * 
* * int64 ClassificationId = 10; * @param value The classificationId to set. * @return This builder for chaining. */ public Builder setClassificationId(long value) { classificationId_ = value; onChanged(); return this; } /** *
     * 设置分类Id 
     * 
* * int64 ClassificationId = 10; * @return This builder for chaining. */ public Builder clearClassificationId() { classificationId_ = 0L; onChanged(); return this; } private int storageClass_ ; /** *
     * 设置存储类型 
     * 
* * int32 StorageClass = 11; * @return The storageClass. */ @java.lang.Override public int getStorageClass() { return storageClass_; } /** *
     * 设置存储类型 
     * 
* * int32 StorageClass = 11; * @param value The storageClass to set. * @return This builder for chaining. */ public Builder setStorageClass(int value) { storageClass_ = value; onChanged(); return this; } /** *
     * 设置存储类型 
     * 
* * int32 StorageClass = 11; * @return This builder for chaining. */ public Builder clearStorageClass() { storageClass_ = 0; onChanged(); return this; } private java.lang.Object fileExtension_ = ""; /** *
     * 设置文件后缀 
     * 
* * string FileExtension = 12; * @return The fileExtension. */ public java.lang.String getFileExtension() { java.lang.Object ref = fileExtension_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileExtension_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 设置文件后缀 
     * 
* * string FileExtension = 12; * @return The bytes for fileExtension. */ public com.google.protobuf.ByteString getFileExtensionBytes() { java.lang.Object ref = fileExtension_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileExtension_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 设置文件后缀 
     * 
* * string FileExtension = 12; * @param value The fileExtension to set. * @return This builder for chaining. */ public Builder setFileExtension( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileExtension_ = value; onChanged(); return this; } /** *
     * 设置文件后缀 
     * 
* * string FileExtension = 12; * @return This builder for chaining. */ public Builder clearFileExtension() { fileExtension_ = getDefaultInstance().getFileExtension(); onChanged(); return this; } /** *
     * 设置文件后缀 
     * 
* * string FileExtension = 12; * @param value The bytes for fileExtension to set. * @return This builder for chaining. */ public Builder setFileExtensionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileExtension_ = value; onChanged(); return this; } private java.lang.Object urlEncryptionAlgorithm_ = ""; /** *
     * URL加密算法 
     * 
* * string UrlEncryptionAlgorithm = 13; * @return The urlEncryptionAlgorithm. */ public java.lang.String getUrlEncryptionAlgorithm() { java.lang.Object ref = urlEncryptionAlgorithm_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); urlEncryptionAlgorithm_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * URL加密算法 
     * 
* * string UrlEncryptionAlgorithm = 13; * @return The bytes for urlEncryptionAlgorithm. */ public com.google.protobuf.ByteString getUrlEncryptionAlgorithmBytes() { java.lang.Object ref = urlEncryptionAlgorithm_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); urlEncryptionAlgorithm_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * URL加密算法 
     * 
* * string UrlEncryptionAlgorithm = 13; * @param value The urlEncryptionAlgorithm to set. * @return This builder for chaining. */ public Builder setUrlEncryptionAlgorithm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } urlEncryptionAlgorithm_ = value; onChanged(); return this; } /** *
     * URL加密算法 
     * 
* * string UrlEncryptionAlgorithm = 13; * @return This builder for chaining. */ public Builder clearUrlEncryptionAlgorithm() { urlEncryptionAlgorithm_ = getDefaultInstance().getUrlEncryptionAlgorithm(); onChanged(); return this; } /** *
     * URL加密算法 
     * 
* * string UrlEncryptionAlgorithm = 13; * @param value The bytes for urlEncryptionAlgorithm to set. * @return This builder for chaining. */ public Builder setUrlEncryptionAlgorithmBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); urlEncryptionAlgorithm_ = value; onChanged(); return this; } private boolean enableLowPriority_ ; /** *
     * 是否闲时转码 
     * 
* * bool EnableLowPriority = 14; * @return The enableLowPriority. */ @java.lang.Override public boolean getEnableLowPriority() { return enableLowPriority_; } /** *
     * 是否闲时转码 
     * 
* * bool EnableLowPriority = 14; * @param value The enableLowPriority to set. * @return This builder for chaining. */ public Builder setEnableLowPriority(boolean value) { enableLowPriority_ = value; onChanged(); return this; } /** *
     * 是否闲时转码 
     * 
* * bool EnableLowPriority = 14; * @return This builder for chaining. */ public Builder clearEnableLowPriority() { enableLowPriority_ = false; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> customURLHeaders_; private com.google.protobuf.MapField internalGetCustomURLHeaders() { if (customURLHeaders_ == null) { return com.google.protobuf.MapField.emptyMapField( CustomURLHeadersDefaultEntryHolder.defaultEntry); } return customURLHeaders_; } private com.google.protobuf.MapField internalGetMutableCustomURLHeaders() { onChanged();; if (customURLHeaders_ == null) { customURLHeaders_ = com.google.protobuf.MapField.newMapField( CustomURLHeadersDefaultEntryHolder.defaultEntry); } if (!customURLHeaders_.isMutable()) { customURLHeaders_ = customURLHeaders_.copy(); } return customURLHeaders_; } public int getCustomURLHeadersCount() { return internalGetCustomURLHeaders().getMap().size(); } /** *
     * 自定义Header 
     * 
* * map<string, string> CustomURLHeaders = 15; */ @java.lang.Override public boolean containsCustomURLHeaders( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCustomURLHeaders().getMap().containsKey(key); } /** * Use {@link #getCustomURLHeadersMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCustomURLHeaders() { return getCustomURLHeadersMap(); } /** *
     * 自定义Header 
     * 
* * map<string, string> CustomURLHeaders = 15; */ @java.lang.Override public java.util.Map getCustomURLHeadersMap() { return internalGetCustomURLHeaders().getMap(); } /** *
     * 自定义Header 
     * 
* * map<string, string> CustomURLHeaders = 15; */ @java.lang.Override public java.lang.String getCustomURLHeadersOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomURLHeaders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * 自定义Header 
     * 
* * map<string, string> CustomURLHeaders = 15; */ @java.lang.Override public java.lang.String getCustomURLHeadersOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCustomURLHeaders().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearCustomURLHeaders() { internalGetMutableCustomURLHeaders().getMutableMap() .clear(); return this; } /** *
     * 自定义Header 
     * 
* * map<string, string> CustomURLHeaders = 15; */ public Builder removeCustomURLHeaders( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableCustomURLHeaders().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableCustomURLHeaders() { return internalGetMutableCustomURLHeaders().getMutableMap(); } /** *
     * 自定义Header 
     * 
* * map<string, string> CustomURLHeaders = 15; */ public Builder putCustomURLHeaders( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableCustomURLHeaders().getMutableMap() .put(key, value); return this; } /** *
     * 自定义Header 
     * 
* * map<string, string> CustomURLHeaders = 15; */ public Builder putAllCustomURLHeaders( java.util.Map values) { internalGetMutableCustomURLHeaders().getMutableMap() .putAll(values); return this; } private java.util.List templates_ = java.util.Collections.emptyList(); private void ensureTemplatesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { templates_ = new java.util.ArrayList(templates_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.VodUploadTemplate, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder, com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder> templatesBuilder_; /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public java.util.List getTemplatesList() { if (templatesBuilder_ == null) { return java.util.Collections.unmodifiableList(templates_); } else { return templatesBuilder_.getMessageList(); } } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public int getTemplatesCount() { if (templatesBuilder_ == null) { return templates_.size(); } else { return templatesBuilder_.getCount(); } } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public com.volcengine.service.vod.model.business.VodUploadTemplate getTemplates(int index) { if (templatesBuilder_ == null) { return templates_.get(index); } else { return templatesBuilder_.getMessage(index); } } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public Builder setTemplates( int index, com.volcengine.service.vod.model.business.VodUploadTemplate value) { if (templatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTemplatesIsMutable(); templates_.set(index, value); onChanged(); } else { templatesBuilder_.setMessage(index, value); } return this; } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public Builder setTemplates( int index, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder builderForValue) { if (templatesBuilder_ == null) { ensureTemplatesIsMutable(); templates_.set(index, builderForValue.build()); onChanged(); } else { templatesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public Builder addTemplates(com.volcengine.service.vod.model.business.VodUploadTemplate value) { if (templatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTemplatesIsMutable(); templates_.add(value); onChanged(); } else { templatesBuilder_.addMessage(value); } return this; } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public Builder addTemplates( int index, com.volcengine.service.vod.model.business.VodUploadTemplate value) { if (templatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTemplatesIsMutable(); templates_.add(index, value); onChanged(); } else { templatesBuilder_.addMessage(index, value); } return this; } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public Builder addTemplates( com.volcengine.service.vod.model.business.VodUploadTemplate.Builder builderForValue) { if (templatesBuilder_ == null) { ensureTemplatesIsMutable(); templates_.add(builderForValue.build()); onChanged(); } else { templatesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public Builder addTemplates( int index, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder builderForValue) { if (templatesBuilder_ == null) { ensureTemplatesIsMutable(); templates_.add(index, builderForValue.build()); onChanged(); } else { templatesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public Builder addAllTemplates( java.lang.Iterable values) { if (templatesBuilder_ == null) { ensureTemplatesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, templates_); onChanged(); } else { templatesBuilder_.addAllMessages(values); } return this; } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public Builder clearTemplates() { if (templatesBuilder_ == null) { templates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { templatesBuilder_.clear(); } return this; } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public Builder removeTemplates(int index) { if (templatesBuilder_ == null) { ensureTemplatesIsMutable(); templates_.remove(index); onChanged(); } else { templatesBuilder_.remove(index); } return this; } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public com.volcengine.service.vod.model.business.VodUploadTemplate.Builder getTemplatesBuilder( int index) { return getTemplatesFieldBuilder().getBuilder(index); } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder getTemplatesOrBuilder( int index) { if (templatesBuilder_ == null) { return templates_.get(index); } else { return templatesBuilder_.getMessageOrBuilder(index); } } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public java.util.List getTemplatesOrBuilderList() { if (templatesBuilder_ != null) { return templatesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(templates_); } } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public com.volcengine.service.vod.model.business.VodUploadTemplate.Builder addTemplatesBuilder() { return getTemplatesFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.VodUploadTemplate.getDefaultInstance()); } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public com.volcengine.service.vod.model.business.VodUploadTemplate.Builder addTemplatesBuilder( int index) { return getTemplatesFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.VodUploadTemplate.getDefaultInstance()); } /** *
     * 工作流模板 
     * 
* * repeated .Volcengine.Vod.Models.Business.VodUploadTemplate Templates = 16; */ public java.util.List getTemplatesBuilderList() { return getTemplatesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.VodUploadTemplate, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder, com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder> getTemplatesFieldBuilder() { if (templatesBuilder_ == null) { templatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.VodUploadTemplate, com.volcengine.service.vod.model.business.VodUploadTemplate.Builder, com.volcengine.service.vod.model.business.VodUploadTemplateOrBuilder>( templates_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); templates_ = null; } return templatesBuilder_; } @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.VodUrlUploadURLSet) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodUrlUploadURLSet) private static final com.volcengine.service.vod.model.business.VodUrlUploadURLSet DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodUrlUploadURLSet(); } public static com.volcengine.service.vod.model.business.VodUrlUploadURLSet getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodUrlUploadURLSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodUrlUploadURLSet(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.VodUrlUploadURLSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy