Esempio n. 1
0
 // 从proto对象构造回object
 private Identity build(BatchProto.Identity identityProto) {
   Identity identity = new Identity();
   identity.setChannelId(identityProto.getChannelId());
   identity.setPipelineId(identityProto.getPipelineId());
   identity.setProcessId(identityProto.getProcessId());
   return identity;
 }