/** Get or create a WaveletChannelTerminatorProtoImpl from a WaveletChannelTerminator. */
private WaveletChannelTerminatorProtoImpl getOrCreateWaveletChannelTerminatorProtoImpl(WaveletChannelTerminator message) {
if (message instanceof WaveletChannelTerminatorProtoImpl) {
return (WaveletChannelTerminatorProtoImpl) message;
} else {
WaveletChannelTerminatorProtoImpl messageImpl = new WaveletChannelTerminatorProtoImpl();
messageImpl.copyFrom(message);
return messageImpl;
}
}