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

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private VodCdnStatisticsCommonResult(
      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: {
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              datas_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            datas_.add(
                input.readMessage(com.volcengine.service.vod.model.business.VodCdnStatisticsData.parser(), extensionRegistry));
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              noPermissionDomains_ = new com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            noPermissionDomains_.add(s);
            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)) {
        datas_ = java.util.Collections.unmodifiableList(datas_);
      }
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        noPermissionDomains_ = noPermissionDomains_.getUnmodifiableView();
      }
      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_VodCdnStatisticsCommonResult_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_VodCdnStatisticsCommonResult_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.volcengine.service.vod.model.business.VodCdnStatisticsCommonResult.class, com.volcengine.service.vod.model.business.VodCdnStatisticsCommonResult.Builder.class);
  }

  public static final int DATAS_FIELD_NUMBER = 1;
  private java.util.List datas_;
  /**
   * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
   */
  @java.lang.Override
  public java.util.List getDatasList() {
    return datas_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
   */
  @java.lang.Override
  public java.util.List 
      getDatasOrBuilderList() {
    return datas_;
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
   */
  @java.lang.Override
  public int getDatasCount() {
    return datas_.size();
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.VodCdnStatisticsData getDatas(int index) {
    return datas_.get(index);
  }
  /**
   * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
   */
  @java.lang.Override
  public com.volcengine.service.vod.model.business.VodCdnStatisticsDataOrBuilder getDatasOrBuilder(
      int index) {
    return datas_.get(index);
  }

  public static final int NOPERMISSIONDOMAINS_FIELD_NUMBER = 2;
  private com.google.protobuf.LazyStringList noPermissionDomains_;
  /**
   * repeated string NoPermissionDomains = 2;
   * @return A list containing the noPermissionDomains.
   */
  public com.google.protobuf.ProtocolStringList
      getNoPermissionDomainsList() {
    return noPermissionDomains_;
  }
  /**
   * repeated string NoPermissionDomains = 2;
   * @return The count of noPermissionDomains.
   */
  public int getNoPermissionDomainsCount() {
    return noPermissionDomains_.size();
  }
  /**
   * repeated string NoPermissionDomains = 2;
   * @param index The index of the element to return.
   * @return The noPermissionDomains at the given index.
   */
  public java.lang.String getNoPermissionDomains(int index) {
    return noPermissionDomains_.get(index);
  }
  /**
   * repeated string NoPermissionDomains = 2;
   * @param index The index of the value to return.
   * @return The bytes of the noPermissionDomains at the given index.
   */
  public com.google.protobuf.ByteString
      getNoPermissionDomainsBytes(int index) {
    return noPermissionDomains_.getByteString(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 < datas_.size(); i++) {
      output.writeMessage(1, datas_.get(i));
    }
    for (int i = 0; i < noPermissionDomains_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, noPermissionDomains_.getRaw(i));
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < datas_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, datas_.get(i));
    }
    {
      int dataSize = 0;
      for (int i = 0; i < noPermissionDomains_.size(); i++) {
        dataSize += computeStringSizeNoTag(noPermissionDomains_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getNoPermissionDomainsList().size();
    }
    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.VodCdnStatisticsCommonResult)) {
      return super.equals(obj);
    }
    com.volcengine.service.vod.model.business.VodCdnStatisticsCommonResult other = (com.volcengine.service.vod.model.business.VodCdnStatisticsCommonResult) obj;

    if (!getDatasList()
        .equals(other.getDatasList())) return false;
    if (!getNoPermissionDomainsList()
        .equals(other.getNoPermissionDomainsList())) 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 (getDatasCount() > 0) {
      hash = (37 * hash) + DATAS_FIELD_NUMBER;
      hash = (53 * hash) + getDatasList().hashCode();
    }
    if (getNoPermissionDomainsCount() > 0) {
      hash = (37 * hash) + NOPERMISSIONDOMAINS_FIELD_NUMBER;
      hash = (53 * hash) + getNoPermissionDomainsList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getDatasFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (datasBuilder_ == null) {
        datas_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        datasBuilder_.clear();
      }
      noPermissionDomains_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000002);
      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_VodCdnStatisticsCommonResult_descriptor;
    }

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

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

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

    public Builder mergeFrom(com.volcengine.service.vod.model.business.VodCdnStatisticsCommonResult other) {
      if (other == com.volcengine.service.vod.model.business.VodCdnStatisticsCommonResult.getDefaultInstance()) return this;
      if (datasBuilder_ == null) {
        if (!other.datas_.isEmpty()) {
          if (datas_.isEmpty()) {
            datas_ = other.datas_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureDatasIsMutable();
            datas_.addAll(other.datas_);
          }
          onChanged();
        }
      } else {
        if (!other.datas_.isEmpty()) {
          if (datasBuilder_.isEmpty()) {
            datasBuilder_.dispose();
            datasBuilder_ = null;
            datas_ = other.datas_;
            bitField0_ = (bitField0_ & ~0x00000001);
            datasBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getDatasFieldBuilder() : null;
          } else {
            datasBuilder_.addAllMessages(other.datas_);
          }
        }
      }
      if (!other.noPermissionDomains_.isEmpty()) {
        if (noPermissionDomains_.isEmpty()) {
          noPermissionDomains_ = other.noPermissionDomains_;
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          ensureNoPermissionDomainsIsMutable();
          noPermissionDomains_.addAll(other.noPermissionDomains_);
        }
        onChanged();
      }
      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.VodCdnStatisticsCommonResult parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.volcengine.service.vod.model.business.VodCdnStatisticsCommonResult) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

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

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.VodCdnStatisticsData, com.volcengine.service.vod.model.business.VodCdnStatisticsData.Builder, com.volcengine.service.vod.model.business.VodCdnStatisticsDataOrBuilder> datasBuilder_;

    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public java.util.List getDatasList() {
      if (datasBuilder_ == null) {
        return java.util.Collections.unmodifiableList(datas_);
      } else {
        return datasBuilder_.getMessageList();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public int getDatasCount() {
      if (datasBuilder_ == null) {
        return datas_.size();
      } else {
        return datasBuilder_.getCount();
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public com.volcengine.service.vod.model.business.VodCdnStatisticsData getDatas(int index) {
      if (datasBuilder_ == null) {
        return datas_.get(index);
      } else {
        return datasBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public Builder setDatas(
        int index, com.volcengine.service.vod.model.business.VodCdnStatisticsData value) {
      if (datasBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDatasIsMutable();
        datas_.set(index, value);
        onChanged();
      } else {
        datasBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public Builder setDatas(
        int index, com.volcengine.service.vod.model.business.VodCdnStatisticsData.Builder builderForValue) {
      if (datasBuilder_ == null) {
        ensureDatasIsMutable();
        datas_.set(index, builderForValue.build());
        onChanged();
      } else {
        datasBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public Builder addDatas(com.volcengine.service.vod.model.business.VodCdnStatisticsData value) {
      if (datasBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDatasIsMutable();
        datas_.add(value);
        onChanged();
      } else {
        datasBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public Builder addDatas(
        int index, com.volcengine.service.vod.model.business.VodCdnStatisticsData value) {
      if (datasBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDatasIsMutable();
        datas_.add(index, value);
        onChanged();
      } else {
        datasBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public Builder addDatas(
        com.volcengine.service.vod.model.business.VodCdnStatisticsData.Builder builderForValue) {
      if (datasBuilder_ == null) {
        ensureDatasIsMutable();
        datas_.add(builderForValue.build());
        onChanged();
      } else {
        datasBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public Builder addDatas(
        int index, com.volcengine.service.vod.model.business.VodCdnStatisticsData.Builder builderForValue) {
      if (datasBuilder_ == null) {
        ensureDatasIsMutable();
        datas_.add(index, builderForValue.build());
        onChanged();
      } else {
        datasBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public Builder addAllDatas(
        java.lang.Iterable values) {
      if (datasBuilder_ == null) {
        ensureDatasIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, datas_);
        onChanged();
      } else {
        datasBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public Builder clearDatas() {
      if (datasBuilder_ == null) {
        datas_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        datasBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public Builder removeDatas(int index) {
      if (datasBuilder_ == null) {
        ensureDatasIsMutable();
        datas_.remove(index);
        onChanged();
      } else {
        datasBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public com.volcengine.service.vod.model.business.VodCdnStatisticsData.Builder getDatasBuilder(
        int index) {
      return getDatasFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public com.volcengine.service.vod.model.business.VodCdnStatisticsDataOrBuilder getDatasOrBuilder(
        int index) {
      if (datasBuilder_ == null) {
        return datas_.get(index);  } else {
        return datasBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public java.util.List 
         getDatasOrBuilderList() {
      if (datasBuilder_ != null) {
        return datasBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(datas_);
      }
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public com.volcengine.service.vod.model.business.VodCdnStatisticsData.Builder addDatasBuilder() {
      return getDatasFieldBuilder().addBuilder(
          com.volcengine.service.vod.model.business.VodCdnStatisticsData.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public com.volcengine.service.vod.model.business.VodCdnStatisticsData.Builder addDatasBuilder(
        int index) {
      return getDatasFieldBuilder().addBuilder(
          index, com.volcengine.service.vod.model.business.VodCdnStatisticsData.getDefaultInstance());
    }
    /**
     * repeated .Volcengine.Vod.Models.Business.VodCdnStatisticsData Datas = 1;
     */
    public java.util.List 
         getDatasBuilderList() {
      return getDatasFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.volcengine.service.vod.model.business.VodCdnStatisticsData, com.volcengine.service.vod.model.business.VodCdnStatisticsData.Builder, com.volcengine.service.vod.model.business.VodCdnStatisticsDataOrBuilder> 
        getDatasFieldBuilder() {
      if (datasBuilder_ == null) {
        datasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.volcengine.service.vod.model.business.VodCdnStatisticsData, com.volcengine.service.vod.model.business.VodCdnStatisticsData.Builder, com.volcengine.service.vod.model.business.VodCdnStatisticsDataOrBuilder>(
                datas_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        datas_ = null;
      }
      return datasBuilder_;
    }

    private com.google.protobuf.LazyStringList noPermissionDomains_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    private void ensureNoPermissionDomainsIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        noPermissionDomains_ = new com.google.protobuf.LazyStringArrayList(noPermissionDomains_);
        bitField0_ |= 0x00000002;
       }
    }
    /**
     * repeated string NoPermissionDomains = 2;
     * @return A list containing the noPermissionDomains.
     */
    public com.google.protobuf.ProtocolStringList
        getNoPermissionDomainsList() {
      return noPermissionDomains_.getUnmodifiableView();
    }
    /**
     * repeated string NoPermissionDomains = 2;
     * @return The count of noPermissionDomains.
     */
    public int getNoPermissionDomainsCount() {
      return noPermissionDomains_.size();
    }
    /**
     * repeated string NoPermissionDomains = 2;
     * @param index The index of the element to return.
     * @return The noPermissionDomains at the given index.
     */
    public java.lang.String getNoPermissionDomains(int index) {
      return noPermissionDomains_.get(index);
    }
    /**
     * repeated string NoPermissionDomains = 2;
     * @param index The index of the value to return.
     * @return The bytes of the noPermissionDomains at the given index.
     */
    public com.google.protobuf.ByteString
        getNoPermissionDomainsBytes(int index) {
      return noPermissionDomains_.getByteString(index);
    }
    /**
     * repeated string NoPermissionDomains = 2;
     * @param index The index to set the value at.
     * @param value The noPermissionDomains to set.
     * @return This builder for chaining.
     */
    public Builder setNoPermissionDomains(
        int index, java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureNoPermissionDomainsIsMutable();
      noPermissionDomains_.set(index, value);
      onChanged();
      return this;
    }
    /**
     * repeated string NoPermissionDomains = 2;
     * @param value The noPermissionDomains to add.
     * @return This builder for chaining.
     */
    public Builder addNoPermissionDomains(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  ensureNoPermissionDomainsIsMutable();
      noPermissionDomains_.add(value);
      onChanged();
      return this;
    }
    /**
     * repeated string NoPermissionDomains = 2;
     * @param values The noPermissionDomains to add.
     * @return This builder for chaining.
     */
    public Builder addAllNoPermissionDomains(
        java.lang.Iterable values) {
      ensureNoPermissionDomainsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, noPermissionDomains_);
      onChanged();
      return this;
    }
    /**
     * repeated string NoPermissionDomains = 2;
     * @return This builder for chaining.
     */
    public Builder clearNoPermissionDomains() {
      noPermissionDomains_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * repeated string NoPermissionDomains = 2;
     * @param value The bytes of the noPermissionDomains to add.
     * @return This builder for chaining.
     */
    public Builder addNoPermissionDomainsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      ensureNoPermissionDomainsIsMutable();
      noPermissionDomains_.add(value);
      onChanged();
      return this;
    }
    @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.VodCdnStatisticsCommonResult)
  }

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy