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

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

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

/**
 * Protobuf type {@code Volcengine.Vod.Models.Business.DescribeVodSnapshotDataDetail}
 */
public final class DescribeVodSnapshotDataDetail extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.DescribeVodSnapshotDataDetail)
    DescribeVodSnapshotDataDetailOrBuilder {
private static final long serialVersionUID = 0L;
  // Use DescribeVodSnapshotDataDetail.newBuilder() to construct.
  private DescribeVodSnapshotDataDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private DescribeVodSnapshotDataDetail() {
    space_ = "";
    taskStage_ = "";
    total_ = "";
    snapshotDataList_ = java.util.Collections.emptyList();
  }

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

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

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

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

            total_ = s;
            break;
          }
          case 34: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              snapshotDataList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            snapshotDataList_.add(
                input.readMessage(com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        snapshotDataList_ = java.util.Collections.unmodifiableList(snapshotDataList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodMeasure.internal_static_Volcengine_Vod_Models_Business_DescribeVodSnapshotDataDetail_descriptor;
  }

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

  public static final int SPACE_FIELD_NUMBER = 1;
  private volatile java.lang.Object space_;
  /**
   * string Space = 1;
   * @return The space.
   */
  @java.lang.Override
  public java.lang.String getSpace() {
    java.lang.Object ref = space_;
    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();
      space_ = s;
      return s;
    }
  }
  /**
   * string Space = 1;
   * @return The bytes for space.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getSpaceBytes() {
    java.lang.Object ref = space_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      space_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TASKSTAGE_FIELD_NUMBER = 2;
  private volatile java.lang.Object taskStage_;
  /**
   * string TaskStage = 2;
   * @return The taskStage.
   */
  @java.lang.Override
  public java.lang.String getTaskStage() {
    java.lang.Object ref = taskStage_;
    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();
      taskStage_ = s;
      return s;
    }
  }
  /**
   * string TaskStage = 2;
   * @return The bytes for taskStage.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTaskStageBytes() {
    java.lang.Object ref = taskStage_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      taskStage_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TOTAL_FIELD_NUMBER = 3;
  private volatile java.lang.Object total_;
  /**
   * string Total = 3;
   * @return The total.
   */
  @java.lang.Override
  public java.lang.String getTotal() {
    java.lang.Object ref = total_;
    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();
      total_ = s;
      return s;
    }
  }
  /**
   * string Total = 3;
   * @return The bytes for total.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTotalBytes() {
    java.lang.Object ref = total_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      total_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int SNAPSHOTDATALIST_FIELD_NUMBER = 4;
  private java.util.List snapshotDataList_;
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
   */
  @java.lang.Override
  public java.util.List getSnapshotDataListList() {
    return snapshotDataList_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
   */
  @java.lang.Override
  public java.util.List 
      getSnapshotDataListOrBuilderList() {
    return snapshotDataList_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
   */
  @java.lang.Override
  public int getSnapshotDataListCount() {
    return snapshotDataList_.size();
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem getSnapshotDataList(int index) {
    return snapshotDataList_.get(index);
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItemOrBuilder getSnapshotDataListOrBuilder(
      int index) {
    return snapshotDataList_.get(index);
  }

  private byte memoizedIsInitialized = -1;
  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(space_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, space_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskStage_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, taskStage_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(total_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, total_);
    }
    for (int i = 0; i < snapshotDataList_.size(); i++) {
      output.writeMessage(4, snapshotDataList_.get(i));
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(space_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, space_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(taskStage_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, taskStage_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(total_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, total_);
    }
    for (int i = 0; i < snapshotDataList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, snapshotDataList_.get(i));
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail)) {
      return super.equals(obj);
    }
    com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail other = (com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail) obj;

    if (!getSpace()
        .equals(other.getSpace())) return false;
    if (!getTaskStage()
        .equals(other.getTaskStage())) return false;
    if (!getTotal()
        .equals(other.getTotal())) return false;
    if (!getSnapshotDataListList()
        .equals(other.getSnapshotDataListList())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + SPACE_FIELD_NUMBER;
    hash = (53 * hash) + getSpace().hashCode();
    hash = (37 * hash) + TASKSTAGE_FIELD_NUMBER;
    hash = (53 * hash) + getTaskStage().hashCode();
    hash = (37 * hash) + TOTAL_FIELD_NUMBER;
    hash = (53 * hash) + getTotal().hashCode();
    if (getSnapshotDataListCount() > 0) {
      hash = (37 * hash) + SNAPSHOTDATALIST_FIELD_NUMBER;
      hash = (53 * hash) + getSnapshotDataListList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

      taskStage_ = "";

      total_ = "";

      if (snapshotDataListBuilder_ == null) {
        snapshotDataList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        snapshotDataListBuilder_.clear();
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.volcengine.service.vod.model.business.VodMeasure.internal_static_Volcengine_Vod_Models_Business_DescribeVodSnapshotDataDetail_descriptor;
    }

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

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

    @java.lang.Override
    public com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail buildPartial() {
      com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail result = new com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail(this);
      int from_bitField0_ = bitField0_;
      result.space_ = space_;
      result.taskStage_ = taskStage_;
      result.total_ = total_;
      if (snapshotDataListBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          snapshotDataList_ = java.util.Collections.unmodifiableList(snapshotDataList_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.snapshotDataList_ = snapshotDataList_;
      } else {
        result.snapshotDataList_ = snapshotDataListBuilder_.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.DescribeVodSnapshotDataDetail) {
        return mergeFrom((com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail other) {
      if (other == com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail.getDefaultInstance()) return this;
      if (!other.getSpace().isEmpty()) {
        space_ = other.space_;
        onChanged();
      }
      if (!other.getTaskStage().isEmpty()) {
        taskStage_ = other.taskStage_;
        onChanged();
      }
      if (!other.getTotal().isEmpty()) {
        total_ = other.total_;
        onChanged();
      }
      if (snapshotDataListBuilder_ == null) {
        if (!other.snapshotDataList_.isEmpty()) {
          if (snapshotDataList_.isEmpty()) {
            snapshotDataList_ = other.snapshotDataList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureSnapshotDataListIsMutable();
            snapshotDataList_.addAll(other.snapshotDataList_);
          }
          onChanged();
        }
      } else {
        if (!other.snapshotDataList_.isEmpty()) {
          if (snapshotDataListBuilder_.isEmpty()) {
            snapshotDataListBuilder_.dispose();
            snapshotDataListBuilder_ = null;
            snapshotDataList_ = other.snapshotDataList_;
            bitField0_ = (bitField0_ & ~0x00000001);
            snapshotDataListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getSnapshotDataListFieldBuilder() : null;
          } else {
            snapshotDataListBuilder_.addAllMessages(other.snapshotDataList_);
          }
        }
      }
      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.DescribeVodSnapshotDataDetail parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.volcengine.service.vod.model.business.DescribeVodSnapshotDataDetail) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.lang.Object space_ = "";
    /**
     * string Space = 1;
     * @return The space.
     */
    public java.lang.String getSpace() {
      java.lang.Object ref = space_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        space_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Space = 1;
     * @return The bytes for space.
     */
    public com.google.protobuf.ByteString
        getSpaceBytes() {
      java.lang.Object ref = space_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        space_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Space = 1;
     * @param value The space to set.
     * @return This builder for chaining.
     */
    public Builder setSpace(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      space_ = value;
      onChanged();
      return this;
    }
    /**
     * string Space = 1;
     * @return This builder for chaining.
     */
    public Builder clearSpace() {
      
      space_ = getDefaultInstance().getSpace();
      onChanged();
      return this;
    }
    /**
     * string Space = 1;
     * @param value The bytes for space to set.
     * @return This builder for chaining.
     */
    public Builder setSpaceBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      space_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object taskStage_ = "";
    /**
     * string TaskStage = 2;
     * @return The taskStage.
     */
    public java.lang.String getTaskStage() {
      java.lang.Object ref = taskStage_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        taskStage_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string TaskStage = 2;
     * @return The bytes for taskStage.
     */
    public com.google.protobuf.ByteString
        getTaskStageBytes() {
      java.lang.Object ref = taskStage_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        taskStage_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string TaskStage = 2;
     * @param value The taskStage to set.
     * @return This builder for chaining.
     */
    public Builder setTaskStage(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      taskStage_ = value;
      onChanged();
      return this;
    }
    /**
     * string TaskStage = 2;
     * @return This builder for chaining.
     */
    public Builder clearTaskStage() {
      
      taskStage_ = getDefaultInstance().getTaskStage();
      onChanged();
      return this;
    }
    /**
     * string TaskStage = 2;
     * @param value The bytes for taskStage to set.
     * @return This builder for chaining.
     */
    public Builder setTaskStageBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      taskStage_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object total_ = "";
    /**
     * string Total = 3;
     * @return The total.
     */
    public java.lang.String getTotal() {
      java.lang.Object ref = total_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        total_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Total = 3;
     * @return The bytes for total.
     */
    public com.google.protobuf.ByteString
        getTotalBytes() {
      java.lang.Object ref = total_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        total_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Total = 3;
     * @param value The total to set.
     * @return This builder for chaining.
     */
    public Builder setTotal(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      total_ = value;
      onChanged();
      return this;
    }
    /**
     * string Total = 3;
     * @return This builder for chaining.
     */
    public Builder clearTotal() {
      
      total_ = getDefaultInstance().getTotal();
      onChanged();
      return this;
    }
    /**
     * string Total = 3;
     * @param value The bytes for total to set.
     * @return This builder for chaining.
     */
    public Builder setTotalBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      total_ = value;
      onChanged();
      return this;
    }

    private java.util.List snapshotDataList_ =
      java.util.Collections.emptyList();
    private void ensureSnapshotDataListIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        snapshotDataList_ = new java.util.ArrayList(snapshotDataList_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.Builder, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItemOrBuilder> snapshotDataListBuilder_;

    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public java.util.List getSnapshotDataListList() {
      if (snapshotDataListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(snapshotDataList_);
      } else {
        return snapshotDataListBuilder_.getMessageList();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public int getSnapshotDataListCount() {
      if (snapshotDataListBuilder_ == null) {
        return snapshotDataList_.size();
      } else {
        return snapshotDataListBuilder_.getCount();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem getSnapshotDataList(int index) {
      if (snapshotDataListBuilder_ == null) {
        return snapshotDataList_.get(index);
      } else {
        return snapshotDataListBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public Builder setSnapshotDataList(
        int index, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem value) {
      if (snapshotDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSnapshotDataListIsMutable();
        snapshotDataList_.set(index, value);
        onChanged();
      } else {
        snapshotDataListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public Builder setSnapshotDataList(
        int index, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.Builder builderForValue) {
      if (snapshotDataListBuilder_ == null) {
        ensureSnapshotDataListIsMutable();
        snapshotDataList_.set(index, builderForValue.build());
        onChanged();
      } else {
        snapshotDataListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public Builder addSnapshotDataList(com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem value) {
      if (snapshotDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSnapshotDataListIsMutable();
        snapshotDataList_.add(value);
        onChanged();
      } else {
        snapshotDataListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public Builder addSnapshotDataList(
        int index, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem value) {
      if (snapshotDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureSnapshotDataListIsMutable();
        snapshotDataList_.add(index, value);
        onChanged();
      } else {
        snapshotDataListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public Builder addSnapshotDataList(
        com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.Builder builderForValue) {
      if (snapshotDataListBuilder_ == null) {
        ensureSnapshotDataListIsMutable();
        snapshotDataList_.add(builderForValue.build());
        onChanged();
      } else {
        snapshotDataListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public Builder addSnapshotDataList(
        int index, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.Builder builderForValue) {
      if (snapshotDataListBuilder_ == null) {
        ensureSnapshotDataListIsMutable();
        snapshotDataList_.add(index, builderForValue.build());
        onChanged();
      } else {
        snapshotDataListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public Builder addAllSnapshotDataList(
        java.lang.Iterable values) {
      if (snapshotDataListBuilder_ == null) {
        ensureSnapshotDataListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, snapshotDataList_);
        onChanged();
      } else {
        snapshotDataListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public Builder clearSnapshotDataList() {
      if (snapshotDataListBuilder_ == null) {
        snapshotDataList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        snapshotDataListBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public Builder removeSnapshotDataList(int index) {
      if (snapshotDataListBuilder_ == null) {
        ensureSnapshotDataListIsMutable();
        snapshotDataList_.remove(index);
        onChanged();
      } else {
        snapshotDataListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.Builder getSnapshotDataListBuilder(
        int index) {
      return getSnapshotDataListFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItemOrBuilder getSnapshotDataListOrBuilder(
        int index) {
      if (snapshotDataListBuilder_ == null) {
        return snapshotDataList_.get(index);  } else {
        return snapshotDataListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public java.util.List 
         getSnapshotDataListOrBuilderList() {
      if (snapshotDataListBuilder_ != null) {
        return snapshotDataListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(snapshotDataList_);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.Builder addSnapshotDataListBuilder() {
      return getSnapshotDataListFieldBuilder().addBuilder(
          com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.Builder addSnapshotDataListBuilder(
        int index) {
      return getSnapshotDataListFieldBuilder().addBuilder(
          index, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSnapshotDataItem SnapshotDataList = 4;
     */
    public java.util.List 
         getSnapshotDataListBuilderList() {
      return getSnapshotDataListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.Builder, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItemOrBuilder> 
        getSnapshotDataListFieldBuilder() {
      if (snapshotDataListBuilder_ == null) {
        snapshotDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItem.Builder, com.volcengine.service.vod.model.business.DescribeVodSnapshotDataItemOrBuilder>(
                snapshotDataList_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        snapshotDataList_ = null;
      }
      return snapshotDataListBuilder_;
    }
    @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.DescribeVodSnapshotDataDetail)
  }

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy