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

com.volcengine.service.vod.model.request.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest}
 */
public final class VodCreateWatermarkRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Request.VodCreateWatermarkRequest)
    VodCreateWatermarkRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodCreateWatermarkRequest.newBuilder() to construct.
  private VodCreateWatermarkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodCreateWatermarkRequest() {
    spaceName_ = "";
    name_ = "";
    description_ = "";
    logoType_ = "";
    logos_ = java.util.Collections.emptyList();
    concats_ = java.util.Collections.emptyList();
  }

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

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

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

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

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

            logoType_ = s;
            break;
          }
          case 66: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              logos_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            logos_.add(
                input.readMessage(com.volcengine.service.vod.model.business.AdaptLogo.parser(), extensionRegistry));
            break;
          }
          case 74: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              concats_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            concats_.add(
                input.readMessage(com.volcengine.service.vod.model.business.AdaptConcat.parser(), extensionRegistry));
            break;
          }
          case 82: {
            com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder subBuilder = null;
            if (hiddenWatermark_ != null) {
              subBuilder = hiddenWatermark_.toBuilder();
            }
            hiddenWatermark_ = input.readMessage(com.volcengine.service.vod.model.business.HiddenWatermarkAdd.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(hiddenWatermark_);
              hiddenWatermark_ = 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 {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        logos_ = java.util.Collections.unmodifiableList(logos_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        concats_ = java.util.Collections.unmodifiableList(concats_);
      }
      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_VodCreateWatermarkRequest_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_VodCreateWatermarkRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.request.VodCreateWatermarkRequest.class, com.volcengine.service.vod.model.request.VodCreateWatermarkRequest.Builder.class);
  }

  public static final int SPACENAME_FIELD_NUMBER = 1;
  private volatile java.lang.Object spaceName_;
  /**
   * 
   * 空间名 
   * 
* * string SpaceName = 1; * @return The spaceName. */ @java.lang.Override public java.lang.String getSpaceName() { java.lang.Object ref = spaceName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); spaceName_ = s; return s; } } /** *
   * 空间名 
   * 
* * string SpaceName = 1; * @return The bytes for spaceName. */ @java.lang.Override public com.google.protobuf.ByteString getSpaceNameBytes() { java.lang.Object ref = spaceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); spaceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** *
   * 模板名称 
   * 
* * string Name = 2; * @return The name. */ @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; 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(); name_ = s; return s; } } /** *
   * 模板名称 
   * 
* * string Name = 2; * @return The bytes for name. */ @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** *
   * 模板描述 
   * 
* * string Description = 3; * @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 = 3; * @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 LOGOTYPE_FIELD_NUMBER = 7; private volatile java.lang.Object logoType_; /** *
   * 水印播放标签 
   * 
* * string LogoType = 7; * @return The logoType. */ @java.lang.Override public java.lang.String getLogoType() { java.lang.Object ref = logoType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoType_ = s; return s; } } /** *
   * 水印播放标签 
   * 
* * string LogoType = 7; * @return The bytes for logoType. */ @java.lang.Override public com.google.protobuf.ByteString getLogoTypeBytes() { java.lang.Object ref = logoType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logoType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOGOS_FIELD_NUMBER = 8; private java.util.List logos_; /** *
   * 明水印 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ @java.lang.Override public java.util.List getLogosList() { return logos_; } /** *
   * 明水印 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ @java.lang.Override public java.util.List getLogosOrBuilderList() { return logos_; } /** *
   * 明水印 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ @java.lang.Override public int getLogosCount() { return logos_.size(); } /** *
   * 明水印 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ @java.lang.Override public com.volcengine.service.vod.model.business.AdaptLogo getLogos(int index) { return logos_.get(index); } /** *
   * 明水印 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ @java.lang.Override public com.volcengine.service.vod.model.business.AdaptLogoOrBuilder getLogosOrBuilder( int index) { return logos_.get(index); } public static final int CONCATS_FIELD_NUMBER = 9; private java.util.List concats_; /** *
   * 贴片 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ @java.lang.Override public java.util.List getConcatsList() { return concats_; } /** *
   * 贴片 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ @java.lang.Override public java.util.List getConcatsOrBuilderList() { return concats_; } /** *
   * 贴片 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ @java.lang.Override public int getConcatsCount() { return concats_.size(); } /** *
   * 贴片 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ @java.lang.Override public com.volcengine.service.vod.model.business.AdaptConcat getConcats(int index) { return concats_.get(index); } /** *
   * 贴片 
   * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ @java.lang.Override public com.volcengine.service.vod.model.business.AdaptConcatOrBuilder getConcatsOrBuilder( int index) { return concats_.get(index); } public static final int HIDDENWATERMARK_FIELD_NUMBER = 10; private com.volcengine.service.vod.model.business.HiddenWatermarkAdd hiddenWatermark_; /** *
   * 暗水印 
   * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; * @return Whether the hiddenWatermark field is set. */ @java.lang.Override public boolean hasHiddenWatermark() { return hiddenWatermark_ != null; } /** *
   * 暗水印 
   * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; * @return The hiddenWatermark. */ @java.lang.Override public com.volcengine.service.vod.model.business.HiddenWatermarkAdd getHiddenWatermark() { return hiddenWatermark_ == null ? com.volcengine.service.vod.model.business.HiddenWatermarkAdd.getDefaultInstance() : hiddenWatermark_; } /** *
   * 暗水印 
   * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; */ @java.lang.Override public com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder getHiddenWatermarkOrBuilder() { return getHiddenWatermark(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spaceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logoType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, logoType_); } for (int i = 0; i < logos_.size(); i++) { output.writeMessage(8, logos_.get(i)); } for (int i = 0; i < concats_.size(); i++) { output.writeMessage(9, concats_.get(i)); } if (hiddenWatermark_ != null) { output.writeMessage(10, getHiddenWatermark()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, spaceName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logoType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, logoType_); } for (int i = 0; i < logos_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, logos_.get(i)); } for (int i = 0; i < concats_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, concats_.get(i)); } if (hiddenWatermark_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getHiddenWatermark()); } 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.VodCreateWatermarkRequest)) { return super.equals(obj); } com.volcengine.service.vod.model.request.VodCreateWatermarkRequest other = (com.volcengine.service.vod.model.request.VodCreateWatermarkRequest) obj; if (!getSpaceName() .equals(other.getSpaceName())) return false; if (!getName() .equals(other.getName())) return false; if (!getDescription() .equals(other.getDescription())) return false; if (!getLogoType() .equals(other.getLogoType())) return false; if (!getLogosList() .equals(other.getLogosList())) return false; if (!getConcatsList() .equals(other.getConcatsList())) return false; if (hasHiddenWatermark() != other.hasHiddenWatermark()) return false; if (hasHiddenWatermark()) { if (!getHiddenWatermark() .equals(other.getHiddenWatermark())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SPACENAME_FIELD_NUMBER; hash = (53 * hash) + getSpaceName().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); hash = (37 * hash) + LOGOTYPE_FIELD_NUMBER; hash = (53 * hash) + getLogoType().hashCode(); if (getLogosCount() > 0) { hash = (37 * hash) + LOGOS_FIELD_NUMBER; hash = (53 * hash) + getLogosList().hashCode(); } if (getConcatsCount() > 0) { hash = (37 * hash) + CONCATS_FIELD_NUMBER; hash = (53 * hash) + getConcatsList().hashCode(); } if (hasHiddenWatermark()) { hash = (37 * hash) + HIDDENWATERMARK_FIELD_NUMBER; hash = (53 * hash) + getHiddenWatermark().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.request.VodCreateWatermarkRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.request.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest 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.VodCreateWatermarkRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Request.VodCreateWatermarkRequest) com.volcengine.service.vod.model.request.VodCreateWatermarkRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.request.VodRequest.internal_static_Volcengine_Vod_Models_Request_VodCreateWatermarkRequest_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_VodCreateWatermarkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.request.VodCreateWatermarkRequest.class, com.volcengine.service.vod.model.request.VodCreateWatermarkRequest.Builder.class); } // Construct using com.volcengine.service.vod.model.request.VodCreateWatermarkRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLogosFieldBuilder(); getConcatsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); spaceName_ = ""; name_ = ""; description_ = ""; logoType_ = ""; if (logosBuilder_ == null) { logos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { logosBuilder_.clear(); } if (concatsBuilder_ == null) { concats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { concatsBuilder_.clear(); } if (hiddenWatermarkBuilder_ == null) { hiddenWatermark_ = null; } else { hiddenWatermark_ = null; hiddenWatermarkBuilder_ = 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_VodCreateWatermarkRequest_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.request.VodCreateWatermarkRequest getDefaultInstanceForType() { return com.volcengine.service.vod.model.request.VodCreateWatermarkRequest.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.request.VodCreateWatermarkRequest build() { com.volcengine.service.vod.model.request.VodCreateWatermarkRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.request.VodCreateWatermarkRequest buildPartial() { com.volcengine.service.vod.model.request.VodCreateWatermarkRequest result = new com.volcengine.service.vod.model.request.VodCreateWatermarkRequest(this); int from_bitField0_ = bitField0_; result.spaceName_ = spaceName_; result.name_ = name_; result.description_ = description_; result.logoType_ = logoType_; if (logosBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { logos_ = java.util.Collections.unmodifiableList(logos_); bitField0_ = (bitField0_ & ~0x00000001); } result.logos_ = logos_; } else { result.logos_ = logosBuilder_.build(); } if (concatsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { concats_ = java.util.Collections.unmodifiableList(concats_); bitField0_ = (bitField0_ & ~0x00000002); } result.concats_ = concats_; } else { result.concats_ = concatsBuilder_.build(); } if (hiddenWatermarkBuilder_ == null) { result.hiddenWatermark_ = hiddenWatermark_; } else { result.hiddenWatermark_ = hiddenWatermarkBuilder_.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.VodCreateWatermarkRequest) { return mergeFrom((com.volcengine.service.vod.model.request.VodCreateWatermarkRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.request.VodCreateWatermarkRequest other) { if (other == com.volcengine.service.vod.model.request.VodCreateWatermarkRequest.getDefaultInstance()) return this; if (!other.getSpaceName().isEmpty()) { spaceName_ = other.spaceName_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } if (!other.getLogoType().isEmpty()) { logoType_ = other.logoType_; onChanged(); } if (logosBuilder_ == null) { if (!other.logos_.isEmpty()) { if (logos_.isEmpty()) { logos_ = other.logos_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLogosIsMutable(); logos_.addAll(other.logos_); } onChanged(); } } else { if (!other.logos_.isEmpty()) { if (logosBuilder_.isEmpty()) { logosBuilder_.dispose(); logosBuilder_ = null; logos_ = other.logos_; bitField0_ = (bitField0_ & ~0x00000001); logosBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLogosFieldBuilder() : null; } else { logosBuilder_.addAllMessages(other.logos_); } } } if (concatsBuilder_ == null) { if (!other.concats_.isEmpty()) { if (concats_.isEmpty()) { concats_ = other.concats_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureConcatsIsMutable(); concats_.addAll(other.concats_); } onChanged(); } } else { if (!other.concats_.isEmpty()) { if (concatsBuilder_.isEmpty()) { concatsBuilder_.dispose(); concatsBuilder_ = null; concats_ = other.concats_; bitField0_ = (bitField0_ & ~0x00000002); concatsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getConcatsFieldBuilder() : null; } else { concatsBuilder_.addAllMessages(other.concats_); } } } if (other.hasHiddenWatermark()) { mergeHiddenWatermark(other.getHiddenWatermark()); } 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.VodCreateWatermarkRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.request.VodCreateWatermarkRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object spaceName_ = ""; /** *
     * 空间名 
     * 
* * string SpaceName = 1; * @return The spaceName. */ public java.lang.String getSpaceName() { java.lang.Object ref = spaceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); spaceName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 空间名 
     * 
* * string SpaceName = 1; * @return The bytes for spaceName. */ public com.google.protobuf.ByteString getSpaceNameBytes() { java.lang.Object ref = spaceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); spaceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 空间名 
     * 
* * string SpaceName = 1; * @param value The spaceName to set. * @return This builder for chaining. */ public Builder setSpaceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } spaceName_ = value; onChanged(); return this; } /** *
     * 空间名 
     * 
* * string SpaceName = 1; * @return This builder for chaining. */ public Builder clearSpaceName() { spaceName_ = getDefaultInstance().getSpaceName(); onChanged(); return this; } /** *
     * 空间名 
     * 
* * string SpaceName = 1; * @param value The bytes for spaceName to set. * @return This builder for chaining. */ public Builder setSpaceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); spaceName_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
     * 模板名称 
     * 
* * string Name = 2; * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 模板名称 
     * 
* * string Name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 模板名称 
     * 
* * string Name = 2; * @param value The name to set. * @return This builder for chaining. */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** *
     * 模板名称 
     * 
* * string Name = 2; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
     * 模板名称 
     * 
* * string Name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** *
     * 模板描述 
     * 
* * string Description = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** *
     * 模板描述 
     * 
* * string Description = 3; * @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 logoType_ = ""; /** *
     * 水印播放标签 
     * 
* * string LogoType = 7; * @return The logoType. */ public java.lang.String getLogoType() { java.lang.Object ref = logoType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 水印播放标签 
     * 
* * string LogoType = 7; * @return The bytes for logoType. */ public com.google.protobuf.ByteString getLogoTypeBytes() { java.lang.Object ref = logoType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logoType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 水印播放标签 
     * 
* * string LogoType = 7; * @param value The logoType to set. * @return This builder for chaining. */ public Builder setLogoType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } logoType_ = value; onChanged(); return this; } /** *
     * 水印播放标签 
     * 
* * string LogoType = 7; * @return This builder for chaining. */ public Builder clearLogoType() { logoType_ = getDefaultInstance().getLogoType(); onChanged(); return this; } /** *
     * 水印播放标签 
     * 
* * string LogoType = 7; * @param value The bytes for logoType to set. * @return This builder for chaining. */ public Builder setLogoTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); logoType_ = value; onChanged(); return this; } private java.util.List logos_ = java.util.Collections.emptyList(); private void ensureLogosIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { logos_ = new java.util.ArrayList(logos_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.AdaptLogo, com.volcengine.service.vod.model.business.AdaptLogo.Builder, com.volcengine.service.vod.model.business.AdaptLogoOrBuilder> logosBuilder_; /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public java.util.List getLogosList() { if (logosBuilder_ == null) { return java.util.Collections.unmodifiableList(logos_); } else { return logosBuilder_.getMessageList(); } } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public int getLogosCount() { if (logosBuilder_ == null) { return logos_.size(); } else { return logosBuilder_.getCount(); } } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public com.volcengine.service.vod.model.business.AdaptLogo getLogos(int index) { if (logosBuilder_ == null) { return logos_.get(index); } else { return logosBuilder_.getMessage(index); } } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public Builder setLogos( int index, com.volcengine.service.vod.model.business.AdaptLogo value) { if (logosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogosIsMutable(); logos_.set(index, value); onChanged(); } else { logosBuilder_.setMessage(index, value); } return this; } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public Builder setLogos( int index, com.volcengine.service.vod.model.business.AdaptLogo.Builder builderForValue) { if (logosBuilder_ == null) { ensureLogosIsMutable(); logos_.set(index, builderForValue.build()); onChanged(); } else { logosBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public Builder addLogos(com.volcengine.service.vod.model.business.AdaptLogo value) { if (logosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogosIsMutable(); logos_.add(value); onChanged(); } else { logosBuilder_.addMessage(value); } return this; } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public Builder addLogos( int index, com.volcengine.service.vod.model.business.AdaptLogo value) { if (logosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogosIsMutable(); logos_.add(index, value); onChanged(); } else { logosBuilder_.addMessage(index, value); } return this; } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public Builder addLogos( com.volcengine.service.vod.model.business.AdaptLogo.Builder builderForValue) { if (logosBuilder_ == null) { ensureLogosIsMutable(); logos_.add(builderForValue.build()); onChanged(); } else { logosBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public Builder addLogos( int index, com.volcengine.service.vod.model.business.AdaptLogo.Builder builderForValue) { if (logosBuilder_ == null) { ensureLogosIsMutable(); logos_.add(index, builderForValue.build()); onChanged(); } else { logosBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public Builder addAllLogos( java.lang.Iterable values) { if (logosBuilder_ == null) { ensureLogosIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, logos_); onChanged(); } else { logosBuilder_.addAllMessages(values); } return this; } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public Builder clearLogos() { if (logosBuilder_ == null) { logos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { logosBuilder_.clear(); } return this; } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public Builder removeLogos(int index) { if (logosBuilder_ == null) { ensureLogosIsMutable(); logos_.remove(index); onChanged(); } else { logosBuilder_.remove(index); } return this; } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public com.volcengine.service.vod.model.business.AdaptLogo.Builder getLogosBuilder( int index) { return getLogosFieldBuilder().getBuilder(index); } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public com.volcengine.service.vod.model.business.AdaptLogoOrBuilder getLogosOrBuilder( int index) { if (logosBuilder_ == null) { return logos_.get(index); } else { return logosBuilder_.getMessageOrBuilder(index); } } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public java.util.List getLogosOrBuilderList() { if (logosBuilder_ != null) { return logosBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(logos_); } } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public com.volcengine.service.vod.model.business.AdaptLogo.Builder addLogosBuilder() { return getLogosFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.AdaptLogo.getDefaultInstance()); } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public com.volcengine.service.vod.model.business.AdaptLogo.Builder addLogosBuilder( int index) { return getLogosFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.AdaptLogo.getDefaultInstance()); } /** *
     * 明水印 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptLogo Logos = 8; */ public java.util.List getLogosBuilderList() { return getLogosFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.AdaptLogo, com.volcengine.service.vod.model.business.AdaptLogo.Builder, com.volcengine.service.vod.model.business.AdaptLogoOrBuilder> getLogosFieldBuilder() { if (logosBuilder_ == null) { logosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.AdaptLogo, com.volcengine.service.vod.model.business.AdaptLogo.Builder, com.volcengine.service.vod.model.business.AdaptLogoOrBuilder>( logos_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); logos_ = null; } return logosBuilder_; } private java.util.List concats_ = java.util.Collections.emptyList(); private void ensureConcatsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { concats_ = new java.util.ArrayList(concats_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.AdaptConcat, com.volcengine.service.vod.model.business.AdaptConcat.Builder, com.volcengine.service.vod.model.business.AdaptConcatOrBuilder> concatsBuilder_; /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public java.util.List getConcatsList() { if (concatsBuilder_ == null) { return java.util.Collections.unmodifiableList(concats_); } else { return concatsBuilder_.getMessageList(); } } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public int getConcatsCount() { if (concatsBuilder_ == null) { return concats_.size(); } else { return concatsBuilder_.getCount(); } } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public com.volcengine.service.vod.model.business.AdaptConcat getConcats(int index) { if (concatsBuilder_ == null) { return concats_.get(index); } else { return concatsBuilder_.getMessage(index); } } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public Builder setConcats( int index, com.volcengine.service.vod.model.business.AdaptConcat value) { if (concatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConcatsIsMutable(); concats_.set(index, value); onChanged(); } else { concatsBuilder_.setMessage(index, value); } return this; } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public Builder setConcats( int index, com.volcengine.service.vod.model.business.AdaptConcat.Builder builderForValue) { if (concatsBuilder_ == null) { ensureConcatsIsMutable(); concats_.set(index, builderForValue.build()); onChanged(); } else { concatsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public Builder addConcats(com.volcengine.service.vod.model.business.AdaptConcat value) { if (concatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConcatsIsMutable(); concats_.add(value); onChanged(); } else { concatsBuilder_.addMessage(value); } return this; } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public Builder addConcats( int index, com.volcengine.service.vod.model.business.AdaptConcat value) { if (concatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConcatsIsMutable(); concats_.add(index, value); onChanged(); } else { concatsBuilder_.addMessage(index, value); } return this; } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public Builder addConcats( com.volcengine.service.vod.model.business.AdaptConcat.Builder builderForValue) { if (concatsBuilder_ == null) { ensureConcatsIsMutable(); concats_.add(builderForValue.build()); onChanged(); } else { concatsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public Builder addConcats( int index, com.volcengine.service.vod.model.business.AdaptConcat.Builder builderForValue) { if (concatsBuilder_ == null) { ensureConcatsIsMutable(); concats_.add(index, builderForValue.build()); onChanged(); } else { concatsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public Builder addAllConcats( java.lang.Iterable values) { if (concatsBuilder_ == null) { ensureConcatsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, concats_); onChanged(); } else { concatsBuilder_.addAllMessages(values); } return this; } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public Builder clearConcats() { if (concatsBuilder_ == null) { concats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { concatsBuilder_.clear(); } return this; } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public Builder removeConcats(int index) { if (concatsBuilder_ == null) { ensureConcatsIsMutable(); concats_.remove(index); onChanged(); } else { concatsBuilder_.remove(index); } return this; } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public com.volcengine.service.vod.model.business.AdaptConcat.Builder getConcatsBuilder( int index) { return getConcatsFieldBuilder().getBuilder(index); } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public com.volcengine.service.vod.model.business.AdaptConcatOrBuilder getConcatsOrBuilder( int index) { if (concatsBuilder_ == null) { return concats_.get(index); } else { return concatsBuilder_.getMessageOrBuilder(index); } } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public java.util.List getConcatsOrBuilderList() { if (concatsBuilder_ != null) { return concatsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(concats_); } } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public com.volcengine.service.vod.model.business.AdaptConcat.Builder addConcatsBuilder() { return getConcatsFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.AdaptConcat.getDefaultInstance()); } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public com.volcengine.service.vod.model.business.AdaptConcat.Builder addConcatsBuilder( int index) { return getConcatsFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.AdaptConcat.getDefaultInstance()); } /** *
     * 贴片 
     * 
* * repeated .Volcengine.Vod.Models.Business.AdaptConcat Concats = 9; */ public java.util.List getConcatsBuilderList() { return getConcatsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.AdaptConcat, com.volcengine.service.vod.model.business.AdaptConcat.Builder, com.volcengine.service.vod.model.business.AdaptConcatOrBuilder> getConcatsFieldBuilder() { if (concatsBuilder_ == null) { concatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.AdaptConcat, com.volcengine.service.vod.model.business.AdaptConcat.Builder, com.volcengine.service.vod.model.business.AdaptConcatOrBuilder>( concats_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); concats_ = null; } return concatsBuilder_; } private com.volcengine.service.vod.model.business.HiddenWatermarkAdd hiddenWatermark_; private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.HiddenWatermarkAdd, com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder, com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder> hiddenWatermarkBuilder_; /** *
     * 暗水印 
     * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; * @return Whether the hiddenWatermark field is set. */ public boolean hasHiddenWatermark() { return hiddenWatermarkBuilder_ != null || hiddenWatermark_ != null; } /** *
     * 暗水印 
     * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; * @return The hiddenWatermark. */ public com.volcengine.service.vod.model.business.HiddenWatermarkAdd getHiddenWatermark() { if (hiddenWatermarkBuilder_ == null) { return hiddenWatermark_ == null ? com.volcengine.service.vod.model.business.HiddenWatermarkAdd.getDefaultInstance() : hiddenWatermark_; } else { return hiddenWatermarkBuilder_.getMessage(); } } /** *
     * 暗水印 
     * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; */ public Builder setHiddenWatermark(com.volcengine.service.vod.model.business.HiddenWatermarkAdd value) { if (hiddenWatermarkBuilder_ == null) { if (value == null) { throw new NullPointerException(); } hiddenWatermark_ = value; onChanged(); } else { hiddenWatermarkBuilder_.setMessage(value); } return this; } /** *
     * 暗水印 
     * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; */ public Builder setHiddenWatermark( com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder builderForValue) { if (hiddenWatermarkBuilder_ == null) { hiddenWatermark_ = builderForValue.build(); onChanged(); } else { hiddenWatermarkBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 暗水印 
     * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; */ public Builder mergeHiddenWatermark(com.volcengine.service.vod.model.business.HiddenWatermarkAdd value) { if (hiddenWatermarkBuilder_ == null) { if (hiddenWatermark_ != null) { hiddenWatermark_ = com.volcengine.service.vod.model.business.HiddenWatermarkAdd.newBuilder(hiddenWatermark_).mergeFrom(value).buildPartial(); } else { hiddenWatermark_ = value; } onChanged(); } else { hiddenWatermarkBuilder_.mergeFrom(value); } return this; } /** *
     * 暗水印 
     * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; */ public Builder clearHiddenWatermark() { if (hiddenWatermarkBuilder_ == null) { hiddenWatermark_ = null; onChanged(); } else { hiddenWatermark_ = null; hiddenWatermarkBuilder_ = null; } return this; } /** *
     * 暗水印 
     * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; */ public com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder getHiddenWatermarkBuilder() { onChanged(); return getHiddenWatermarkFieldBuilder().getBuilder(); } /** *
     * 暗水印 
     * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; */ public com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder getHiddenWatermarkOrBuilder() { if (hiddenWatermarkBuilder_ != null) { return hiddenWatermarkBuilder_.getMessageOrBuilder(); } else { return hiddenWatermark_ == null ? com.volcengine.service.vod.model.business.HiddenWatermarkAdd.getDefaultInstance() : hiddenWatermark_; } } /** *
     * 暗水印 
     * 
* * .Volcengine.Vod.Models.Business.HiddenWatermarkAdd HiddenWatermark = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.HiddenWatermarkAdd, com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder, com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder> getHiddenWatermarkFieldBuilder() { if (hiddenWatermarkBuilder_ == null) { hiddenWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.HiddenWatermarkAdd, com.volcengine.service.vod.model.business.HiddenWatermarkAdd.Builder, com.volcengine.service.vod.model.business.HiddenWatermarkAddOrBuilder>( getHiddenWatermark(), getParentForChildren(), isClean()); hiddenWatermark_ = null; } return hiddenWatermarkBuilder_; } @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.VodCreateWatermarkRequest) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Request.VodCreateWatermarkRequest) private static final com.volcengine.service.vod.model.request.VodCreateWatermarkRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.request.VodCreateWatermarkRequest(); } public static com.volcengine.service.vod.model.request.VodCreateWatermarkRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VodCreateWatermarkRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VodCreateWatermarkRequest(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.VodCreateWatermarkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy