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

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

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

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

/**
 * Protobuf type {@code Volcengine.Vod.Models.Business.OverrideParams}
 */
public final class OverrideParams extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.OverrideParams)
    OverrideParamsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use OverrideParams.newBuilder() to construct.
  private OverrideParams(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private OverrideParams() {
    logo_ = java.util.Collections.emptyList();
    transcodeVideo_ = java.util.Collections.emptyList();
    transcodeAudio_ = java.util.Collections.emptyList();
    snapshot_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private OverrideParams(
      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: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              logo_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            logo_.add(
                input.readMessage(com.volcengine.service.vod.model.business.LogoOverride.parser(), extensionRegistry));
            break;
          }
          case 18: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              transcodeVideo_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            transcodeVideo_.add(
                input.readMessage(com.volcengine.service.vod.model.business.TranscodeVideoOverride.parser(), extensionRegistry));
            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              transcodeAudio_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000004;
            }
            transcodeAudio_.add(
                input.readMessage(com.volcengine.service.vod.model.business.TranscodeAudioOverride.parser(), extensionRegistry));
            break;
          }
          case 34: {
            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
              snapshot_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000008;
            }
            snapshot_.add(
                input.readMessage(com.volcengine.service.vod.model.business.SnapshotOverride.parser(), extensionRegistry));
            break;
          }
          case 42: {
            com.volcengine.service.vod.model.business.EnhanceOverride.Builder subBuilder = null;
            if (enhance_ != null) {
              subBuilder = enhance_.toBuilder();
            }
            enhance_ = input.readMessage(com.volcengine.service.vod.model.business.EnhanceOverride.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(enhance_);
              enhance_ = 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)) {
        logo_ = java.util.Collections.unmodifiableList(logo_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        transcodeVideo_ = java.util.Collections.unmodifiableList(transcodeVideo_);
      }
      if (((mutable_bitField0_ & 0x00000004) != 0)) {
        transcodeAudio_ = java.util.Collections.unmodifiableList(transcodeAudio_);
      }
      if (((mutable_bitField0_ & 0x00000008) != 0)) {
        snapshot_ = java.util.Collections.unmodifiableList(snapshot_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_OverrideParams_descriptor;
  }

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

  public static final int LOGO_FIELD_NUMBER = 1;
  private java.util.List logo_;
  /**
   * 
   * 水印覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ @java.lang.Override public java.util.List getLogoList() { return logo_; } /** *
   * 水印覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ @java.lang.Override public java.util.List getLogoOrBuilderList() { return logo_; } /** *
   * 水印覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ @java.lang.Override public int getLogoCount() { return logo_.size(); } /** *
   * 水印覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ @java.lang.Override public com.volcengine.service.vod.model.business.LogoOverride getLogo(int index) { return logo_.get(index); } /** *
   * 水印覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ @java.lang.Override public com.volcengine.service.vod.model.business.LogoOverrideOrBuilder getLogoOrBuilder( int index) { return logo_.get(index); } public static final int TRANSCODEVIDEO_FIELD_NUMBER = 2; private java.util.List transcodeVideo_; /** *
   * 视频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ @java.lang.Override public java.util.List getTranscodeVideoList() { return transcodeVideo_; } /** *
   * 视频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ @java.lang.Override public java.util.List getTranscodeVideoOrBuilderList() { return transcodeVideo_; } /** *
   * 视频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ @java.lang.Override public int getTranscodeVideoCount() { return transcodeVideo_.size(); } /** *
   * 视频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ @java.lang.Override public com.volcengine.service.vod.model.business.TranscodeVideoOverride getTranscodeVideo(int index) { return transcodeVideo_.get(index); } /** *
   * 视频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ @java.lang.Override public com.volcengine.service.vod.model.business.TranscodeVideoOverrideOrBuilder getTranscodeVideoOrBuilder( int index) { return transcodeVideo_.get(index); } public static final int TRANSCODEAUDIO_FIELD_NUMBER = 3; private java.util.List transcodeAudio_; /** *
   * 音频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ @java.lang.Override public java.util.List getTranscodeAudioList() { return transcodeAudio_; } /** *
   * 音频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ @java.lang.Override public java.util.List getTranscodeAudioOrBuilderList() { return transcodeAudio_; } /** *
   * 音频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ @java.lang.Override public int getTranscodeAudioCount() { return transcodeAudio_.size(); } /** *
   * 音频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ @java.lang.Override public com.volcengine.service.vod.model.business.TranscodeAudioOverride getTranscodeAudio(int index) { return transcodeAudio_.get(index); } /** *
   * 音频转码覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ @java.lang.Override public com.volcengine.service.vod.model.business.TranscodeAudioOverrideOrBuilder getTranscodeAudioOrBuilder( int index) { return transcodeAudio_.get(index); } public static final int SNAPSHOT_FIELD_NUMBER = 4; private java.util.List snapshot_; /** *
   * 截图覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ @java.lang.Override public java.util.List getSnapshotList() { return snapshot_; } /** *
   * 截图覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ @java.lang.Override public java.util.List getSnapshotOrBuilderList() { return snapshot_; } /** *
   * 截图覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ @java.lang.Override public int getSnapshotCount() { return snapshot_.size(); } /** *
   * 截图覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ @java.lang.Override public com.volcengine.service.vod.model.business.SnapshotOverride getSnapshot(int index) { return snapshot_.get(index); } /** *
   * 截图覆盖参数
   * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ @java.lang.Override public com.volcengine.service.vod.model.business.SnapshotOverrideOrBuilder getSnapshotOrBuilder( int index) { return snapshot_.get(index); } public static final int ENHANCE_FIELD_NUMBER = 5; private com.volcengine.service.vod.model.business.EnhanceOverride enhance_; /** *
   * 增强覆盖参数
   * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; * @return Whether the enhance field is set. */ @java.lang.Override public boolean hasEnhance() { return enhance_ != null; } /** *
   * 增强覆盖参数
   * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; * @return The enhance. */ @java.lang.Override public com.volcengine.service.vod.model.business.EnhanceOverride getEnhance() { return enhance_ == null ? com.volcengine.service.vod.model.business.EnhanceOverride.getDefaultInstance() : enhance_; } /** *
   * 增强覆盖参数
   * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; */ @java.lang.Override public com.volcengine.service.vod.model.business.EnhanceOverrideOrBuilder getEnhanceOrBuilder() { return getEnhance(); } 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 { for (int i = 0; i < logo_.size(); i++) { output.writeMessage(1, logo_.get(i)); } for (int i = 0; i < transcodeVideo_.size(); i++) { output.writeMessage(2, transcodeVideo_.get(i)); } for (int i = 0; i < transcodeAudio_.size(); i++) { output.writeMessage(3, transcodeAudio_.get(i)); } for (int i = 0; i < snapshot_.size(); i++) { output.writeMessage(4, snapshot_.get(i)); } if (enhance_ != null) { output.writeMessage(5, getEnhance()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < logo_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, logo_.get(i)); } for (int i = 0; i < transcodeVideo_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, transcodeVideo_.get(i)); } for (int i = 0; i < transcodeAudio_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, transcodeAudio_.get(i)); } for (int i = 0; i < snapshot_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, snapshot_.get(i)); } if (enhance_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getEnhance()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.volcengine.service.vod.model.business.OverrideParams)) { return super.equals(obj); } com.volcengine.service.vod.model.business.OverrideParams other = (com.volcengine.service.vod.model.business.OverrideParams) obj; if (!getLogoList() .equals(other.getLogoList())) return false; if (!getTranscodeVideoList() .equals(other.getTranscodeVideoList())) return false; if (!getTranscodeAudioList() .equals(other.getTranscodeAudioList())) return false; if (!getSnapshotList() .equals(other.getSnapshotList())) return false; if (hasEnhance() != other.hasEnhance()) return false; if (hasEnhance()) { if (!getEnhance() .equals(other.getEnhance())) 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(); if (getLogoCount() > 0) { hash = (37 * hash) + LOGO_FIELD_NUMBER; hash = (53 * hash) + getLogoList().hashCode(); } if (getTranscodeVideoCount() > 0) { hash = (37 * hash) + TRANSCODEVIDEO_FIELD_NUMBER; hash = (53 * hash) + getTranscodeVideoList().hashCode(); } if (getTranscodeAudioCount() > 0) { hash = (37 * hash) + TRANSCODEAUDIO_FIELD_NUMBER; hash = (53 * hash) + getTranscodeAudioList().hashCode(); } if (getSnapshotCount() > 0) { hash = (37 * hash) + SNAPSHOT_FIELD_NUMBER; hash = (53 * hash) + getSnapshotList().hashCode(); } if (hasEnhance()) { hash = (37 * hash) + ENHANCE_FIELD_NUMBER; hash = (53 * hash) + getEnhance().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.volcengine.service.vod.model.business.OverrideParams parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.OverrideParams parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.volcengine.service.vod.model.business.OverrideParams parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.volcengine.service.vod.model.business.OverrideParams prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Volcengine.Vod.Models.Business.OverrideParams} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.OverrideParams) com.volcengine.service.vod.model.business.OverrideParamsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_OverrideParams_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_OverrideParams_fieldAccessorTable .ensureFieldAccessorsInitialized( com.volcengine.service.vod.model.business.OverrideParams.class, com.volcengine.service.vod.model.business.OverrideParams.Builder.class); } // Construct using com.volcengine.service.vod.model.business.OverrideParams.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLogoFieldBuilder(); getTranscodeVideoFieldBuilder(); getTranscodeAudioFieldBuilder(); getSnapshotFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (logoBuilder_ == null) { logo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { logoBuilder_.clear(); } if (transcodeVideoBuilder_ == null) { transcodeVideo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { transcodeVideoBuilder_.clear(); } if (transcodeAudioBuilder_ == null) { transcodeAudio_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { transcodeAudioBuilder_.clear(); } if (snapshotBuilder_ == null) { snapshot_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { snapshotBuilder_.clear(); } if (enhanceBuilder_ == null) { enhance_ = null; } else { enhance_ = null; enhanceBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_OverrideParams_descriptor; } @java.lang.Override public com.volcengine.service.vod.model.business.OverrideParams getDefaultInstanceForType() { return com.volcengine.service.vod.model.business.OverrideParams.getDefaultInstance(); } @java.lang.Override public com.volcengine.service.vod.model.business.OverrideParams build() { com.volcengine.service.vod.model.business.OverrideParams result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.volcengine.service.vod.model.business.OverrideParams buildPartial() { com.volcengine.service.vod.model.business.OverrideParams result = new com.volcengine.service.vod.model.business.OverrideParams(this); int from_bitField0_ = bitField0_; if (logoBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { logo_ = java.util.Collections.unmodifiableList(logo_); bitField0_ = (bitField0_ & ~0x00000001); } result.logo_ = logo_; } else { result.logo_ = logoBuilder_.build(); } if (transcodeVideoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { transcodeVideo_ = java.util.Collections.unmodifiableList(transcodeVideo_); bitField0_ = (bitField0_ & ~0x00000002); } result.transcodeVideo_ = transcodeVideo_; } else { result.transcodeVideo_ = transcodeVideoBuilder_.build(); } if (transcodeAudioBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { transcodeAudio_ = java.util.Collections.unmodifiableList(transcodeAudio_); bitField0_ = (bitField0_ & ~0x00000004); } result.transcodeAudio_ = transcodeAudio_; } else { result.transcodeAudio_ = transcodeAudioBuilder_.build(); } if (snapshotBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { snapshot_ = java.util.Collections.unmodifiableList(snapshot_); bitField0_ = (bitField0_ & ~0x00000008); } result.snapshot_ = snapshot_; } else { result.snapshot_ = snapshotBuilder_.build(); } if (enhanceBuilder_ == null) { result.enhance_ = enhance_; } else { result.enhance_ = enhanceBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.volcengine.service.vod.model.business.OverrideParams) { return mergeFrom((com.volcengine.service.vod.model.business.OverrideParams)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.volcengine.service.vod.model.business.OverrideParams other) { if (other == com.volcengine.service.vod.model.business.OverrideParams.getDefaultInstance()) return this; if (logoBuilder_ == null) { if (!other.logo_.isEmpty()) { if (logo_.isEmpty()) { logo_ = other.logo_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLogoIsMutable(); logo_.addAll(other.logo_); } onChanged(); } } else { if (!other.logo_.isEmpty()) { if (logoBuilder_.isEmpty()) { logoBuilder_.dispose(); logoBuilder_ = null; logo_ = other.logo_; bitField0_ = (bitField0_ & ~0x00000001); logoBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLogoFieldBuilder() : null; } else { logoBuilder_.addAllMessages(other.logo_); } } } if (transcodeVideoBuilder_ == null) { if (!other.transcodeVideo_.isEmpty()) { if (transcodeVideo_.isEmpty()) { transcodeVideo_ = other.transcodeVideo_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTranscodeVideoIsMutable(); transcodeVideo_.addAll(other.transcodeVideo_); } onChanged(); } } else { if (!other.transcodeVideo_.isEmpty()) { if (transcodeVideoBuilder_.isEmpty()) { transcodeVideoBuilder_.dispose(); transcodeVideoBuilder_ = null; transcodeVideo_ = other.transcodeVideo_; bitField0_ = (bitField0_ & ~0x00000002); transcodeVideoBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTranscodeVideoFieldBuilder() : null; } else { transcodeVideoBuilder_.addAllMessages(other.transcodeVideo_); } } } if (transcodeAudioBuilder_ == null) { if (!other.transcodeAudio_.isEmpty()) { if (transcodeAudio_.isEmpty()) { transcodeAudio_ = other.transcodeAudio_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureTranscodeAudioIsMutable(); transcodeAudio_.addAll(other.transcodeAudio_); } onChanged(); } } else { if (!other.transcodeAudio_.isEmpty()) { if (transcodeAudioBuilder_.isEmpty()) { transcodeAudioBuilder_.dispose(); transcodeAudioBuilder_ = null; transcodeAudio_ = other.transcodeAudio_; bitField0_ = (bitField0_ & ~0x00000004); transcodeAudioBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTranscodeAudioFieldBuilder() : null; } else { transcodeAudioBuilder_.addAllMessages(other.transcodeAudio_); } } } if (snapshotBuilder_ == null) { if (!other.snapshot_.isEmpty()) { if (snapshot_.isEmpty()) { snapshot_ = other.snapshot_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureSnapshotIsMutable(); snapshot_.addAll(other.snapshot_); } onChanged(); } } else { if (!other.snapshot_.isEmpty()) { if (snapshotBuilder_.isEmpty()) { snapshotBuilder_.dispose(); snapshotBuilder_ = null; snapshot_ = other.snapshot_; bitField0_ = (bitField0_ & ~0x00000008); snapshotBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSnapshotFieldBuilder() : null; } else { snapshotBuilder_.addAllMessages(other.snapshot_); } } } if (other.hasEnhance()) { mergeEnhance(other.getEnhance()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.volcengine.service.vod.model.business.OverrideParams parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.volcengine.service.vod.model.business.OverrideParams) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List logo_ = java.util.Collections.emptyList(); private void ensureLogoIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { logo_ = new java.util.ArrayList(logo_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.LogoOverride, com.volcengine.service.vod.model.business.LogoOverride.Builder, com.volcengine.service.vod.model.business.LogoOverrideOrBuilder> logoBuilder_; /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public java.util.List getLogoList() { if (logoBuilder_ == null) { return java.util.Collections.unmodifiableList(logo_); } else { return logoBuilder_.getMessageList(); } } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public int getLogoCount() { if (logoBuilder_ == null) { return logo_.size(); } else { return logoBuilder_.getCount(); } } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public com.volcengine.service.vod.model.business.LogoOverride getLogo(int index) { if (logoBuilder_ == null) { return logo_.get(index); } else { return logoBuilder_.getMessage(index); } } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public Builder setLogo( int index, com.volcengine.service.vod.model.business.LogoOverride value) { if (logoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogoIsMutable(); logo_.set(index, value); onChanged(); } else { logoBuilder_.setMessage(index, value); } return this; } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public Builder setLogo( int index, com.volcengine.service.vod.model.business.LogoOverride.Builder builderForValue) { if (logoBuilder_ == null) { ensureLogoIsMutable(); logo_.set(index, builderForValue.build()); onChanged(); } else { logoBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public Builder addLogo(com.volcengine.service.vod.model.business.LogoOverride value) { if (logoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogoIsMutable(); logo_.add(value); onChanged(); } else { logoBuilder_.addMessage(value); } return this; } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public Builder addLogo( int index, com.volcengine.service.vod.model.business.LogoOverride value) { if (logoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLogoIsMutable(); logo_.add(index, value); onChanged(); } else { logoBuilder_.addMessage(index, value); } return this; } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public Builder addLogo( com.volcengine.service.vod.model.business.LogoOverride.Builder builderForValue) { if (logoBuilder_ == null) { ensureLogoIsMutable(); logo_.add(builderForValue.build()); onChanged(); } else { logoBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public Builder addLogo( int index, com.volcengine.service.vod.model.business.LogoOverride.Builder builderForValue) { if (logoBuilder_ == null) { ensureLogoIsMutable(); logo_.add(index, builderForValue.build()); onChanged(); } else { logoBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public Builder addAllLogo( java.lang.Iterable values) { if (logoBuilder_ == null) { ensureLogoIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, logo_); onChanged(); } else { logoBuilder_.addAllMessages(values); } return this; } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public Builder clearLogo() { if (logoBuilder_ == null) { logo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { logoBuilder_.clear(); } return this; } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public Builder removeLogo(int index) { if (logoBuilder_ == null) { ensureLogoIsMutable(); logo_.remove(index); onChanged(); } else { logoBuilder_.remove(index); } return this; } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public com.volcengine.service.vod.model.business.LogoOverride.Builder getLogoBuilder( int index) { return getLogoFieldBuilder().getBuilder(index); } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public com.volcengine.service.vod.model.business.LogoOverrideOrBuilder getLogoOrBuilder( int index) { if (logoBuilder_ == null) { return logo_.get(index); } else { return logoBuilder_.getMessageOrBuilder(index); } } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public java.util.List getLogoOrBuilderList() { if (logoBuilder_ != null) { return logoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(logo_); } } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public com.volcengine.service.vod.model.business.LogoOverride.Builder addLogoBuilder() { return getLogoFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.LogoOverride.getDefaultInstance()); } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public com.volcengine.service.vod.model.business.LogoOverride.Builder addLogoBuilder( int index) { return getLogoFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.LogoOverride.getDefaultInstance()); } /** *
     * 水印覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.LogoOverride Logo = 1; */ public java.util.List getLogoBuilderList() { return getLogoFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.LogoOverride, com.volcengine.service.vod.model.business.LogoOverride.Builder, com.volcengine.service.vod.model.business.LogoOverrideOrBuilder> getLogoFieldBuilder() { if (logoBuilder_ == null) { logoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.LogoOverride, com.volcengine.service.vod.model.business.LogoOverride.Builder, com.volcengine.service.vod.model.business.LogoOverrideOrBuilder>( logo_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); logo_ = null; } return logoBuilder_; } private java.util.List transcodeVideo_ = java.util.Collections.emptyList(); private void ensureTranscodeVideoIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { transcodeVideo_ = new java.util.ArrayList(transcodeVideo_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.TranscodeVideoOverride, com.volcengine.service.vod.model.business.TranscodeVideoOverride.Builder, com.volcengine.service.vod.model.business.TranscodeVideoOverrideOrBuilder> transcodeVideoBuilder_; /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public java.util.List getTranscodeVideoList() { if (transcodeVideoBuilder_ == null) { return java.util.Collections.unmodifiableList(transcodeVideo_); } else { return transcodeVideoBuilder_.getMessageList(); } } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public int getTranscodeVideoCount() { if (transcodeVideoBuilder_ == null) { return transcodeVideo_.size(); } else { return transcodeVideoBuilder_.getCount(); } } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public com.volcengine.service.vod.model.business.TranscodeVideoOverride getTranscodeVideo(int index) { if (transcodeVideoBuilder_ == null) { return transcodeVideo_.get(index); } else { return transcodeVideoBuilder_.getMessage(index); } } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public Builder setTranscodeVideo( int index, com.volcengine.service.vod.model.business.TranscodeVideoOverride value) { if (transcodeVideoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTranscodeVideoIsMutable(); transcodeVideo_.set(index, value); onChanged(); } else { transcodeVideoBuilder_.setMessage(index, value); } return this; } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public Builder setTranscodeVideo( int index, com.volcengine.service.vod.model.business.TranscodeVideoOverride.Builder builderForValue) { if (transcodeVideoBuilder_ == null) { ensureTranscodeVideoIsMutable(); transcodeVideo_.set(index, builderForValue.build()); onChanged(); } else { transcodeVideoBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public Builder addTranscodeVideo(com.volcengine.service.vod.model.business.TranscodeVideoOverride value) { if (transcodeVideoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTranscodeVideoIsMutable(); transcodeVideo_.add(value); onChanged(); } else { transcodeVideoBuilder_.addMessage(value); } return this; } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public Builder addTranscodeVideo( int index, com.volcengine.service.vod.model.business.TranscodeVideoOverride value) { if (transcodeVideoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTranscodeVideoIsMutable(); transcodeVideo_.add(index, value); onChanged(); } else { transcodeVideoBuilder_.addMessage(index, value); } return this; } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public Builder addTranscodeVideo( com.volcengine.service.vod.model.business.TranscodeVideoOverride.Builder builderForValue) { if (transcodeVideoBuilder_ == null) { ensureTranscodeVideoIsMutable(); transcodeVideo_.add(builderForValue.build()); onChanged(); } else { transcodeVideoBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public Builder addTranscodeVideo( int index, com.volcengine.service.vod.model.business.TranscodeVideoOverride.Builder builderForValue) { if (transcodeVideoBuilder_ == null) { ensureTranscodeVideoIsMutable(); transcodeVideo_.add(index, builderForValue.build()); onChanged(); } else { transcodeVideoBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public Builder addAllTranscodeVideo( java.lang.Iterable values) { if (transcodeVideoBuilder_ == null) { ensureTranscodeVideoIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, transcodeVideo_); onChanged(); } else { transcodeVideoBuilder_.addAllMessages(values); } return this; } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public Builder clearTranscodeVideo() { if (transcodeVideoBuilder_ == null) { transcodeVideo_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { transcodeVideoBuilder_.clear(); } return this; } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public Builder removeTranscodeVideo(int index) { if (transcodeVideoBuilder_ == null) { ensureTranscodeVideoIsMutable(); transcodeVideo_.remove(index); onChanged(); } else { transcodeVideoBuilder_.remove(index); } return this; } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public com.volcengine.service.vod.model.business.TranscodeVideoOverride.Builder getTranscodeVideoBuilder( int index) { return getTranscodeVideoFieldBuilder().getBuilder(index); } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public com.volcengine.service.vod.model.business.TranscodeVideoOverrideOrBuilder getTranscodeVideoOrBuilder( int index) { if (transcodeVideoBuilder_ == null) { return transcodeVideo_.get(index); } else { return transcodeVideoBuilder_.getMessageOrBuilder(index); } } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public java.util.List getTranscodeVideoOrBuilderList() { if (transcodeVideoBuilder_ != null) { return transcodeVideoBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(transcodeVideo_); } } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public com.volcengine.service.vod.model.business.TranscodeVideoOverride.Builder addTranscodeVideoBuilder() { return getTranscodeVideoFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.TranscodeVideoOverride.getDefaultInstance()); } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public com.volcengine.service.vod.model.business.TranscodeVideoOverride.Builder addTranscodeVideoBuilder( int index) { return getTranscodeVideoFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.TranscodeVideoOverride.getDefaultInstance()); } /** *
     * 视频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeVideoOverride TranscodeVideo = 2; */ public java.util.List getTranscodeVideoBuilderList() { return getTranscodeVideoFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.TranscodeVideoOverride, com.volcengine.service.vod.model.business.TranscodeVideoOverride.Builder, com.volcengine.service.vod.model.business.TranscodeVideoOverrideOrBuilder> getTranscodeVideoFieldBuilder() { if (transcodeVideoBuilder_ == null) { transcodeVideoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.TranscodeVideoOverride, com.volcengine.service.vod.model.business.TranscodeVideoOverride.Builder, com.volcengine.service.vod.model.business.TranscodeVideoOverrideOrBuilder>( transcodeVideo_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); transcodeVideo_ = null; } return transcodeVideoBuilder_; } private java.util.List transcodeAudio_ = java.util.Collections.emptyList(); private void ensureTranscodeAudioIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { transcodeAudio_ = new java.util.ArrayList(transcodeAudio_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.TranscodeAudioOverride, com.volcengine.service.vod.model.business.TranscodeAudioOverride.Builder, com.volcengine.service.vod.model.business.TranscodeAudioOverrideOrBuilder> transcodeAudioBuilder_; /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public java.util.List getTranscodeAudioList() { if (transcodeAudioBuilder_ == null) { return java.util.Collections.unmodifiableList(transcodeAudio_); } else { return transcodeAudioBuilder_.getMessageList(); } } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public int getTranscodeAudioCount() { if (transcodeAudioBuilder_ == null) { return transcodeAudio_.size(); } else { return transcodeAudioBuilder_.getCount(); } } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public com.volcengine.service.vod.model.business.TranscodeAudioOverride getTranscodeAudio(int index) { if (transcodeAudioBuilder_ == null) { return transcodeAudio_.get(index); } else { return transcodeAudioBuilder_.getMessage(index); } } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public Builder setTranscodeAudio( int index, com.volcengine.service.vod.model.business.TranscodeAudioOverride value) { if (transcodeAudioBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTranscodeAudioIsMutable(); transcodeAudio_.set(index, value); onChanged(); } else { transcodeAudioBuilder_.setMessage(index, value); } return this; } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public Builder setTranscodeAudio( int index, com.volcengine.service.vod.model.business.TranscodeAudioOverride.Builder builderForValue) { if (transcodeAudioBuilder_ == null) { ensureTranscodeAudioIsMutable(); transcodeAudio_.set(index, builderForValue.build()); onChanged(); } else { transcodeAudioBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public Builder addTranscodeAudio(com.volcengine.service.vod.model.business.TranscodeAudioOverride value) { if (transcodeAudioBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTranscodeAudioIsMutable(); transcodeAudio_.add(value); onChanged(); } else { transcodeAudioBuilder_.addMessage(value); } return this; } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public Builder addTranscodeAudio( int index, com.volcengine.service.vod.model.business.TranscodeAudioOverride value) { if (transcodeAudioBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTranscodeAudioIsMutable(); transcodeAudio_.add(index, value); onChanged(); } else { transcodeAudioBuilder_.addMessage(index, value); } return this; } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public Builder addTranscodeAudio( com.volcengine.service.vod.model.business.TranscodeAudioOverride.Builder builderForValue) { if (transcodeAudioBuilder_ == null) { ensureTranscodeAudioIsMutable(); transcodeAudio_.add(builderForValue.build()); onChanged(); } else { transcodeAudioBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public Builder addTranscodeAudio( int index, com.volcengine.service.vod.model.business.TranscodeAudioOverride.Builder builderForValue) { if (transcodeAudioBuilder_ == null) { ensureTranscodeAudioIsMutable(); transcodeAudio_.add(index, builderForValue.build()); onChanged(); } else { transcodeAudioBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public Builder addAllTranscodeAudio( java.lang.Iterable values) { if (transcodeAudioBuilder_ == null) { ensureTranscodeAudioIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, transcodeAudio_); onChanged(); } else { transcodeAudioBuilder_.addAllMessages(values); } return this; } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public Builder clearTranscodeAudio() { if (transcodeAudioBuilder_ == null) { transcodeAudio_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { transcodeAudioBuilder_.clear(); } return this; } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public Builder removeTranscodeAudio(int index) { if (transcodeAudioBuilder_ == null) { ensureTranscodeAudioIsMutable(); transcodeAudio_.remove(index); onChanged(); } else { transcodeAudioBuilder_.remove(index); } return this; } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public com.volcengine.service.vod.model.business.TranscodeAudioOverride.Builder getTranscodeAudioBuilder( int index) { return getTranscodeAudioFieldBuilder().getBuilder(index); } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public com.volcengine.service.vod.model.business.TranscodeAudioOverrideOrBuilder getTranscodeAudioOrBuilder( int index) { if (transcodeAudioBuilder_ == null) { return transcodeAudio_.get(index); } else { return transcodeAudioBuilder_.getMessageOrBuilder(index); } } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public java.util.List getTranscodeAudioOrBuilderList() { if (transcodeAudioBuilder_ != null) { return transcodeAudioBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(transcodeAudio_); } } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public com.volcengine.service.vod.model.business.TranscodeAudioOverride.Builder addTranscodeAudioBuilder() { return getTranscodeAudioFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.TranscodeAudioOverride.getDefaultInstance()); } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public com.volcengine.service.vod.model.business.TranscodeAudioOverride.Builder addTranscodeAudioBuilder( int index) { return getTranscodeAudioFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.TranscodeAudioOverride.getDefaultInstance()); } /** *
     * 音频转码覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.TranscodeAudioOverride TranscodeAudio = 3; */ public java.util.List getTranscodeAudioBuilderList() { return getTranscodeAudioFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.TranscodeAudioOverride, com.volcengine.service.vod.model.business.TranscodeAudioOverride.Builder, com.volcengine.service.vod.model.business.TranscodeAudioOverrideOrBuilder> getTranscodeAudioFieldBuilder() { if (transcodeAudioBuilder_ == null) { transcodeAudioBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.TranscodeAudioOverride, com.volcengine.service.vod.model.business.TranscodeAudioOverride.Builder, com.volcengine.service.vod.model.business.TranscodeAudioOverrideOrBuilder>( transcodeAudio_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); transcodeAudio_ = null; } return transcodeAudioBuilder_; } private java.util.List snapshot_ = java.util.Collections.emptyList(); private void ensureSnapshotIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { snapshot_ = new java.util.ArrayList(snapshot_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.SnapshotOverride, com.volcengine.service.vod.model.business.SnapshotOverride.Builder, com.volcengine.service.vod.model.business.SnapshotOverrideOrBuilder> snapshotBuilder_; /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public java.util.List getSnapshotList() { if (snapshotBuilder_ == null) { return java.util.Collections.unmodifiableList(snapshot_); } else { return snapshotBuilder_.getMessageList(); } } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public int getSnapshotCount() { if (snapshotBuilder_ == null) { return snapshot_.size(); } else { return snapshotBuilder_.getCount(); } } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public com.volcengine.service.vod.model.business.SnapshotOverride getSnapshot(int index) { if (snapshotBuilder_ == null) { return snapshot_.get(index); } else { return snapshotBuilder_.getMessage(index); } } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public Builder setSnapshot( int index, com.volcengine.service.vod.model.business.SnapshotOverride value) { if (snapshotBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSnapshotIsMutable(); snapshot_.set(index, value); onChanged(); } else { snapshotBuilder_.setMessage(index, value); } return this; } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public Builder setSnapshot( int index, com.volcengine.service.vod.model.business.SnapshotOverride.Builder builderForValue) { if (snapshotBuilder_ == null) { ensureSnapshotIsMutable(); snapshot_.set(index, builderForValue.build()); onChanged(); } else { snapshotBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public Builder addSnapshot(com.volcengine.service.vod.model.business.SnapshotOverride value) { if (snapshotBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSnapshotIsMutable(); snapshot_.add(value); onChanged(); } else { snapshotBuilder_.addMessage(value); } return this; } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public Builder addSnapshot( int index, com.volcengine.service.vod.model.business.SnapshotOverride value) { if (snapshotBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSnapshotIsMutable(); snapshot_.add(index, value); onChanged(); } else { snapshotBuilder_.addMessage(index, value); } return this; } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public Builder addSnapshot( com.volcengine.service.vod.model.business.SnapshotOverride.Builder builderForValue) { if (snapshotBuilder_ == null) { ensureSnapshotIsMutable(); snapshot_.add(builderForValue.build()); onChanged(); } else { snapshotBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public Builder addSnapshot( int index, com.volcengine.service.vod.model.business.SnapshotOverride.Builder builderForValue) { if (snapshotBuilder_ == null) { ensureSnapshotIsMutable(); snapshot_.add(index, builderForValue.build()); onChanged(); } else { snapshotBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public Builder addAllSnapshot( java.lang.Iterable values) { if (snapshotBuilder_ == null) { ensureSnapshotIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, snapshot_); onChanged(); } else { snapshotBuilder_.addAllMessages(values); } return this; } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public Builder clearSnapshot() { if (snapshotBuilder_ == null) { snapshot_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { snapshotBuilder_.clear(); } return this; } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public Builder removeSnapshot(int index) { if (snapshotBuilder_ == null) { ensureSnapshotIsMutable(); snapshot_.remove(index); onChanged(); } else { snapshotBuilder_.remove(index); } return this; } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public com.volcengine.service.vod.model.business.SnapshotOverride.Builder getSnapshotBuilder( int index) { return getSnapshotFieldBuilder().getBuilder(index); } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public com.volcengine.service.vod.model.business.SnapshotOverrideOrBuilder getSnapshotOrBuilder( int index) { if (snapshotBuilder_ == null) { return snapshot_.get(index); } else { return snapshotBuilder_.getMessageOrBuilder(index); } } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public java.util.List getSnapshotOrBuilderList() { if (snapshotBuilder_ != null) { return snapshotBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(snapshot_); } } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public com.volcengine.service.vod.model.business.SnapshotOverride.Builder addSnapshotBuilder() { return getSnapshotFieldBuilder().addBuilder( com.volcengine.service.vod.model.business.SnapshotOverride.getDefaultInstance()); } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public com.volcengine.service.vod.model.business.SnapshotOverride.Builder addSnapshotBuilder( int index) { return getSnapshotFieldBuilder().addBuilder( index, com.volcengine.service.vod.model.business.SnapshotOverride.getDefaultInstance()); } /** *
     * 截图覆盖参数
     * 
* * repeated .Volcengine.Vod.Models.Business.SnapshotOverride Snapshot = 4; */ public java.util.List getSnapshotBuilderList() { return getSnapshotFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.SnapshotOverride, com.volcengine.service.vod.model.business.SnapshotOverride.Builder, com.volcengine.service.vod.model.business.SnapshotOverrideOrBuilder> getSnapshotFieldBuilder() { if (snapshotBuilder_ == null) { snapshotBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.volcengine.service.vod.model.business.SnapshotOverride, com.volcengine.service.vod.model.business.SnapshotOverride.Builder, com.volcengine.service.vod.model.business.SnapshotOverrideOrBuilder>( snapshot_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); snapshot_ = null; } return snapshotBuilder_; } private com.volcengine.service.vod.model.business.EnhanceOverride enhance_; private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.EnhanceOverride, com.volcengine.service.vod.model.business.EnhanceOverride.Builder, com.volcengine.service.vod.model.business.EnhanceOverrideOrBuilder> enhanceBuilder_; /** *
     * 增强覆盖参数
     * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; * @return Whether the enhance field is set. */ public boolean hasEnhance() { return enhanceBuilder_ != null || enhance_ != null; } /** *
     * 增强覆盖参数
     * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; * @return The enhance. */ public com.volcengine.service.vod.model.business.EnhanceOverride getEnhance() { if (enhanceBuilder_ == null) { return enhance_ == null ? com.volcengine.service.vod.model.business.EnhanceOverride.getDefaultInstance() : enhance_; } else { return enhanceBuilder_.getMessage(); } } /** *
     * 增强覆盖参数
     * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; */ public Builder setEnhance(com.volcengine.service.vod.model.business.EnhanceOverride value) { if (enhanceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } enhance_ = value; onChanged(); } else { enhanceBuilder_.setMessage(value); } return this; } /** *
     * 增强覆盖参数
     * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; */ public Builder setEnhance( com.volcengine.service.vod.model.business.EnhanceOverride.Builder builderForValue) { if (enhanceBuilder_ == null) { enhance_ = builderForValue.build(); onChanged(); } else { enhanceBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 增强覆盖参数
     * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; */ public Builder mergeEnhance(com.volcengine.service.vod.model.business.EnhanceOverride value) { if (enhanceBuilder_ == null) { if (enhance_ != null) { enhance_ = com.volcengine.service.vod.model.business.EnhanceOverride.newBuilder(enhance_).mergeFrom(value).buildPartial(); } else { enhance_ = value; } onChanged(); } else { enhanceBuilder_.mergeFrom(value); } return this; } /** *
     * 增强覆盖参数
     * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; */ public Builder clearEnhance() { if (enhanceBuilder_ == null) { enhance_ = null; onChanged(); } else { enhance_ = null; enhanceBuilder_ = null; } return this; } /** *
     * 增强覆盖参数
     * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; */ public com.volcengine.service.vod.model.business.EnhanceOverride.Builder getEnhanceBuilder() { onChanged(); return getEnhanceFieldBuilder().getBuilder(); } /** *
     * 增强覆盖参数
     * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; */ public com.volcengine.service.vod.model.business.EnhanceOverrideOrBuilder getEnhanceOrBuilder() { if (enhanceBuilder_ != null) { return enhanceBuilder_.getMessageOrBuilder(); } else { return enhance_ == null ? com.volcengine.service.vod.model.business.EnhanceOverride.getDefaultInstance() : enhance_; } } /** *
     * 增强覆盖参数
     * 
* * .Volcengine.Vod.Models.Business.EnhanceOverride Enhance = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.EnhanceOverride, com.volcengine.service.vod.model.business.EnhanceOverride.Builder, com.volcengine.service.vod.model.business.EnhanceOverrideOrBuilder> getEnhanceFieldBuilder() { if (enhanceBuilder_ == null) { enhanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.volcengine.service.vod.model.business.EnhanceOverride, com.volcengine.service.vod.model.business.EnhanceOverride.Builder, com.volcengine.service.vod.model.business.EnhanceOverrideOrBuilder>( getEnhance(), getParentForChildren(), isClean()); enhance_ = null; } return enhanceBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Volcengine.Vod.Models.Business.OverrideParams) } // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.OverrideParams) private static final com.volcengine.service.vod.model.business.OverrideParams DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.OverrideParams(); } public static com.volcengine.service.vod.model.business.OverrideParams getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OverrideParams parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OverrideParams(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.volcengine.service.vod.model.business.OverrideParams getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy