
wechat.protobuf.BuiltinIPList Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: wechat.proto
package wechat.protobuf;
/**
* Protobuf type {@code wechat_proto.BuiltinIPList}
*/
public final class BuiltinIPList extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.BuiltinIPList)
BuiltinIPListOrBuilder {
private static final long serialVersionUID = 0L;
// Use BuiltinIPList.newBuilder() to construct.
private BuiltinIPList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BuiltinIPList() {
longConnectIplist_ = java.util.Collections.emptyList();
shortConnectIplist_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BuiltinIPList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BuiltinIPList(
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 8: {
bitField0_ |= 0x00000001;
longConnectIpcount_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
shortConnectIpcount_ = input.readUInt32();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
longConnectIplist_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
longConnectIplist_.add(
input.readMessage(wechat.protobuf.BuiltinIP.PARSER, extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
shortConnectIplist_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
shortConnectIplist_.add(
input.readMessage(wechat.protobuf.BuiltinIP.PARSER, extensionRegistry));
break;
}
case 40: {
bitField0_ |= 0x00000004;
seq_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) != 0)) {
longConnectIplist_ = java.util.Collections.unmodifiableList(longConnectIplist_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
shortConnectIplist_ = java.util.Collections.unmodifiableList(shortConnectIplist_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BuiltinIPList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BuiltinIPList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.BuiltinIPList.class, wechat.protobuf.BuiltinIPList.Builder.class);
}
private int bitField0_;
public static final int LONGCONNECTIPCOUNT_FIELD_NUMBER = 1;
private int longConnectIpcount_;
/**
* optional uint32 longConnectIpcount = 1;
* @return Whether the longConnectIpcount field is set.
*/
@java.lang.Override
public boolean hasLongConnectIpcount() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 longConnectIpcount = 1;
* @return The longConnectIpcount.
*/
@java.lang.Override
public int getLongConnectIpcount() {
return longConnectIpcount_;
}
public static final int SHORTCONNECTIPCOUNT_FIELD_NUMBER = 2;
private int shortConnectIpcount_;
/**
* optional uint32 shortConnectIpcount = 2;
* @return Whether the shortConnectIpcount field is set.
*/
@java.lang.Override
public boolean hasShortConnectIpcount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 shortConnectIpcount = 2;
* @return The shortConnectIpcount.
*/
@java.lang.Override
public int getShortConnectIpcount() {
return shortConnectIpcount_;
}
public static final int LONGCONNECTIPLIST_FIELD_NUMBER = 3;
private java.util.List longConnectIplist_;
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
@java.lang.Override
public java.util.List getLongConnectIplistList() {
return longConnectIplist_;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.BuiltinIPOrBuilder>
getLongConnectIplistOrBuilderList() {
return longConnectIplist_;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
@java.lang.Override
public int getLongConnectIplistCount() {
return longConnectIplist_.size();
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
@java.lang.Override
public wechat.protobuf.BuiltinIP getLongConnectIplist(int index) {
return longConnectIplist_.get(index);
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
@java.lang.Override
public wechat.protobuf.BuiltinIPOrBuilder getLongConnectIplistOrBuilder(
int index) {
return longConnectIplist_.get(index);
}
public static final int SHORTCONNECTIPLIST_FIELD_NUMBER = 4;
private java.util.List shortConnectIplist_;
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
@java.lang.Override
public java.util.List getShortConnectIplistList() {
return shortConnectIplist_;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
@java.lang.Override
public java.util.List extends wechat.protobuf.BuiltinIPOrBuilder>
getShortConnectIplistOrBuilderList() {
return shortConnectIplist_;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
@java.lang.Override
public int getShortConnectIplistCount() {
return shortConnectIplist_.size();
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
@java.lang.Override
public wechat.protobuf.BuiltinIP getShortConnectIplist(int index) {
return shortConnectIplist_.get(index);
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
@java.lang.Override
public wechat.protobuf.BuiltinIPOrBuilder getShortConnectIplistOrBuilder(
int index) {
return shortConnectIplist_.get(index);
}
public static final int SEQ_FIELD_NUMBER = 5;
private int seq_;
/**
* optional uint32 seq = 5;
* @return Whether the seq field is set.
*/
@java.lang.Override
public boolean hasSeq() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 seq = 5;
* @return The seq.
*/
@java.lang.Override
public int getSeq() {
return seq_;
}
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.writeUInt32(1, longConnectIpcount_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, shortConnectIpcount_);
}
for (int i = 0; i < longConnectIplist_.size(); i++) {
output.writeMessage(3, longConnectIplist_.get(i));
}
for (int i = 0; i < shortConnectIplist_.size(); i++) {
output.writeMessage(4, shortConnectIplist_.get(i));
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(5, seq_);
}
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
.computeUInt32Size(1, longConnectIpcount_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, shortConnectIpcount_);
}
for (int i = 0; i < longConnectIplist_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, longConnectIplist_.get(i));
}
for (int i = 0; i < shortConnectIplist_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, shortConnectIplist_.get(i));
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, seq_);
}
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.BuiltinIPList)) {
return super.equals(obj);
}
wechat.protobuf.BuiltinIPList other = (wechat.protobuf.BuiltinIPList) obj;
if (hasLongConnectIpcount() != other.hasLongConnectIpcount()) return false;
if (hasLongConnectIpcount()) {
if (getLongConnectIpcount()
!= other.getLongConnectIpcount()) return false;
}
if (hasShortConnectIpcount() != other.hasShortConnectIpcount()) return false;
if (hasShortConnectIpcount()) {
if (getShortConnectIpcount()
!= other.getShortConnectIpcount()) return false;
}
if (!getLongConnectIplistList()
.equals(other.getLongConnectIplistList())) return false;
if (!getShortConnectIplistList()
.equals(other.getShortConnectIplistList())) return false;
if (hasSeq() != other.hasSeq()) return false;
if (hasSeq()) {
if (getSeq()
!= other.getSeq()) 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 (hasLongConnectIpcount()) {
hash = (37 * hash) + LONGCONNECTIPCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getLongConnectIpcount();
}
if (hasShortConnectIpcount()) {
hash = (37 * hash) + SHORTCONNECTIPCOUNT_FIELD_NUMBER;
hash = (53 * hash) + getShortConnectIpcount();
}
if (getLongConnectIplistCount() > 0) {
hash = (37 * hash) + LONGCONNECTIPLIST_FIELD_NUMBER;
hash = (53 * hash) + getLongConnectIplistList().hashCode();
}
if (getShortConnectIplistCount() > 0) {
hash = (37 * hash) + SHORTCONNECTIPLIST_FIELD_NUMBER;
hash = (53 * hash) + getShortConnectIplistList().hashCode();
}
if (hasSeq()) {
hash = (37 * hash) + SEQ_FIELD_NUMBER;
hash = (53 * hash) + getSeq();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.BuiltinIPList parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.BuiltinIPList parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.BuiltinIPList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.BuiltinIPList 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.BuiltinIPList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.BuiltinIPList parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.BuiltinIPList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.BuiltinIPList 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.BuiltinIPList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.BuiltinIPList 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.BuiltinIPList parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.BuiltinIPList 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.BuiltinIPList 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.BuiltinIPList}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.BuiltinIPList)
wechat.protobuf.BuiltinIPListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BuiltinIPList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BuiltinIPList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.BuiltinIPList.class, wechat.protobuf.BuiltinIPList.Builder.class);
}
// Construct using wechat.protobuf.BuiltinIPList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLongConnectIplistFieldBuilder();
getShortConnectIplistFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
longConnectIpcount_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
shortConnectIpcount_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (longConnectIplistBuilder_ == null) {
longConnectIplist_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
longConnectIplistBuilder_.clear();
}
if (shortConnectIplistBuilder_ == null) {
shortConnectIplist_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
shortConnectIplistBuilder_.clear();
}
seq_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_BuiltinIPList_descriptor;
}
@java.lang.Override
public wechat.protobuf.BuiltinIPList getDefaultInstanceForType() {
return wechat.protobuf.BuiltinIPList.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.BuiltinIPList build() {
wechat.protobuf.BuiltinIPList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.BuiltinIPList buildPartial() {
wechat.protobuf.BuiltinIPList result = new wechat.protobuf.BuiltinIPList(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.longConnectIpcount_ = longConnectIpcount_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.shortConnectIpcount_ = shortConnectIpcount_;
to_bitField0_ |= 0x00000002;
}
if (longConnectIplistBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
longConnectIplist_ = java.util.Collections.unmodifiableList(longConnectIplist_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.longConnectIplist_ = longConnectIplist_;
} else {
result.longConnectIplist_ = longConnectIplistBuilder_.build();
}
if (shortConnectIplistBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
shortConnectIplist_ = java.util.Collections.unmodifiableList(shortConnectIplist_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.shortConnectIplist_ = shortConnectIplist_;
} else {
result.shortConnectIplist_ = shortConnectIplistBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.seq_ = seq_;
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.BuiltinIPList) {
return mergeFrom((wechat.protobuf.BuiltinIPList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.BuiltinIPList other) {
if (other == wechat.protobuf.BuiltinIPList.getDefaultInstance()) return this;
if (other.hasLongConnectIpcount()) {
setLongConnectIpcount(other.getLongConnectIpcount());
}
if (other.hasShortConnectIpcount()) {
setShortConnectIpcount(other.getShortConnectIpcount());
}
if (longConnectIplistBuilder_ == null) {
if (!other.longConnectIplist_.isEmpty()) {
if (longConnectIplist_.isEmpty()) {
longConnectIplist_ = other.longConnectIplist_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureLongConnectIplistIsMutable();
longConnectIplist_.addAll(other.longConnectIplist_);
}
onChanged();
}
} else {
if (!other.longConnectIplist_.isEmpty()) {
if (longConnectIplistBuilder_.isEmpty()) {
longConnectIplistBuilder_.dispose();
longConnectIplistBuilder_ = null;
longConnectIplist_ = other.longConnectIplist_;
bitField0_ = (bitField0_ & ~0x00000004);
longConnectIplistBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLongConnectIplistFieldBuilder() : null;
} else {
longConnectIplistBuilder_.addAllMessages(other.longConnectIplist_);
}
}
}
if (shortConnectIplistBuilder_ == null) {
if (!other.shortConnectIplist_.isEmpty()) {
if (shortConnectIplist_.isEmpty()) {
shortConnectIplist_ = other.shortConnectIplist_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureShortConnectIplistIsMutable();
shortConnectIplist_.addAll(other.shortConnectIplist_);
}
onChanged();
}
} else {
if (!other.shortConnectIplist_.isEmpty()) {
if (shortConnectIplistBuilder_.isEmpty()) {
shortConnectIplistBuilder_.dispose();
shortConnectIplistBuilder_ = null;
shortConnectIplist_ = other.shortConnectIplist_;
bitField0_ = (bitField0_ & ~0x00000008);
shortConnectIplistBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getShortConnectIplistFieldBuilder() : null;
} else {
shortConnectIplistBuilder_.addAllMessages(other.shortConnectIplist_);
}
}
}
if (other.hasSeq()) {
setSeq(other.getSeq());
}
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.BuiltinIPList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.BuiltinIPList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int longConnectIpcount_ ;
/**
* optional uint32 longConnectIpcount = 1;
* @return Whether the longConnectIpcount field is set.
*/
@java.lang.Override
public boolean hasLongConnectIpcount() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 longConnectIpcount = 1;
* @return The longConnectIpcount.
*/
@java.lang.Override
public int getLongConnectIpcount() {
return longConnectIpcount_;
}
/**
* optional uint32 longConnectIpcount = 1;
* @param value The longConnectIpcount to set.
* @return This builder for chaining.
*/
public Builder setLongConnectIpcount(int value) {
bitField0_ |= 0x00000001;
longConnectIpcount_ = value;
onChanged();
return this;
}
/**
* optional uint32 longConnectIpcount = 1;
* @return This builder for chaining.
*/
public Builder clearLongConnectIpcount() {
bitField0_ = (bitField0_ & ~0x00000001);
longConnectIpcount_ = 0;
onChanged();
return this;
}
private int shortConnectIpcount_ ;
/**
* optional uint32 shortConnectIpcount = 2;
* @return Whether the shortConnectIpcount field is set.
*/
@java.lang.Override
public boolean hasShortConnectIpcount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 shortConnectIpcount = 2;
* @return The shortConnectIpcount.
*/
@java.lang.Override
public int getShortConnectIpcount() {
return shortConnectIpcount_;
}
/**
* optional uint32 shortConnectIpcount = 2;
* @param value The shortConnectIpcount to set.
* @return This builder for chaining.
*/
public Builder setShortConnectIpcount(int value) {
bitField0_ |= 0x00000002;
shortConnectIpcount_ = value;
onChanged();
return this;
}
/**
* optional uint32 shortConnectIpcount = 2;
* @return This builder for chaining.
*/
public Builder clearShortConnectIpcount() {
bitField0_ = (bitField0_ & ~0x00000002);
shortConnectIpcount_ = 0;
onChanged();
return this;
}
private java.util.List longConnectIplist_ =
java.util.Collections.emptyList();
private void ensureLongConnectIplistIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
longConnectIplist_ = new java.util.ArrayList(longConnectIplist_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.BuiltinIP, wechat.protobuf.BuiltinIP.Builder, wechat.protobuf.BuiltinIPOrBuilder> longConnectIplistBuilder_;
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public java.util.List getLongConnectIplistList() {
if (longConnectIplistBuilder_ == null) {
return java.util.Collections.unmodifiableList(longConnectIplist_);
} else {
return longConnectIplistBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public int getLongConnectIplistCount() {
if (longConnectIplistBuilder_ == null) {
return longConnectIplist_.size();
} else {
return longConnectIplistBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public wechat.protobuf.BuiltinIP getLongConnectIplist(int index) {
if (longConnectIplistBuilder_ == null) {
return longConnectIplist_.get(index);
} else {
return longConnectIplistBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public Builder setLongConnectIplist(
int index, wechat.protobuf.BuiltinIP value) {
if (longConnectIplistBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLongConnectIplistIsMutable();
longConnectIplist_.set(index, value);
onChanged();
} else {
longConnectIplistBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public Builder setLongConnectIplist(
int index, wechat.protobuf.BuiltinIP.Builder builderForValue) {
if (longConnectIplistBuilder_ == null) {
ensureLongConnectIplistIsMutable();
longConnectIplist_.set(index, builderForValue.build());
onChanged();
} else {
longConnectIplistBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public Builder addLongConnectIplist(wechat.protobuf.BuiltinIP value) {
if (longConnectIplistBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLongConnectIplistIsMutable();
longConnectIplist_.add(value);
onChanged();
} else {
longConnectIplistBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public Builder addLongConnectIplist(
int index, wechat.protobuf.BuiltinIP value) {
if (longConnectIplistBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLongConnectIplistIsMutable();
longConnectIplist_.add(index, value);
onChanged();
} else {
longConnectIplistBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public Builder addLongConnectIplist(
wechat.protobuf.BuiltinIP.Builder builderForValue) {
if (longConnectIplistBuilder_ == null) {
ensureLongConnectIplistIsMutable();
longConnectIplist_.add(builderForValue.build());
onChanged();
} else {
longConnectIplistBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public Builder addLongConnectIplist(
int index, wechat.protobuf.BuiltinIP.Builder builderForValue) {
if (longConnectIplistBuilder_ == null) {
ensureLongConnectIplistIsMutable();
longConnectIplist_.add(index, builderForValue.build());
onChanged();
} else {
longConnectIplistBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public Builder addAllLongConnectIplist(
java.lang.Iterable extends wechat.protobuf.BuiltinIP> values) {
if (longConnectIplistBuilder_ == null) {
ensureLongConnectIplistIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, longConnectIplist_);
onChanged();
} else {
longConnectIplistBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public Builder clearLongConnectIplist() {
if (longConnectIplistBuilder_ == null) {
longConnectIplist_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
longConnectIplistBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public Builder removeLongConnectIplist(int index) {
if (longConnectIplistBuilder_ == null) {
ensureLongConnectIplistIsMutable();
longConnectIplist_.remove(index);
onChanged();
} else {
longConnectIplistBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public wechat.protobuf.BuiltinIP.Builder getLongConnectIplistBuilder(
int index) {
return getLongConnectIplistFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public wechat.protobuf.BuiltinIPOrBuilder getLongConnectIplistOrBuilder(
int index) {
if (longConnectIplistBuilder_ == null) {
return longConnectIplist_.get(index); } else {
return longConnectIplistBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public java.util.List extends wechat.protobuf.BuiltinIPOrBuilder>
getLongConnectIplistOrBuilderList() {
if (longConnectIplistBuilder_ != null) {
return longConnectIplistBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(longConnectIplist_);
}
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public wechat.protobuf.BuiltinIP.Builder addLongConnectIplistBuilder() {
return getLongConnectIplistFieldBuilder().addBuilder(
wechat.protobuf.BuiltinIP.getDefaultInstance());
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public wechat.protobuf.BuiltinIP.Builder addLongConnectIplistBuilder(
int index) {
return getLongConnectIplistFieldBuilder().addBuilder(
index, wechat.protobuf.BuiltinIP.getDefaultInstance());
}
/**
* repeated .wechat_proto.BuiltinIP longConnectIplist = 3;
*/
public java.util.List
getLongConnectIplistBuilderList() {
return getLongConnectIplistFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.BuiltinIP, wechat.protobuf.BuiltinIP.Builder, wechat.protobuf.BuiltinIPOrBuilder>
getLongConnectIplistFieldBuilder() {
if (longConnectIplistBuilder_ == null) {
longConnectIplistBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.BuiltinIP, wechat.protobuf.BuiltinIP.Builder, wechat.protobuf.BuiltinIPOrBuilder>(
longConnectIplist_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
longConnectIplist_ = null;
}
return longConnectIplistBuilder_;
}
private java.util.List shortConnectIplist_ =
java.util.Collections.emptyList();
private void ensureShortConnectIplistIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
shortConnectIplist_ = new java.util.ArrayList(shortConnectIplist_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.BuiltinIP, wechat.protobuf.BuiltinIP.Builder, wechat.protobuf.BuiltinIPOrBuilder> shortConnectIplistBuilder_;
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public java.util.List getShortConnectIplistList() {
if (shortConnectIplistBuilder_ == null) {
return java.util.Collections.unmodifiableList(shortConnectIplist_);
} else {
return shortConnectIplistBuilder_.getMessageList();
}
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public int getShortConnectIplistCount() {
if (shortConnectIplistBuilder_ == null) {
return shortConnectIplist_.size();
} else {
return shortConnectIplistBuilder_.getCount();
}
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public wechat.protobuf.BuiltinIP getShortConnectIplist(int index) {
if (shortConnectIplistBuilder_ == null) {
return shortConnectIplist_.get(index);
} else {
return shortConnectIplistBuilder_.getMessage(index);
}
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public Builder setShortConnectIplist(
int index, wechat.protobuf.BuiltinIP value) {
if (shortConnectIplistBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureShortConnectIplistIsMutable();
shortConnectIplist_.set(index, value);
onChanged();
} else {
shortConnectIplistBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public Builder setShortConnectIplist(
int index, wechat.protobuf.BuiltinIP.Builder builderForValue) {
if (shortConnectIplistBuilder_ == null) {
ensureShortConnectIplistIsMutable();
shortConnectIplist_.set(index, builderForValue.build());
onChanged();
} else {
shortConnectIplistBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public Builder addShortConnectIplist(wechat.protobuf.BuiltinIP value) {
if (shortConnectIplistBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureShortConnectIplistIsMutable();
shortConnectIplist_.add(value);
onChanged();
} else {
shortConnectIplistBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public Builder addShortConnectIplist(
int index, wechat.protobuf.BuiltinIP value) {
if (shortConnectIplistBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureShortConnectIplistIsMutable();
shortConnectIplist_.add(index, value);
onChanged();
} else {
shortConnectIplistBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public Builder addShortConnectIplist(
wechat.protobuf.BuiltinIP.Builder builderForValue) {
if (shortConnectIplistBuilder_ == null) {
ensureShortConnectIplistIsMutable();
shortConnectIplist_.add(builderForValue.build());
onChanged();
} else {
shortConnectIplistBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public Builder addShortConnectIplist(
int index, wechat.protobuf.BuiltinIP.Builder builderForValue) {
if (shortConnectIplistBuilder_ == null) {
ensureShortConnectIplistIsMutable();
shortConnectIplist_.add(index, builderForValue.build());
onChanged();
} else {
shortConnectIplistBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public Builder addAllShortConnectIplist(
java.lang.Iterable extends wechat.protobuf.BuiltinIP> values) {
if (shortConnectIplistBuilder_ == null) {
ensureShortConnectIplistIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, shortConnectIplist_);
onChanged();
} else {
shortConnectIplistBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public Builder clearShortConnectIplist() {
if (shortConnectIplistBuilder_ == null) {
shortConnectIplist_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
shortConnectIplistBuilder_.clear();
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public Builder removeShortConnectIplist(int index) {
if (shortConnectIplistBuilder_ == null) {
ensureShortConnectIplistIsMutable();
shortConnectIplist_.remove(index);
onChanged();
} else {
shortConnectIplistBuilder_.remove(index);
}
return this;
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public wechat.protobuf.BuiltinIP.Builder getShortConnectIplistBuilder(
int index) {
return getShortConnectIplistFieldBuilder().getBuilder(index);
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public wechat.protobuf.BuiltinIPOrBuilder getShortConnectIplistOrBuilder(
int index) {
if (shortConnectIplistBuilder_ == null) {
return shortConnectIplist_.get(index); } else {
return shortConnectIplistBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public java.util.List extends wechat.protobuf.BuiltinIPOrBuilder>
getShortConnectIplistOrBuilderList() {
if (shortConnectIplistBuilder_ != null) {
return shortConnectIplistBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(shortConnectIplist_);
}
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public wechat.protobuf.BuiltinIP.Builder addShortConnectIplistBuilder() {
return getShortConnectIplistFieldBuilder().addBuilder(
wechat.protobuf.BuiltinIP.getDefaultInstance());
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public wechat.protobuf.BuiltinIP.Builder addShortConnectIplistBuilder(
int index) {
return getShortConnectIplistFieldBuilder().addBuilder(
index, wechat.protobuf.BuiltinIP.getDefaultInstance());
}
/**
* repeated .wechat_proto.BuiltinIP shortConnectIplist = 4;
*/
public java.util.List
getShortConnectIplistBuilderList() {
return getShortConnectIplistFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.BuiltinIP, wechat.protobuf.BuiltinIP.Builder, wechat.protobuf.BuiltinIPOrBuilder>
getShortConnectIplistFieldBuilder() {
if (shortConnectIplistBuilder_ == null) {
shortConnectIplistBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
wechat.protobuf.BuiltinIP, wechat.protobuf.BuiltinIP.Builder, wechat.protobuf.BuiltinIPOrBuilder>(
shortConnectIplist_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
shortConnectIplist_ = null;
}
return shortConnectIplistBuilder_;
}
private int seq_ ;
/**
* optional uint32 seq = 5;
* @return Whether the seq field is set.
*/
@java.lang.Override
public boolean hasSeq() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 seq = 5;
* @return The seq.
*/
@java.lang.Override
public int getSeq() {
return seq_;
}
/**
* optional uint32 seq = 5;
* @param value The seq to set.
* @return This builder for chaining.
*/
public Builder setSeq(int value) {
bitField0_ |= 0x00000010;
seq_ = value;
onChanged();
return this;
}
/**
* optional uint32 seq = 5;
* @return This builder for chaining.
*/
public Builder clearSeq() {
bitField0_ = (bitField0_ & ~0x00000010);
seq_ = 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.BuiltinIPList)
}
// @@protoc_insertion_point(class_scope:wechat_proto.BuiltinIPList)
private static final wechat.protobuf.BuiltinIPList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.BuiltinIPList();
}
public static wechat.protobuf.BuiltinIPList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public BuiltinIPList parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BuiltinIPList(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.BuiltinIPList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy