|
|
|
@ -47,6 +47,12 @@ public final class UserMsg { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
com.google.protobuf.ByteString |
|
|
|
com.google.protobuf.ByteString |
|
|
|
getNicknameBytes(); |
|
|
|
getNicknameBytes(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* <code>bool online = 4;</code> |
|
|
|
|
|
|
|
* @return The online. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
boolean getOnline(); |
|
|
|
} |
|
|
|
} |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Protobuf type {@code net.sopod.soim.data.msg.user.UserInfo} |
|
|
|
* Protobuf type {@code net.sopod.soim.data.msg.user.UserInfo} |
|
|
|
@ -112,6 +118,11 @@ public final class UserMsg { |
|
|
|
nickname_ = s; |
|
|
|
nickname_ = s; |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
case 32: { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
online_ = input.readBool(); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
default: { |
|
|
|
default: { |
|
|
|
if (!parseUnknownField( |
|
|
|
if (!parseUnknownField( |
|
|
|
input, unknownFields, extensionRegistry, tag)) { |
|
|
|
input, unknownFields, extensionRegistry, tag)) { |
|
|
|
@ -231,6 +242,17 @@ public final class UserMsg { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static final int ONLINE_FIELD_NUMBER = 4; |
|
|
|
|
|
|
|
private boolean online_; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* <code>bool online = 4;</code> |
|
|
|
|
|
|
|
* @return The online. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@java.lang.Override |
|
|
|
|
|
|
|
public boolean getOnline() { |
|
|
|
|
|
|
|
return online_; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private byte memoizedIsInitialized = -1; |
|
|
|
private byte memoizedIsInitialized = -1; |
|
|
|
@java.lang.Override |
|
|
|
@java.lang.Override |
|
|
|
public final boolean isInitialized() { |
|
|
|
public final boolean isInitialized() { |
|
|
|
@ -254,6 +276,9 @@ public final class UserMsg { |
|
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { |
|
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { |
|
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nickname_); |
|
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nickname_); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (online_ != false) { |
|
|
|
|
|
|
|
output.writeBool(4, online_); |
|
|
|
|
|
|
|
} |
|
|
|
unknownFields.writeTo(output); |
|
|
|
unknownFields.writeTo(output); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -273,6 +298,10 @@ public final class UserMsg { |
|
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { |
|
|
|
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nickname_)) { |
|
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nickname_); |
|
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nickname_); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (online_ != false) { |
|
|
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream |
|
|
|
|
|
|
|
.computeBoolSize(4, online_); |
|
|
|
|
|
|
|
} |
|
|
|
size += unknownFields.getSerializedSize(); |
|
|
|
size += unknownFields.getSerializedSize(); |
|
|
|
memoizedSize = size; |
|
|
|
memoizedSize = size; |
|
|
|
return size; |
|
|
|
return size; |
|
|
|
@ -294,6 +323,8 @@ public final class UserMsg { |
|
|
|
.equals(other.getAccount())) return false; |
|
|
|
.equals(other.getAccount())) return false; |
|
|
|
if (!getNickname() |
|
|
|
if (!getNickname() |
|
|
|
.equals(other.getNickname())) return false; |
|
|
|
.equals(other.getNickname())) return false; |
|
|
|
|
|
|
|
if (getOnline() |
|
|
|
|
|
|
|
!= other.getOnline()) return false; |
|
|
|
if (!unknownFields.equals(other.unknownFields)) return false; |
|
|
|
if (!unknownFields.equals(other.unknownFields)) return false; |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
@ -312,6 +343,9 @@ public final class UserMsg { |
|
|
|
hash = (53 * hash) + getAccount().hashCode(); |
|
|
|
hash = (53 * hash) + getAccount().hashCode(); |
|
|
|
hash = (37 * hash) + NICKNAME_FIELD_NUMBER; |
|
|
|
hash = (37 * hash) + NICKNAME_FIELD_NUMBER; |
|
|
|
hash = (53 * hash) + getNickname().hashCode(); |
|
|
|
hash = (53 * hash) + getNickname().hashCode(); |
|
|
|
|
|
|
|
hash = (37 * hash) + ONLINE_FIELD_NUMBER; |
|
|
|
|
|
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( |
|
|
|
|
|
|
|
getOnline()); |
|
|
|
hash = (29 * hash) + unknownFields.hashCode(); |
|
|
|
hash = (29 * hash) + unknownFields.hashCode(); |
|
|
|
memoizedHashCode = hash; |
|
|
|
memoizedHashCode = hash; |
|
|
|
return hash; |
|
|
|
return hash; |
|
|
|
@ -451,6 +485,8 @@ public final class UserMsg { |
|
|
|
|
|
|
|
|
|
|
|
nickname_ = ""; |
|
|
|
nickname_ = ""; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
online_ = false; |
|
|
|
|
|
|
|
|
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -480,6 +516,7 @@ public final class UserMsg { |
|
|
|
result.uid_ = uid_; |
|
|
|
result.uid_ = uid_; |
|
|
|
result.account_ = account_; |
|
|
|
result.account_ = account_; |
|
|
|
result.nickname_ = nickname_; |
|
|
|
result.nickname_ = nickname_; |
|
|
|
|
|
|
|
result.online_ = online_; |
|
|
|
onBuilt(); |
|
|
|
onBuilt(); |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
@ -539,6 +576,9 @@ public final class UserMsg { |
|
|
|
nickname_ = other.nickname_; |
|
|
|
nickname_ = other.nickname_; |
|
|
|
onChanged(); |
|
|
|
onChanged(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (other.getOnline() != false) { |
|
|
|
|
|
|
|
setOnline(other.getOnline()); |
|
|
|
|
|
|
|
} |
|
|
|
this.mergeUnknownFields(other.unknownFields); |
|
|
|
this.mergeUnknownFields(other.unknownFields); |
|
|
|
onChanged(); |
|
|
|
onChanged(); |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
@ -750,6 +790,37 @@ public final class UserMsg { |
|
|
|
onChanged(); |
|
|
|
onChanged(); |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private boolean online_ ; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* <code>bool online = 4;</code> |
|
|
|
|
|
|
|
* @return The online. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@java.lang.Override |
|
|
|
|
|
|
|
public boolean getOnline() { |
|
|
|
|
|
|
|
return online_; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* <code>bool online = 4;</code> |
|
|
|
|
|
|
|
* @param value The online to set. |
|
|
|
|
|
|
|
* @return This builder for chaining. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public Builder setOnline(boolean value) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
online_ = value; |
|
|
|
|
|
|
|
onChanged(); |
|
|
|
|
|
|
|
return this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* <code>bool online = 4;</code> |
|
|
|
|
|
|
|
* @return This builder for chaining. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public Builder clearOnline() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
online_ = false; |
|
|
|
|
|
|
|
onChanged(); |
|
|
|
|
|
|
|
return this; |
|
|
|
|
|
|
|
} |
|
|
|
@java.lang.Override |
|
|
|
@java.lang.Override |
|
|
|
public final Builder setUnknownFields( |
|
|
|
public final Builder setUnknownFields( |
|
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) { |
|
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) { |
|
|
|
@ -818,10 +889,10 @@ public final class UserMsg { |
|
|
|
static { |
|
|
|
static { |
|
|
|
java.lang.String[] descriptorData = { |
|
|
|
java.lang.String[] descriptorData = { |
|
|
|
"\n\030proto/user/UserMsg.proto\022\034net.sopod.so" + |
|
|
|
"\n\030proto/user/UserMsg.proto\022\034net.sopod.so" + |
|
|
|
"im.data.msg.user\":\n\010UserInfo\022\013\n\003uid\030\001 \001(" + |
|
|
|
"im.data.msg.user\"J\n\010UserInfo\022\013\n\003uid\030\001 \001(" + |
|
|
|
"\003\022\017\n\007account\030\002 \001(\t\022\020\n\010nickname\030\003 \001(\tB)\n\034" + |
|
|
|
"\003\022\017\n\007account\030\002 \001(\t\022\020\n\010nickname\030\003 \001(\t\022\016\n\006" + |
|
|
|
"net.sopod.soim.data.msg.userB\007UserMsgP\000b" + |
|
|
|
"online\030\004 \001(\010B)\n\034net.sopod.soim.data.msg." + |
|
|
|
"\006proto3" |
|
|
|
"userB\007UserMsgP\000b\006proto3" |
|
|
|
}; |
|
|
|
}; |
|
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor |
|
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor |
|
|
|
.internalBuildGeneratedFileFrom(descriptorData, |
|
|
|
.internalBuildGeneratedFileFrom(descriptorData, |
|
|
|
@ -832,7 +903,7 @@ public final class UserMsg { |
|
|
|
internal_static_net_sopod_soim_data_msg_user_UserInfo_fieldAccessorTable = new |
|
|
|
internal_static_net_sopod_soim_data_msg_user_UserInfo_fieldAccessorTable = new |
|
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( |
|
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( |
|
|
|
internal_static_net_sopod_soim_data_msg_user_UserInfo_descriptor, |
|
|
|
internal_static_net_sopod_soim_data_msg_user_UserInfo_descriptor, |
|
|
|
new java.lang.String[] { "Uid", "Account", "Nickname", }); |
|
|
|
new java.lang.String[] { "Uid", "Account", "Nickname", "Online", }); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
|
|
|