
wechat.protobuf.NetworkSectResp Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: wechat.proto
package wechat.protobuf;
/**
* Protobuf type {@code wechat_proto.NetworkSectResp}
*/
public final class NetworkSectResp extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.NetworkSectResp)
NetworkSectRespOrBuilder {
private static final long serialVersionUID = 0L;
// Use NetworkSectResp.newBuilder() to construct.
private NetworkSectResp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NetworkSectResp() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NetworkSectResp();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NetworkSectResp(
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.HostList.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) != 0)) {
subBuilder = newHostList_.toBuilder();
}
newHostList_ = input.readMessage(wechat.protobuf.HostList.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(newHostList_);
newHostList_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
wechat.protobuf.NetworkControl.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = networkControl_.toBuilder();
}
networkControl_ = input.readMessage(wechat.protobuf.NetworkControl.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(networkControl_);
networkControl_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
wechat.protobuf.BuiltinIPList.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = builtinIplist_.toBuilder();
}
builtinIplist_ = input.readMessage(wechat.protobuf.BuiltinIPList.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(builtinIplist_);
builtinIplist_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
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_NetworkSectResp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_NetworkSectResp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.NetworkSectResp.class, wechat.protobuf.NetworkSectResp.Builder.class);
}
private int bitField0_;
public static final int NEWHOSTLIST_FIELD_NUMBER = 1;
private wechat.protobuf.HostList newHostList_;
/**
* optional .wechat_proto.HostList newHostList = 1;
* @return Whether the newHostList field is set.
*/
@java.lang.Override
public boolean hasNewHostList() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.HostList newHostList = 1;
* @return The newHostList.
*/
@java.lang.Override
public wechat.protobuf.HostList getNewHostList() {
return newHostList_ == null ? wechat.protobuf.HostList.getDefaultInstance() : newHostList_;
}
/**
* optional .wechat_proto.HostList newHostList = 1;
*/
@java.lang.Override
public wechat.protobuf.HostListOrBuilder getNewHostListOrBuilder() {
return newHostList_ == null ? wechat.protobuf.HostList.getDefaultInstance() : newHostList_;
}
public static final int NETWORKCONTROL_FIELD_NUMBER = 2;
private wechat.protobuf.NetworkControl networkControl_;
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
* @return Whether the networkControl field is set.
*/
@java.lang.Override
public boolean hasNetworkControl() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
* @return The networkControl.
*/
@java.lang.Override
public wechat.protobuf.NetworkControl getNetworkControl() {
return networkControl_ == null ? wechat.protobuf.NetworkControl.getDefaultInstance() : networkControl_;
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
*/
@java.lang.Override
public wechat.protobuf.NetworkControlOrBuilder getNetworkControlOrBuilder() {
return networkControl_ == null ? wechat.protobuf.NetworkControl.getDefaultInstance() : networkControl_;
}
public static final int BUILTINIPLIST_FIELD_NUMBER = 3;
private wechat.protobuf.BuiltinIPList builtinIplist_;
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
* @return Whether the builtinIplist field is set.
*/
@java.lang.Override
public boolean hasBuiltinIplist() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
* @return The builtinIplist.
*/
@java.lang.Override
public wechat.protobuf.BuiltinIPList getBuiltinIplist() {
return builtinIplist_ == null ? wechat.protobuf.BuiltinIPList.getDefaultInstance() : builtinIplist_;
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
*/
@java.lang.Override
public wechat.protobuf.BuiltinIPListOrBuilder getBuiltinIplistOrBuilder() {
return builtinIplist_ == null ? wechat.protobuf.BuiltinIPList.getDefaultInstance() : builtinIplist_;
}
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, getNewHostList());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getNetworkControl());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getBuiltinIplist());
}
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, getNewHostList());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getNetworkControl());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getBuiltinIplist());
}
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.NetworkSectResp)) {
return super.equals(obj);
}
wechat.protobuf.NetworkSectResp other = (wechat.protobuf.NetworkSectResp) obj;
if (hasNewHostList() != other.hasNewHostList()) return false;
if (hasNewHostList()) {
if (!getNewHostList()
.equals(other.getNewHostList())) return false;
}
if (hasNetworkControl() != other.hasNetworkControl()) return false;
if (hasNetworkControl()) {
if (!getNetworkControl()
.equals(other.getNetworkControl())) return false;
}
if (hasBuiltinIplist() != other.hasBuiltinIplist()) return false;
if (hasBuiltinIplist()) {
if (!getBuiltinIplist()
.equals(other.getBuiltinIplist())) 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 (hasNewHostList()) {
hash = (37 * hash) + NEWHOSTLIST_FIELD_NUMBER;
hash = (53 * hash) + getNewHostList().hashCode();
}
if (hasNetworkControl()) {
hash = (37 * hash) + NETWORKCONTROL_FIELD_NUMBER;
hash = (53 * hash) + getNetworkControl().hashCode();
}
if (hasBuiltinIplist()) {
hash = (37 * hash) + BUILTINIPLIST_FIELD_NUMBER;
hash = (53 * hash) + getBuiltinIplist().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.NetworkSectResp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.NetworkSectResp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.NetworkSectResp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.NetworkSectResp 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.NetworkSectResp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.NetworkSectResp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.NetworkSectResp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.NetworkSectResp 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.NetworkSectResp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.NetworkSectResp 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.NetworkSectResp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.NetworkSectResp 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.NetworkSectResp 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.NetworkSectResp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.NetworkSectResp)
wechat.protobuf.NetworkSectRespOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_NetworkSectResp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_NetworkSectResp_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.NetworkSectResp.class, wechat.protobuf.NetworkSectResp.Builder.class);
}
// Construct using wechat.protobuf.NetworkSectResp.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getNewHostListFieldBuilder();
getNetworkControlFieldBuilder();
getBuiltinIplistFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (newHostListBuilder_ == null) {
newHostList_ = null;
} else {
newHostListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (networkControlBuilder_ == null) {
networkControl_ = null;
} else {
networkControlBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (builtinIplistBuilder_ == null) {
builtinIplist_ = null;
} else {
builtinIplistBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_NetworkSectResp_descriptor;
}
@java.lang.Override
public wechat.protobuf.NetworkSectResp getDefaultInstanceForType() {
return wechat.protobuf.NetworkSectResp.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.NetworkSectResp build() {
wechat.protobuf.NetworkSectResp result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.NetworkSectResp buildPartial() {
wechat.protobuf.NetworkSectResp result = new wechat.protobuf.NetworkSectResp(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
if (newHostListBuilder_ == null) {
result.newHostList_ = newHostList_;
} else {
result.newHostList_ = newHostListBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
if (networkControlBuilder_ == null) {
result.networkControl_ = networkControl_;
} else {
result.networkControl_ = networkControlBuilder_.build();
}
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
if (builtinIplistBuilder_ == null) {
result.builtinIplist_ = builtinIplist_;
} else {
result.builtinIplist_ = builtinIplistBuilder_.build();
}
to_bitField0_ |= 0x00000004;
}
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.NetworkSectResp) {
return mergeFrom((wechat.protobuf.NetworkSectResp)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.NetworkSectResp other) {
if (other == wechat.protobuf.NetworkSectResp.getDefaultInstance()) return this;
if (other.hasNewHostList()) {
mergeNewHostList(other.getNewHostList());
}
if (other.hasNetworkControl()) {
mergeNetworkControl(other.getNetworkControl());
}
if (other.hasBuiltinIplist()) {
mergeBuiltinIplist(other.getBuiltinIplist());
}
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.NetworkSectResp parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.NetworkSectResp) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private wechat.protobuf.HostList newHostList_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.HostList, wechat.protobuf.HostList.Builder, wechat.protobuf.HostListOrBuilder> newHostListBuilder_;
/**
* optional .wechat_proto.HostList newHostList = 1;
* @return Whether the newHostList field is set.
*/
public boolean hasNewHostList() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .wechat_proto.HostList newHostList = 1;
* @return The newHostList.
*/
public wechat.protobuf.HostList getNewHostList() {
if (newHostListBuilder_ == null) {
return newHostList_ == null ? wechat.protobuf.HostList.getDefaultInstance() : newHostList_;
} else {
return newHostListBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.HostList newHostList = 1;
*/
public Builder setNewHostList(wechat.protobuf.HostList value) {
if (newHostListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
newHostList_ = value;
onChanged();
} else {
newHostListBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.HostList newHostList = 1;
*/
public Builder setNewHostList(
wechat.protobuf.HostList.Builder builderForValue) {
if (newHostListBuilder_ == null) {
newHostList_ = builderForValue.build();
onChanged();
} else {
newHostListBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.HostList newHostList = 1;
*/
public Builder mergeNewHostList(wechat.protobuf.HostList value) {
if (newHostListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
newHostList_ != null &&
newHostList_ != wechat.protobuf.HostList.getDefaultInstance()) {
newHostList_ =
wechat.protobuf.HostList.newBuilder(newHostList_).mergeFrom(value).buildPartial();
} else {
newHostList_ = value;
}
onChanged();
} else {
newHostListBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .wechat_proto.HostList newHostList = 1;
*/
public Builder clearNewHostList() {
if (newHostListBuilder_ == null) {
newHostList_ = null;
onChanged();
} else {
newHostListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .wechat_proto.HostList newHostList = 1;
*/
public wechat.protobuf.HostList.Builder getNewHostListBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getNewHostListFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.HostList newHostList = 1;
*/
public wechat.protobuf.HostListOrBuilder getNewHostListOrBuilder() {
if (newHostListBuilder_ != null) {
return newHostListBuilder_.getMessageOrBuilder();
} else {
return newHostList_ == null ?
wechat.protobuf.HostList.getDefaultInstance() : newHostList_;
}
}
/**
* optional .wechat_proto.HostList newHostList = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.HostList, wechat.protobuf.HostList.Builder, wechat.protobuf.HostListOrBuilder>
getNewHostListFieldBuilder() {
if (newHostListBuilder_ == null) {
newHostListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.HostList, wechat.protobuf.HostList.Builder, wechat.protobuf.HostListOrBuilder>(
getNewHostList(),
getParentForChildren(),
isClean());
newHostList_ = null;
}
return newHostListBuilder_;
}
private wechat.protobuf.NetworkControl networkControl_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.NetworkControl, wechat.protobuf.NetworkControl.Builder, wechat.protobuf.NetworkControlOrBuilder> networkControlBuilder_;
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
* @return Whether the networkControl field is set.
*/
public boolean hasNetworkControl() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
* @return The networkControl.
*/
public wechat.protobuf.NetworkControl getNetworkControl() {
if (networkControlBuilder_ == null) {
return networkControl_ == null ? wechat.protobuf.NetworkControl.getDefaultInstance() : networkControl_;
} else {
return networkControlBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
*/
public Builder setNetworkControl(wechat.protobuf.NetworkControl value) {
if (networkControlBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
networkControl_ = value;
onChanged();
} else {
networkControlBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
*/
public Builder setNetworkControl(
wechat.protobuf.NetworkControl.Builder builderForValue) {
if (networkControlBuilder_ == null) {
networkControl_ = builderForValue.build();
onChanged();
} else {
networkControlBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
*/
public Builder mergeNetworkControl(wechat.protobuf.NetworkControl value) {
if (networkControlBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
networkControl_ != null &&
networkControl_ != wechat.protobuf.NetworkControl.getDefaultInstance()) {
networkControl_ =
wechat.protobuf.NetworkControl.newBuilder(networkControl_).mergeFrom(value).buildPartial();
} else {
networkControl_ = value;
}
onChanged();
} else {
networkControlBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
*/
public Builder clearNetworkControl() {
if (networkControlBuilder_ == null) {
networkControl_ = null;
onChanged();
} else {
networkControlBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
*/
public wechat.protobuf.NetworkControl.Builder getNetworkControlBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getNetworkControlFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
*/
public wechat.protobuf.NetworkControlOrBuilder getNetworkControlOrBuilder() {
if (networkControlBuilder_ != null) {
return networkControlBuilder_.getMessageOrBuilder();
} else {
return networkControl_ == null ?
wechat.protobuf.NetworkControl.getDefaultInstance() : networkControl_;
}
}
/**
* optional .wechat_proto.NetworkControl networkControl = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.NetworkControl, wechat.protobuf.NetworkControl.Builder, wechat.protobuf.NetworkControlOrBuilder>
getNetworkControlFieldBuilder() {
if (networkControlBuilder_ == null) {
networkControlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.NetworkControl, wechat.protobuf.NetworkControl.Builder, wechat.protobuf.NetworkControlOrBuilder>(
getNetworkControl(),
getParentForChildren(),
isClean());
networkControl_ = null;
}
return networkControlBuilder_;
}
private wechat.protobuf.BuiltinIPList builtinIplist_;
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BuiltinIPList, wechat.protobuf.BuiltinIPList.Builder, wechat.protobuf.BuiltinIPListOrBuilder> builtinIplistBuilder_;
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
* @return Whether the builtinIplist field is set.
*/
public boolean hasBuiltinIplist() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
* @return The builtinIplist.
*/
public wechat.protobuf.BuiltinIPList getBuiltinIplist() {
if (builtinIplistBuilder_ == null) {
return builtinIplist_ == null ? wechat.protobuf.BuiltinIPList.getDefaultInstance() : builtinIplist_;
} else {
return builtinIplistBuilder_.getMessage();
}
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
*/
public Builder setBuiltinIplist(wechat.protobuf.BuiltinIPList value) {
if (builtinIplistBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
builtinIplist_ = value;
onChanged();
} else {
builtinIplistBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
*/
public Builder setBuiltinIplist(
wechat.protobuf.BuiltinIPList.Builder builderForValue) {
if (builtinIplistBuilder_ == null) {
builtinIplist_ = builderForValue.build();
onChanged();
} else {
builtinIplistBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
*/
public Builder mergeBuiltinIplist(wechat.protobuf.BuiltinIPList value) {
if (builtinIplistBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
builtinIplist_ != null &&
builtinIplist_ != wechat.protobuf.BuiltinIPList.getDefaultInstance()) {
builtinIplist_ =
wechat.protobuf.BuiltinIPList.newBuilder(builtinIplist_).mergeFrom(value).buildPartial();
} else {
builtinIplist_ = value;
}
onChanged();
} else {
builtinIplistBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
*/
public Builder clearBuiltinIplist() {
if (builtinIplistBuilder_ == null) {
builtinIplist_ = null;
onChanged();
} else {
builtinIplistBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
*/
public wechat.protobuf.BuiltinIPList.Builder getBuiltinIplistBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getBuiltinIplistFieldBuilder().getBuilder();
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
*/
public wechat.protobuf.BuiltinIPListOrBuilder getBuiltinIplistOrBuilder() {
if (builtinIplistBuilder_ != null) {
return builtinIplistBuilder_.getMessageOrBuilder();
} else {
return builtinIplist_ == null ?
wechat.protobuf.BuiltinIPList.getDefaultInstance() : builtinIplist_;
}
}
/**
* optional .wechat_proto.BuiltinIPList builtinIplist = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BuiltinIPList, wechat.protobuf.BuiltinIPList.Builder, wechat.protobuf.BuiltinIPListOrBuilder>
getBuiltinIplistFieldBuilder() {
if (builtinIplistBuilder_ == null) {
builtinIplistBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
wechat.protobuf.BuiltinIPList, wechat.protobuf.BuiltinIPList.Builder, wechat.protobuf.BuiltinIPListOrBuilder>(
getBuiltinIplist(),
getParentForChildren(),
isClean());
builtinIplist_ = null;
}
return builtinIplistBuilder_;
}
@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.NetworkSectResp)
}
// @@protoc_insertion_point(class_scope:wechat_proto.NetworkSectResp)
private static final wechat.protobuf.NetworkSectResp DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.NetworkSectResp();
}
public static wechat.protobuf.NetworkSectResp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NetworkSectResp parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NetworkSectResp(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.NetworkSectResp getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy