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

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

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

/**
 * Protobuf type {@code Volcengine.Vod.Models.Business.VodDescribeVodDomainTrafficDataResult}
 */
public final class VodDescribeVodDomainTrafficDataResult extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodDescribeVodDomainTrafficDataResult)
    VodDescribeVodDomainTrafficDataResultOrBuilder {
private static final long serialVersionUID = 0L;
  // Use VodDescribeVodDomainTrafficDataResult.newBuilder() to construct.
  private VodDescribeVodDomainTrafficDataResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private VodDescribeVodDomainTrafficDataResult() {
    domainList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    domainInSpaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    startTime_ = "";
    endTime_ = "";
    trafficType_ = "";
    area_ = "";
    regionList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    trafficDataList_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodDescribeVodDomainTrafficDataResult(
      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();
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              domainList_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            domainList_.add(s);
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              domainInSpaceList_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            domainInSpaceList_.add(s);
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

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

            endTime_ = s;
            break;
          }
          case 40: {

            aggregation_ = input.readInt32();
            break;
          }
          case 50: {
            java.lang.String s = input.readStringRequireUtf8();

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

            area_ = s;
            break;
          }
          case 66: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000004) != 0)) {
              regionList_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000004;
            }
            regionList_.add(s);
            break;
          }
          case 73: {

            totalTraffic_ = input.readDouble();
            break;
          }
          case 82: {
            if (!((mutable_bitField0_ & 0x00000008) != 0)) {
              trafficDataList_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000008;
            }
            trafficDataList_.add(
                input.readMessage(com.volcengine.service.vod.model.business.VodTrafficData.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)) {
        domainList_ = domainList_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        domainInSpaceList_ = domainInSpaceList_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00000004) != 0)) {
        regionList_ = regionList_.getUnmodifiableView();
      }
      if (((mutable_bitField0_ & 0x00000008) != 0)) {
        trafficDataList_ = java.util.Collections.unmodifiableList(trafficDataList_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.volcengine.service.vod.model.business.VodCdn.internal_static_Volcengine_Vod_Models_Business_VodDescribeVodDomainTrafficDataResult_descriptor;
  }

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

  public static final int DOMAINLIST_FIELD_NUMBER = 1;
  private com.google.protobuf.LazyStringList domainList_;
  /**
   * repeated string DomainList = 1;
   * @return A list containing the domainList.
   */
  public com.google.protobuf.ProtocolStringList
      getDomainListList() {
    return domainList_;
  }
  /**
   * repeated string DomainList = 1;
   * @return The count of domainList.
   */
  public int getDomainListCount() {
    return domainList_.size();
  }
  /**
   * repeated string DomainList = 1;
   * @param index The index of the element to return.
   * @return The domainList at the given index.
   */
  public java.lang.String getDomainList(int index) {
    return domainList_.get(index);
  }
  /**
   * repeated string DomainList = 1;
   * @param index The index of the value to return.
   * @return The bytes of the domainList at the given index.
   */
  public com.google.protobuf.ByteString
      getDomainListBytes(int index) {
    return domainList_.getByteString(index);
  }

  public static final int DOMAININSPACELIST_FIELD_NUMBER = 2;
  private com.google.protobuf.LazyStringList domainInSpaceList_;
  /**
   * repeated string DomainInSpaceList = 2;
   * @return A list containing the domainInSpaceList.
   */
  public com.google.protobuf.ProtocolStringList
      getDomainInSpaceListList() {
    return domainInSpaceList_;
  }
  /**
   * repeated string DomainInSpaceList = 2;
   * @return The count of domainInSpaceList.
   */
  public int getDomainInSpaceListCount() {
    return domainInSpaceList_.size();
  }
  /**
   * repeated string DomainInSpaceList = 2;
   * @param index The index of the element to return.
   * @return The domainInSpaceList at the given index.
   */
  public java.lang.String getDomainInSpaceList(int index) {
    return domainInSpaceList_.get(index);
  }
  /**
   * repeated string DomainInSpaceList = 2;
   * @param index The index of the value to return.
   * @return The bytes of the domainInSpaceList at the given index.
   */
  public com.google.protobuf.ByteString
      getDomainInSpaceListBytes(int index) {
    return domainInSpaceList_.getByteString(index);
  }

  public static final int STARTTIME_FIELD_NUMBER = 3;
  private volatile java.lang.Object startTime_;
  /**
   * string StartTime = 3;
   * @return The startTime.
   */
  @java.lang.Override
  public java.lang.String getStartTime() {
    java.lang.Object ref = startTime_;
    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();
      startTime_ = s;
      return s;
    }
  }
  /**
   * string StartTime = 3;
   * @return The bytes for startTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getStartTimeBytes() {
    java.lang.Object ref = startTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      startTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ENDTIME_FIELD_NUMBER = 4;
  private volatile java.lang.Object endTime_;
  /**
   * string EndTime = 4;
   * @return The endTime.
   */
  @java.lang.Override
  public java.lang.String getEndTime() {
    java.lang.Object ref = endTime_;
    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();
      endTime_ = s;
      return s;
    }
  }
  /**
   * string EndTime = 4;
   * @return The bytes for endTime.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getEndTimeBytes() {
    java.lang.Object ref = endTime_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      endTime_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AGGREGATION_FIELD_NUMBER = 5;
  private int aggregation_;
  /**
   * int32 Aggregation = 5;
   * @return The aggregation.
   */
  @java.lang.Override
  public int getAggregation() {
    return aggregation_;
  }

  public static final int TRAFFICTYPE_FIELD_NUMBER = 6;
  private volatile java.lang.Object trafficType_;
  /**
   * string TrafficType = 6;
   * @return The trafficType.
   */
  @java.lang.Override
  public java.lang.String getTrafficType() {
    java.lang.Object ref = trafficType_;
    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();
      trafficType_ = s;
      return s;
    }
  }
  /**
   * string TrafficType = 6;
   * @return The bytes for trafficType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getTrafficTypeBytes() {
    java.lang.Object ref = trafficType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      trafficType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int AREA_FIELD_NUMBER = 7;
  private volatile java.lang.Object area_;
  /**
   * string Area = 7;
   * @return The area.
   */
  @java.lang.Override
  public java.lang.String getArea() {
    java.lang.Object ref = area_;
    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();
      area_ = s;
      return s;
    }
  }
  /**
   * string Area = 7;
   * @return The bytes for area.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getAreaBytes() {
    java.lang.Object ref = area_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      area_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int REGIONLIST_FIELD_NUMBER = 8;
  private com.google.protobuf.LazyStringList regionList_;
  /**
   * repeated string RegionList = 8;
   * @return A list containing the regionList.
   */
  public com.google.protobuf.ProtocolStringList
      getRegionListList() {
    return regionList_;
  }
  /**
   * repeated string RegionList = 8;
   * @return The count of regionList.
   */
  public int getRegionListCount() {
    return regionList_.size();
  }
  /**
   * repeated string RegionList = 8;
   * @param index The index of the element to return.
   * @return The regionList at the given index.
   */
  public java.lang.String getRegionList(int index) {
    return regionList_.get(index);
  }
  /**
   * repeated string RegionList = 8;
   * @param index The index of the value to return.
   * @return The bytes of the regionList at the given index.
   */
  public com.google.protobuf.ByteString
      getRegionListBytes(int index) {
    return regionList_.getByteString(index);
  }

  public static final int TOTALTRAFFIC_FIELD_NUMBER = 9;
  private double totalTraffic_;
  /**
   * double TotalTraffic = 9;
   * @return The totalTraffic.
   */
  @java.lang.Override
  public double getTotalTraffic() {
    return totalTraffic_;
  }

  public static final int TRAFFICDATALIST_FIELD_NUMBER = 10;
  private java.util.List trafficDataList_;
  /**
   * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
   */
  @java.lang.Override
  public java.util.List getTrafficDataListList() {
    return trafficDataList_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
   */
  @java.lang.Override
  public java.util.List 
      getTrafficDataListOrBuilderList() {
    return trafficDataList_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
   */
  @java.lang.Override
  public int getTrafficDataListCount() {
    return trafficDataList_.size();
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.VodTrafficData getTrafficDataList(int index) {
    return trafficDataList_.get(index);
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.VodTrafficDataOrBuilder getTrafficDataListOrBuilder(
      int index) {
    return trafficDataList_.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 {
    for (int i = 0; i < domainList_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainList_.getRaw(i));
    }
    for (int i = 0; i < domainInSpaceList_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domainInSpaceList_.getRaw(i));
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, startTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, endTime_);
    }
    if (aggregation_ != 0) {
      output.writeInt32(5, aggregation_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(trafficType_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, trafficType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(area_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 7, area_);
    }
    for (int i = 0; i < regionList_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, regionList_.getRaw(i));
    }
    if (java.lang.Double.doubleToRawLongBits(totalTraffic_) != 0) {
      output.writeDouble(9, totalTraffic_);
    }
    for (int i = 0; i < trafficDataList_.size(); i++) {
      output.writeMessage(10, trafficDataList_.get(i));
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    {
      int dataSize = 0;
      for (int i = 0; i < domainList_.size(); i++) {
        dataSize += computeStringSizeNoTag(domainList_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getDomainListList().size();
    }
    {
      int dataSize = 0;
      for (int i = 0; i < domainInSpaceList_.size(); i++) {
        dataSize += computeStringSizeNoTag(domainInSpaceList_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getDomainInSpaceListList().size();
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, startTime_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, endTime_);
    }
    if (aggregation_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(5, aggregation_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(trafficType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, trafficType_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(area_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, area_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < regionList_.size(); i++) {
        dataSize += computeStringSizeNoTag(regionList_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getRegionListList().size();
    }
    if (java.lang.Double.doubleToRawLongBits(totalTraffic_) != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeDoubleSize(9, totalTraffic_);
    }
    for (int i = 0; i < trafficDataList_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(10, trafficDataList_.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.VodDescribeVodDomainTrafficDataResult)) {
      return super.equals(obj);
    }
    com.volcengine.service.vod.model.business.VodDescribeVodDomainTrafficDataResult other = (com.volcengine.service.vod.model.business.VodDescribeVodDomainTrafficDataResult) obj;

    if (!getDomainListList()
        .equals(other.getDomainListList())) return false;
    if (!getDomainInSpaceListList()
        .equals(other.getDomainInSpaceListList())) return false;
    if (!getStartTime()
        .equals(other.getStartTime())) return false;
    if (!getEndTime()
        .equals(other.getEndTime())) return false;
    if (getAggregation()
        != other.getAggregation()) return false;
    if (!getTrafficType()
        .equals(other.getTrafficType())) return false;
    if (!getArea()
        .equals(other.getArea())) return false;
    if (!getRegionListList()
        .equals(other.getRegionListList())) return false;
    if (java.lang.Double.doubleToLongBits(getTotalTraffic())
        != java.lang.Double.doubleToLongBits(
            other.getTotalTraffic())) return false;
    if (!getTrafficDataListList()
        .equals(other.getTrafficDataListList())) return false;
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getDomainListCount() > 0) {
      hash = (37 * hash) + DOMAINLIST_FIELD_NUMBER;
      hash = (53 * hash) + getDomainListList().hashCode();
    }
    if (getDomainInSpaceListCount() > 0) {
      hash = (37 * hash) + DOMAININSPACELIST_FIELD_NUMBER;
      hash = (53 * hash) + getDomainInSpaceListList().hashCode();
    }
    hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
    hash = (53 * hash) + getStartTime().hashCode();
    hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
    hash = (53 * hash) + getEndTime().hashCode();
    hash = (37 * hash) + AGGREGATION_FIELD_NUMBER;
    hash = (53 * hash) + getAggregation();
    hash = (37 * hash) + TRAFFICTYPE_FIELD_NUMBER;
    hash = (53 * hash) + getTrafficType().hashCode();
    hash = (37 * hash) + AREA_FIELD_NUMBER;
    hash = (53 * hash) + getArea().hashCode();
    if (getRegionListCount() > 0) {
      hash = (37 * hash) + REGIONLIST_FIELD_NUMBER;
      hash = (53 * hash) + getRegionListList().hashCode();
    }
    hash = (37 * hash) + TOTALTRAFFIC_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        java.lang.Double.doubleToLongBits(getTotalTraffic()));
    if (getTrafficDataListCount() > 0) {
      hash = (37 * hash) + TRAFFICDATALIST_FIELD_NUMBER;
      hash = (53 * hash) + getTrafficDataListList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getTrafficDataListFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      domainList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      domainInSpaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000002);
      startTime_ = "";

      endTime_ = "";

      aggregation_ = 0;

      trafficType_ = "";

      area_ = "";

      regionList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000004);
      totalTraffic_ = 0D;

      if (trafficDataListBuilder_ == null) {
        trafficDataList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
      } else {
        trafficDataListBuilder_.clear();
      }
      return this;
    }

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

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

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

    @java.lang.Override
    public com.volcengine.service.vod.model.business.VodDescribeVodDomainTrafficDataResult buildPartial() {
      com.volcengine.service.vod.model.business.VodDescribeVodDomainTrafficDataResult result = new com.volcengine.service.vod.model.business.VodDescribeVodDomainTrafficDataResult(this);
      int from_bitField0_ = bitField0_;
      if (((bitField0_ & 0x00000001) != 0)) {
        domainList_ = domainList_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000001);
      }
      result.domainList_ = domainList_;
      if (((bitField0_ & 0x00000002) != 0)) {
        domainInSpaceList_ = domainInSpaceList_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000002);
      }
      result.domainInSpaceList_ = domainInSpaceList_;
      result.startTime_ = startTime_;
      result.endTime_ = endTime_;
      result.aggregation_ = aggregation_;
      result.trafficType_ = trafficType_;
      result.area_ = area_;
      if (((bitField0_ & 0x00000004) != 0)) {
        regionList_ = regionList_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000004);
      }
      result.regionList_ = regionList_;
      result.totalTraffic_ = totalTraffic_;
      if (trafficDataListBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)) {
          trafficDataList_ = java.util.Collections.unmodifiableList(trafficDataList_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.trafficDataList_ = trafficDataList_;
      } else {
        result.trafficDataList_ = trafficDataListBuilder_.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.VodDescribeVodDomainTrafficDataResult) {
        return mergeFrom((com.volcengine.service.vod.model.business.VodDescribeVodDomainTrafficDataResult)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.volcengine.service.vod.model.business.VodDescribeVodDomainTrafficDataResult other) {
      if (other == com.volcengine.service.vod.model.business.VodDescribeVodDomainTrafficDataResult.getDefaultInstance()) return this;
      if (!other.domainList_.isEmpty()) {
        if (domainList_.isEmpty()) {
          domainList_ = other.domainList_;
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          ensureDomainListIsMutable();
          domainList_.addAll(other.domainList_);
        }
        onChanged();
      }
      if (!other.domainInSpaceList_.isEmpty()) {
        if (domainInSpaceList_.isEmpty()) {
          domainInSpaceList_ = other.domainInSpaceList_;
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          ensureDomainInSpaceListIsMutable();
          domainInSpaceList_.addAll(other.domainInSpaceList_);
        }
        onChanged();
      }
      if (!other.getStartTime().isEmpty()) {
        startTime_ = other.startTime_;
        onChanged();
      }
      if (!other.getEndTime().isEmpty()) {
        endTime_ = other.endTime_;
        onChanged();
      }
      if (other.getAggregation() != 0) {
        setAggregation(other.getAggregation());
      }
      if (!other.getTrafficType().isEmpty()) {
        trafficType_ = other.trafficType_;
        onChanged();
      }
      if (!other.getArea().isEmpty()) {
        area_ = other.area_;
        onChanged();
      }
      if (!other.regionList_.isEmpty()) {
        if (regionList_.isEmpty()) {
          regionList_ = other.regionList_;
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          ensureRegionListIsMutable();
          regionList_.addAll(other.regionList_);
        }
        onChanged();
      }
      if (other.getTotalTraffic() != 0D) {
        setTotalTraffic(other.getTotalTraffic());
      }
      if (trafficDataListBuilder_ == null) {
        if (!other.trafficDataList_.isEmpty()) {
          if (trafficDataList_.isEmpty()) {
            trafficDataList_ = other.trafficDataList_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureTrafficDataListIsMutable();
            trafficDataList_.addAll(other.trafficDataList_);
          }
          onChanged();
        }
      } else {
        if (!other.trafficDataList_.isEmpty()) {
          if (trafficDataListBuilder_.isEmpty()) {
            trafficDataListBuilder_.dispose();
            trafficDataListBuilder_ = null;
            trafficDataList_ = other.trafficDataList_;
            bitField0_ = (bitField0_ & ~0x00000008);
            trafficDataListBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getTrafficDataListFieldBuilder() : null;
          } else {
            trafficDataListBuilder_.addAllMessages(other.trafficDataList_);
          }
        }
      }
      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.VodDescribeVodDomainTrafficDataResult parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.volcengine.service.vod.model.business.VodDescribeVodDomainTrafficDataResult) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private com.google.protobuf.LazyStringList domainList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureDomainListIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        domainList_ = new com.google.protobuf.LazyStringArrayList(domainList_);
        bitField0_ |= 0x00000001;
       }
    }
    /**
     * repeated string DomainList = 1;
     * @return A list containing the domainList.
     */
    public com.google.protobuf.ProtocolStringList
        getDomainListList() {
      return domainList_.getUnmodifiableView();
    }
    /**
     * repeated string DomainList = 1;
     * @return The count of domainList.
     */
    public int getDomainListCount() {
      return domainList_.size();
    }
    /**
     * repeated string DomainList = 1;
     * @param index The index of the element to return.
     * @return The domainList at the given index.
     */
    public java.lang.String getDomainList(int index) {
      return domainList_.get(index);
    }
    /**
     * repeated string DomainList = 1;
     * @param index The index of the value to return.
     * @return The bytes of the domainList at the given index.
     */
    public com.google.protobuf.ByteString
        getDomainListBytes(int index) {
      return domainList_.getByteString(index);
    }
    /**
     * repeated string DomainList = 1;
     * @param index The index to set the value at.
     * @param value The domainList to set.
     * @return This builder for chaining.
     */
    public Builder setDomainList(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDomainListIsMutable();
      domainList_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * repeated string DomainList = 1;
     * @param value The domainList to add.
     * @return This builder for chaining.
     */
    public Builder addDomainList(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDomainListIsMutable();
      domainList_.add(value);
      onChanged();
      return this;
    }
    /**
     * repeated string DomainList = 1;
     * @param values The domainList to add.
     * @return This builder for chaining.
     */
    public Builder addAllDomainList(
        java.lang.Iterable values) {
      ensureDomainListIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, domainList_);
      onChanged();
      return this;
    }
    /**
     * repeated string DomainList = 1;
     * @return This builder for chaining.
     */
    public Builder clearDomainList() {
      domainList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * repeated string DomainList = 1;
     * @param value The bytes of the domainList to add.
     * @return This builder for chaining.
     */
    public Builder addDomainListBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureDomainListIsMutable();
      domainList_.add(value);
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList domainInSpaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureDomainInSpaceListIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        domainInSpaceList_ = new com.google.protobuf.LazyStringArrayList(domainInSpaceList_);
        bitField0_ |= 0x00000002;
       }
    }
    /**
     * repeated string DomainInSpaceList = 2;
     * @return A list containing the domainInSpaceList.
     */
    public com.google.protobuf.ProtocolStringList
        getDomainInSpaceListList() {
      return domainInSpaceList_.getUnmodifiableView();
    }
    /**
     * repeated string DomainInSpaceList = 2;
     * @return The count of domainInSpaceList.
     */
    public int getDomainInSpaceListCount() {
      return domainInSpaceList_.size();
    }
    /**
     * repeated string DomainInSpaceList = 2;
     * @param index The index of the element to return.
     * @return The domainInSpaceList at the given index.
     */
    public java.lang.String getDomainInSpaceList(int index) {
      return domainInSpaceList_.get(index);
    }
    /**
     * repeated string DomainInSpaceList = 2;
     * @param index The index of the value to return.
     * @return The bytes of the domainInSpaceList at the given index.
     */
    public com.google.protobuf.ByteString
        getDomainInSpaceListBytes(int index) {
      return domainInSpaceList_.getByteString(index);
    }
    /**
     * repeated string DomainInSpaceList = 2;
     * @param index The index to set the value at.
     * @param value The domainInSpaceList to set.
     * @return This builder for chaining.
     */
    public Builder setDomainInSpaceList(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDomainInSpaceListIsMutable();
      domainInSpaceList_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * repeated string DomainInSpaceList = 2;
     * @param value The domainInSpaceList to add.
     * @return This builder for chaining.
     */
    public Builder addDomainInSpaceList(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureDomainInSpaceListIsMutable();
      domainInSpaceList_.add(value);
      onChanged();
      return this;
    }
    /**
     * repeated string DomainInSpaceList = 2;
     * @param values The domainInSpaceList to add.
     * @return This builder for chaining.
     */
    public Builder addAllDomainInSpaceList(
        java.lang.Iterable values) {
      ensureDomainInSpaceListIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, domainInSpaceList_);
      onChanged();
      return this;
    }
    /**
     * repeated string DomainInSpaceList = 2;
     * @return This builder for chaining.
     */
    public Builder clearDomainInSpaceList() {
      domainInSpaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * repeated string DomainInSpaceList = 2;
     * @param value The bytes of the domainInSpaceList to add.
     * @return This builder for chaining.
     */
    public Builder addDomainInSpaceListBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureDomainInSpaceListIsMutable();
      domainInSpaceList_.add(value);
      onChanged();
      return this;
    }

    private java.lang.Object startTime_ = "";
    /**
     * string StartTime = 3;
     * @return The startTime.
     */
    public java.lang.String getStartTime() {
      java.lang.Object ref = startTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        startTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string StartTime = 3;
     * @return The bytes for startTime.
     */
    public com.google.protobuf.ByteString
        getStartTimeBytes() {
      java.lang.Object ref = startTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        startTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string StartTime = 3;
     * @param value The startTime to set.
     * @return This builder for chaining.
     */
    public Builder setStartTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      startTime_ = value;
      onChanged();
      return this;
    }
    /**
     * string StartTime = 3;
     * @return This builder for chaining.
     */
    public Builder clearStartTime() {
      
      startTime_ = getDefaultInstance().getStartTime();
      onChanged();
      return this;
    }
    /**
     * string StartTime = 3;
     * @param value The bytes for startTime to set.
     * @return This builder for chaining.
     */
    public Builder setStartTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      startTime_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object endTime_ = "";
    /**
     * string EndTime = 4;
     * @return The endTime.
     */
    public java.lang.String getEndTime() {
      java.lang.Object ref = endTime_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        endTime_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string EndTime = 4;
     * @return The bytes for endTime.
     */
    public com.google.protobuf.ByteString
        getEndTimeBytes() {
      java.lang.Object ref = endTime_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        endTime_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string EndTime = 4;
     * @param value The endTime to set.
     * @return This builder for chaining.
     */
    public Builder setEndTime(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      endTime_ = value;
      onChanged();
      return this;
    }
    /**
     * string EndTime = 4;
     * @return This builder for chaining.
     */
    public Builder clearEndTime() {
      
      endTime_ = getDefaultInstance().getEndTime();
      onChanged();
      return this;
    }
    /**
     * string EndTime = 4;
     * @param value The bytes for endTime to set.
     * @return This builder for chaining.
     */
    public Builder setEndTimeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      endTime_ = value;
      onChanged();
      return this;
    }

    private int aggregation_ ;
    /**
     * int32 Aggregation = 5;
     * @return The aggregation.
     */
    @java.lang.Override
    public int getAggregation() {
      return aggregation_;
    }
    /**
     * int32 Aggregation = 5;
     * @param value The aggregation to set.
     * @return This builder for chaining.
     */
    public Builder setAggregation(int value) {
      
      aggregation_ = value;
      onChanged();
      return this;
    }
    /**
     * int32 Aggregation = 5;
     * @return This builder for chaining.
     */
    public Builder clearAggregation() {
      
      aggregation_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object trafficType_ = "";
    /**
     * string TrafficType = 6;
     * @return The trafficType.
     */
    public java.lang.String getTrafficType() {
      java.lang.Object ref = trafficType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        trafficType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string TrafficType = 6;
     * @return The bytes for trafficType.
     */
    public com.google.protobuf.ByteString
        getTrafficTypeBytes() {
      java.lang.Object ref = trafficType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        trafficType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string TrafficType = 6;
     * @param value The trafficType to set.
     * @return This builder for chaining.
     */
    public Builder setTrafficType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      trafficType_ = value;
      onChanged();
      return this;
    }
    /**
     * string TrafficType = 6;
     * @return This builder for chaining.
     */
    public Builder clearTrafficType() {
      
      trafficType_ = getDefaultInstance().getTrafficType();
      onChanged();
      return this;
    }
    /**
     * string TrafficType = 6;
     * @param value The bytes for trafficType to set.
     * @return This builder for chaining.
     */
    public Builder setTrafficTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      trafficType_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object area_ = "";
    /**
     * string Area = 7;
     * @return The area.
     */
    public java.lang.String getArea() {
      java.lang.Object ref = area_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        area_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string Area = 7;
     * @return The bytes for area.
     */
    public com.google.protobuf.ByteString
        getAreaBytes() {
      java.lang.Object ref = area_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        area_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string Area = 7;
     * @param value The area to set.
     * @return This builder for chaining.
     */
    public Builder setArea(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      area_ = value;
      onChanged();
      return this;
    }
    /**
     * string Area = 7;
     * @return This builder for chaining.
     */
    public Builder clearArea() {
      
      area_ = getDefaultInstance().getArea();
      onChanged();
      return this;
    }
    /**
     * string Area = 7;
     * @param value The bytes for area to set.
     * @return This builder for chaining.
     */
    public Builder setAreaBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      area_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList regionList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureRegionListIsMutable() {
      if (!((bitField0_ & 0x00000004) != 0)) {
        regionList_ = new com.google.protobuf.LazyStringArrayList(regionList_);
        bitField0_ |= 0x00000004;
       }
    }
    /**
     * repeated string RegionList = 8;
     * @return A list containing the regionList.
     */
    public com.google.protobuf.ProtocolStringList
        getRegionListList() {
      return regionList_.getUnmodifiableView();
    }
    /**
     * repeated string RegionList = 8;
     * @return The count of regionList.
     */
    public int getRegionListCount() {
      return regionList_.size();
    }
    /**
     * repeated string RegionList = 8;
     * @param index The index of the element to return.
     * @return The regionList at the given index.
     */
    public java.lang.String getRegionList(int index) {
      return regionList_.get(index);
    }
    /**
     * repeated string RegionList = 8;
     * @param index The index of the value to return.
     * @return The bytes of the regionList at the given index.
     */
    public com.google.protobuf.ByteString
        getRegionListBytes(int index) {
      return regionList_.getByteString(index);
    }
    /**
     * repeated string RegionList = 8;
     * @param index The index to set the value at.
     * @param value The regionList to set.
     * @return This builder for chaining.
     */
    public Builder setRegionList(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureRegionListIsMutable();
      regionList_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * repeated string RegionList = 8;
     * @param value The regionList to add.
     * @return This builder for chaining.
     */
    public Builder addRegionList(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureRegionListIsMutable();
      regionList_.add(value);
      onChanged();
      return this;
    }
    /**
     * repeated string RegionList = 8;
     * @param values The regionList to add.
     * @return This builder for chaining.
     */
    public Builder addAllRegionList(
        java.lang.Iterable values) {
      ensureRegionListIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, regionList_);
      onChanged();
      return this;
    }
    /**
     * repeated string RegionList = 8;
     * @return This builder for chaining.
     */
    public Builder clearRegionList() {
      regionList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * repeated string RegionList = 8;
     * @param value The bytes of the regionList to add.
     * @return This builder for chaining.
     */
    public Builder addRegionListBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureRegionListIsMutable();
      regionList_.add(value);
      onChanged();
      return this;
    }

    private double totalTraffic_ ;
    /**
     * double TotalTraffic = 9;
     * @return The totalTraffic.
     */
    @java.lang.Override
    public double getTotalTraffic() {
      return totalTraffic_;
    }
    /**
     * double TotalTraffic = 9;
     * @param value The totalTraffic to set.
     * @return This builder for chaining.
     */
    public Builder setTotalTraffic(double value) {
      
      totalTraffic_ = value;
      onChanged();
      return this;
    }
    /**
     * double TotalTraffic = 9;
     * @return This builder for chaining.
     */
    public Builder clearTotalTraffic() {
      
      totalTraffic_ = 0D;
      onChanged();
      return this;
    }

    private java.util.List trafficDataList_ =
      java.util.Collections.emptyList();
    private void ensureTrafficDataListIsMutable() {
      if (!((bitField0_ & 0x00000008) != 0)) {
        trafficDataList_ = new java.util.ArrayList(trafficDataList_);
        bitField0_ |= 0x00000008;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.VodTrafficData, com.volcengine.service.vod.model.business.VodTrafficData.Builder, com.volcengine.service.vod.model.business.VodTrafficDataOrBuilder> trafficDataListBuilder_;

    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public java.util.List getTrafficDataListList() {
      if (trafficDataListBuilder_ == null) {
        return java.util.Collections.unmodifiableList(trafficDataList_);
      } else {
        return trafficDataListBuilder_.getMessageList();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public int getTrafficDataListCount() {
      if (trafficDataListBuilder_ == null) {
        return trafficDataList_.size();
      } else {
        return trafficDataListBuilder_.getCount();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public com.volcengine.service.vod.model.business.VodTrafficData getTrafficDataList(int index) {
      if (trafficDataListBuilder_ == null) {
        return trafficDataList_.get(index);
      } else {
        return trafficDataListBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public Builder setTrafficDataList(
        int index, com.volcengine.service.vod.model.business.VodTrafficData value) {
      if (trafficDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTrafficDataListIsMutable();
        trafficDataList_.set(index, value);
        onChanged();
      } else {
        trafficDataListBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public Builder setTrafficDataList(
        int index, com.volcengine.service.vod.model.business.VodTrafficData.Builder builderForValue) {
      if (trafficDataListBuilder_ == null) {
        ensureTrafficDataListIsMutable();
        trafficDataList_.set(index, builderForValue.build());
        onChanged();
      } else {
        trafficDataListBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public Builder addTrafficDataList(com.volcengine.service.vod.model.business.VodTrafficData value) {
      if (trafficDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTrafficDataListIsMutable();
        trafficDataList_.add(value);
        onChanged();
      } else {
        trafficDataListBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public Builder addTrafficDataList(
        int index, com.volcengine.service.vod.model.business.VodTrafficData value) {
      if (trafficDataListBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTrafficDataListIsMutable();
        trafficDataList_.add(index, value);
        onChanged();
      } else {
        trafficDataListBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public Builder addTrafficDataList(
        com.volcengine.service.vod.model.business.VodTrafficData.Builder builderForValue) {
      if (trafficDataListBuilder_ == null) {
        ensureTrafficDataListIsMutable();
        trafficDataList_.add(builderForValue.build());
        onChanged();
      } else {
        trafficDataListBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public Builder addTrafficDataList(
        int index, com.volcengine.service.vod.model.business.VodTrafficData.Builder builderForValue) {
      if (trafficDataListBuilder_ == null) {
        ensureTrafficDataListIsMutable();
        trafficDataList_.add(index, builderForValue.build());
        onChanged();
      } else {
        trafficDataListBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public Builder addAllTrafficDataList(
        java.lang.Iterable values) {
      if (trafficDataListBuilder_ == null) {
        ensureTrafficDataListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, trafficDataList_);
        onChanged();
      } else {
        trafficDataListBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public Builder clearTrafficDataList() {
      if (trafficDataListBuilder_ == null) {
        trafficDataList_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
      } else {
        trafficDataListBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public Builder removeTrafficDataList(int index) {
      if (trafficDataListBuilder_ == null) {
        ensureTrafficDataListIsMutable();
        trafficDataList_.remove(index);
        onChanged();
      } else {
        trafficDataListBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public com.volcengine.service.vod.model.business.VodTrafficData.Builder getTrafficDataListBuilder(
        int index) {
      return getTrafficDataListFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public com.volcengine.service.vod.model.business.VodTrafficDataOrBuilder getTrafficDataListOrBuilder(
        int index) {
      if (trafficDataListBuilder_ == null) {
        return trafficDataList_.get(index);  } else {
        return trafficDataListBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public java.util.List 
         getTrafficDataListOrBuilderList() {
      if (trafficDataListBuilder_ != null) {
        return trafficDataListBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(trafficDataList_);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public com.volcengine.service.vod.model.business.VodTrafficData.Builder addTrafficDataListBuilder() {
      return getTrafficDataListFieldBuilder().addBuilder(
          com.volcengine.service.vod.model.business.VodTrafficData.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public com.volcengine.service.vod.model.business.VodTrafficData.Builder addTrafficDataListBuilder(
        int index) {
      return getTrafficDataListFieldBuilder().addBuilder(
          index, com.volcengine.service.vod.model.business.VodTrafficData.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodTrafficData TrafficDataList = 10;
     */
    public java.util.List 
         getTrafficDataListBuilderList() {
      return getTrafficDataListFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.VodTrafficData, com.volcengine.service.vod.model.business.VodTrafficData.Builder, com.volcengine.service.vod.model.business.VodTrafficDataOrBuilder> 
        getTrafficDataListFieldBuilder() {
      if (trafficDataListBuilder_ == null) {
        trafficDataListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.volcengine.service.vod.model.business.VodTrafficData, com.volcengine.service.vod.model.business.VodTrafficData.Builder, com.volcengine.service.vod.model.business.VodTrafficDataOrBuilder>(
                trafficDataList_,
                ((bitField0_ & 0x00000008) != 0),
                getParentForChildren(),
                isClean());
        trafficDataList_ = null;
      }
      return trafficDataListBuilder_;
    }
    @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.VodDescribeVodDomainTrafficDataResult)
  }

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy