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

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private DescribeVodSpaceTranscodeDetail(
      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 24: {

            total_ = input.readInt64();
            break;
          }
          case 34: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              transcodeUsageList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            transcodeUsageList_.add(
                input.readMessage(com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.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)) {
        transcodeUsageList_ = java.util.Collections.unmodifiableList(transcodeUsageList_);
      }
      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_DescribeVodSpaceTranscodeDetail_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_DescribeVodSpaceTranscodeDetail_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetail.class, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetail.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 long total_;
  /**
   * int64 Total = 3;
   * @return The total.
   */
  @java.lang.Override
  public long getTotal() {
    return total_;
  }

  public static final int TRANSCODEUSAGELIST_FIELD_NUMBER = 4;
  private java.util.List transcodeUsageList_;
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
   */
  @java.lang.Override
  public java.util.List getTranscodeUsageListList() {
    return transcodeUsageList_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
   */
  @java.lang.Override
  public java.util.List 
      getTranscodeUsageListOrBuilderList() {
    return transcodeUsageList_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
   */
  @java.lang.Override
  public int getTranscodeUsageListCount() {
    return transcodeUsageList_.size();
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit getTranscodeUsageList(int index) {
    return transcodeUsageList_.get(index);
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnitOrBuilder getTranscodeUsageListOrBuilder(
      int index) {
    return transcodeUsageList_.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 (total_ != 0L) {
      output.writeInt64(3, total_);
    }
    for (int i = 0; i < transcodeUsageList_.size(); i++) {
      output.writeMessage(4, transcodeUsageList_.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 (total_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(3, total_);
    }
    for (int i = 0; i < transcodeUsageList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, transcodeUsageList_.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.DescribeVodSpaceTranscodeDetail)) {
      return super.equals(obj);
    }
    com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetail other = (com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetail) obj;

    if (!getSpace()
        .equals(other.getSpace())) return false;
    if (!getTaskStage()
        .equals(other.getTaskStage())) return false;
    if (getTotal()
        != other.getTotal()) return false;
    if (!getTranscodeUsageListList()
        .equals(other.getTranscodeUsageListList())) 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) + com.google.protobuf.Internal.hashLong(
        getTotal());
    if (getTranscodeUsageListCount() > 0) {
      hash = (37 * hash) + TRANSCODEUSAGELIST_FIELD_NUMBER;
      hash = (53 * hash) + getTranscodeUsageListList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

      taskStage_ = "";

      total_ = 0L;

      if (transcodeUsageListBuilder_ == null) {
        transcodeUsageList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        transcodeUsageListBuilder_.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_DescribeVodSpaceTranscodeDetail_descriptor;
    }

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

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

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

    public Builder mergeFrom(com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetail other) {
      if (other == com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetail.getDefaultInstance()) return this;
      if (!other.getSpace().isEmpty()) {
        space_ = other.space_;
        onChanged();
      }
      if (!other.getTaskStage().isEmpty()) {
        taskStage_ = other.taskStage_;
        onChanged();
      }
      if (other.getTotal() != 0L) {
        setTotal(other.getTotal());
      }
      if (transcodeUsageListBuilder_ == null) {
        if (!other.transcodeUsageList_.isEmpty()) {
          if (transcodeUsageList_.isEmpty()) {
            transcodeUsageList_ = other.transcodeUsageList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureTranscodeUsageListIsMutable();
            transcodeUsageList_.addAll(other.transcodeUsageList_);
          }
          onChanged();
        }
      } else {
        if (!other.transcodeUsageList_.isEmpty()) {
          if (transcodeUsageListBuilder_.isEmpty()) {
            transcodeUsageListBuilder_.dispose();
            transcodeUsageListBuilder_ = null;
            transcodeUsageList_ = other.transcodeUsageList_;
            bitField0_ = (bitField0_ & ~0x00000001);
            transcodeUsageListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getTranscodeUsageListFieldBuilder() : null;
          } else {
            transcodeUsageListBuilder_.addAllMessages(other.transcodeUsageList_);
          }
        }
      }
      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.DescribeVodSpaceTranscodeDetail parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetail) 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 long total_ ;
    /**
     * int64 Total = 3;
     * @return The total.
     */
    @java.lang.Override
    public long getTotal() {
      return total_;
    }
    /**
     * int64 Total = 3;
     * @param value The total to set.
     * @return This builder for chaining.
     */
    public Builder setTotal(long value) {
      
      total_ = value;
      onChanged();
      return this;
    }
    /**
     * int64 Total = 3;
     * @return This builder for chaining.
     */
    public Builder clearTotal() {
      
      total_ = 0L;
      onChanged();
      return this;
    }

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

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.Builder, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnitOrBuilder> transcodeUsageListBuilder_;

    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public java.util.List getTranscodeUsageListList() {
      if (transcodeUsageListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(transcodeUsageList_);
      } else {
        return transcodeUsageListBuilder_.getMessageList();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public int getTranscodeUsageListCount() {
      if (transcodeUsageListBuilder_ == null) {
        return transcodeUsageList_.size();
      } else {
        return transcodeUsageListBuilder_.getCount();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit getTranscodeUsageList(int index) {
      if (transcodeUsageListBuilder_ == null) {
        return transcodeUsageList_.get(index);
      } else {
        return transcodeUsageListBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public Builder setTranscodeUsageList(
        int index, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit value) {
      if (transcodeUsageListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTranscodeUsageListIsMutable();
        transcodeUsageList_.set(index, value);
        onChanged();
      } else {
        transcodeUsageListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public Builder setTranscodeUsageList(
        int index, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.Builder builderForValue) {
      if (transcodeUsageListBuilder_ == null) {
        ensureTranscodeUsageListIsMutable();
        transcodeUsageList_.set(index, builderForValue.build());
        onChanged();
      } else {
        transcodeUsageListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public Builder addTranscodeUsageList(com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit value) {
      if (transcodeUsageListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTranscodeUsageListIsMutable();
        transcodeUsageList_.add(value);
        onChanged();
      } else {
        transcodeUsageListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public Builder addTranscodeUsageList(
        int index, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit value) {
      if (transcodeUsageListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTranscodeUsageListIsMutable();
        transcodeUsageList_.add(index, value);
        onChanged();
      } else {
        transcodeUsageListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public Builder addTranscodeUsageList(
        com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.Builder builderForValue) {
      if (transcodeUsageListBuilder_ == null) {
        ensureTranscodeUsageListIsMutable();
        transcodeUsageList_.add(builderForValue.build());
        onChanged();
      } else {
        transcodeUsageListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public Builder addTranscodeUsageList(
        int index, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.Builder builderForValue) {
      if (transcodeUsageListBuilder_ == null) {
        ensureTranscodeUsageListIsMutable();
        transcodeUsageList_.add(index, builderForValue.build());
        onChanged();
      } else {
        transcodeUsageListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public Builder addAllTranscodeUsageList(
        java.lang.Iterable values) {
      if (transcodeUsageListBuilder_ == null) {
        ensureTranscodeUsageListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, transcodeUsageList_);
        onChanged();
      } else {
        transcodeUsageListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public Builder clearTranscodeUsageList() {
      if (transcodeUsageListBuilder_ == null) {
        transcodeUsageList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        transcodeUsageListBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public Builder removeTranscodeUsageList(int index) {
      if (transcodeUsageListBuilder_ == null) {
        ensureTranscodeUsageListIsMutable();
        transcodeUsageList_.remove(index);
        onChanged();
      } else {
        transcodeUsageListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.Builder getTranscodeUsageListBuilder(
        int index) {
      return getTranscodeUsageListFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnitOrBuilder getTranscodeUsageListOrBuilder(
        int index) {
      if (transcodeUsageListBuilder_ == null) {
        return transcodeUsageList_.get(index);  } else {
        return transcodeUsageListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public java.util.List 
         getTranscodeUsageListOrBuilderList() {
      if (transcodeUsageListBuilder_ != null) {
        return transcodeUsageListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(transcodeUsageList_);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.Builder addTranscodeUsageListBuilder() {
      return getTranscodeUsageListFieldBuilder().addBuilder(
          com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.Builder addTranscodeUsageListBuilder(
        int index) {
      return getTranscodeUsageListFieldBuilder().addBuilder(
          index, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodSpaceTranscodeDetailTVUnit TranscodeUsageList = 4;
     */
    public java.util.List 
         getTranscodeUsageListBuilderList() {
      return getTranscodeUsageListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.Builder, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnitOrBuilder> 
        getTranscodeUsageListFieldBuilder() {
      if (transcodeUsageListBuilder_ == null) {
        transcodeUsageListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnit.Builder, com.volcengine.service.vod.model.business.DescribeVodSpaceTranscodeDetailTVUnitOrBuilder>(
                transcodeUsageList_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        transcodeUsageList_ = null;
      }
      return transcodeUsageListBuilder_;
    }
    @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.DescribeVodSpaceTranscodeDetail)
  }

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy