private static boolean isBuilderEvent(CmdlineRemoteProto.Message message) {
    return message.hasBuilderMessage() && message.getBuilderMessage().getType() == CmdlineRemoteProto.Message.BuilderMessage.Type.BUILD_EVENT;
  }
private static boolean isBuilderEvent(CmdlineRemoteProto.Message message)