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

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

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

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

            total_ = input.readInt64();
            break;
          }
          case 26: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              realtimeMediaDataList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            realtimeMediaDataList_.add(
                input.readMessage(com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.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)) {
        realtimeMediaDataList_ = java.util.Collections.unmodifiableList(realtimeMediaDataList_);
      }
      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_DescribeVodRealtimeMediaDataDetail_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_DescribeVodRealtimeMediaDataDetail_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.class, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail.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 TOTAL_FIELD_NUMBER = 2;
  private long total_;
  /**
   * int64 Total = 2;
   * @return The total.
   */
  @java.lang.Override
  public long getTotal() {
    return total_;
  }

  public static final int REALTIMEMEDIADATALIST_FIELD_NUMBER = 3;
  private java.util.List realtimeMediaDataList_;
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
   */
  @java.lang.Override
  public java.util.List getRealtimeMediaDataListList() {
    return realtimeMediaDataList_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
   */
  @java.lang.Override
  public java.util.List 
      getRealtimeMediaDataListOrBuilderList() {
    return realtimeMediaDataList_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
   */
  @java.lang.Override
  public int getRealtimeMediaDataListCount() {
    return realtimeMediaDataList_.size();
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem getRealtimeMediaDataList(int index) {
    return realtimeMediaDataList_.get(index);
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder getRealtimeMediaDataListOrBuilder(
      int index) {
    return realtimeMediaDataList_.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 (total_ != 0L) {
      output.writeInt64(2, total_);
    }
    for (int i = 0; i < realtimeMediaDataList_.size(); i++) {
      output.writeMessage(3, realtimeMediaDataList_.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 (total_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt64Size(2, total_);
    }
    for (int i = 0; i < realtimeMediaDataList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, realtimeMediaDataList_.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.DescribeVodRealtimeMediaDataDetail)) {
      return super.equals(obj);
    }
    com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail other = (com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataDetail) obj;

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

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

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

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

      total_ = 0L;

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

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

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

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

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

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

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder> realtimeMediaDataListBuilder_;

    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public java.util.List getRealtimeMediaDataListList() {
      if (realtimeMediaDataListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(realtimeMediaDataList_);
      } else {
        return realtimeMediaDataListBuilder_.getMessageList();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public int getRealtimeMediaDataListCount() {
      if (realtimeMediaDataListBuilder_ == null) {
        return realtimeMediaDataList_.size();
      } else {
        return realtimeMediaDataListBuilder_.getCount();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem getRealtimeMediaDataList(int index) {
      if (realtimeMediaDataListBuilder_ == null) {
        return realtimeMediaDataList_.get(index);
      } else {
        return realtimeMediaDataListBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public Builder setRealtimeMediaDataList(
        int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem value) {
      if (realtimeMediaDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRealtimeMediaDataListIsMutable();
        realtimeMediaDataList_.set(index, value);
        onChanged();
      } else {
        realtimeMediaDataListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public Builder setRealtimeMediaDataList(
        int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder builderForValue) {
      if (realtimeMediaDataListBuilder_ == null) {
        ensureRealtimeMediaDataListIsMutable();
        realtimeMediaDataList_.set(index, builderForValue.build());
        onChanged();
      } else {
        realtimeMediaDataListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public Builder addRealtimeMediaDataList(com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem value) {
      if (realtimeMediaDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRealtimeMediaDataListIsMutable();
        realtimeMediaDataList_.add(value);
        onChanged();
      } else {
        realtimeMediaDataListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public Builder addRealtimeMediaDataList(
        int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem value) {
      if (realtimeMediaDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureRealtimeMediaDataListIsMutable();
        realtimeMediaDataList_.add(index, value);
        onChanged();
      } else {
        realtimeMediaDataListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public Builder addRealtimeMediaDataList(
        com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder builderForValue) {
      if (realtimeMediaDataListBuilder_ == null) {
        ensureRealtimeMediaDataListIsMutable();
        realtimeMediaDataList_.add(builderForValue.build());
        onChanged();
      } else {
        realtimeMediaDataListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public Builder addRealtimeMediaDataList(
        int index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder builderForValue) {
      if (realtimeMediaDataListBuilder_ == null) {
        ensureRealtimeMediaDataListIsMutable();
        realtimeMediaDataList_.add(index, builderForValue.build());
        onChanged();
      } else {
        realtimeMediaDataListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public Builder addAllRealtimeMediaDataList(
        java.lang.Iterable values) {
      if (realtimeMediaDataListBuilder_ == null) {
        ensureRealtimeMediaDataListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, realtimeMediaDataList_);
        onChanged();
      } else {
        realtimeMediaDataListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public Builder clearRealtimeMediaDataList() {
      if (realtimeMediaDataListBuilder_ == null) {
        realtimeMediaDataList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        realtimeMediaDataListBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public Builder removeRealtimeMediaDataList(int index) {
      if (realtimeMediaDataListBuilder_ == null) {
        ensureRealtimeMediaDataListIsMutable();
        realtimeMediaDataList_.remove(index);
        onChanged();
      } else {
        realtimeMediaDataListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder getRealtimeMediaDataListBuilder(
        int index) {
      return getRealtimeMediaDataListFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder getRealtimeMediaDataListOrBuilder(
        int index) {
      if (realtimeMediaDataListBuilder_ == null) {
        return realtimeMediaDataList_.get(index);  } else {
        return realtimeMediaDataListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public java.util.List 
         getRealtimeMediaDataListOrBuilderList() {
      if (realtimeMediaDataListBuilder_ != null) {
        return realtimeMediaDataListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(realtimeMediaDataList_);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder addRealtimeMediaDataListBuilder() {
      return getRealtimeMediaDataListFieldBuilder().addBuilder(
          com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder addRealtimeMediaDataListBuilder(
        int index) {
      return getRealtimeMediaDataListFieldBuilder().addBuilder(
          index, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.DescribeVodRealtimeMediaDataItem RealtimeMediaDataList = 3;
     */
    public java.util.List 
         getRealtimeMediaDataListBuilderList() {
      return getRealtimeMediaDataListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder> 
        getRealtimeMediaDataListFieldBuilder() {
      if (realtimeMediaDataListBuilder_ == null) {
        realtimeMediaDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItem.Builder, com.volcengine.service.vod.model.business.DescribeVodRealtimeMediaDataItemOrBuilder>(
                realtimeMediaDataList_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        realtimeMediaDataList_ = null;
      }
      return realtimeMediaDataListBuilder_;
    }
    @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.DescribeVodRealtimeMediaDataDetail)
  }

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy