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

com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest 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/request/request_vod.proto

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

/**
 * Protobuf type {@code Volcengine.Vod.Models.Request.VodUpdateMediaInfoRequest}
 */
public final class VodUpdateMediaInfoRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Request.VodUpdateMediaInfoRequest)
    VodUpdateMediaInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodUpdateMediaInfoRequest.newBuilder() to construct.
  private VodUpdateMediaInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodUpdateMediaInfoRequest() {
    vid_ = "";
  }

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

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

            vid_ = s;
            break;
          }
          case 18: {
            com.google.protobuf.StringValue.Builder subBuilder = null;
            if (posterUri_ != null) {
              subBuilder = posterUri_.toBuilder();
            }
            posterUri_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(posterUri_);
              posterUri_ = subBuilder.buildPartial();
            }

            break;
          }
          case 26: {
            com.google.protobuf.StringValue.Builder subBuilder = null;
            if (title_ != null) {
              subBuilder = title_.toBuilder();
            }
            title_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(title_);
              title_ = subBuilder.buildPartial();
            }

            break;
          }
          case 34: {
            com.google.protobuf.StringValue.Builder subBuilder = null;
            if (description_ != null) {
              subBuilder = description_.toBuilder();
            }
            description_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(description_);
              description_ = subBuilder.buildPartial();
            }

            break;
          }
          case 42: {
            com.google.protobuf.StringValue.Builder subBuilder = null;
            if (tags_ != null) {
              subBuilder = tags_.toBuilder();
            }
            tags_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(tags_);
              tags_ = subBuilder.buildPartial();
            }

            break;
          }
          case 50: {
            com.google.protobuf.Int64Value.Builder subBuilder = null;
            if (classificationId_ != null) {
              subBuilder = classificationId_.toBuilder();
            }
            classificationId_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(classificationId_);
              classificationId_ = subBuilder.buildPartial();
            }

            break;
          }
          case 58: {
            com.google.protobuf.StringValue.Builder subBuilder = null;
            if (expireTime_ != null) {
              subBuilder = expireTime_.toBuilder();
            }
            expireTime_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(expireTime_);
              expireTime_ = subBuilder.buildPartial();
            }

            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateMediaInfoRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateMediaInfoRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest.class, com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest.Builder.class);
  }

  public static final int VID_FIELD_NUMBER = 1;
  private volatile java.lang.Object vid_;
  /**
   * 
   *视频ID
   * 
* * string Vid = 1; * @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 = 1; * @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 POSTERURI_FIELD_NUMBER = 2; private com.google.protobuf.StringValue posterUri_; /** *
   *视频封面Uri
   * 
* * .google.protobuf.StringValue PosterUri = 2; * @return Whether the posterUri field is set. */ @java.lang.Override public boolean hasPosterUri() { return posterUri_ != null; } /** *
   *视频封面Uri
   * 
* * .google.protobuf.StringValue PosterUri = 2; * @return The posterUri. */ @java.lang.Override public com.google.protobuf.StringValue getPosterUri() { return posterUri_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : posterUri_; } /** *
   *视频封面Uri
   * 
* * .google.protobuf.StringValue PosterUri = 2; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getPosterUriOrBuilder() { return getPosterUri(); } public static final int TITLE_FIELD_NUMBER = 3; private com.google.protobuf.StringValue title_; /** *
   *视频名称
   * 
* * .google.protobuf.StringValue Title = 3; * @return Whether the title field is set. */ @java.lang.Override public boolean hasTitle() { return title_ != null; } /** *
   *视频名称
   * 
* * .google.protobuf.StringValue Title = 3; * @return The title. */ @java.lang.Override public com.google.protobuf.StringValue getTitle() { return title_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : title_; } /** *
   *视频名称
   * 
* * .google.protobuf.StringValue Title = 3; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getTitleOrBuilder() { return getTitle(); } public static final int DESCRIPTION_FIELD_NUMBER = 4; private com.google.protobuf.StringValue description_; /** *
   *视频描述
   * 
* * .google.protobuf.StringValue Description = 4; * @return Whether the description field is set. */ @java.lang.Override public boolean hasDescription() { return description_ != null; } /** *
   *视频描述
   * 
* * .google.protobuf.StringValue Description = 4; * @return The description. */ @java.lang.Override public com.google.protobuf.StringValue getDescription() { return description_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : description_; } /** *
   *视频描述
   * 
* * .google.protobuf.StringValue Description = 4; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getDescriptionOrBuilder() { return getDescription(); } public static final int TAGS_FIELD_NUMBER = 5; private com.google.protobuf.StringValue tags_; /** *
   *视频标签
   * 
* * .google.protobuf.StringValue Tags = 5; * @return Whether the tags field is set. */ @java.lang.Override public boolean hasTags() { return tags_ != null; } /** *
   *视频标签
   * 
* * .google.protobuf.StringValue Tags = 5; * @return The tags. */ @java.lang.Override public com.google.protobuf.StringValue getTags() { return tags_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : tags_; } /** *
   *视频标签
   * 
* * .google.protobuf.StringValue Tags = 5; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getTagsOrBuilder() { return getTags(); } public static final int CLASSIFICATIONID_FIELD_NUMBER = 6; private com.google.protobuf.Int64Value classificationId_; /** *
   *视频分类Id
   * 
* * .google.protobuf.Int64Value ClassificationId = 6; * @return Whether the classificationId field is set. */ @java.lang.Override public boolean hasClassificationId() { return classificationId_ != null; } /** *
   *视频分类Id
   * 
* * .google.protobuf.Int64Value ClassificationId = 6; * @return The classificationId. */ @java.lang.Override public com.google.protobuf.Int64Value getClassificationId() { return classificationId_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : classificationId_; } /** *
   *视频分类Id
   * 
* * .google.protobuf.Int64Value ClassificationId = 6; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getClassificationIdOrBuilder() { return getClassificationId(); } public static final int EXPIRETIME_FIELD_NUMBER = 7; private com.google.protobuf.StringValue expireTime_; /** *
   * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
   * 填"9999-12-31T23:59:59Z"表示永不过期.
   * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
   * 示例值:2024-08-30T20:10:11+08:00 
   * 
* * .google.protobuf.StringValue ExpireTime = 7; * @return Whether the expireTime field is set. */ @java.lang.Override public boolean hasExpireTime() { return expireTime_ != null; } /** *
   * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
   * 填"9999-12-31T23:59:59Z"表示永不过期.
   * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
   * 示例值:2024-08-30T20:10:11+08:00 
   * 
* * .google.protobuf.StringValue ExpireTime = 7; * @return The expireTime. */ @java.lang.Override public com.google.protobuf.StringValue getExpireTime() { return expireTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : expireTime_; } /** *
   * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
   * 填"9999-12-31T23:59:59Z"表示永不过期.
   * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
   * 示例值:2024-08-30T20:10:11+08:00 
   * 
* * .google.protobuf.StringValue ExpireTime = 7; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getExpireTimeOrBuilder() { return getExpireTime(); } 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(vid_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vid_); } if (posterUri_ != null) { output.writeMessage(2, getPosterUri()); } if (title_ != null) { output.writeMessage(3, getTitle()); } if (description_ != null) { output.writeMessage(4, getDescription()); } if (tags_ != null) { output.writeMessage(5, getTags()); } if (classificationId_ != null) { output.writeMessage(6, getClassificationId()); } if (expireTime_ != null) { output.writeMessage(7, getExpireTime()); } 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(vid_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vid_); } if (posterUri_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getPosterUri()); } if (title_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getTitle()); } if (description_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getDescription()); } if (tags_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getTags()); } if (classificationId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getClassificationId()); } if (expireTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getExpireTime()); } 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.request.VodUpdateMediaInfoRequest)) { return super.equals(obj); } com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest other = (com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest) obj; if (!getVid() .equals(other.getVid())) return false; if (hasPosterUri() != other.hasPosterUri()) return false; if (hasPosterUri()) { if (!getPosterUri() .equals(other.getPosterUri())) return false; } if (hasTitle() != other.hasTitle()) return false; if (hasTitle()) { if (!getTitle() .equals(other.getTitle())) return false; } if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription() .equals(other.getDescription())) return false; } if (hasTags() != other.hasTags()) return false; if (hasTags()) { if (!getTags() .equals(other.getTags())) return false; } if (hasClassificationId() != other.hasClassificationId()) return false; if (hasClassificationId()) { if (!getClassificationId() .equals(other.getClassificationId())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { 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) + VID_FIELD_NUMBER; hash = (53 * hash) + getVid().hashCode(); if (hasPosterUri()) { hash = (37 * hash) + POSTERURI_FIELD_NUMBER; hash = (53 * hash) + getPosterUri().hashCode(); } if (hasTitle()) { hash = (37 * hash) + TITLE_FIELD_NUMBER; hash = (53 * hash) + getTitle().hashCode(); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } if (hasTags()) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTags().hashCode(); } if (hasClassificationId()) { hash = (37 * hash) + CLASSIFICATIONID_FIELD_NUMBER; hash = (53 * hash) + getClassificationId().hashCode(); } if (hasExpireTime()) { 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.request.VodUpdateMediaInfoRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest 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.request.VodUpdateMediaInfoRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest 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.request.VodUpdateMediaInfoRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest 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.request.VodUpdateMediaInfoRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest 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.request.VodUpdateMediaInfoRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest 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.request.VodUpdateMediaInfoRequest 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.request.VodUpdateMediaInfoRequest 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.request.VodUpdateMediaInfoRequest 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.Request.VodUpdateMediaInfoRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Request.VodUpdateMediaInfoRequest) com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateMediaInfoRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateMediaInfoRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest.class, com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest.Builder.class); } // Construct using com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest.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(); vid_ = ""; if (posterUriBuilder_ == null) { posterUri_ = null; } else { posterUri_ = null; posterUriBuilder_ = null; } if (titleBuilder_ == null) { title_ = null; } else { title_ = null; titleBuilder_ = null; } if (descriptionBuilder_ == null) { description_ = null; } else { description_ = null; descriptionBuilder_ = null; } if (tagsBuilder_ == null) { tags_ = null; } else { tags_ = null; tagsBuilder_ = null; } if (classificationIdBuilder_ == null) { classificationId_ = null; } else { classificationId_ = null; classificationIdBuilder_ = null; } if (expireTimeBuilder_ == null) { expireTime_ = null; } else { expireTime_ = null; expireTimeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodUpdateMediaInfoRequest_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest getDefaultInstanceForType() { return com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest build() { com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest buildPartial() { com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest result = new com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest(this); result.vid_ = vid_; if (posterUriBuilder_ == null) { result.posterUri_ = posterUri_; } else { result.posterUri_ = posterUriBuilder_.build(); } if (titleBuilder_ == null) { result.title_ = title_; } else { result.title_ = titleBuilder_.build(); } if (descriptionBuilder_ == null) { result.description_ = description_; } else { result.description_ = descriptionBuilder_.build(); } if (tagsBuilder_ == null) { result.tags_ = tags_; } else { result.tags_ = tagsBuilder_.build(); } if (classificationIdBuilder_ == null) { result.classificationId_ = classificationId_; } else { result.classificationId_ = classificationIdBuilder_.build(); } if (expireTimeBuilder_ == null) { result.expireTime_ = expireTime_; } else { result.expireTime_ = expireTimeBuilder_.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.request.VodUpdateMediaInfoRequest) { return mergeFrom((com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest other) { if (other == com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest.getDefaultInstance()) return this; if (!other.getVid().isEmpty()) { vid_ = other.vid_; onChanged(); } if (other.hasPosterUri()) { mergePosterUri(other.getPosterUri()); } if (other.hasTitle()) { mergeTitle(other.getTitle()); } if (other.hasDescription()) { mergeDescription(other.getDescription()); } if (other.hasTags()) { mergeTags(other.getTags()); } if (other.hasClassificationId()) { mergeClassificationId(other.getClassificationId()); } if (other.hasExpireTime()) { mergeExpireTime(other.getExpireTime()); } 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.request.VodUpdateMediaInfoRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object vid_ = ""; /** *
     *视频ID
     * 
* * string Vid = 1; * @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 = 1; * @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 = 1; * @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 = 1; * @return This builder for chaining. */ public Builder clearVid() { vid_ = getDefaultInstance().getVid(); onChanged(); return this; } /** *
     *视频ID
     * 
* * string Vid = 1; * @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 com.google.protobuf.StringValue posterUri_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> posterUriBuilder_; /** *
     *视频封面Uri
     * 
* * .google.protobuf.StringValue PosterUri = 2; * @return Whether the posterUri field is set. */ public boolean hasPosterUri() { return posterUriBuilder_ != null || posterUri_ != null; } /** *
     *视频封面Uri
     * 
* * .google.protobuf.StringValue PosterUri = 2; * @return The posterUri. */ public com.google.protobuf.StringValue getPosterUri() { if (posterUriBuilder_ == null) { return posterUri_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : posterUri_; } else { return posterUriBuilder_.getMessage(); } } /** *
     *视频封面Uri
     * 
* * .google.protobuf.StringValue PosterUri = 2; */ public Builder setPosterUri(com.google.protobuf.StringValue value) { if (posterUriBuilder_ == null) { if (value == null) { throw new NullPointerException(); } posterUri_ = value; onChanged(); } else { posterUriBuilder_.setMessage(value); } return this; } /** *
     *视频封面Uri
     * 
* * .google.protobuf.StringValue PosterUri = 2; */ public Builder setPosterUri( com.google.protobuf.StringValue.Builder builderForValue) { if (posterUriBuilder_ == null) { posterUri_ = builderForValue.build(); onChanged(); } else { posterUriBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *视频封面Uri
     * 
* * .google.protobuf.StringValue PosterUri = 2; */ public Builder mergePosterUri(com.google.protobuf.StringValue value) { if (posterUriBuilder_ == null) { if (posterUri_ != null) { posterUri_ = com.google.protobuf.StringValue.newBuilder(posterUri_).mergeFrom(value).buildPartial(); } else { posterUri_ = value; } onChanged(); } else { posterUriBuilder_.mergeFrom(value); } return this; } /** *
     *视频封面Uri
     * 
* * .google.protobuf.StringValue PosterUri = 2; */ public Builder clearPosterUri() { if (posterUriBuilder_ == null) { posterUri_ = null; onChanged(); } else { posterUri_ = null; posterUriBuilder_ = null; } return this; } /** *
     *视频封面Uri
     * 
* * .google.protobuf.StringValue PosterUri = 2; */ public com.google.protobuf.StringValue.Builder getPosterUriBuilder() { onChanged(); return getPosterUriFieldBuilder().getBuilder(); } /** *
     *视频封面Uri
     * 
* * .google.protobuf.StringValue PosterUri = 2; */ public com.google.protobuf.StringValueOrBuilder getPosterUriOrBuilder() { if (posterUriBuilder_ != null) { return posterUriBuilder_.getMessageOrBuilder(); } else { return posterUri_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : posterUri_; } } /** *
     *视频封面Uri
     * 
* * .google.protobuf.StringValue PosterUri = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getPosterUriFieldBuilder() { if (posterUriBuilder_ == null) { posterUriBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getPosterUri(), getParentForChildren(), isClean()); posterUri_ = null; } return posterUriBuilder_; } private com.google.protobuf.StringValue title_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> titleBuilder_; /** *
     *视频名称
     * 
* * .google.protobuf.StringValue Title = 3; * @return Whether the title field is set. */ public boolean hasTitle() { return titleBuilder_ != null || title_ != null; } /** *
     *视频名称
     * 
* * .google.protobuf.StringValue Title = 3; * @return The title. */ public com.google.protobuf.StringValue getTitle() { if (titleBuilder_ == null) { return title_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : title_; } else { return titleBuilder_.getMessage(); } } /** *
     *视频名称
     * 
* * .google.protobuf.StringValue Title = 3; */ public Builder setTitle(com.google.protobuf.StringValue value) { if (titleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } title_ = value; onChanged(); } else { titleBuilder_.setMessage(value); } return this; } /** *
     *视频名称
     * 
* * .google.protobuf.StringValue Title = 3; */ public Builder setTitle( com.google.protobuf.StringValue.Builder builderForValue) { if (titleBuilder_ == null) { title_ = builderForValue.build(); onChanged(); } else { titleBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *视频名称
     * 
* * .google.protobuf.StringValue Title = 3; */ public Builder mergeTitle(com.google.protobuf.StringValue value) { if (titleBuilder_ == null) { if (title_ != null) { title_ = com.google.protobuf.StringValue.newBuilder(title_).mergeFrom(value).buildPartial(); } else { title_ = value; } onChanged(); } else { titleBuilder_.mergeFrom(value); } return this; } /** *
     *视频名称
     * 
* * .google.protobuf.StringValue Title = 3; */ public Builder clearTitle() { if (titleBuilder_ == null) { title_ = null; onChanged(); } else { title_ = null; titleBuilder_ = null; } return this; } /** *
     *视频名称
     * 
* * .google.protobuf.StringValue Title = 3; */ public com.google.protobuf.StringValue.Builder getTitleBuilder() { onChanged(); return getTitleFieldBuilder().getBuilder(); } /** *
     *视频名称
     * 
* * .google.protobuf.StringValue Title = 3; */ public com.google.protobuf.StringValueOrBuilder getTitleOrBuilder() { if (titleBuilder_ != null) { return titleBuilder_.getMessageOrBuilder(); } else { return title_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : title_; } } /** *
     *视频名称
     * 
* * .google.protobuf.StringValue Title = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getTitleFieldBuilder() { if (titleBuilder_ == null) { titleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getTitle(), getParentForChildren(), isClean()); title_ = null; } return titleBuilder_; } private com.google.protobuf.StringValue description_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> descriptionBuilder_; /** *
     *视频描述
     * 
* * .google.protobuf.StringValue Description = 4; * @return Whether the description field is set. */ public boolean hasDescription() { return descriptionBuilder_ != null || description_ != null; } /** *
     *视频描述
     * 
* * .google.protobuf.StringValue Description = 4; * @return The description. */ public com.google.protobuf.StringValue getDescription() { if (descriptionBuilder_ == null) { return description_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : description_; } else { return descriptionBuilder_.getMessage(); } } /** *
     *视频描述
     * 
* * .google.protobuf.StringValue Description = 4; */ public Builder setDescription(com.google.protobuf.StringValue value) { if (descriptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); } else { descriptionBuilder_.setMessage(value); } return this; } /** *
     *视频描述
     * 
* * .google.protobuf.StringValue Description = 4; */ public Builder setDescription( com.google.protobuf.StringValue.Builder builderForValue) { if (descriptionBuilder_ == null) { description_ = builderForValue.build(); onChanged(); } else { descriptionBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *视频描述
     * 
* * .google.protobuf.StringValue Description = 4; */ public Builder mergeDescription(com.google.protobuf.StringValue value) { if (descriptionBuilder_ == null) { if (description_ != null) { description_ = com.google.protobuf.StringValue.newBuilder(description_).mergeFrom(value).buildPartial(); } else { description_ = value; } onChanged(); } else { descriptionBuilder_.mergeFrom(value); } return this; } /** *
     *视频描述
     * 
* * .google.protobuf.StringValue Description = 4; */ public Builder clearDescription() { if (descriptionBuilder_ == null) { description_ = null; onChanged(); } else { description_ = null; descriptionBuilder_ = null; } return this; } /** *
     *视频描述
     * 
* * .google.protobuf.StringValue Description = 4; */ public com.google.protobuf.StringValue.Builder getDescriptionBuilder() { onChanged(); return getDescriptionFieldBuilder().getBuilder(); } /** *
     *视频描述
     * 
* * .google.protobuf.StringValue Description = 4; */ public com.google.protobuf.StringValueOrBuilder getDescriptionOrBuilder() { if (descriptionBuilder_ != null) { return descriptionBuilder_.getMessageOrBuilder(); } else { return description_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : description_; } } /** *
     *视频描述
     * 
* * .google.protobuf.StringValue Description = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getDescriptionFieldBuilder() { if (descriptionBuilder_ == null) { descriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getDescription(), getParentForChildren(), isClean()); description_ = null; } return descriptionBuilder_; } private com.google.protobuf.StringValue tags_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> tagsBuilder_; /** *
     *视频标签
     * 
* * .google.protobuf.StringValue Tags = 5; * @return Whether the tags field is set. */ public boolean hasTags() { return tagsBuilder_ != null || tags_ != null; } /** *
     *视频标签
     * 
* * .google.protobuf.StringValue Tags = 5; * @return The tags. */ public com.google.protobuf.StringValue getTags() { if (tagsBuilder_ == null) { return tags_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : tags_; } else { return tagsBuilder_.getMessage(); } } /** *
     *视频标签
     * 
* * .google.protobuf.StringValue Tags = 5; */ public Builder setTags(com.google.protobuf.StringValue value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tags_ = value; onChanged(); } else { tagsBuilder_.setMessage(value); } return this; } /** *
     *视频标签
     * 
* * .google.protobuf.StringValue Tags = 5; */ public Builder setTags( com.google.protobuf.StringValue.Builder builderForValue) { if (tagsBuilder_ == null) { tags_ = builderForValue.build(); onChanged(); } else { tagsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *视频标签
     * 
* * .google.protobuf.StringValue Tags = 5; */ public Builder mergeTags(com.google.protobuf.StringValue value) { if (tagsBuilder_ == null) { if (tags_ != null) { tags_ = com.google.protobuf.StringValue.newBuilder(tags_).mergeFrom(value).buildPartial(); } else { tags_ = value; } onChanged(); } else { tagsBuilder_.mergeFrom(value); } return this; } /** *
     *视频标签
     * 
* * .google.protobuf.StringValue Tags = 5; */ public Builder clearTags() { if (tagsBuilder_ == null) { tags_ = null; onChanged(); } else { tags_ = null; tagsBuilder_ = null; } return this; } /** *
     *视频标签
     * 
* * .google.protobuf.StringValue Tags = 5; */ public com.google.protobuf.StringValue.Builder getTagsBuilder() { onChanged(); return getTagsFieldBuilder().getBuilder(); } /** *
     *视频标签
     * 
* * .google.protobuf.StringValue Tags = 5; */ public com.google.protobuf.StringValueOrBuilder getTagsOrBuilder() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilder(); } else { return tags_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : tags_; } } /** *
     *视频标签
     * 
* * .google.protobuf.StringValue Tags = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { tagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getTags(), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; } private com.google.protobuf.Int64Value classificationId_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> classificationIdBuilder_; /** *
     *视频分类Id
     * 
* * .google.protobuf.Int64Value ClassificationId = 6; * @return Whether the classificationId field is set. */ public boolean hasClassificationId() { return classificationIdBuilder_ != null || classificationId_ != null; } /** *
     *视频分类Id
     * 
* * .google.protobuf.Int64Value ClassificationId = 6; * @return The classificationId. */ public com.google.protobuf.Int64Value getClassificationId() { if (classificationIdBuilder_ == null) { return classificationId_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : classificationId_; } else { return classificationIdBuilder_.getMessage(); } } /** *
     *视频分类Id
     * 
* * .google.protobuf.Int64Value ClassificationId = 6; */ public Builder setClassificationId(com.google.protobuf.Int64Value value) { if (classificationIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } classificationId_ = value; onChanged(); } else { classificationIdBuilder_.setMessage(value); } return this; } /** *
     *视频分类Id
     * 
* * .google.protobuf.Int64Value ClassificationId = 6; */ public Builder setClassificationId( com.google.protobuf.Int64Value.Builder builderForValue) { if (classificationIdBuilder_ == null) { classificationId_ = builderForValue.build(); onChanged(); } else { classificationIdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     *视频分类Id
     * 
* * .google.protobuf.Int64Value ClassificationId = 6; */ public Builder mergeClassificationId(com.google.protobuf.Int64Value value) { if (classificationIdBuilder_ == null) { if (classificationId_ != null) { classificationId_ = com.google.protobuf.Int64Value.newBuilder(classificationId_).mergeFrom(value).buildPartial(); } else { classificationId_ = value; } onChanged(); } else { classificationIdBuilder_.mergeFrom(value); } return this; } /** *
     *视频分类Id
     * 
* * .google.protobuf.Int64Value ClassificationId = 6; */ public Builder clearClassificationId() { if (classificationIdBuilder_ == null) { classificationId_ = null; onChanged(); } else { classificationId_ = null; classificationIdBuilder_ = null; } return this; } /** *
     *视频分类Id
     * 
* * .google.protobuf.Int64Value ClassificationId = 6; */ public com.google.protobuf.Int64Value.Builder getClassificationIdBuilder() { onChanged(); return getClassificationIdFieldBuilder().getBuilder(); } /** *
     *视频分类Id
     * 
* * .google.protobuf.Int64Value ClassificationId = 6; */ public com.google.protobuf.Int64ValueOrBuilder getClassificationIdOrBuilder() { if (classificationIdBuilder_ != null) { return classificationIdBuilder_.getMessageOrBuilder(); } else { return classificationId_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : classificationId_; } } /** *
     *视频分类Id
     * 
* * .google.protobuf.Int64Value ClassificationId = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getClassificationIdFieldBuilder() { if (classificationIdBuilder_ == null) { classificationIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getClassificationId(), getParentForChildren(), isClean()); classificationId_ = null; } return classificationIdBuilder_; } private com.google.protobuf.StringValue expireTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> expireTimeBuilder_; /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * .google.protobuf.StringValue ExpireTime = 7; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * .google.protobuf.StringValue ExpireTime = 7; * @return The expireTime. */ public com.google.protobuf.StringValue getExpireTime() { if (expireTimeBuilder_ == null) { return expireTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * .google.protobuf.StringValue ExpireTime = 7; */ public Builder setExpireTime(com.google.protobuf.StringValue value) { if (expireTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } expireTime_ = value; onChanged(); } else { expireTimeBuilder_.setMessage(value); } return this; } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * .google.protobuf.StringValue ExpireTime = 7; */ public Builder setExpireTime( com.google.protobuf.StringValue.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); } else { expireTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * .google.protobuf.StringValue ExpireTime = 7; */ public Builder mergeExpireTime(com.google.protobuf.StringValue value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = com.google.protobuf.StringValue.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } onChanged(); } else { expireTimeBuilder_.mergeFrom(value); } return this; } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * .google.protobuf.StringValue ExpireTime = 7; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { expireTime_ = null; onChanged(); } else { expireTime_ = null; expireTimeBuilder_ = null; } return this; } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * .google.protobuf.StringValue ExpireTime = 7; */ public com.google.protobuf.StringValue.Builder getExpireTimeBuilder() { onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * .google.protobuf.StringValue ExpireTime = 7; */ public com.google.protobuf.StringValueOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { return expireTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : expireTime_; } } /** *
     * 媒资文件过期时间,采用ISO日期格式. 不传或传空,不修改.
     * 填"9999-12-31T23:59:59Z"表示永不过期.
     * 过期后该媒资文件及其相关资源(转码结果、封面图等)将被永久删除.
     * 示例值:2024-08-30T20:10:11+08:00 
     * 
* * .google.protobuf.StringValue ExpireTime = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getExpireTime(), getParentForChildren(), isClean()); expireTime_ = null; } return expireTimeBuilder_; } @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.Request.VodUpdateMediaInfoRequest) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Request.VodUpdateMediaInfoRequest) private static final com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest(); } public static com.volcengine.service.vod.model.request.VodUpdateMediaInfoRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodUpdateMediaInfoRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodUpdateMediaInfoRequest(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.request.VodUpdateMediaInfoRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy