if (convCommand.hasTempConv() && convCommand.getTempConv()) { convType = Conversation.CONV_TYPE_TEMPORARY; } else if (convCommand.hasTransient() && convCommand.getTransient()) { convType = Conversation.CONV_TYPE_TRANSIENT;
hash = (37 * hash) + TRANSIENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getTransient());
private AVIMConversation parseConversation(AVIMClient client, Messages.ConvCommand convCommand) { if (null == client || null == convCommand) { return null; } boolean isTemp = convCommand.hasTempConv()? convCommand.getTempConv() : false; boolean isTransient = convCommand.hasTransient()? convCommand.getTransient() : false; int tempTTL = convCommand.hasTempConvTTL()?convCommand.getTempConvTTL() : 0; AVIMConversation conversation = client.getConversation(this.conversationId, isTransient, isTemp); conversation.setTemporaryExpiredat(System.currentTimeMillis()/1000 + tempTTL); return conversation; }
setTransient(other.getTransient());
result = result && (hasTransient() == other.hasTransient()); if (hasTransient()) { result = result && (getTransient() == other.getTransient());