KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch( dest.getDestinationType() ) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }
KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch (dest.getDestinationType()) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }
public KahaDestination mergeFrom(KahaDestination other) { if (other.hasType()) { setType(other.getType()); } if (other.hasName()) { setName(other.getName()); } return this; }
public KahaDestination mergeFrom(KahaDestination other) { if (other.hasType()) { setType(other.getType()); } if (other.hasName()) { setName(other.getName()); } return this; }
public KahaDestination mergeFrom(KahaDestination other) { if (other.hasType()) { setType(other.getType()); } if (other.hasName()) { setName(other.getName()); } return this; }
public KahaDestination mergeFrom(KahaDestination other) { if (other.hasType()) { setType(other.getType()); } if (other.hasName()) { setName(other.getName()); } return this; }
public KahaDestination mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws java.io.IOException { while (true) { int tag = input.readTag(); if ((tag & 0x07) == 4) { return this; } switch (tag) { case 0: return this; default: { break; } case 8: { int t = input.readEnum(); KahaDestination.DestinationType value = KahaDestination.DestinationType.valueOf(t); if( value !=null ) { setType(value); } } break; case 18: setName(input.readString()); break; } } } public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException {
public KahaDestination mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws java.io.IOException { while (true) { int tag = input.readTag(); if ((tag & 0x07) == 4) { return this; } switch (tag) { case 0: return this; default: { break; } case 8: { int t = input.readEnum(); KahaDestination.DestinationType value = KahaDestination.DestinationType.valueOf(t); if( value !=null ) { setType(value); } } break; case 18: setName(input.readString()); break; } } } public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException {
public KahaDestination mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws java.io.IOException { while (true) { int tag = input.readTag(); if ((tag & 0x07) == 4) { return this; } switch (tag) { case 0: return this; default: { break; } case 8: { int t = input.readEnum(); KahaDestination.DestinationType value = KahaDestination.DestinationType.valueOf(t); if( value !=null ) { setType(value); } } break; case 18: setName(input.readString()); break; } } } public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException {
public KahaDestination mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws java.io.IOException { while (true) { int tag = input.readTag(); if ((tag & 0x07) == 4) { return this; } switch (tag) { case 0: return this; default: { break; } case 8: { int t = input.readEnum(); KahaDestination.DestinationType value = KahaDestination.DestinationType.valueOf(t); if( value !=null ) { setType(value); } } break; case 18: setName(input.readString()); break; } } } public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws java.io.IOException {
KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch (dest.getDestinationType()) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }
KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch (dest.getDestinationType()) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }
KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch( dest.getDestinationType() ) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }
KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch( dest.getDestinationType() ) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }
KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch (dest.getDestinationType()) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }
KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch( dest.getDestinationType() ) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }
KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch( dest.getDestinationType() ) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }
KahaDestination convert(ActiveMQDestination dest) { KahaDestination rc = new KahaDestination(); rc.setName(dest.getPhysicalName()); switch (dest.getDestinationType()) { case ActiveMQDestination.QUEUE_TYPE: rc.setType(DestinationType.QUEUE); return rc; case ActiveMQDestination.TOPIC_TYPE: rc.setType(DestinationType.TOPIC); return rc; case ActiveMQDestination.TEMP_QUEUE_TYPE: rc.setType(DestinationType.TEMP_QUEUE); return rc; case ActiveMQDestination.TEMP_TOPIC_TYPE: rc.setType(DestinationType.TEMP_TOPIC); return rc; default: return null; } }