public java.util.ArrayList<String> missingFields() { java.util.ArrayList<String> missingFields = super.missingFields(); if( !hasDestination() ) { missingFields.add("destination"); } if( !hasSubscriptionKey() ) { missingFields.add("subscriptionKey"); } if( hasDestination() ) { try { getDestination().assertInitialized(); } catch (org.apache.activemq.protobuf.UninitializedMessageException e){ missingFields.addAll(prefix(e.getMissingFields(),"destination.")); } } return missingFields; }
public java.util.ArrayList<String> missingFields() { java.util.ArrayList<String> missingFields = super.missingFields(); if( !hasDestination() ) { missingFields.add("destination"); } if( !hasSubscriptionKey() ) { missingFields.add("subscriptionKey"); } if( hasDestination() ) { try { getDestination().assertInitialized(); } catch (org.apache.activemq.protobuf.UninitializedMessageException e){ missingFields.addAll(prefix(e.getMissingFields(),"destination.")); } } return missingFields; }
public java.util.ArrayList<String> missingFields() { java.util.ArrayList<String> missingFields = super.missingFields(); if( !hasDestination() ) { missingFields.add("destination"); } if( !hasSubscriptionKey() ) { missingFields.add("subscriptionKey"); } if( hasDestination() ) { try { getDestination().assertInitialized(); } catch (org.apache.activemq.protobuf.UninitializedMessageException e){ missingFields.addAll(prefix(e.getMissingFields(),"destination.")); } } return missingFields; }
public java.util.ArrayList<String> missingFields() { java.util.ArrayList<String> missingFields = super.missingFields(); if( !hasDestination() ) { missingFields.add("destination"); } if( !hasSubscriptionKey() ) { missingFields.add("subscriptionKey"); } if( hasDestination() ) { try { getDestination().assertInitialized(); } catch (org.apache.activemq.protobuf.UninitializedMessageException e){ missingFields.addAll(prefix(e.getMissingFields(),"destination.")); } } return missingFields; }
public boolean equals(KahaSubscriptionCommand obj) { if (hasDestination() ^ obj.hasDestination() ) return false; if (hasDestination() && ( !getDestination().equals(obj.getDestination()) )) return false; if (hasSubscriptionKey() ^ obj.hasSubscriptionKey() ) return false; if (hasSubscriptionKey() && ( !getSubscriptionKey().equals(obj.getSubscriptionKey()) )) return false; if (hasRetroactive() ^ obj.hasRetroactive() ) return false; if (hasRetroactive() && ( getRetroactive()!=obj.getRetroactive() )) return false; if (hasSubscriptionInfo() ^ obj.hasSubscriptionInfo() ) return false; if (hasSubscriptionInfo() && ( !getSubscriptionInfo().equals(obj.getSubscriptionInfo()) )) return false; return true; }
public boolean equals(KahaSubscriptionCommand obj) { if (hasDestination() ^ obj.hasDestination() ) return false; if (hasDestination() && ( !getDestination().equals(obj.getDestination()) )) return false; if (hasSubscriptionKey() ^ obj.hasSubscriptionKey() ) return false; if (hasSubscriptionKey() && ( !getSubscriptionKey().equals(obj.getSubscriptionKey()) )) return false; if (hasRetroactive() ^ obj.hasRetroactive() ) return false; if (hasRetroactive() && ( getRetroactive()!=obj.getRetroactive() )) return false; if (hasSubscriptionInfo() ^ obj.hasSubscriptionInfo() ) return false; if (hasSubscriptionInfo() && ( !getSubscriptionInfo().equals(obj.getSubscriptionInfo()) )) return false; return true; }
public boolean equals(KahaSubscriptionCommand obj) { if (hasDestination() ^ obj.hasDestination() ) return false; if (hasDestination() && ( !getDestination().equals(obj.getDestination()) )) return false; if (hasSubscriptionKey() ^ obj.hasSubscriptionKey() ) return false; if (hasSubscriptionKey() && ( !getSubscriptionKey().equals(obj.getSubscriptionKey()) )) return false; if (hasRetroactive() ^ obj.hasRetroactive() ) return false; if (hasRetroactive() && ( getRetroactive()!=obj.getRetroactive() )) return false; if (hasSubscriptionInfo() ^ obj.hasSubscriptionInfo() ) return false; if (hasSubscriptionInfo() && ( !getSubscriptionInfo().equals(obj.getSubscriptionInfo()) )) return false; return true; }
public int hashCode() { int rc=172060159; if (hasDestination()) { rc ^= ( 238021614^getDestination().hashCode() ); } if (hasSubscriptionKey()) { rc ^= ( 1895830498^getSubscriptionKey().hashCode() ); } if (hasRetroactive()) { rc ^= ( 512121604^ (getRetroactive()? 3:-3) ); } if (hasSubscriptionInfo()) { rc ^= ( -1358848117^getSubscriptionInfo().hashCode() ); } return rc; }
public int hashCode() { int rc=172060159; if (hasDestination()) { rc ^= ( 238021614^getDestination().hashCode() ); } if (hasSubscriptionKey()) { rc ^= ( 1895830498^getSubscriptionKey().hashCode() ); } if (hasRetroactive()) { rc ^= ( 512121604^ (getRetroactive()? 3:-3) ); } if (hasSubscriptionInfo()) { rc ^= ( -1358848117^getSubscriptionInfo().hashCode() ); } return rc; }
public int hashCode() { int rc=172060159; if (hasDestination()) { rc ^= ( 238021614^getDestination().hashCode() ); } if (hasSubscriptionKey()) { rc ^= ( 1895830498^getSubscriptionKey().hashCode() ); } if (hasRetroactive()) { rc ^= ( 512121604^ (getRetroactive()? 3:-3) ); } if (hasSubscriptionInfo()) { rc ^= ( -1358848117^getSubscriptionInfo().hashCode() ); } return rc; }
public int hashCode() { int rc=172060159; if (hasDestination()) { rc ^= ( 238021614^getDestination().hashCode() ); } if (hasSubscriptionKey()) { rc ^= ( 1895830498^getSubscriptionKey().hashCode() ); } if (hasRetroactive()) { rc ^= ( 512121604^ (getRetroactive()? 3:-3) ); } if (hasSubscriptionInfo()) { rc ^= ( -1358848117^getSubscriptionInfo().hashCode() ); } return rc; }
public KahaSubscriptionCommand mergeFrom(KahaSubscriptionCommand other) { if (other.hasDestination()) { if (hasDestination()) { getDestination().mergeFrom(other.getDestination()); } else { setDestination(other.getDestination().clone()); } } if (other.hasSubscriptionKey()) { setSubscriptionKey(other.getSubscriptionKey()); } if (other.hasRetroactive()) { setRetroactive(other.getRetroactive()); } if (other.hasSubscriptionInfo()) { setSubscriptionInfo(other.getSubscriptionInfo()); } return this; }
public KahaSubscriptionCommand mergeFrom(KahaSubscriptionCommand other) { if (other.hasDestination()) { if (hasDestination()) { getDestination().mergeFrom(other.getDestination()); } else { setDestination(other.getDestination().clone()); } } if (other.hasSubscriptionKey()) { setSubscriptionKey(other.getSubscriptionKey()); } if (other.hasRetroactive()) { setRetroactive(other.getRetroactive()); } if (other.hasSubscriptionInfo()) { setSubscriptionInfo(other.getSubscriptionInfo()); } return this; }
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasDestination()) { writeMessage(output, 1, getDestination()); } if (hasSubscriptionKey()) { output.writeString(2, getSubscriptionKey()); } if (hasRetroactive()) { output.writeBool(3, getRetroactive()); } if (hasSubscriptionInfo()) { output.writeBytes(4, getSubscriptionInfo()); } }
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasDestination()) { writeMessage(output, 1, getDestination()); } if (hasSubscriptionKey()) { output.writeString(2, getSubscriptionKey()); } if (hasRetroactive()) { output.writeBool(3, getRetroactive()); } if (hasSubscriptionInfo()) { output.writeBytes(4, getSubscriptionInfo()); } }
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasDestination()) { writeMessage(output, 1, getDestination()); } if (hasSubscriptionKey()) { output.writeString(2, getSubscriptionKey()); } if (hasRetroactive()) { output.writeBool(3, getRetroactive()); } if (hasSubscriptionInfo()) { output.writeBytes(4, getSubscriptionInfo()); } }
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException { if (hasDestination()) { writeMessage(output, 1, getDestination()); } if (hasSubscriptionKey()) { output.writeString(2, getSubscriptionKey()); } if (hasRetroactive()) { output.writeBool(3, getRetroactive()); } if (hasSubscriptionInfo()) { output.writeBytes(4, getSubscriptionInfo()); } }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasDestination()) { size += computeMessageSize(1, getDestination()); } if (hasSubscriptionKey()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(2, getSubscriptionKey()); } if (hasRetroactive()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(3, getRetroactive()); } if (hasSubscriptionInfo()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getSubscriptionInfo()); } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasDestination()) { size += computeMessageSize(1, getDestination()); } if (hasSubscriptionKey()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(2, getSubscriptionKey()); } if (hasRetroactive()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(3, getRetroactive()); } if (hasSubscriptionInfo()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getSubscriptionInfo()); } memoizedSerializedSize = size; return size; }
public int serializedSizeUnframed() { if (memoizedSerializedSize != -1) return memoizedSerializedSize; int size = 0; if (hasDestination()) { size += computeMessageSize(1, getDestination()); } if (hasSubscriptionKey()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeStringSize(2, getSubscriptionKey()); } if (hasRetroactive()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBoolSize(3, getRetroactive()); } if (hasSubscriptionInfo()) { size += org.apache.activemq.protobuf.CodedOutputStream.computeBytesSize(4, getSubscriptionInfo()); } memoizedSerializedSize = size; return size; }