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

com.volcengine.service.vod.model.business.SnapshotResult 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.SnapshotResult}
 */
public final class SnapshotResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.SnapshotResult)
    SnapshotResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SnapshotResult.newBuilder() to construct.
  private SnapshotResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private SnapshotResult() {
    type_ = "";
  }

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

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

            type_ = s;
            break;
          }
          case 18: {
            com.volcengine.service.vod.model.business.SnapshotParamsPoster.Builder subBuilder = null;
            if (snapshotParamsCase_ == 2) {
              subBuilder = ((com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_).toBuilder();
            }
            snapshotParams_ =
                input.readMessage(com.volcengine.service.vod.model.business.SnapshotParamsPoster.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_);
              snapshotParams_ = subBuilder.buildPartial();
            }
            snapshotParamsCase_ = 2;
            break;
          }
          case 26: {
            com.volcengine.service.vod.model.business.SnapshotParamsDynpost.Builder subBuilder = null;
            if (snapshotParamsCase_ == 3) {
              subBuilder = ((com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_).toBuilder();
            }
            snapshotParams_ =
                input.readMessage(com.volcengine.service.vod.model.business.SnapshotParamsDynpost.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_);
              snapshotParams_ = subBuilder.buildPartial();
            }
            snapshotParamsCase_ = 3;
            break;
          }
          case 34: {
            com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.Builder subBuilder = null;
            if (snapshotParamsCase_ == 4) {
              subBuilder = ((com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_).toBuilder();
            }
            snapshotParams_ =
                input.readMessage(com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_);
              snapshotParams_ = subBuilder.buildPartial();
            }
            snapshotParamsCase_ = 4;
            break;
          }
          case 42: {
            com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.Builder subBuilder = null;
            if (snapshotParamsCase_ == 5) {
              subBuilder = ((com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_).toBuilder();
            }
            snapshotParams_ =
                input.readMessage(com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_);
              snapshotParams_ = subBuilder.buildPartial();
            }
            snapshotParamsCase_ = 5;
            break;
          }
          case 50: {
            com.volcengine.service.vod.model.business.SnapshotParamsSprite.Builder subBuilder = null;
            if (snapshotParamsCase_ == 6) {
              subBuilder = ((com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_).toBuilder();
            }
            snapshotParams_ =
                input.readMessage(com.volcengine.service.vod.model.business.SnapshotParamsSprite.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_);
              snapshotParams_ = subBuilder.buildPartial();
            }
            snapshotParamsCase_ = 6;
            break;
          }
          case 58: {
            com.volcengine.service.vod.model.business.SnapshotParamsSample.Builder subBuilder = null;
            if (snapshotParamsCase_ == 7) {
              subBuilder = ((com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_).toBuilder();
            }
            snapshotParams_ =
                input.readMessage(com.volcengine.service.vod.model.business.SnapshotParamsSample.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_);
              snapshotParams_ = subBuilder.buildPartial();
            }
            snapshotParamsCase_ = 7;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_SnapshotResult_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_SnapshotResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.SnapshotResult.class, com.volcengine.service.vod.model.business.SnapshotResult.Builder.class);
  }

  private int snapshotParamsCase_ = 0;
  private java.lang.Object snapshotParams_;
  public enum SnapshotParamsCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    POSTER(2),
    DYNPOST(3),
    ANIMATEDPOSTER(4),
    AIDYNPOST(5),
    SPRITE(6),
    SAMPLE(7),
    SNAPSHOTPARAMS_NOT_SET(0);
    private final int value;
    private SnapshotParamsCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static SnapshotParamsCase valueOf(int value) {
      return forNumber(value);
    }

    public static SnapshotParamsCase forNumber(int value) {
      switch (value) {
        case 2: return POSTER;
        case 3: return DYNPOST;
        case 4: return ANIMATEDPOSTER;
        case 5: return AIDYNPOST;
        case 6: return SPRITE;
        case 7: return SAMPLE;
        case 0: return SNAPSHOTPARAMS_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public SnapshotParamsCase
  getSnapshotParamsCase() {
    return SnapshotParamsCase.forNumber(
        snapshotParamsCase_);
  }

  public static final int TYPE_FIELD_NUMBER = 1;
  private volatile java.lang.Object type_;
  /**
   * string Type = 1;
   * @return The type.
   */
  @java.lang.Override
  public java.lang.String getType() {
    java.lang.Object ref = type_;
    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();
      type_ = s;
      return s;
    }
  }
  /**
   * string Type = 1;
   * @return The bytes for type.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTypeBytes() {
    java.lang.Object ref = type_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      type_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int POSTER_FIELD_NUMBER = 2;
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
   * @return Whether the poster field is set.
   */
  @java.lang.Override
  public boolean hasPoster() {
    return snapshotParamsCase_ == 2;
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
   * @return The poster.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsPoster getPoster() {
    if (snapshotParamsCase_ == 2) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsPoster.getDefaultInstance();
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsPosterOrBuilder getPosterOrBuilder() {
    if (snapshotParamsCase_ == 2) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsPoster.getDefaultInstance();
  }

  public static final int DYNPOST_FIELD_NUMBER = 3;
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
   * @return Whether the dynpost field is set.
   */
  @java.lang.Override
  public boolean hasDynpost() {
    return snapshotParamsCase_ == 3;
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
   * @return The dynpost.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsDynpost getDynpost() {
    if (snapshotParamsCase_ == 3) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsDynpost.getDefaultInstance();
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsDynpostOrBuilder getDynpostOrBuilder() {
    if (snapshotParamsCase_ == 3) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsDynpost.getDefaultInstance();
  }

  public static final int ANIMATEDPOSTER_FIELD_NUMBER = 4;
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
   * @return Whether the animatedPoster field is set.
   */
  @java.lang.Override
  public boolean hasAnimatedPoster() {
    return snapshotParamsCase_ == 4;
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
   * @return The animatedPoster.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster getAnimatedPoster() {
    if (snapshotParamsCase_ == 4) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.getDefaultInstance();
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPosterOrBuilder getAnimatedPosterOrBuilder() {
    if (snapshotParamsCase_ == 4) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.getDefaultInstance();
  }

  public static final int AIDYNPOST_FIELD_NUMBER = 5;
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
   * @return Whether the aIDynpost field is set.
   */
  @java.lang.Override
  public boolean hasAIDynpost() {
    return snapshotParamsCase_ == 5;
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
   * @return The aIDynpost.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost getAIDynpost() {
    if (snapshotParamsCase_ == 5) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.getDefaultInstance();
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsAIDynpostOrBuilder getAIDynpostOrBuilder() {
    if (snapshotParamsCase_ == 5) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.getDefaultInstance();
  }

  public static final int SPRITE_FIELD_NUMBER = 6;
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
   * @return Whether the sprite field is set.
   */
  @java.lang.Override
  public boolean hasSprite() {
    return snapshotParamsCase_ == 6;
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
   * @return The sprite.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsSprite getSprite() {
    if (snapshotParamsCase_ == 6) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsSprite.getDefaultInstance();
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsSpriteOrBuilder getSpriteOrBuilder() {
    if (snapshotParamsCase_ == 6) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsSprite.getDefaultInstance();
  }

  public static final int SAMPLE_FIELD_NUMBER = 7;
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
   * @return Whether the sample field is set.
   */
  @java.lang.Override
  public boolean hasSample() {
    return snapshotParamsCase_ == 7;
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
   * @return The sample.
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsSample getSample() {
    if (snapshotParamsCase_ == 7) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsSample.getDefaultInstance();
  }
  /**
   * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.SnapshotParamsSampleOrBuilder getSampleOrBuilder() {
    if (snapshotParamsCase_ == 7) {
       return (com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_;
    }
    return com.volcengine.service.vod.model.business.SnapshotParamsSample.getDefaultInstance();
  }

  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(type_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
    }
    if (snapshotParamsCase_ == 2) {
      output.writeMessage(2, (com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_);
    }
    if (snapshotParamsCase_ == 3) {
      output.writeMessage(3, (com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_);
    }
    if (snapshotParamsCase_ == 4) {
      output.writeMessage(4, (com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_);
    }
    if (snapshotParamsCase_ == 5) {
      output.writeMessage(5, (com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_);
    }
    if (snapshotParamsCase_ == 6) {
      output.writeMessage(6, (com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_);
    }
    if (snapshotParamsCase_ == 7) {
      output.writeMessage(7, (com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_);
    }
    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(type_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
    }
    if (snapshotParamsCase_ == 2) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, (com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_);
    }
    if (snapshotParamsCase_ == 3) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, (com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_);
    }
    if (snapshotParamsCase_ == 4) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, (com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_);
    }
    if (snapshotParamsCase_ == 5) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, (com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_);
    }
    if (snapshotParamsCase_ == 6) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(6, (com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_);
    }
    if (snapshotParamsCase_ == 7) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(7, (com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_);
    }
    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.SnapshotResult)) {
      return super.equals(obj);
    }
    com.volcengine.service.vod.model.business.SnapshotResult other = (com.volcengine.service.vod.model.business.SnapshotResult) obj;

    if (!getType()
        .equals(other.getType())) return false;
    if (!getSnapshotParamsCase().equals(other.getSnapshotParamsCase())) return false;
    switch (snapshotParamsCase_) {
      case 2:
        if (!getPoster()
            .equals(other.getPoster())) return false;
        break;
      case 3:
        if (!getDynpost()
            .equals(other.getDynpost())) return false;
        break;
      case 4:
        if (!getAnimatedPoster()
            .equals(other.getAnimatedPoster())) return false;
        break;
      case 5:
        if (!getAIDynpost()
            .equals(other.getAIDynpost())) return false;
        break;
      case 6:
        if (!getSprite()
            .equals(other.getSprite())) return false;
        break;
      case 7:
        if (!getSample()
            .equals(other.getSample())) return false;
        break;
      case 0:
      default:
    }
    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) + TYPE_FIELD_NUMBER;
    hash = (53 * hash) + getType().hashCode();
    switch (snapshotParamsCase_) {
      case 2:
        hash = (37 * hash) + POSTER_FIELD_NUMBER;
        hash = (53 * hash) + getPoster().hashCode();
        break;
      case 3:
        hash = (37 * hash) + DYNPOST_FIELD_NUMBER;
        hash = (53 * hash) + getDynpost().hashCode();
        break;
      case 4:
        hash = (37 * hash) + ANIMATEDPOSTER_FIELD_NUMBER;
        hash = (53 * hash) + getAnimatedPoster().hashCode();
        break;
      case 5:
        hash = (37 * hash) + AIDYNPOST_FIELD_NUMBER;
        hash = (53 * hash) + getAIDynpost().hashCode();
        break;
      case 6:
        hash = (37 * hash) + SPRITE_FIELD_NUMBER;
        hash = (53 * hash) + getSprite().hashCode();
        break;
      case 7:
        hash = (37 * hash) + SAMPLE_FIELD_NUMBER;
        hash = (53 * hash) + getSample().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.volcengine.service.vod.model.business.SnapshotResult parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.volcengine.service.vod.model.business.SnapshotResult 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.SnapshotResult parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.volcengine.service.vod.model.business.SnapshotResult 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.SnapshotResult parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.volcengine.service.vod.model.business.SnapshotResult 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.SnapshotResult 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.SnapshotResult 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.SnapshotResult 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.SnapshotResult 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.SnapshotResult 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.SnapshotResult 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.SnapshotResult 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.SnapshotResult}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.SnapshotResult)
      com.volcengine.service.vod.model.business.SnapshotResultOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_SnapshotResult_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_SnapshotResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.volcengine.service.vod.model.business.SnapshotResult.class, com.volcengine.service.vod.model.business.SnapshotResult.Builder.class);
    }

    // Construct using com.volcengine.service.vod.model.business.SnapshotResult.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      type_ = "";

      snapshotParamsCase_ = 0;
      snapshotParams_ = 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_SnapshotResult_descriptor;
    }

    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotResult getDefaultInstanceForType() {
      return com.volcengine.service.vod.model.business.SnapshotResult.getDefaultInstance();
    }

    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotResult build() {
      com.volcengine.service.vod.model.business.SnapshotResult result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotResult buildPartial() {
      com.volcengine.service.vod.model.business.SnapshotResult result = new com.volcengine.service.vod.model.business.SnapshotResult(this);
      result.type_ = type_;
      if (snapshotParamsCase_ == 2) {
        if (posterBuilder_ == null) {
          result.snapshotParams_ = snapshotParams_;
        } else {
          result.snapshotParams_ = posterBuilder_.build();
        }
      }
      if (snapshotParamsCase_ == 3) {
        if (dynpostBuilder_ == null) {
          result.snapshotParams_ = snapshotParams_;
        } else {
          result.snapshotParams_ = dynpostBuilder_.build();
        }
      }
      if (snapshotParamsCase_ == 4) {
        if (animatedPosterBuilder_ == null) {
          result.snapshotParams_ = snapshotParams_;
        } else {
          result.snapshotParams_ = animatedPosterBuilder_.build();
        }
      }
      if (snapshotParamsCase_ == 5) {
        if (aIDynpostBuilder_ == null) {
          result.snapshotParams_ = snapshotParams_;
        } else {
          result.snapshotParams_ = aIDynpostBuilder_.build();
        }
      }
      if (snapshotParamsCase_ == 6) {
        if (spriteBuilder_ == null) {
          result.snapshotParams_ = snapshotParams_;
        } else {
          result.snapshotParams_ = spriteBuilder_.build();
        }
      }
      if (snapshotParamsCase_ == 7) {
        if (sampleBuilder_ == null) {
          result.snapshotParams_ = snapshotParams_;
        } else {
          result.snapshotParams_ = sampleBuilder_.build();
        }
      }
      result.snapshotParamsCase_ = snapshotParamsCase_;
      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.SnapshotResult) {
        return mergeFrom((com.volcengine.service.vod.model.business.SnapshotResult)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.volcengine.service.vod.model.business.SnapshotResult other) {
      if (other == com.volcengine.service.vod.model.business.SnapshotResult.getDefaultInstance()) return this;
      if (!other.getType().isEmpty()) {
        type_ = other.type_;
        onChanged();
      }
      switch (other.getSnapshotParamsCase()) {
        case POSTER: {
          mergePoster(other.getPoster());
          break;
        }
        case DYNPOST: {
          mergeDynpost(other.getDynpost());
          break;
        }
        case ANIMATEDPOSTER: {
          mergeAnimatedPoster(other.getAnimatedPoster());
          break;
        }
        case AIDYNPOST: {
          mergeAIDynpost(other.getAIDynpost());
          break;
        }
        case SPRITE: {
          mergeSprite(other.getSprite());
          break;
        }
        case SAMPLE: {
          mergeSample(other.getSample());
          break;
        }
        case SNAPSHOTPARAMS_NOT_SET: {
          break;
        }
      }
      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.SnapshotResult parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.volcengine.service.vod.model.business.SnapshotResult) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int snapshotParamsCase_ = 0;
    private java.lang.Object snapshotParams_;
    public SnapshotParamsCase
        getSnapshotParamsCase() {
      return SnapshotParamsCase.forNumber(
          snapshotParamsCase_);
    }

    public Builder clearSnapshotParams() {
      snapshotParamsCase_ = 0;
      snapshotParams_ = null;
      onChanged();
      return this;
    }


    private java.lang.Object type_ = "";
    /**
     * string Type = 1;
     * @return The type.
     */
    public java.lang.String getType() {
      java.lang.Object ref = type_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        type_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Type = 1;
     * @return The bytes for type.
     */
    public com.google.protobuf.ByteString
        getTypeBytes() {
      java.lang.Object ref = type_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        type_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Type = 1;
     * @param value The type to set.
     * @return This builder for chaining.
     */
    public Builder setType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      type_ = value;
      onChanged();
      return this;
    }
    /**
     * string Type = 1;
     * @return This builder for chaining.
     */
    public Builder clearType() {
      
      type_ = getDefaultInstance().getType();
      onChanged();
      return this;
    }
    /**
     * string Type = 1;
     * @param value The bytes for type to set.
     * @return This builder for chaining.
     */
    public Builder setTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      type_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsPoster, com.volcengine.service.vod.model.business.SnapshotParamsPoster.Builder, com.volcengine.service.vod.model.business.SnapshotParamsPosterOrBuilder> posterBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
     * @return Whether the poster field is set.
     */
    @java.lang.Override
    public boolean hasPoster() {
      return snapshotParamsCase_ == 2;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
     * @return The poster.
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsPoster getPoster() {
      if (posterBuilder_ == null) {
        if (snapshotParamsCase_ == 2) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsPoster.getDefaultInstance();
      } else {
        if (snapshotParamsCase_ == 2) {
          return posterBuilder_.getMessage();
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsPoster.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
     */
    public Builder setPoster(com.volcengine.service.vod.model.business.SnapshotParamsPoster value) {
      if (posterBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        snapshotParams_ = value;
        onChanged();
      } else {
        posterBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 2;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
     */
    public Builder setPoster(
        com.volcengine.service.vod.model.business.SnapshotParamsPoster.Builder builderForValue) {
      if (posterBuilder_ == null) {
        snapshotParams_ = builderForValue.build();
        onChanged();
      } else {
        posterBuilder_.setMessage(builderForValue.build());
      }
      snapshotParamsCase_ = 2;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
     */
    public Builder mergePoster(com.volcengine.service.vod.model.business.SnapshotParamsPoster value) {
      if (posterBuilder_ == null) {
        if (snapshotParamsCase_ == 2 &&
            snapshotParams_ != com.volcengine.service.vod.model.business.SnapshotParamsPoster.getDefaultInstance()) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsPoster.newBuilder((com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_)
              .mergeFrom(value).buildPartial();
        } else {
          snapshotParams_ = value;
        }
        onChanged();
      } else {
        if (snapshotParamsCase_ == 2) {
          posterBuilder_.mergeFrom(value);
        }
        posterBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 2;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
     */
    public Builder clearPoster() {
      if (posterBuilder_ == null) {
        if (snapshotParamsCase_ == 2) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
          onChanged();
        }
      } else {
        if (snapshotParamsCase_ == 2) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
        }
        posterBuilder_.clear();
      }
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
     */
    public com.volcengine.service.vod.model.business.SnapshotParamsPoster.Builder getPosterBuilder() {
      return getPosterFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsPosterOrBuilder getPosterOrBuilder() {
      if ((snapshotParamsCase_ == 2) && (posterBuilder_ != null)) {
        return posterBuilder_.getMessageOrBuilder();
      } else {
        if (snapshotParamsCase_ == 2) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsPoster.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsPoster Poster = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsPoster, com.volcengine.service.vod.model.business.SnapshotParamsPoster.Builder, com.volcengine.service.vod.model.business.SnapshotParamsPosterOrBuilder> 
        getPosterFieldBuilder() {
      if (posterBuilder_ == null) {
        if (!(snapshotParamsCase_ == 2)) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsPoster.getDefaultInstance();
        }
        posterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.SnapshotParamsPoster, com.volcengine.service.vod.model.business.SnapshotParamsPoster.Builder, com.volcengine.service.vod.model.business.SnapshotParamsPosterOrBuilder>(
                (com.volcengine.service.vod.model.business.SnapshotParamsPoster) snapshotParams_,
                getParentForChildren(),
                isClean());
        snapshotParams_ = null;
      }
      snapshotParamsCase_ = 2;
      onChanged();;
      return posterBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsDynpost, com.volcengine.service.vod.model.business.SnapshotParamsDynpost.Builder, com.volcengine.service.vod.model.business.SnapshotParamsDynpostOrBuilder> dynpostBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
     * @return Whether the dynpost field is set.
     */
    @java.lang.Override
    public boolean hasDynpost() {
      return snapshotParamsCase_ == 3;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
     * @return The dynpost.
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsDynpost getDynpost() {
      if (dynpostBuilder_ == null) {
        if (snapshotParamsCase_ == 3) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsDynpost.getDefaultInstance();
      } else {
        if (snapshotParamsCase_ == 3) {
          return dynpostBuilder_.getMessage();
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsDynpost.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
     */
    public Builder setDynpost(com.volcengine.service.vod.model.business.SnapshotParamsDynpost value) {
      if (dynpostBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        snapshotParams_ = value;
        onChanged();
      } else {
        dynpostBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 3;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
     */
    public Builder setDynpost(
        com.volcengine.service.vod.model.business.SnapshotParamsDynpost.Builder builderForValue) {
      if (dynpostBuilder_ == null) {
        snapshotParams_ = builderForValue.build();
        onChanged();
      } else {
        dynpostBuilder_.setMessage(builderForValue.build());
      }
      snapshotParamsCase_ = 3;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
     */
    public Builder mergeDynpost(com.volcengine.service.vod.model.business.SnapshotParamsDynpost value) {
      if (dynpostBuilder_ == null) {
        if (snapshotParamsCase_ == 3 &&
            snapshotParams_ != com.volcengine.service.vod.model.business.SnapshotParamsDynpost.getDefaultInstance()) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsDynpost.newBuilder((com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_)
              .mergeFrom(value).buildPartial();
        } else {
          snapshotParams_ = value;
        }
        onChanged();
      } else {
        if (snapshotParamsCase_ == 3) {
          dynpostBuilder_.mergeFrom(value);
        }
        dynpostBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 3;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
     */
    public Builder clearDynpost() {
      if (dynpostBuilder_ == null) {
        if (snapshotParamsCase_ == 3) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
          onChanged();
        }
      } else {
        if (snapshotParamsCase_ == 3) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
        }
        dynpostBuilder_.clear();
      }
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
     */
    public com.volcengine.service.vod.model.business.SnapshotParamsDynpost.Builder getDynpostBuilder() {
      return getDynpostFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsDynpostOrBuilder getDynpostOrBuilder() {
      if ((snapshotParamsCase_ == 3) && (dynpostBuilder_ != null)) {
        return dynpostBuilder_.getMessageOrBuilder();
      } else {
        if (snapshotParamsCase_ == 3) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsDynpost.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsDynpost Dynpost = 3;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsDynpost, com.volcengine.service.vod.model.business.SnapshotParamsDynpost.Builder, com.volcengine.service.vod.model.business.SnapshotParamsDynpostOrBuilder> 
        getDynpostFieldBuilder() {
      if (dynpostBuilder_ == null) {
        if (!(snapshotParamsCase_ == 3)) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsDynpost.getDefaultInstance();
        }
        dynpostBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.SnapshotParamsDynpost, com.volcengine.service.vod.model.business.SnapshotParamsDynpost.Builder, com.volcengine.service.vod.model.business.SnapshotParamsDynpostOrBuilder>(
                (com.volcengine.service.vod.model.business.SnapshotParamsDynpost) snapshotParams_,
                getParentForChildren(),
                isClean());
        snapshotParams_ = null;
      }
      snapshotParamsCase_ = 3;
      onChanged();;
      return dynpostBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster, com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.Builder, com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPosterOrBuilder> animatedPosterBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
     * @return Whether the animatedPoster field is set.
     */
    @java.lang.Override
    public boolean hasAnimatedPoster() {
      return snapshotParamsCase_ == 4;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
     * @return The animatedPoster.
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster getAnimatedPoster() {
      if (animatedPosterBuilder_ == null) {
        if (snapshotParamsCase_ == 4) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.getDefaultInstance();
      } else {
        if (snapshotParamsCase_ == 4) {
          return animatedPosterBuilder_.getMessage();
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
     */
    public Builder setAnimatedPoster(com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster value) {
      if (animatedPosterBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        snapshotParams_ = value;
        onChanged();
      } else {
        animatedPosterBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 4;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
     */
    public Builder setAnimatedPoster(
        com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.Builder builderForValue) {
      if (animatedPosterBuilder_ == null) {
        snapshotParams_ = builderForValue.build();
        onChanged();
      } else {
        animatedPosterBuilder_.setMessage(builderForValue.build());
      }
      snapshotParamsCase_ = 4;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
     */
    public Builder mergeAnimatedPoster(com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster value) {
      if (animatedPosterBuilder_ == null) {
        if (snapshotParamsCase_ == 4 &&
            snapshotParams_ != com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.getDefaultInstance()) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.newBuilder((com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_)
              .mergeFrom(value).buildPartial();
        } else {
          snapshotParams_ = value;
        }
        onChanged();
      } else {
        if (snapshotParamsCase_ == 4) {
          animatedPosterBuilder_.mergeFrom(value);
        }
        animatedPosterBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 4;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
     */
    public Builder clearAnimatedPoster() {
      if (animatedPosterBuilder_ == null) {
        if (snapshotParamsCase_ == 4) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
          onChanged();
        }
      } else {
        if (snapshotParamsCase_ == 4) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
        }
        animatedPosterBuilder_.clear();
      }
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
     */
    public com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.Builder getAnimatedPosterBuilder() {
      return getAnimatedPosterFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPosterOrBuilder getAnimatedPosterOrBuilder() {
      if ((snapshotParamsCase_ == 4) && (animatedPosterBuilder_ != null)) {
        return animatedPosterBuilder_.getMessageOrBuilder();
      } else {
        if (snapshotParamsCase_ == 4) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAnimatedPoster AnimatedPoster = 4;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster, com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.Builder, com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPosterOrBuilder> 
        getAnimatedPosterFieldBuilder() {
      if (animatedPosterBuilder_ == null) {
        if (!(snapshotParamsCase_ == 4)) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.getDefaultInstance();
        }
        animatedPosterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster, com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster.Builder, com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPosterOrBuilder>(
                (com.volcengine.service.vod.model.business.SnapshotParamsAnimatedPoster) snapshotParams_,
                getParentForChildren(),
                isClean());
        snapshotParams_ = null;
      }
      snapshotParamsCase_ = 4;
      onChanged();;
      return animatedPosterBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost, com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.Builder, com.volcengine.service.vod.model.business.SnapshotParamsAIDynpostOrBuilder> aIDynpostBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
     * @return Whether the aIDynpost field is set.
     */
    @java.lang.Override
    public boolean hasAIDynpost() {
      return snapshotParamsCase_ == 5;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
     * @return The aIDynpost.
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost getAIDynpost() {
      if (aIDynpostBuilder_ == null) {
        if (snapshotParamsCase_ == 5) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.getDefaultInstance();
      } else {
        if (snapshotParamsCase_ == 5) {
          return aIDynpostBuilder_.getMessage();
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
     */
    public Builder setAIDynpost(com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost value) {
      if (aIDynpostBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        snapshotParams_ = value;
        onChanged();
      } else {
        aIDynpostBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 5;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
     */
    public Builder setAIDynpost(
        com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.Builder builderForValue) {
      if (aIDynpostBuilder_ == null) {
        snapshotParams_ = builderForValue.build();
        onChanged();
      } else {
        aIDynpostBuilder_.setMessage(builderForValue.build());
      }
      snapshotParamsCase_ = 5;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
     */
    public Builder mergeAIDynpost(com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost value) {
      if (aIDynpostBuilder_ == null) {
        if (snapshotParamsCase_ == 5 &&
            snapshotParams_ != com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.getDefaultInstance()) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.newBuilder((com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_)
              .mergeFrom(value).buildPartial();
        } else {
          snapshotParams_ = value;
        }
        onChanged();
      } else {
        if (snapshotParamsCase_ == 5) {
          aIDynpostBuilder_.mergeFrom(value);
        }
        aIDynpostBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 5;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
     */
    public Builder clearAIDynpost() {
      if (aIDynpostBuilder_ == null) {
        if (snapshotParamsCase_ == 5) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
          onChanged();
        }
      } else {
        if (snapshotParamsCase_ == 5) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
        }
        aIDynpostBuilder_.clear();
      }
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
     */
    public com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.Builder getAIDynpostBuilder() {
      return getAIDynpostFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsAIDynpostOrBuilder getAIDynpostOrBuilder() {
      if ((snapshotParamsCase_ == 5) && (aIDynpostBuilder_ != null)) {
        return aIDynpostBuilder_.getMessageOrBuilder();
      } else {
        if (snapshotParamsCase_ == 5) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsAIDynpost AIDynpost = 5;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost, com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.Builder, com.volcengine.service.vod.model.business.SnapshotParamsAIDynpostOrBuilder> 
        getAIDynpostFieldBuilder() {
      if (aIDynpostBuilder_ == null) {
        if (!(snapshotParamsCase_ == 5)) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.getDefaultInstance();
        }
        aIDynpostBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost, com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost.Builder, com.volcengine.service.vod.model.business.SnapshotParamsAIDynpostOrBuilder>(
                (com.volcengine.service.vod.model.business.SnapshotParamsAIDynpost) snapshotParams_,
                getParentForChildren(),
                isClean());
        snapshotParams_ = null;
      }
      snapshotParamsCase_ = 5;
      onChanged();;
      return aIDynpostBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsSprite, com.volcengine.service.vod.model.business.SnapshotParamsSprite.Builder, com.volcengine.service.vod.model.business.SnapshotParamsSpriteOrBuilder> spriteBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
     * @return Whether the sprite field is set.
     */
    @java.lang.Override
    public boolean hasSprite() {
      return snapshotParamsCase_ == 6;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
     * @return The sprite.
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsSprite getSprite() {
      if (spriteBuilder_ == null) {
        if (snapshotParamsCase_ == 6) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsSprite.getDefaultInstance();
      } else {
        if (snapshotParamsCase_ == 6) {
          return spriteBuilder_.getMessage();
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsSprite.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
     */
    public Builder setSprite(com.volcengine.service.vod.model.business.SnapshotParamsSprite value) {
      if (spriteBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        snapshotParams_ = value;
        onChanged();
      } else {
        spriteBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 6;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
     */
    public Builder setSprite(
        com.volcengine.service.vod.model.business.SnapshotParamsSprite.Builder builderForValue) {
      if (spriteBuilder_ == null) {
        snapshotParams_ = builderForValue.build();
        onChanged();
      } else {
        spriteBuilder_.setMessage(builderForValue.build());
      }
      snapshotParamsCase_ = 6;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
     */
    public Builder mergeSprite(com.volcengine.service.vod.model.business.SnapshotParamsSprite value) {
      if (spriteBuilder_ == null) {
        if (snapshotParamsCase_ == 6 &&
            snapshotParams_ != com.volcengine.service.vod.model.business.SnapshotParamsSprite.getDefaultInstance()) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsSprite.newBuilder((com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_)
              .mergeFrom(value).buildPartial();
        } else {
          snapshotParams_ = value;
        }
        onChanged();
      } else {
        if (snapshotParamsCase_ == 6) {
          spriteBuilder_.mergeFrom(value);
        }
        spriteBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 6;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
     */
    public Builder clearSprite() {
      if (spriteBuilder_ == null) {
        if (snapshotParamsCase_ == 6) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
          onChanged();
        }
      } else {
        if (snapshotParamsCase_ == 6) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
        }
        spriteBuilder_.clear();
      }
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
     */
    public com.volcengine.service.vod.model.business.SnapshotParamsSprite.Builder getSpriteBuilder() {
      return getSpriteFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsSpriteOrBuilder getSpriteOrBuilder() {
      if ((snapshotParamsCase_ == 6) && (spriteBuilder_ != null)) {
        return spriteBuilder_.getMessageOrBuilder();
      } else {
        if (snapshotParamsCase_ == 6) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsSprite.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSprite Sprite = 6;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsSprite, com.volcengine.service.vod.model.business.SnapshotParamsSprite.Builder, com.volcengine.service.vod.model.business.SnapshotParamsSpriteOrBuilder> 
        getSpriteFieldBuilder() {
      if (spriteBuilder_ == null) {
        if (!(snapshotParamsCase_ == 6)) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsSprite.getDefaultInstance();
        }
        spriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.SnapshotParamsSprite, com.volcengine.service.vod.model.business.SnapshotParamsSprite.Builder, com.volcengine.service.vod.model.business.SnapshotParamsSpriteOrBuilder>(
                (com.volcengine.service.vod.model.business.SnapshotParamsSprite) snapshotParams_,
                getParentForChildren(),
                isClean());
        snapshotParams_ = null;
      }
      snapshotParamsCase_ = 6;
      onChanged();;
      return spriteBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsSample, com.volcengine.service.vod.model.business.SnapshotParamsSample.Builder, com.volcengine.service.vod.model.business.SnapshotParamsSampleOrBuilder> sampleBuilder_;
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
     * @return Whether the sample field is set.
     */
    @java.lang.Override
    public boolean hasSample() {
      return snapshotParamsCase_ == 7;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
     * @return The sample.
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsSample getSample() {
      if (sampleBuilder_ == null) {
        if (snapshotParamsCase_ == 7) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsSample.getDefaultInstance();
      } else {
        if (snapshotParamsCase_ == 7) {
          return sampleBuilder_.getMessage();
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsSample.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
     */
    public Builder setSample(com.volcengine.service.vod.model.business.SnapshotParamsSample value) {
      if (sampleBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        snapshotParams_ = value;
        onChanged();
      } else {
        sampleBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 7;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
     */
    public Builder setSample(
        com.volcengine.service.vod.model.business.SnapshotParamsSample.Builder builderForValue) {
      if (sampleBuilder_ == null) {
        snapshotParams_ = builderForValue.build();
        onChanged();
      } else {
        sampleBuilder_.setMessage(builderForValue.build());
      }
      snapshotParamsCase_ = 7;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
     */
    public Builder mergeSample(com.volcengine.service.vod.model.business.SnapshotParamsSample value) {
      if (sampleBuilder_ == null) {
        if (snapshotParamsCase_ == 7 &&
            snapshotParams_ != com.volcengine.service.vod.model.business.SnapshotParamsSample.getDefaultInstance()) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsSample.newBuilder((com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_)
              .mergeFrom(value).buildPartial();
        } else {
          snapshotParams_ = value;
        }
        onChanged();
      } else {
        if (snapshotParamsCase_ == 7) {
          sampleBuilder_.mergeFrom(value);
        }
        sampleBuilder_.setMessage(value);
      }
      snapshotParamsCase_ = 7;
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
     */
    public Builder clearSample() {
      if (sampleBuilder_ == null) {
        if (snapshotParamsCase_ == 7) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
          onChanged();
        }
      } else {
        if (snapshotParamsCase_ == 7) {
          snapshotParamsCase_ = 0;
          snapshotParams_ = null;
        }
        sampleBuilder_.clear();
      }
      return this;
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
     */
    public com.volcengine.service.vod.model.business.SnapshotParamsSample.Builder getSampleBuilder() {
      return getSampleFieldBuilder().getBuilder();
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
     */
    @java.lang.Override
    public com.volcengine.service.vod.model.business.SnapshotParamsSampleOrBuilder getSampleOrBuilder() {
      if ((snapshotParamsCase_ == 7) && (sampleBuilder_ != null)) {
        return sampleBuilder_.getMessageOrBuilder();
      } else {
        if (snapshotParamsCase_ == 7) {
          return (com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_;
        }
        return com.volcengine.service.vod.model.business.SnapshotParamsSample.getDefaultInstance();
      }
    }
    /**
     * .Volcengine.Vod.Models.Business.SnapshotParamsSample Sample = 7;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.volcengine.service.vod.model.business.SnapshotParamsSample, com.volcengine.service.vod.model.business.SnapshotParamsSample.Builder, com.volcengine.service.vod.model.business.SnapshotParamsSampleOrBuilder> 
        getSampleFieldBuilder() {
      if (sampleBuilder_ == null) {
        if (!(snapshotParamsCase_ == 7)) {
          snapshotParams_ = com.volcengine.service.vod.model.business.SnapshotParamsSample.getDefaultInstance();
        }
        sampleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.volcengine.service.vod.model.business.SnapshotParamsSample, com.volcengine.service.vod.model.business.SnapshotParamsSample.Builder, com.volcengine.service.vod.model.business.SnapshotParamsSampleOrBuilder>(
                (com.volcengine.service.vod.model.business.SnapshotParamsSample) snapshotParams_,
                getParentForChildren(),
                isClean());
        snapshotParams_ = null;
      }
      snapshotParamsCase_ = 7;
      onChanged();;
      return sampleBuilder_;
    }
    @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.SnapshotResult)
  }

  // @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.SnapshotResult)
  private static final com.volcengine.service.vod.model.business.SnapshotResult DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.SnapshotResult();
  }

  public static com.volcengine.service.vod.model.business.SnapshotResult getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public SnapshotResult parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new SnapshotResult(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.SnapshotResult getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy