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

wechat.protobuf.GetCDNDnsResponse Maven / Gradle / Ivy

There is a newer version: 8.0.48.01
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: wechat.proto

package wechat.protobuf;

/**
 * Protobuf type {@code wechat_proto.GetCDNDnsResponse}
 */
public final class GetCDNDnsResponse extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:wechat_proto.GetCDNDnsResponse)
    GetCDNDnsResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use GetCDNDnsResponse.newBuilder() to construct.
  private GetCDNDnsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private GetCDNDnsResponse() {
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private GetCDNDnsResponse(
      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: {
            wechat.protobuf.BaseResponse.Builder subBuilder = null;
            if (((bitField0_ & 0x00000001) != 0)) {
              subBuilder = baseResponse_.toBuilder();
            }
            baseResponse_ = input.readMessage(wechat.protobuf.BaseResponse.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(baseResponse_);
              baseResponse_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000001;
            break;
          }
          case 18: {
            wechat.protobuf.CDNDnsInfo.Builder subBuilder = null;
            if (((bitField0_ & 0x00000002) != 0)) {
              subBuilder = dnsInfo_.toBuilder();
            }
            dnsInfo_ = input.readMessage(wechat.protobuf.CDNDnsInfo.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(dnsInfo_);
              dnsInfo_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000002;
            break;
          }
          case 26: {
            wechat.protobuf.CDNDnsInfo.Builder subBuilder = null;
            if (((bitField0_ & 0x00000004) != 0)) {
              subBuilder = snsDnsInfo_.toBuilder();
            }
            snsDnsInfo_ = input.readMessage(wechat.protobuf.CDNDnsInfo.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(snsDnsInfo_);
              snsDnsInfo_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000004;
            break;
          }
          case 34: {
            wechat.protobuf.CDNDnsInfo.Builder subBuilder = null;
            if (((bitField0_ & 0x00000008) != 0)) {
              subBuilder = appDnsInfo_.toBuilder();
            }
            appDnsInfo_ = input.readMessage(wechat.protobuf.CDNDnsInfo.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(appDnsInfo_);
              appDnsInfo_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000008;
            break;
          }
          case 42: {
            wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
            if (((bitField0_ & 0x00000010) != 0)) {
              subBuilder = cdndnsRuleBuf_.toBuilder();
            }
            cdndnsRuleBuf_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(cdndnsRuleBuf_);
              cdndnsRuleBuf_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000010;
            break;
          }
          case 50: {
            wechat.protobuf.SKBuiltinString_.Builder subBuilder = null;
            if (((bitField0_ & 0x00000020) != 0)) {
              subBuilder = fakeCdndnsRuleBuf_.toBuilder();
            }
            fakeCdndnsRuleBuf_ = input.readMessage(wechat.protobuf.SKBuiltinString_.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(fakeCdndnsRuleBuf_);
              fakeCdndnsRuleBuf_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000020;
            break;
          }
          case 58: {
            wechat.protobuf.CDNDnsInfo.Builder subBuilder = null;
            if (((bitField0_ & 0x00000040) != 0)) {
              subBuilder = fakeDnsInfo_.toBuilder();
            }
            fakeDnsInfo_ = input.readMessage(wechat.protobuf.CDNDnsInfo.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(fakeDnsInfo_);
              fakeDnsInfo_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000040;
            break;
          }
          case 64: {
            bitField0_ |= 0x00000080;
            getCdnDnsIntervalMs_ = input.readInt32();
            break;
          }
          case 74: {
            wechat.protobuf.CDNClientConfig.Builder subBuilder = null;
            if (((bitField0_ & 0x00000100) != 0)) {
              subBuilder = defaultConfig_.toBuilder();
            }
            defaultConfig_ = input.readMessage(wechat.protobuf.CDNClientConfig.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(defaultConfig_);
              defaultConfig_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000100;
            break;
          }
          case 82: {
            wechat.protobuf.CDNClientConfig.Builder subBuilder = null;
            if (((bitField0_ & 0x00000200) != 0)) {
              subBuilder = disasterConfig_.toBuilder();
            }
            disasterConfig_ = input.readMessage(wechat.protobuf.CDNClientConfig.PARSER, extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(disasterConfig_);
              disasterConfig_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000200;
            break;
          }
          case 88: {
            bitField0_ |= 0x00000400;
            nextIpv6_ = input.readInt32();
            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 {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return wechat.protobuf.Wechat.internal_static_wechat_proto_GetCDNDnsResponse_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return wechat.protobuf.Wechat.internal_static_wechat_proto_GetCDNDnsResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            wechat.protobuf.GetCDNDnsResponse.class, wechat.protobuf.GetCDNDnsResponse.Builder.class);
  }

  private int bitField0_;
  public static final int BASERESPONSE_FIELD_NUMBER = 1;
  private wechat.protobuf.BaseResponse baseResponse_;
  /**
   * optional .wechat_proto.BaseResponse baseResponse = 1;
   * @return Whether the baseResponse field is set.
   */
  @java.lang.Override
  public boolean hasBaseResponse() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * optional .wechat_proto.BaseResponse baseResponse = 1;
   * @return The baseResponse.
   */
  @java.lang.Override
  public wechat.protobuf.BaseResponse getBaseResponse() {
    return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
  }
  /**
   * optional .wechat_proto.BaseResponse baseResponse = 1;
   */
  @java.lang.Override
  public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() {
    return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_;
  }

  public static final int DNSINFO_FIELD_NUMBER = 2;
  private wechat.protobuf.CDNDnsInfo dnsInfo_;
  /**
   * 
   * 图片视频资源下载相关的DNS信息
   * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; * @return Whether the dnsInfo field is set. */ @java.lang.Override public boolean hasDnsInfo() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * 图片视频资源下载相关的DNS信息
   * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; * @return The dnsInfo. */ @java.lang.Override public wechat.protobuf.CDNDnsInfo getDnsInfo() { return dnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : dnsInfo_; } /** *
   * 图片视频资源下载相关的DNS信息
   * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; */ @java.lang.Override public wechat.protobuf.CDNDnsInfoOrBuilder getDnsInfoOrBuilder() { return dnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : dnsInfo_; } public static final int SNSDNSINFO_FIELD_NUMBER = 3; private wechat.protobuf.CDNDnsInfo snsDnsInfo_; /** *
   * 朋友圈资源下载相关的DNS信息
   * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; * @return Whether the snsDnsInfo field is set. */ @java.lang.Override public boolean hasSnsDnsInfo() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * 朋友圈资源下载相关的DNS信息
   * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; * @return The snsDnsInfo. */ @java.lang.Override public wechat.protobuf.CDNDnsInfo getSnsDnsInfo() { return snsDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : snsDnsInfo_; } /** *
   * 朋友圈资源下载相关的DNS信息
   * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; */ @java.lang.Override public wechat.protobuf.CDNDnsInfoOrBuilder getSnsDnsInfoOrBuilder() { return snsDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : snsDnsInfo_; } public static final int APPDNSINFO_FIELD_NUMBER = 4; private wechat.protobuf.CDNDnsInfo appDnsInfo_; /** *
   * App下载相关的DNS信息
   * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; * @return Whether the appDnsInfo field is set. */ @java.lang.Override public boolean hasAppDnsInfo() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * App下载相关的DNS信息
   * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; * @return The appDnsInfo. */ @java.lang.Override public wechat.protobuf.CDNDnsInfo getAppDnsInfo() { return appDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : appDnsInfo_; } /** *
   * App下载相关的DNS信息
   * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; */ @java.lang.Override public wechat.protobuf.CDNDnsInfoOrBuilder getAppDnsInfoOrBuilder() { return appDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : appDnsInfo_; } public static final int CDNDNSRULEBUF_FIELD_NUMBER = 5; private wechat.protobuf.SKBuiltinString_ cdndnsRuleBuf_; /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; * @return Whether the cdndnsRuleBuf field is set. */ @java.lang.Override public boolean hasCdndnsRuleBuf() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; * @return The cdndnsRuleBuf. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getCdndnsRuleBuf() { return cdndnsRuleBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cdndnsRuleBuf_; } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getCdndnsRuleBufOrBuilder() { return cdndnsRuleBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cdndnsRuleBuf_; } public static final int FAKECDNDNSRULEBUF_FIELD_NUMBER = 6; private wechat.protobuf.SKBuiltinString_ fakeCdndnsRuleBuf_; /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; * @return Whether the fakeCdndnsRuleBuf field is set. */ @java.lang.Override public boolean hasFakeCdndnsRuleBuf() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; * @return The fakeCdndnsRuleBuf. */ @java.lang.Override public wechat.protobuf.SKBuiltinString_ getFakeCdndnsRuleBuf() { return fakeCdndnsRuleBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : fakeCdndnsRuleBuf_; } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; */ @java.lang.Override public wechat.protobuf.SKBuiltinString_OrBuilder getFakeCdndnsRuleBufOrBuilder() { return fakeCdndnsRuleBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : fakeCdndnsRuleBuf_; } public static final int FAKEDNSINFO_FIELD_NUMBER = 7; private wechat.protobuf.CDNDnsInfo fakeDnsInfo_; /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; * @return Whether the fakeDnsInfo field is set. */ @java.lang.Override public boolean hasFakeDnsInfo() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; * @return The fakeDnsInfo. */ @java.lang.Override public wechat.protobuf.CDNDnsInfo getFakeDnsInfo() { return fakeDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : fakeDnsInfo_; } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; */ @java.lang.Override public wechat.protobuf.CDNDnsInfoOrBuilder getFakeDnsInfoOrBuilder() { return fakeDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : fakeDnsInfo_; } public static final int GETCDNDNSINTERVALMS_FIELD_NUMBER = 8; private int getCdnDnsIntervalMs_; /** * optional int32 getCdnDnsIntervalMs = 8; * @return Whether the getCdnDnsIntervalMs field is set. */ @java.lang.Override public boolean hasGetCdnDnsIntervalMs() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 getCdnDnsIntervalMs = 8; * @return The getCdnDnsIntervalMs. */ @java.lang.Override public int getGetCdnDnsIntervalMs() { return getCdnDnsIntervalMs_; } public static final int DEFAULTCONFIG_FIELD_NUMBER = 9; private wechat.protobuf.CDNClientConfig defaultConfig_; /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; * @return Whether the defaultConfig field is set. */ @java.lang.Override public boolean hasDefaultConfig() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; * @return The defaultConfig. */ @java.lang.Override public wechat.protobuf.CDNClientConfig getDefaultConfig() { return defaultConfig_ == null ? wechat.protobuf.CDNClientConfig.getDefaultInstance() : defaultConfig_; } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; */ @java.lang.Override public wechat.protobuf.CDNClientConfigOrBuilder getDefaultConfigOrBuilder() { return defaultConfig_ == null ? wechat.protobuf.CDNClientConfig.getDefaultInstance() : defaultConfig_; } public static final int DISASTERCONFIG_FIELD_NUMBER = 10; private wechat.protobuf.CDNClientConfig disasterConfig_; /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; * @return Whether the disasterConfig field is set. */ @java.lang.Override public boolean hasDisasterConfig() { return ((bitField0_ & 0x00000200) != 0); } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; * @return The disasterConfig. */ @java.lang.Override public wechat.protobuf.CDNClientConfig getDisasterConfig() { return disasterConfig_ == null ? wechat.protobuf.CDNClientConfig.getDefaultInstance() : disasterConfig_; } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; */ @java.lang.Override public wechat.protobuf.CDNClientConfigOrBuilder getDisasterConfigOrBuilder() { return disasterConfig_ == null ? wechat.protobuf.CDNClientConfig.getDefaultInstance() : disasterConfig_; } public static final int NEXTIPV6_FIELD_NUMBER = 11; private int nextIpv6_; /** * optional int32 nextIpv6 = 11; * @return Whether the nextIpv6 field is set. */ @java.lang.Override public boolean hasNextIpv6() { return ((bitField0_ & 0x00000400) != 0); } /** * optional int32 nextIpv6 = 11; * @return The nextIpv6. */ @java.lang.Override public int getNextIpv6() { return nextIpv6_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getDnsInfo()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getSnsDnsInfo()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getAppDnsInfo()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(5, getCdndnsRuleBuf()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(6, getFakeCdndnsRuleBuf()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(7, getFakeDnsInfo()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt32(8, getCdnDnsIntervalMs_); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getDefaultConfig()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(10, getDisasterConfig()); } if (((bitField0_ & 0x00000400) != 0)) { output.writeInt32(11, nextIpv6_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBaseResponse()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDnsInfo()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getSnsDnsInfo()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getAppDnsInfo()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getCdndnsRuleBuf()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getFakeCdndnsRuleBuf()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getFakeDnsInfo()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, getCdnDnsIntervalMs_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getDefaultConfig()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getDisasterConfig()); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(11, nextIpv6_); } 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 wechat.protobuf.GetCDNDnsResponse)) { return super.equals(obj); } wechat.protobuf.GetCDNDnsResponse other = (wechat.protobuf.GetCDNDnsResponse) obj; if (hasBaseResponse() != other.hasBaseResponse()) return false; if (hasBaseResponse()) { if (!getBaseResponse() .equals(other.getBaseResponse())) return false; } if (hasDnsInfo() != other.hasDnsInfo()) return false; if (hasDnsInfo()) { if (!getDnsInfo() .equals(other.getDnsInfo())) return false; } if (hasSnsDnsInfo() != other.hasSnsDnsInfo()) return false; if (hasSnsDnsInfo()) { if (!getSnsDnsInfo() .equals(other.getSnsDnsInfo())) return false; } if (hasAppDnsInfo() != other.hasAppDnsInfo()) return false; if (hasAppDnsInfo()) { if (!getAppDnsInfo() .equals(other.getAppDnsInfo())) return false; } if (hasCdndnsRuleBuf() != other.hasCdndnsRuleBuf()) return false; if (hasCdndnsRuleBuf()) { if (!getCdndnsRuleBuf() .equals(other.getCdndnsRuleBuf())) return false; } if (hasFakeCdndnsRuleBuf() != other.hasFakeCdndnsRuleBuf()) return false; if (hasFakeCdndnsRuleBuf()) { if (!getFakeCdndnsRuleBuf() .equals(other.getFakeCdndnsRuleBuf())) return false; } if (hasFakeDnsInfo() != other.hasFakeDnsInfo()) return false; if (hasFakeDnsInfo()) { if (!getFakeDnsInfo() .equals(other.getFakeDnsInfo())) return false; } if (hasGetCdnDnsIntervalMs() != other.hasGetCdnDnsIntervalMs()) return false; if (hasGetCdnDnsIntervalMs()) { if (getGetCdnDnsIntervalMs() != other.getGetCdnDnsIntervalMs()) return false; } if (hasDefaultConfig() != other.hasDefaultConfig()) return false; if (hasDefaultConfig()) { if (!getDefaultConfig() .equals(other.getDefaultConfig())) return false; } if (hasDisasterConfig() != other.hasDisasterConfig()) return false; if (hasDisasterConfig()) { if (!getDisasterConfig() .equals(other.getDisasterConfig())) return false; } if (hasNextIpv6() != other.hasNextIpv6()) return false; if (hasNextIpv6()) { if (getNextIpv6() != other.getNextIpv6()) 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 (hasBaseResponse()) { hash = (37 * hash) + BASERESPONSE_FIELD_NUMBER; hash = (53 * hash) + getBaseResponse().hashCode(); } if (hasDnsInfo()) { hash = (37 * hash) + DNSINFO_FIELD_NUMBER; hash = (53 * hash) + getDnsInfo().hashCode(); } if (hasSnsDnsInfo()) { hash = (37 * hash) + SNSDNSINFO_FIELD_NUMBER; hash = (53 * hash) + getSnsDnsInfo().hashCode(); } if (hasAppDnsInfo()) { hash = (37 * hash) + APPDNSINFO_FIELD_NUMBER; hash = (53 * hash) + getAppDnsInfo().hashCode(); } if (hasCdndnsRuleBuf()) { hash = (37 * hash) + CDNDNSRULEBUF_FIELD_NUMBER; hash = (53 * hash) + getCdndnsRuleBuf().hashCode(); } if (hasFakeCdndnsRuleBuf()) { hash = (37 * hash) + FAKECDNDNSRULEBUF_FIELD_NUMBER; hash = (53 * hash) + getFakeCdndnsRuleBuf().hashCode(); } if (hasFakeDnsInfo()) { hash = (37 * hash) + FAKEDNSINFO_FIELD_NUMBER; hash = (53 * hash) + getFakeDnsInfo().hashCode(); } if (hasGetCdnDnsIntervalMs()) { hash = (37 * hash) + GETCDNDNSINTERVALMS_FIELD_NUMBER; hash = (53 * hash) + getGetCdnDnsIntervalMs(); } if (hasDefaultConfig()) { hash = (37 * hash) + DEFAULTCONFIG_FIELD_NUMBER; hash = (53 * hash) + getDefaultConfig().hashCode(); } if (hasDisasterConfig()) { hash = (37 * hash) + DISASTERCONFIG_FIELD_NUMBER; hash = (53 * hash) + getDisasterConfig().hashCode(); } if (hasNextIpv6()) { hash = (37 * hash) + NEXTIPV6_FIELD_NUMBER; hash = (53 * hash) + getNextIpv6(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static wechat.protobuf.GetCDNDnsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.GetCDNDnsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.GetCDNDnsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.GetCDNDnsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.GetCDNDnsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static wechat.protobuf.GetCDNDnsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static wechat.protobuf.GetCDNDnsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.GetCDNDnsResponse 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 wechat.protobuf.GetCDNDnsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static wechat.protobuf.GetCDNDnsResponse 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 wechat.protobuf.GetCDNDnsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static wechat.protobuf.GetCDNDnsResponse 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(wechat.protobuf.GetCDNDnsResponse 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 wechat_proto.GetCDNDnsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:wechat_proto.GetCDNDnsResponse) wechat.protobuf.GetCDNDnsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return wechat.protobuf.Wechat.internal_static_wechat_proto_GetCDNDnsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return wechat.protobuf.Wechat.internal_static_wechat_proto_GetCDNDnsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( wechat.protobuf.GetCDNDnsResponse.class, wechat.protobuf.GetCDNDnsResponse.Builder.class); } // Construct using wechat.protobuf.GetCDNDnsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseResponseFieldBuilder(); getDnsInfoFieldBuilder(); getSnsDnsInfoFieldBuilder(); getAppDnsInfoFieldBuilder(); getCdndnsRuleBufFieldBuilder(); getFakeCdndnsRuleBufFieldBuilder(); getFakeDnsInfoFieldBuilder(); getDefaultConfigFieldBuilder(); getDisasterConfigFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (baseResponseBuilder_ == null) { baseResponse_ = null; } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (dnsInfoBuilder_ == null) { dnsInfo_ = null; } else { dnsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (snsDnsInfoBuilder_ == null) { snsDnsInfo_ = null; } else { snsDnsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (appDnsInfoBuilder_ == null) { appDnsInfo_ = null; } else { appDnsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (cdndnsRuleBufBuilder_ == null) { cdndnsRuleBuf_ = null; } else { cdndnsRuleBufBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (fakeCdndnsRuleBufBuilder_ == null) { fakeCdndnsRuleBuf_ = null; } else { fakeCdndnsRuleBufBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (fakeDnsInfoBuilder_ == null) { fakeDnsInfo_ = null; } else { fakeDnsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); getCdnDnsIntervalMs_ = 0; bitField0_ = (bitField0_ & ~0x00000080); if (defaultConfigBuilder_ == null) { defaultConfig_ = null; } else { defaultConfigBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (disasterConfigBuilder_ == null) { disasterConfig_ = null; } else { disasterConfigBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); nextIpv6_ = 0; bitField0_ = (bitField0_ & ~0x00000400); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return wechat.protobuf.Wechat.internal_static_wechat_proto_GetCDNDnsResponse_descriptor; } @java.lang.Override public wechat.protobuf.GetCDNDnsResponse getDefaultInstanceForType() { return wechat.protobuf.GetCDNDnsResponse.getDefaultInstance(); } @java.lang.Override public wechat.protobuf.GetCDNDnsResponse build() { wechat.protobuf.GetCDNDnsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public wechat.protobuf.GetCDNDnsResponse buildPartial() { wechat.protobuf.GetCDNDnsResponse result = new wechat.protobuf.GetCDNDnsResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (baseResponseBuilder_ == null) { result.baseResponse_ = baseResponse_; } else { result.baseResponse_ = baseResponseBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { if (dnsInfoBuilder_ == null) { result.dnsInfo_ = dnsInfo_; } else { result.dnsInfo_ = dnsInfoBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { if (snsDnsInfoBuilder_ == null) { result.snsDnsInfo_ = snsDnsInfo_; } else { result.snsDnsInfo_ = snsDnsInfoBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (appDnsInfoBuilder_ == null) { result.appDnsInfo_ = appDnsInfo_; } else { result.appDnsInfo_ = appDnsInfoBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { if (cdndnsRuleBufBuilder_ == null) { result.cdndnsRuleBuf_ = cdndnsRuleBuf_; } else { result.cdndnsRuleBuf_ = cdndnsRuleBufBuilder_.build(); } to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { if (fakeCdndnsRuleBufBuilder_ == null) { result.fakeCdndnsRuleBuf_ = fakeCdndnsRuleBuf_; } else { result.fakeCdndnsRuleBuf_ = fakeCdndnsRuleBufBuilder_.build(); } to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000040) != 0)) { if (fakeDnsInfoBuilder_ == null) { result.fakeDnsInfo_ = fakeDnsInfo_; } else { result.fakeDnsInfo_ = fakeDnsInfoBuilder_.build(); } to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { result.getCdnDnsIntervalMs_ = getCdnDnsIntervalMs_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { if (defaultConfigBuilder_ == null) { result.defaultConfig_ = defaultConfig_; } else { result.defaultConfig_ = defaultConfigBuilder_.build(); } to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { if (disasterConfigBuilder_ == null) { result.disasterConfig_ = disasterConfig_; } else { result.disasterConfig_ = disasterConfigBuilder_.build(); } to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00000400) != 0)) { result.nextIpv6_ = nextIpv6_; to_bitField0_ |= 0x00000400; } result.bitField0_ = to_bitField0_; 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 wechat.protobuf.GetCDNDnsResponse) { return mergeFrom((wechat.protobuf.GetCDNDnsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(wechat.protobuf.GetCDNDnsResponse other) { if (other == wechat.protobuf.GetCDNDnsResponse.getDefaultInstance()) return this; if (other.hasBaseResponse()) { mergeBaseResponse(other.getBaseResponse()); } if (other.hasDnsInfo()) { mergeDnsInfo(other.getDnsInfo()); } if (other.hasSnsDnsInfo()) { mergeSnsDnsInfo(other.getSnsDnsInfo()); } if (other.hasAppDnsInfo()) { mergeAppDnsInfo(other.getAppDnsInfo()); } if (other.hasCdndnsRuleBuf()) { mergeCdndnsRuleBuf(other.getCdndnsRuleBuf()); } if (other.hasFakeCdndnsRuleBuf()) { mergeFakeCdndnsRuleBuf(other.getFakeCdndnsRuleBuf()); } if (other.hasFakeDnsInfo()) { mergeFakeDnsInfo(other.getFakeDnsInfo()); } if (other.hasGetCdnDnsIntervalMs()) { setGetCdnDnsIntervalMs(other.getGetCdnDnsIntervalMs()); } if (other.hasDefaultConfig()) { mergeDefaultConfig(other.getDefaultConfig()); } if (other.hasDisasterConfig()) { mergeDisasterConfig(other.getDisasterConfig()); } if (other.hasNextIpv6()) { setNextIpv6(other.getNextIpv6()); } 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 { wechat.protobuf.GetCDNDnsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (wechat.protobuf.GetCDNDnsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private wechat.protobuf.BaseResponse baseResponse_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> baseResponseBuilder_; /** * optional .wechat_proto.BaseResponse baseResponse = 1; * @return Whether the baseResponse field is set. */ public boolean hasBaseResponse() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .wechat_proto.BaseResponse baseResponse = 1; * @return The baseResponse. */ public wechat.protobuf.BaseResponse getBaseResponse() { if (baseResponseBuilder_ == null) { return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_; } else { return baseResponseBuilder_.getMessage(); } } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public Builder setBaseResponse(wechat.protobuf.BaseResponse value) { if (baseResponseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseResponse_ = value; onChanged(); } else { baseResponseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public Builder setBaseResponse( wechat.protobuf.BaseResponse.Builder builderForValue) { if (baseResponseBuilder_ == null) { baseResponse_ = builderForValue.build(); onChanged(); } else { baseResponseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public Builder mergeBaseResponse(wechat.protobuf.BaseResponse value) { if (baseResponseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && baseResponse_ != null && baseResponse_ != wechat.protobuf.BaseResponse.getDefaultInstance()) { baseResponse_ = wechat.protobuf.BaseResponse.newBuilder(baseResponse_).mergeFrom(value).buildPartial(); } else { baseResponse_ = value; } onChanged(); } else { baseResponseBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public Builder clearBaseResponse() { if (baseResponseBuilder_ == null) { baseResponse_ = null; onChanged(); } else { baseResponseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public wechat.protobuf.BaseResponse.Builder getBaseResponseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseResponseFieldBuilder().getBuilder(); } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ public wechat.protobuf.BaseResponseOrBuilder getBaseResponseOrBuilder() { if (baseResponseBuilder_ != null) { return baseResponseBuilder_.getMessageOrBuilder(); } else { return baseResponse_ == null ? wechat.protobuf.BaseResponse.getDefaultInstance() : baseResponse_; } } /** * optional .wechat_proto.BaseResponse baseResponse = 1; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder> getBaseResponseFieldBuilder() { if (baseResponseBuilder_ == null) { baseResponseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.BaseResponse, wechat.protobuf.BaseResponse.Builder, wechat.protobuf.BaseResponseOrBuilder>( getBaseResponse(), getParentForChildren(), isClean()); baseResponse_ = null; } return baseResponseBuilder_; } private wechat.protobuf.CDNDnsInfo dnsInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> dnsInfoBuilder_; /** *
     * 图片视频资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; * @return Whether the dnsInfo field is set. */ public boolean hasDnsInfo() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * 图片视频资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; * @return The dnsInfo. */ public wechat.protobuf.CDNDnsInfo getDnsInfo() { if (dnsInfoBuilder_ == null) { return dnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : dnsInfo_; } else { return dnsInfoBuilder_.getMessage(); } } /** *
     * 图片视频资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; */ public Builder setDnsInfo(wechat.protobuf.CDNDnsInfo value) { if (dnsInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dnsInfo_ = value; onChanged(); } else { dnsInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
     * 图片视频资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; */ public Builder setDnsInfo( wechat.protobuf.CDNDnsInfo.Builder builderForValue) { if (dnsInfoBuilder_ == null) { dnsInfo_ = builderForValue.build(); onChanged(); } else { dnsInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
     * 图片视频资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; */ public Builder mergeDnsInfo(wechat.protobuf.CDNDnsInfo value) { if (dnsInfoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && dnsInfo_ != null && dnsInfo_ != wechat.protobuf.CDNDnsInfo.getDefaultInstance()) { dnsInfo_ = wechat.protobuf.CDNDnsInfo.newBuilder(dnsInfo_).mergeFrom(value).buildPartial(); } else { dnsInfo_ = value; } onChanged(); } else { dnsInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
     * 图片视频资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; */ public Builder clearDnsInfo() { if (dnsInfoBuilder_ == null) { dnsInfo_ = null; onChanged(); } else { dnsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
     * 图片视频资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; */ public wechat.protobuf.CDNDnsInfo.Builder getDnsInfoBuilder() { bitField0_ |= 0x00000002; onChanged(); return getDnsInfoFieldBuilder().getBuilder(); } /** *
     * 图片视频资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; */ public wechat.protobuf.CDNDnsInfoOrBuilder getDnsInfoOrBuilder() { if (dnsInfoBuilder_ != null) { return dnsInfoBuilder_.getMessageOrBuilder(); } else { return dnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : dnsInfo_; } } /** *
     * 图片视频资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo dnsInfo = 2; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> getDnsInfoFieldBuilder() { if (dnsInfoBuilder_ == null) { dnsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>( getDnsInfo(), getParentForChildren(), isClean()); dnsInfo_ = null; } return dnsInfoBuilder_; } private wechat.protobuf.CDNDnsInfo snsDnsInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> snsDnsInfoBuilder_; /** *
     * 朋友圈资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; * @return Whether the snsDnsInfo field is set. */ public boolean hasSnsDnsInfo() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * 朋友圈资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; * @return The snsDnsInfo. */ public wechat.protobuf.CDNDnsInfo getSnsDnsInfo() { if (snsDnsInfoBuilder_ == null) { return snsDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : snsDnsInfo_; } else { return snsDnsInfoBuilder_.getMessage(); } } /** *
     * 朋友圈资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; */ public Builder setSnsDnsInfo(wechat.protobuf.CDNDnsInfo value) { if (snsDnsInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } snsDnsInfo_ = value; onChanged(); } else { snsDnsInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** *
     * 朋友圈资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; */ public Builder setSnsDnsInfo( wechat.protobuf.CDNDnsInfo.Builder builderForValue) { if (snsDnsInfoBuilder_ == null) { snsDnsInfo_ = builderForValue.build(); onChanged(); } else { snsDnsInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
     * 朋友圈资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; */ public Builder mergeSnsDnsInfo(wechat.protobuf.CDNDnsInfo value) { if (snsDnsInfoBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && snsDnsInfo_ != null && snsDnsInfo_ != wechat.protobuf.CDNDnsInfo.getDefaultInstance()) { snsDnsInfo_ = wechat.protobuf.CDNDnsInfo.newBuilder(snsDnsInfo_).mergeFrom(value).buildPartial(); } else { snsDnsInfo_ = value; } onChanged(); } else { snsDnsInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** *
     * 朋友圈资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; */ public Builder clearSnsDnsInfo() { if (snsDnsInfoBuilder_ == null) { snsDnsInfo_ = null; onChanged(); } else { snsDnsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
     * 朋友圈资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; */ public wechat.protobuf.CDNDnsInfo.Builder getSnsDnsInfoBuilder() { bitField0_ |= 0x00000004; onChanged(); return getSnsDnsInfoFieldBuilder().getBuilder(); } /** *
     * 朋友圈资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; */ public wechat.protobuf.CDNDnsInfoOrBuilder getSnsDnsInfoOrBuilder() { if (snsDnsInfoBuilder_ != null) { return snsDnsInfoBuilder_.getMessageOrBuilder(); } else { return snsDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : snsDnsInfo_; } } /** *
     * 朋友圈资源下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo snsDnsInfo = 3; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> getSnsDnsInfoFieldBuilder() { if (snsDnsInfoBuilder_ == null) { snsDnsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>( getSnsDnsInfo(), getParentForChildren(), isClean()); snsDnsInfo_ = null; } return snsDnsInfoBuilder_; } private wechat.protobuf.CDNDnsInfo appDnsInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> appDnsInfoBuilder_; /** *
     * App下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; * @return Whether the appDnsInfo field is set. */ public boolean hasAppDnsInfo() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * App下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; * @return The appDnsInfo. */ public wechat.protobuf.CDNDnsInfo getAppDnsInfo() { if (appDnsInfoBuilder_ == null) { return appDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : appDnsInfo_; } else { return appDnsInfoBuilder_.getMessage(); } } /** *
     * App下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; */ public Builder setAppDnsInfo(wechat.protobuf.CDNDnsInfo value) { if (appDnsInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } appDnsInfo_ = value; onChanged(); } else { appDnsInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** *
     * App下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; */ public Builder setAppDnsInfo( wechat.protobuf.CDNDnsInfo.Builder builderForValue) { if (appDnsInfoBuilder_ == null) { appDnsInfo_ = builderForValue.build(); onChanged(); } else { appDnsInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
     * App下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; */ public Builder mergeAppDnsInfo(wechat.protobuf.CDNDnsInfo value) { if (appDnsInfoBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && appDnsInfo_ != null && appDnsInfo_ != wechat.protobuf.CDNDnsInfo.getDefaultInstance()) { appDnsInfo_ = wechat.protobuf.CDNDnsInfo.newBuilder(appDnsInfo_).mergeFrom(value).buildPartial(); } else { appDnsInfo_ = value; } onChanged(); } else { appDnsInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** *
     * App下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; */ public Builder clearAppDnsInfo() { if (appDnsInfoBuilder_ == null) { appDnsInfo_ = null; onChanged(); } else { appDnsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
     * App下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; */ public wechat.protobuf.CDNDnsInfo.Builder getAppDnsInfoBuilder() { bitField0_ |= 0x00000008; onChanged(); return getAppDnsInfoFieldBuilder().getBuilder(); } /** *
     * App下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; */ public wechat.protobuf.CDNDnsInfoOrBuilder getAppDnsInfoOrBuilder() { if (appDnsInfoBuilder_ != null) { return appDnsInfoBuilder_.getMessageOrBuilder(); } else { return appDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : appDnsInfo_; } } /** *
     * App下载相关的DNS信息
     * 
* * optional .wechat_proto.CDNDnsInfo appDnsInfo = 4; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> getAppDnsInfoFieldBuilder() { if (appDnsInfoBuilder_ == null) { appDnsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>( getAppDnsInfo(), getParentForChildren(), isClean()); appDnsInfo_ = null; } return appDnsInfoBuilder_; } private wechat.protobuf.SKBuiltinString_ cdndnsRuleBuf_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> cdndnsRuleBufBuilder_; /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; * @return Whether the cdndnsRuleBuf field is set. */ public boolean hasCdndnsRuleBuf() { return ((bitField0_ & 0x00000010) != 0); } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; * @return The cdndnsRuleBuf. */ public wechat.protobuf.SKBuiltinString_ getCdndnsRuleBuf() { if (cdndnsRuleBufBuilder_ == null) { return cdndnsRuleBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cdndnsRuleBuf_; } else { return cdndnsRuleBufBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; */ public Builder setCdndnsRuleBuf(wechat.protobuf.SKBuiltinString_ value) { if (cdndnsRuleBufBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cdndnsRuleBuf_ = value; onChanged(); } else { cdndnsRuleBufBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; */ public Builder setCdndnsRuleBuf( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (cdndnsRuleBufBuilder_ == null) { cdndnsRuleBuf_ = builderForValue.build(); onChanged(); } else { cdndnsRuleBufBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; */ public Builder mergeCdndnsRuleBuf(wechat.protobuf.SKBuiltinString_ value) { if (cdndnsRuleBufBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && cdndnsRuleBuf_ != null && cdndnsRuleBuf_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { cdndnsRuleBuf_ = wechat.protobuf.SKBuiltinString_.newBuilder(cdndnsRuleBuf_).mergeFrom(value).buildPartial(); } else { cdndnsRuleBuf_ = value; } onChanged(); } else { cdndnsRuleBufBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; */ public Builder clearCdndnsRuleBuf() { if (cdndnsRuleBufBuilder_ == null) { cdndnsRuleBuf_ = null; onChanged(); } else { cdndnsRuleBufBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; */ public wechat.protobuf.SKBuiltinString_.Builder getCdndnsRuleBufBuilder() { bitField0_ |= 0x00000010; onChanged(); return getCdndnsRuleBufFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; */ public wechat.protobuf.SKBuiltinString_OrBuilder getCdndnsRuleBufOrBuilder() { if (cdndnsRuleBufBuilder_ != null) { return cdndnsRuleBufBuilder_.getMessageOrBuilder(); } else { return cdndnsRuleBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : cdndnsRuleBuf_; } } /** * optional .wechat_proto.SKBuiltinString_ cdndnsRuleBuf = 5; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getCdndnsRuleBufFieldBuilder() { if (cdndnsRuleBufBuilder_ == null) { cdndnsRuleBufBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getCdndnsRuleBuf(), getParentForChildren(), isClean()); cdndnsRuleBuf_ = null; } return cdndnsRuleBufBuilder_; } private wechat.protobuf.SKBuiltinString_ fakeCdndnsRuleBuf_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> fakeCdndnsRuleBufBuilder_; /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; * @return Whether the fakeCdndnsRuleBuf field is set. */ public boolean hasFakeCdndnsRuleBuf() { return ((bitField0_ & 0x00000020) != 0); } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; * @return The fakeCdndnsRuleBuf. */ public wechat.protobuf.SKBuiltinString_ getFakeCdndnsRuleBuf() { if (fakeCdndnsRuleBufBuilder_ == null) { return fakeCdndnsRuleBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : fakeCdndnsRuleBuf_; } else { return fakeCdndnsRuleBufBuilder_.getMessage(); } } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; */ public Builder setFakeCdndnsRuleBuf(wechat.protobuf.SKBuiltinString_ value) { if (fakeCdndnsRuleBufBuilder_ == null) { if (value == null) { throw new NullPointerException(); } fakeCdndnsRuleBuf_ = value; onChanged(); } else { fakeCdndnsRuleBufBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; */ public Builder setFakeCdndnsRuleBuf( wechat.protobuf.SKBuiltinString_.Builder builderForValue) { if (fakeCdndnsRuleBufBuilder_ == null) { fakeCdndnsRuleBuf_ = builderForValue.build(); onChanged(); } else { fakeCdndnsRuleBufBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; */ public Builder mergeFakeCdndnsRuleBuf(wechat.protobuf.SKBuiltinString_ value) { if (fakeCdndnsRuleBufBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && fakeCdndnsRuleBuf_ != null && fakeCdndnsRuleBuf_ != wechat.protobuf.SKBuiltinString_.getDefaultInstance()) { fakeCdndnsRuleBuf_ = wechat.protobuf.SKBuiltinString_.newBuilder(fakeCdndnsRuleBuf_).mergeFrom(value).buildPartial(); } else { fakeCdndnsRuleBuf_ = value; } onChanged(); } else { fakeCdndnsRuleBufBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; */ public Builder clearFakeCdndnsRuleBuf() { if (fakeCdndnsRuleBufBuilder_ == null) { fakeCdndnsRuleBuf_ = null; onChanged(); } else { fakeCdndnsRuleBufBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; */ public wechat.protobuf.SKBuiltinString_.Builder getFakeCdndnsRuleBufBuilder() { bitField0_ |= 0x00000020; onChanged(); return getFakeCdndnsRuleBufFieldBuilder().getBuilder(); } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; */ public wechat.protobuf.SKBuiltinString_OrBuilder getFakeCdndnsRuleBufOrBuilder() { if (fakeCdndnsRuleBufBuilder_ != null) { return fakeCdndnsRuleBufBuilder_.getMessageOrBuilder(); } else { return fakeCdndnsRuleBuf_ == null ? wechat.protobuf.SKBuiltinString_.getDefaultInstance() : fakeCdndnsRuleBuf_; } } /** * optional .wechat_proto.SKBuiltinString_ fakeCdndnsRuleBuf = 6; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder> getFakeCdndnsRuleBufFieldBuilder() { if (fakeCdndnsRuleBufBuilder_ == null) { fakeCdndnsRuleBufBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.SKBuiltinString_, wechat.protobuf.SKBuiltinString_.Builder, wechat.protobuf.SKBuiltinString_OrBuilder>( getFakeCdndnsRuleBuf(), getParentForChildren(), isClean()); fakeCdndnsRuleBuf_ = null; } return fakeCdndnsRuleBufBuilder_; } private wechat.protobuf.CDNDnsInfo fakeDnsInfo_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> fakeDnsInfoBuilder_; /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; * @return Whether the fakeDnsInfo field is set. */ public boolean hasFakeDnsInfo() { return ((bitField0_ & 0x00000040) != 0); } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; * @return The fakeDnsInfo. */ public wechat.protobuf.CDNDnsInfo getFakeDnsInfo() { if (fakeDnsInfoBuilder_ == null) { return fakeDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : fakeDnsInfo_; } else { return fakeDnsInfoBuilder_.getMessage(); } } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; */ public Builder setFakeDnsInfo(wechat.protobuf.CDNDnsInfo value) { if (fakeDnsInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } fakeDnsInfo_ = value; onChanged(); } else { fakeDnsInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; */ public Builder setFakeDnsInfo( wechat.protobuf.CDNDnsInfo.Builder builderForValue) { if (fakeDnsInfoBuilder_ == null) { fakeDnsInfo_ = builderForValue.build(); onChanged(); } else { fakeDnsInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; */ public Builder mergeFakeDnsInfo(wechat.protobuf.CDNDnsInfo value) { if (fakeDnsInfoBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && fakeDnsInfo_ != null && fakeDnsInfo_ != wechat.protobuf.CDNDnsInfo.getDefaultInstance()) { fakeDnsInfo_ = wechat.protobuf.CDNDnsInfo.newBuilder(fakeDnsInfo_).mergeFrom(value).buildPartial(); } else { fakeDnsInfo_ = value; } onChanged(); } else { fakeDnsInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; */ public Builder clearFakeDnsInfo() { if (fakeDnsInfoBuilder_ == null) { fakeDnsInfo_ = null; onChanged(); } else { fakeDnsInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; */ public wechat.protobuf.CDNDnsInfo.Builder getFakeDnsInfoBuilder() { bitField0_ |= 0x00000040; onChanged(); return getFakeDnsInfoFieldBuilder().getBuilder(); } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; */ public wechat.protobuf.CDNDnsInfoOrBuilder getFakeDnsInfoOrBuilder() { if (fakeDnsInfoBuilder_ != null) { return fakeDnsInfoBuilder_.getMessageOrBuilder(); } else { return fakeDnsInfo_ == null ? wechat.protobuf.CDNDnsInfo.getDefaultInstance() : fakeDnsInfo_; } } /** * optional .wechat_proto.CDNDnsInfo fakeDnsInfo = 7; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder> getFakeDnsInfoFieldBuilder() { if (fakeDnsInfoBuilder_ == null) { fakeDnsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNDnsInfo, wechat.protobuf.CDNDnsInfo.Builder, wechat.protobuf.CDNDnsInfoOrBuilder>( getFakeDnsInfo(), getParentForChildren(), isClean()); fakeDnsInfo_ = null; } return fakeDnsInfoBuilder_; } private int getCdnDnsIntervalMs_ ; /** * optional int32 getCdnDnsIntervalMs = 8; * @return Whether the getCdnDnsIntervalMs field is set. */ @java.lang.Override public boolean hasGetCdnDnsIntervalMs() { return ((bitField0_ & 0x00000080) != 0); } /** * optional int32 getCdnDnsIntervalMs = 8; * @return The getCdnDnsIntervalMs. */ @java.lang.Override public int getGetCdnDnsIntervalMs() { return getCdnDnsIntervalMs_; } /** * optional int32 getCdnDnsIntervalMs = 8; * @param value The getCdnDnsIntervalMs to set. * @return This builder for chaining. */ public Builder setGetCdnDnsIntervalMs(int value) { bitField0_ |= 0x00000080; getCdnDnsIntervalMs_ = value; onChanged(); return this; } /** * optional int32 getCdnDnsIntervalMs = 8; * @return This builder for chaining. */ public Builder clearGetCdnDnsIntervalMs() { bitField0_ = (bitField0_ & ~0x00000080); getCdnDnsIntervalMs_ = 0; onChanged(); return this; } private wechat.protobuf.CDNClientConfig defaultConfig_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNClientConfig, wechat.protobuf.CDNClientConfig.Builder, wechat.protobuf.CDNClientConfigOrBuilder> defaultConfigBuilder_; /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; * @return Whether the defaultConfig field is set. */ public boolean hasDefaultConfig() { return ((bitField0_ & 0x00000100) != 0); } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; * @return The defaultConfig. */ public wechat.protobuf.CDNClientConfig getDefaultConfig() { if (defaultConfigBuilder_ == null) { return defaultConfig_ == null ? wechat.protobuf.CDNClientConfig.getDefaultInstance() : defaultConfig_; } else { return defaultConfigBuilder_.getMessage(); } } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; */ public Builder setDefaultConfig(wechat.protobuf.CDNClientConfig value) { if (defaultConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultConfig_ = value; onChanged(); } else { defaultConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; */ public Builder setDefaultConfig( wechat.protobuf.CDNClientConfig.Builder builderForValue) { if (defaultConfigBuilder_ == null) { defaultConfig_ = builderForValue.build(); onChanged(); } else { defaultConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; */ public Builder mergeDefaultConfig(wechat.protobuf.CDNClientConfig value) { if (defaultConfigBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && defaultConfig_ != null && defaultConfig_ != wechat.protobuf.CDNClientConfig.getDefaultInstance()) { defaultConfig_ = wechat.protobuf.CDNClientConfig.newBuilder(defaultConfig_).mergeFrom(value).buildPartial(); } else { defaultConfig_ = value; } onChanged(); } else { defaultConfigBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; */ public Builder clearDefaultConfig() { if (defaultConfigBuilder_ == null) { defaultConfig_ = null; onChanged(); } else { defaultConfigBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; */ public wechat.protobuf.CDNClientConfig.Builder getDefaultConfigBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDefaultConfigFieldBuilder().getBuilder(); } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; */ public wechat.protobuf.CDNClientConfigOrBuilder getDefaultConfigOrBuilder() { if (defaultConfigBuilder_ != null) { return defaultConfigBuilder_.getMessageOrBuilder(); } else { return defaultConfig_ == null ? wechat.protobuf.CDNClientConfig.getDefaultInstance() : defaultConfig_; } } /** * optional .wechat_proto.CDNClientConfig defaultConfig = 9; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNClientConfig, wechat.protobuf.CDNClientConfig.Builder, wechat.protobuf.CDNClientConfigOrBuilder> getDefaultConfigFieldBuilder() { if (defaultConfigBuilder_ == null) { defaultConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNClientConfig, wechat.protobuf.CDNClientConfig.Builder, wechat.protobuf.CDNClientConfigOrBuilder>( getDefaultConfig(), getParentForChildren(), isClean()); defaultConfig_ = null; } return defaultConfigBuilder_; } private wechat.protobuf.CDNClientConfig disasterConfig_; private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNClientConfig, wechat.protobuf.CDNClientConfig.Builder, wechat.protobuf.CDNClientConfigOrBuilder> disasterConfigBuilder_; /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; * @return Whether the disasterConfig field is set. */ public boolean hasDisasterConfig() { return ((bitField0_ & 0x00000200) != 0); } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; * @return The disasterConfig. */ public wechat.protobuf.CDNClientConfig getDisasterConfig() { if (disasterConfigBuilder_ == null) { return disasterConfig_ == null ? wechat.protobuf.CDNClientConfig.getDefaultInstance() : disasterConfig_; } else { return disasterConfigBuilder_.getMessage(); } } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; */ public Builder setDisasterConfig(wechat.protobuf.CDNClientConfig value) { if (disasterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } disasterConfig_ = value; onChanged(); } else { disasterConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; */ public Builder setDisasterConfig( wechat.protobuf.CDNClientConfig.Builder builderForValue) { if (disasterConfigBuilder_ == null) { disasterConfig_ = builderForValue.build(); onChanged(); } else { disasterConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; */ public Builder mergeDisasterConfig(wechat.protobuf.CDNClientConfig value) { if (disasterConfigBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && disasterConfig_ != null && disasterConfig_ != wechat.protobuf.CDNClientConfig.getDefaultInstance()) { disasterConfig_ = wechat.protobuf.CDNClientConfig.newBuilder(disasterConfig_).mergeFrom(value).buildPartial(); } else { disasterConfig_ = value; } onChanged(); } else { disasterConfigBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; */ public Builder clearDisasterConfig() { if (disasterConfigBuilder_ == null) { disasterConfig_ = null; onChanged(); } else { disasterConfigBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; */ public wechat.protobuf.CDNClientConfig.Builder getDisasterConfigBuilder() { bitField0_ |= 0x00000200; onChanged(); return getDisasterConfigFieldBuilder().getBuilder(); } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; */ public wechat.protobuf.CDNClientConfigOrBuilder getDisasterConfigOrBuilder() { if (disasterConfigBuilder_ != null) { return disasterConfigBuilder_.getMessageOrBuilder(); } else { return disasterConfig_ == null ? wechat.protobuf.CDNClientConfig.getDefaultInstance() : disasterConfig_; } } /** * optional .wechat_proto.CDNClientConfig disasterConfig = 10; */ private com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNClientConfig, wechat.protobuf.CDNClientConfig.Builder, wechat.protobuf.CDNClientConfigOrBuilder> getDisasterConfigFieldBuilder() { if (disasterConfigBuilder_ == null) { disasterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< wechat.protobuf.CDNClientConfig, wechat.protobuf.CDNClientConfig.Builder, wechat.protobuf.CDNClientConfigOrBuilder>( getDisasterConfig(), getParentForChildren(), isClean()); disasterConfig_ = null; } return disasterConfigBuilder_; } private int nextIpv6_ ; /** * optional int32 nextIpv6 = 11; * @return Whether the nextIpv6 field is set. */ @java.lang.Override public boolean hasNextIpv6() { return ((bitField0_ & 0x00000400) != 0); } /** * optional int32 nextIpv6 = 11; * @return The nextIpv6. */ @java.lang.Override public int getNextIpv6() { return nextIpv6_; } /** * optional int32 nextIpv6 = 11; * @param value The nextIpv6 to set. * @return This builder for chaining. */ public Builder setNextIpv6(int value) { bitField0_ |= 0x00000400; nextIpv6_ = value; onChanged(); return this; } /** * optional int32 nextIpv6 = 11; * @return This builder for chaining. */ public Builder clearNextIpv6() { bitField0_ = (bitField0_ & ~0x00000400); nextIpv6_ = 0; 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:wechat_proto.GetCDNDnsResponse) } // @@protoc_insertion_point(class_scope:wechat_proto.GetCDNDnsResponse) private static final wechat.protobuf.GetCDNDnsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new wechat.protobuf.GetCDNDnsResponse(); } public static wechat.protobuf.GetCDNDnsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetCDNDnsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetCDNDnsResponse(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 wechat.protobuf.GetCDNDnsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy