sb.append("\n"); if( hasPrioritySupported() ) { sb.append(prefix+"prioritySupported: "); sb.append(getPrioritySupported());
public boolean equals(KahaAddMessageCommand obj) { if (hasTransactionInfo() ^ obj.hasTransactionInfo() ) return false; if (hasTransactionInfo() && ( !getTransactionInfo().equals(obj.getTransactionInfo()) )) return false; if (hasDestination() ^ obj.hasDestination() ) return false; if (hasDestination() && ( !getDestination().equals(obj.getDestination()) )) return false; if (hasMessageId() ^ obj.hasMessageId() ) return false; if (hasMessageId() && ( !getMessageId().equals(obj.getMessageId()) )) return false; if (hasMessage() ^ obj.hasMessage() ) return false; if (hasMessage() && ( !getMessage().equals(obj.getMessage()) )) return false; if (hasPriority() ^ obj.hasPriority() ) return false; if (hasPriority() && ( getPriority()!=obj.getPriority() )) return false; if (hasPrioritySupported() ^ obj.hasPrioritySupported() ) return false; if (hasPrioritySupported() && ( getPrioritySupported()!=obj.getPrioritySupported() )) return false; return true; }
public int hashCode() { int rc=1601475350; if (hasTransactionInfo()) { rc ^= ( 265667724^getTransactionInfo().hashCode() ); } if (hasDestination()) { rc ^= ( 238021614^getDestination().hashCode() ); } if (hasMessageId()) { rc ^= ( 563954530^getMessageId().hashCode() ); } if (hasMessage()) { rc ^= ( -1675388953^getMessage().hashCode() ); } if (hasPriority()) { rc ^= ( -1100816956^getPriority() ); } if (hasPrioritySupported()) { rc ^= ( 889475914^ (getPrioritySupported()? 6:-6) ); } return rc; }
public boolean equals(KahaAddMessageCommand obj) { if (hasTransactionInfo() ^ obj.hasTransactionInfo() ) return false; if (hasTransactionInfo() && ( !getTransactionInfo().equals(obj.getTransactionInfo()) )) return false; if (hasDestination() ^ obj.hasDestination() ) return false; if (hasDestination() && ( !getDestination().equals(obj.getDestination()) )) return false; if (hasMessageId() ^ obj.hasMessageId() ) return false; if (hasMessageId() && ( !getMessageId().equals(obj.getMessageId()) )) return false; if (hasMessage() ^ obj.hasMessage() ) return false; if (hasMessage() && ( !getMessage().equals(obj.getMessage()) )) return false; if (hasPriority() ^ obj.hasPriority() ) return false; if (hasPriority() && ( getPriority()!=obj.getPriority() )) return false; if (hasPrioritySupported() ^ obj.hasPrioritySupported() ) return false; if (hasPrioritySupported() && ( getPrioritySupported()!=obj.getPrioritySupported() )) return false; return true; }
public int hashCode() { int rc=1601475350; if (hasTransactionInfo()) { rc ^= ( 265667724^getTransactionInfo().hashCode() ); } if (hasDestination()) { rc ^= ( 238021614^getDestination().hashCode() ); } if (hasMessageId()) { rc ^= ( 563954530^getMessageId().hashCode() ); } if (hasMessage()) { rc ^= ( -1675388953^getMessage().hashCode() ); } if (hasPriority()) { rc ^= ( -1100816956^getPriority() ); } if (hasPrioritySupported()) { rc ^= ( 889475914^ (getPrioritySupported()? 6:-6) ); } return rc; }
public boolean equals(KahaAddMessageCommand obj) { if (hasTransactionInfo() ^ obj.hasTransactionInfo() ) return false; if (hasTransactionInfo() && ( !getTransactionInfo().equals(obj.getTransactionInfo()) )) return false; if (hasDestination() ^ obj.hasDestination() ) return false; if (hasDestination() && ( !getDestination().equals(obj.getDestination()) )) return false; if (hasMessageId() ^ obj.hasMessageId() ) return false; if (hasMessageId() && ( !getMessageId().equals(obj.getMessageId()) )) return false; if (hasMessage() ^ obj.hasMessage() ) return false; if (hasMessage() && ( !getMessage().equals(obj.getMessage()) )) return false; if (hasPriority() ^ obj.hasPriority() ) return false; if (hasPriority() && ( getPriority()!=obj.getPriority() )) return false; if (hasPrioritySupported() ^ obj.hasPrioritySupported() ) return false; if (hasPrioritySupported() && ( getPrioritySupported()!=obj.getPrioritySupported() )) return false; return true; }
public boolean equals(KahaAddMessageCommand obj) { if (hasTransactionInfo() ^ obj.hasTransactionInfo() ) return false; if (hasTransactionInfo() && ( !getTransactionInfo().equals(obj.getTransactionInfo()) )) return false; if (hasDestination() ^ obj.hasDestination() ) return false; if (hasDestination() && ( !getDestination().equals(obj.getDestination()) )) return false; if (hasMessageId() ^ obj.hasMessageId() ) return false; if (hasMessageId() && ( !getMessageId().equals(obj.getMessageId()) )) return false; if (hasMessage() ^ obj.hasMessage() ) return false; if (hasMessage() && ( !getMessage().equals(obj.getMessage()) )) return false; if (hasPriority() ^ obj.hasPriority() ) return false; if (hasPriority() && ( getPriority()!=obj.getPriority() )) return false; if (hasPrioritySupported() ^ obj.hasPrioritySupported() ) return false; if (hasPrioritySupported() && ( getPrioritySupported()!=obj.getPrioritySupported() )) return false; return true; }
public int hashCode() { int rc=1601475350; if (hasTransactionInfo()) { rc ^= ( 265667724^getTransactionInfo().hashCode() ); } if (hasDestination()) { rc ^= ( 238021614^getDestination().hashCode() ); } if (hasMessageId()) { rc ^= ( 563954530^getMessageId().hashCode() ); } if (hasMessage()) { rc ^= ( -1675388953^getMessage().hashCode() ); } if (hasPriority()) { rc ^= ( -1100816956^getPriority() ); } if (hasPrioritySupported()) { rc ^= ( 889475914^ (getPrioritySupported()? 6:-6) ); } return rc; }
public int hashCode() { int rc=1601475350; if (hasTransactionInfo()) { rc ^= ( 265667724^getTransactionInfo().hashCode() ); } if (hasDestination()) { rc ^= ( 238021614^getDestination().hashCode() ); } if (hasMessageId()) { rc ^= ( 563954530^getMessageId().hashCode() ); } if (hasMessage()) { rc ^= ( -1675388953^getMessage().hashCode() ); } if (hasPriority()) { rc ^= ( -1100816956^getPriority() ); } if (hasPrioritySupported()) { rc ^= ( 889475914^ (getPrioritySupported()? 6:-6) ); } return rc; }
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasTransactionInfo()) { writeMessage(output, 1, getTransactionInfo()); } if (hasDestination()) { writeMessage(output, 2, getDestination()); } if (hasMessageId()) { output.writeString(3, getMessageId()); } if (hasMessage()) { output.writeBytes(4, getMessage()); } if (hasPriority()) { output.writeInt32(5, getPriority()); } if (hasPrioritySupported()) { output.writeBool(6, getPrioritySupported()); } }
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasTransactionInfo()) { writeMessage(output, 1, getTransactionInfo()); } if (hasDestination()) { writeMessage(output, 2, getDestination()); } if (hasMessageId()) { output.writeString(3, getMessageId()); } if (hasMessage()) { output.writeBytes(4, getMessage()); } if (hasPriority()) { output.writeInt32(5, getPriority()); } if (hasPrioritySupported()) { output.writeBool(6, getPrioritySupported()); } }
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasTransactionInfo()) { writeMessage(output, 1, getTransactionInfo()); } if (hasDestination()) { writeMessage(output, 2, getDestination()); } if (hasMessageId()) { output.writeString(3, getMessageId()); } if (hasMessage()) { output.writeBytes(4, getMessage()); } if (hasPriority()) { output.writeInt32(5, getPriority()); } if (hasPrioritySupported()) { output.writeBool(6, getPrioritySupported()); } }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasTransactionInfo()) { size += computeMessageSize(1, getTransactionInfo()); } if (hasDestination()) { size += computeMessageSize(2, getDestination()); } if (hasMessageId()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(3, getMessageId()); } if (hasMessage()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getMessage()); } if (hasPriority()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeInt32Size(5, getPriority()); } if (hasPrioritySupported()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(6, getPrioritySupported()); } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasTransactionInfo()) { size += computeMessageSize(1, getTransactionInfo()); } if (hasDestination()) { size += computeMessageSize(2, getDestination()); } if (hasMessageId()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(3, getMessageId()); } if (hasMessage()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getMessage()); } if (hasPriority()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeInt32Size(5, getPriority()); } if (hasPrioritySupported()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(6, getPrioritySupported()); } memoizedSerializedSize = size; return size; }
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasTransactionInfo()) { writeMessage(output, 1, getTransactionInfo()); } if (hasDestination()) { writeMessage(output, 2, getDestination()); } if (hasMessageId()) { output.writeString(3, getMessageId()); } if (hasMessage()) { output.writeBytes(4, getMessage()); } if (hasPriority()) { output.writeInt32(5, getPriority()); } if (hasPrioritySupported()) { output.writeBool(6, getPrioritySupported()); } }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasTransactionInfo()) { size += computeMessageSize(1, getTransactionInfo()); } if (hasDestination()) { size += computeMessageSize(2, getDestination()); } if (hasMessageId()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(3, getMessageId()); } if (hasMessage()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getMessage()); } if (hasPriority()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeInt32Size(5, getPriority()); } if (hasPrioritySupported()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(6, getPrioritySupported()); } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasTransactionInfo()) { size += computeMessageSize(1, getTransactionInfo()); } if (hasDestination()) { size += computeMessageSize(2, getDestination()); } if (hasMessageId()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(3, getMessageId()); } if (hasMessage()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getMessage()); } if (hasPriority()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeInt32Size(5, getPriority()); } if (hasPrioritySupported()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(6, getPrioritySupported()); } memoizedSerializedSize = size; return size; }
public KahaAddMessageCommand mergeFrom(KahaAddMessageCommand other) { if (other.hasTransactionInfo()) { if (hasTransactionInfo()) { getTransactionInfo().mergeFrom(other.getTransactionInfo()); } else { setTransactionInfo(other.getTransactionInfo().clone()); } } if (other.hasDestination()) { if (hasDestination()) { getDestination().mergeFrom(other.getDestination()); } else { setDestination(other.getDestination().clone()); } } if (other.hasMessageId()) { setMessageId(other.getMessageId()); } if (other.hasMessage()) { setMessage(other.getMessage()); } if (other.hasPriority()) { setPriority(other.getPriority()); } if (other.hasPrioritySupported()) { setPrioritySupported(other.getPrioritySupported()); } return this; }
public KahaAddMessageCommand mergeFrom(KahaAddMessageCommand other) { if (other.hasTransactionInfo()) { if (hasTransactionInfo()) { getTransactionInfo().mergeFrom(other.getTransactionInfo()); } else { setTransactionInfo(other.getTransactionInfo().clone()); } } if (other.hasDestination()) { if (hasDestination()) { getDestination().mergeFrom(other.getDestination()); } else { setDestination(other.getDestination().clone()); } } if (other.hasMessageId()) { setMessageId(other.getMessageId()); } if (other.hasMessage()) { setMessage(other.getMessage()); } if (other.hasPriority()) { setPriority(other.getPriority()); } if (other.hasPrioritySupported()) { setPrioritySupported(other.getPrioritySupported()); } return this; }
public KahaAddMessageCommand mergeFrom(KahaAddMessageCommand other) { if (other.hasTransactionInfo()) { if (hasTransactionInfo()) { getTransactionInfo().mergeFrom(other.getTransactionInfo()); } else { setTransactionInfo(other.getTransactionInfo().clone()); } } if (other.hasDestination()) { if (hasDestination()) { getDestination().mergeFrom(other.getDestination()); } else { setDestination(other.getDestination().clone()); } } if (other.hasMessageId()) { setMessageId(other.getMessageId()); } if (other.hasMessage()) { setMessage(other.getMessage()); } if (other.hasPriority()) { setPriority(other.getPriority()); } if (other.hasPrioritySupported()) { setPrioritySupported(other.getPrioritySupported()); } return this; }